Files
release-please-action/package.json

55 lines
1.4 KiB
JSON
Raw Permalink Normal View History

{
"name": "release-please-action",
"private": true,
"version": "4.2.0",
"description": "automated releases based on conventional commits",
"main": "index.js",
"scripts": {
"test": "c8 mocha --node-option no-experimental-fetch --recursive --timeout=5000 build/test",
"prepare": "npm run compile",
"lint": "gts check",
"compile": "tsc -p .",
"fix": "gts fix",
"build": "ncc build src/index.ts",
"pretest": "npm run compile"
},
"repository": {
"type": "git",
"url": "git+https://github.com/googleapis/release-please-action.git"
},
"keywords": [
"release-please",
"action"
],
"author": "Ben Coe <bencoe@gmail.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/googleapis/release-please-action/issues"
},
"homepage": "https://github.com/googleapis/release-please-action#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"release-please": "^16.18.0"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^20.8.10",
"@types/sinon": "^10.0.0",
chore: fix build (digital envelope routines) (#837) Fix the [build](https://github.com/google-github-actions/release-please-action/actions/runs/6384766312/job/17328084659): ``` > release-please-action@3.7.12 build > ncc build index.js ncc: Version 0.27.0 ncc: Compiling file index.js Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:68:19) at Object.createHash (node:crypto:138:10) at hashOf (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:1:3253134) at ncc (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:1:3256648) at runCmd (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:51537) at 819 (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:48344) at __webpack_require__ (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55043) at /home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55194 at /home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55220 at Object.<anonymous> (/home/runner/work/release-please-action/release-please-action/node_modules/@vercel/ncc/dist/ncc/cli.js:8:28) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } ``` I think the problem is linked to the [Node version upgrade](https://github.com/google-github-actions/release-please-action/pull/835) and the [OpenSSL version](https://nodejs.org/fr/blog/vulnerability/openssl-november-2022). The `@vercel/ncc` upgrade fixes the problem because they [replaced](https://github.com/vercel/ncc/pull/868) a deprecated hash algorithm with _sha256_.
2023-11-01 19:05:01 +01:00
"@vercel/ncc": "^0.38.0",
"c8": "^7.5.0",
"gts": "^5.2.0",
"mocha": "^9.1.4",
"mocked-env": "^1.3.5",
"nock": "^13.2.1",
"sinon": "^9.2.4",
"standard": "^16.0.4",
"typescript": "^4.6.4"
},
"standard": {
"ignore": "dist/"
},
"engines": {
"node": ">=20.0.0"
}
}