| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,27 @@ | |||
| 1 | 1 | # Changelog | |
| 2 | 2 | ||
| 3 | + ## [0.31.0](https://github.com/nodejs/corepack/compare/v0.30.0...v0.31.0) (2025-01-27) | ||
| 4 | + | ||
| 5 | + | ||
| 6 | + ### ⚠ BREAKING CHANGES | ||
| 7 | + | ||
| 8 | + * drop support for Node.js 21.x ([#594](https://github.com/nodejs/corepack/issues/594)) | ||
| 9 | + | ||
| 10 | + ### Features | ||
| 11 | + | ||
| 12 | + * update package manager versions ([#595](https://github.com/nodejs/corepack/issues/595)) ([c7a9bde](https://github.com/nodejs/corepack/commit/c7a9bde16dcbbb7e6ef03fef740656cde7ade360)) | ||
| 13 | + | ||
| 14 | + | ||
| 15 | + ### Bug Fixes | ||
| 16 | + | ||
| 17 | + * only print message for `UsageError`s ([#602](https://github.com/nodejs/corepack/issues/602)) ([72a588c](https://github.com/nodejs/corepack/commit/72a588c2370c17e415b24fe389efdafb3c84e90b)) | ||
| 18 | + * update npm registry keys ([#614](https://github.com/nodejs/corepack/issues/614)) ([8c90caa](https://github.com/nodejs/corepack/commit/8c90caab7f1c5c9b89f1de113bc1dfc441bf25d2)) | ||
| 19 | + | ||
| 20 | + | ||
| 21 | + ### Miscellaneous Chores | ||
| 22 | + | ||
| 23 | + * drop support for Node.js 21.x ([#594](https://github.com/nodejs/corepack/issues/594)) ([8bebc0c](https://github.com/nodejs/corepack/commit/8bebc0c0a5cbcdeec41673dcbaf581e6e1c1be11)) | ||
| 24 | + | ||
| 3 | 25 | ## [0.30.0](https://github.com/nodejs/corepack/compare/v0.29.4...v0.30.0) (2024-11-23) | |
| 4 | 26 | ||
| 5 | 27 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -302,6 +302,8 @@ same major line. Should you need to upgrade to a new major, use an explicit | |||
| 302 | 302 | ||
| 303 | 303 | ## Troubleshooting | |
| 304 | 304 | ||
| 305 | + The environment variable `DEBUG` can be set to `corepack` to enable additional debug logging. | ||
| 306 | + | ||
| 305 | 307 | ### Networking | |
| 306 | 308 | ||
| 307 | 309 | There are a wide variety of networking issues that can occur while running | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21260,7 +21260,7 @@ function String2(descriptor, ...args) { | |||
| 21260 | 21260 | } | |
| 21261 | 21261 | ||
| 21262 | 21262 | // package.json | |
| 21263 | - var version = "0.30.0"; | ||
| 21263 | + var version = "0.31.0"; | ||
| 21264 | 21264 | ||
| 21265 | 21265 | // sources/Engine.ts | |
| 21266 | 21266 | var import_fs9 = __toESM(require("fs")); | |
@@ -21274,7 +21274,7 @@ var import_valid3 = __toESM(require_valid2()); | |||
| 21274 | 21274 | var config_default = { | |
| 21275 | 21275 | definitions: { | |
| 21276 | 21276 | npm: { | |
| 21277 | - default: "10.9.1+sha1.ab141c1229765c11c8c59060fc9cf450a2207bd6", | ||
| 21277 | + default: "11.0.0+sha1.7bba7c80740ef1f5b2c5d4cecc55e94912faa5e6", | ||
| 21278 | 21278 | fetchLatestFrom: { | |
| 21279 | 21279 | type: "npm", | |
| 21280 | 21280 | package: "npm" | |
@@ -21311,7 +21311,7 @@ var config_default = { | |||
| 21311 | 21311 | } | |
| 21312 | 21312 | }, | |
| 21313 | 21313 | pnpm: { | |
| 21314 | - default: "9.14.2+sha1.5202b50ab92394b3c922d2e293f196e2df6d441b", | ||
| 21314 | + default: "9.15.4+sha1.ffa0b5c573381e8035b354028ccff97c8e452047", | ||
| 21315 | 21315 | fetchLatestFrom: { | |
| 21316 | 21316 | type: "npm", | |
| 21317 | 21317 | package: "pnpm" | |
@@ -21375,7 +21375,7 @@ var config_default = { | |||
| 21375 | 21375 | package: "yarn" | |
| 21376 | 21376 | }, | |
| 21377 | 21377 | transparent: { | |
| 21378 | - default: "4.5.2+sha224.c2e2e9ed3cdadd6ec250589b3393f71ae56d5ec297af11cec1eba3b4", | ||
| 21378 | + default: "4.6.0+sha224.acd0786f07ffc6c933940eb65fc1d627131ddf5455bddcc295dc90fd", | ||
| 21379 | 21379 | commands: [ | |
| 21380 | 21380 | [ | |
| 21381 | 21381 | "yarn", | |
@@ -21438,11 +21438,18 @@ var config_default = { | |||
| 21438 | 21438 | keys: { | |
| 21439 | 21439 | npm: [ | |
| 21440 | 21440 | { | |
| 21441 | - expires: null, | ||
| 21441 | + expires: "2025-01-29T00:00:00.000Z", | ||
| 21442 | 21442 | keyid: "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA", | |
| 21443 | 21443 | keytype: "ecdsa-sha2-nistp256", | |
| 21444 | 21444 | scheme: "ecdsa-sha2-nistp256", | |
| 21445 | 21445 | key: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg==" | |
| 21446 | + }, | ||
| 21447 | + { | ||
| 21448 | + expires: null, | ||
| 21449 | + keyid: "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U", | ||
| 21450 | + keytype: "ecdsa-sha2-nistp256", | ||
| 21451 | + scheme: "ecdsa-sha2-nistp256", | ||
| 21452 | + key: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEY6Ya7W++7aUPzvMTrezH6Ycx3c+HOKYCcNGybJZSCJq/fd7Qa8uuAKtdIkUQtQiEKERhAmE5lMMJhP8OkDOa2g==" | ||
| 21446 | 21453 | } | |
| 21447 | 21454 | ] | |
| 21448 | 21455 | } | |
@@ -23099,10 +23106,18 @@ async function runMain(argv) { | |||
| 23099 | 23106 | process.exitCode ??= code2; | |
| 23100 | 23107 | } | |
| 23101 | 23108 | } else { | |
| 23102 | - await engine.executePackageManagerRequest(request, { | ||
| 23103 | - cwd: process.cwd(), | ||
| 23104 | - args: restArgs | ||
| 23105 | - }); | ||
| 23109 | + try { | ||
| 23110 | + await engine.executePackageManagerRequest(request, { | ||
| 23111 | + cwd: process.cwd(), | ||
| 23112 | + args: restArgs | ||
| 23113 | + }); | ||
| 23114 | + } catch (error) { | ||
| 23115 | + if (error?.name === `UsageError`) { | ||
| 23116 | + console.error(error.message); | ||
| 23117 | + process.exit(1); | ||
| 23118 | + } | ||
| 23119 | + throw error; | ||
| 23120 | + } | ||
| 23106 | 23121 | } | |
| 23107 | 23122 | } | |
| 23108 | 23123 | // Annotate the CommonJS export names for ESM import in node: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | { | |
| 2 | 2 | "name": "corepack", | |
| 3 | - "version": "0.30.0", | ||
| 3 | + "version": "0.31.0", | ||
| 4 | 4 | "homepage": "https://github.com/nodejs/corepack#readme", | |
| 5 | 5 | "bugs": { | |
| 6 | 6 | "url": "https://github.com/nodejs/corepack/issues" | |
@@ -10,7 +10,7 @@ | |||
| 10 | 10 | "url": "https://github.com/nodejs/corepack.git" | |
| 11 | 11 | }, | |
| 12 | 12 | "engines": { | |
| 13 | - "node": "^18.17.1 || >=20.10.0" | ||
| 13 | + "node": "^18.17.1 || ^20.10.0 || >=22.11.0" | ||
| 14 | 14 | }, | |
| 15 | 15 | "exports": { | |
| 16 | 16 | "./package.json": "./package.json" | |
@@ -26,7 +26,7 @@ | |||
| 26 | 26 | "@yarnpkg/eslint-config": "^2.0.0", | |
| 27 | 27 | "@yarnpkg/fslib": "^3.0.0-rc.48", | |
| 28 | 28 | "@zkochan/cmd-shim": "^6.0.0", | |
| 29 | - "better-sqlite3": "^10.0.0", | ||
| 29 | + "better-sqlite3": "^11.7.2", | ||
| 30 | 30 | "clipanion": "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch", | |
| 31 | 31 | "debug": "^4.1.1", | |
| 32 | 32 | "esbuild": "^0.21.0", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments