Skip to content

Commit

Permalink
deps: update corepack to 0.31.0
Browse files Browse the repository at this point in the history
PR-URL: nodejs#56795
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
  • Loading branch information
nodejs-github-bot authored Jan 28, 2025
1 parent 532fff6 commit 64ee8a0
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 12 deletions.
22 changes: 22 additions & 0 deletions deps/corepack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## [0.31.0](https://github.com/nodejs/corepack/compare/v0.30.0...v0.31.0) (2025-01-27)


### ⚠ BREAKING CHANGES

* drop support for Node.js 21.x ([#594](https://github.com/nodejs/corepack/issues/594))

### Features

* update package manager versions ([#595](https://github.com/nodejs/corepack/issues/595)) ([c7a9bde](https://github.com/nodejs/corepack/commit/c7a9bde16dcbbb7e6ef03fef740656cde7ade360))


### Bug Fixes

* only print message for `UsageError`s ([#602](https://github.com/nodejs/corepack/issues/602)) ([72a588c](https://github.com/nodejs/corepack/commit/72a588c2370c17e415b24fe389efdafb3c84e90b))
* update npm registry keys ([#614](https://github.com/nodejs/corepack/issues/614)) ([8c90caa](https://github.com/nodejs/corepack/commit/8c90caab7f1c5c9b89f1de113bc1dfc441bf25d2))


### Miscellaneous Chores

* drop support for Node.js 21.x ([#594](https://github.com/nodejs/corepack/issues/594)) ([8bebc0c](https://github.com/nodejs/corepack/commit/8bebc0c0a5cbcdeec41673dcbaf581e6e1c1be11))

## [0.30.0](https://github.com/nodejs/corepack/compare/v0.29.4...v0.30.0) (2024-11-23)


Expand Down
2 changes: 2 additions & 0 deletions deps/corepack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ same major line. Should you need to upgrade to a new major, use an explicit

## Troubleshooting

The environment variable `DEBUG` can be set to `corepack` to enable additional debug logging.

### Networking

There are a wide variety of networking issues that can occur while running
Expand Down
33 changes: 24 additions & 9 deletions deps/corepack/dist/lib/corepack.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21260,7 +21260,7 @@ function String2(descriptor, ...args) {
}

// package.json
var version = "0.30.0";
var version = "0.31.0";

// sources/Engine.ts
var import_fs9 = __toESM(require("fs"));
Expand All @@ -21274,7 +21274,7 @@ var import_valid3 = __toESM(require_valid2());
var config_default = {
definitions: {
npm: {
default: "10.9.1+sha1.ab141c1229765c11c8c59060fc9cf450a2207bd6",
default: "11.0.0+sha1.7bba7c80740ef1f5b2c5d4cecc55e94912faa5e6",
fetchLatestFrom: {
type: "npm",
package: "npm"
Expand Down Expand Up @@ -21311,7 +21311,7 @@ var config_default = {
}
},
pnpm: {
default: "9.14.2+sha1.5202b50ab92394b3c922d2e293f196e2df6d441b",
default: "9.15.4+sha1.ffa0b5c573381e8035b354028ccff97c8e452047",
fetchLatestFrom: {
type: "npm",
package: "pnpm"
Expand Down Expand Up @@ -21375,7 +21375,7 @@ var config_default = {
package: "yarn"
},
transparent: {
default: "4.5.2+sha224.c2e2e9ed3cdadd6ec250589b3393f71ae56d5ec297af11cec1eba3b4",
default: "4.6.0+sha224.acd0786f07ffc6c933940eb65fc1d627131ddf5455bddcc295dc90fd",
commands: [
[
"yarn",
Expand Down Expand Up @@ -21438,11 +21438,18 @@ var config_default = {
keys: {
npm: [
{
expires: null,
expires: "2025-01-29T00:00:00.000Z",
keyid: "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
keytype: "ecdsa-sha2-nistp256",
scheme: "ecdsa-sha2-nistp256",
key: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="
},
{
expires: null,
keyid: "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
keytype: "ecdsa-sha2-nistp256",
scheme: "ecdsa-sha2-nistp256",
key: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEY6Ya7W++7aUPzvMTrezH6Ycx3c+HOKYCcNGybJZSCJq/fd7Qa8uuAKtdIkUQtQiEKERhAmE5lMMJhP8OkDOa2g=="
}
]
}
Expand Down Expand Up @@ -23099,10 +23106,18 @@ async function runMain(argv) {
process.exitCode ??= code2;
}
} else {
await engine.executePackageManagerRequest(request, {
cwd: process.cwd(),
args: restArgs
});
try {
await engine.executePackageManagerRequest(request, {
cwd: process.cwd(),
args: restArgs
});
} catch (error) {
if (error?.name === `UsageError`) {
console.error(error.message);
process.exit(1);
}
throw error;
}
}
}
// Annotate the CommonJS export names for ESM import in node:
Expand Down
6 changes: 3 additions & 3 deletions deps/corepack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "corepack",
"version": "0.30.0",
"version": "0.31.0",
"homepage": "https://github.com/nodejs/corepack#readme",
"bugs": {
"url": "https://github.com/nodejs/corepack/issues"
Expand All @@ -10,7 +10,7 @@
"url": "https://github.com/nodejs/corepack.git"
},
"engines": {
"node": "^18.17.1 || >=20.10.0"
"node": "^18.17.1 || ^20.10.0 || >=22.11.0"
},
"exports": {
"./package.json": "./package.json"
Expand All @@ -26,7 +26,7 @@
"@yarnpkg/eslint-config": "^2.0.0",
"@yarnpkg/fslib": "^3.0.0-rc.48",
"@zkochan/cmd-shim": "^6.0.0",
"better-sqlite3": "^10.0.0",
"better-sqlite3": "^11.7.2",
"clipanion": "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch",
"debug": "^4.1.1",
"esbuild": "^0.21.0",
Expand Down

0 comments on commit 64ee8a0

Please sign in to comment.