deps: update corepack to 0.31.0 · nodejs/node@5f1ee05 · GitHub
Skip to content

Commit 5f1ee05

Browse files
nodejs-github-botaduh95
authored andcommitted
deps: update corepack to 0.31.0
PR-URL: #56795 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent e2668c0 commit 5f1ee05

4 files changed

Lines changed: 51 additions & 12 deletions

File tree

deps/corepack/CHANGELOG.md

Lines changed: 22 additions & 0 deletions

deps/corepack/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ same major line. Should you need to upgrade to a new major, use an explicit
302302

303303
## Troubleshooting
304304

305+
The environment variable `DEBUG` can be set to `corepack` to enable additional debug logging.
306+
305307
### Networking
306308

307309
There are a wide variety of networking issues that can occur while running

deps/corepack/dist/lib/corepack.cjs

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21260,7 +21260,7 @@ function String2(descriptor, ...args) {
2126021260
}
2126121261

2126221262
// package.json
21263-
var version = "0.30.0";
21263+
var version = "0.31.0";
2126421264

2126521265
// sources/Engine.ts
2126621266
var import_fs9 = __toESM(require("fs"));
@@ -21274,7 +21274,7 @@ var import_valid3 = __toESM(require_valid2());
2127421274
var config_default = {
2127521275
definitions: {
2127621276
npm: {
21277-
default: "10.9.1+sha1.ab141c1229765c11c8c59060fc9cf450a2207bd6",
21277+
default: "11.0.0+sha1.7bba7c80740ef1f5b2c5d4cecc55e94912faa5e6",
2127821278
fetchLatestFrom: {
2127921279
type: "npm",
2128021280
package: "npm"
@@ -21311,7 +21311,7 @@ var config_default = {
2131121311
}
2131221312
},
2131321313
pnpm: {
21314-
default: "9.14.2+sha1.5202b50ab92394b3c922d2e293f196e2df6d441b",
21314+
default: "9.15.4+sha1.ffa0b5c573381e8035b354028ccff97c8e452047",
2131521315
fetchLatestFrom: {
2131621316
type: "npm",
2131721317
package: "pnpm"
@@ -21375,7 +21375,7 @@ var config_default = {
2137521375
package: "yarn"
2137621376
},
2137721377
transparent: {
21378-
default: "4.5.2+sha224.c2e2e9ed3cdadd6ec250589b3393f71ae56d5ec297af11cec1eba3b4",
21378+
default: "4.6.0+sha224.acd0786f07ffc6c933940eb65fc1d627131ddf5455bddcc295dc90fd",
2137921379
commands: [
2138021380
[
2138121381
"yarn",
@@ -21438,11 +21438,18 @@ var config_default = {
2143821438
keys: {
2143921439
npm: [
2144021440
{
21441-
expires: null,
21441+
expires: "2025-01-29T00:00:00.000Z",
2144221442
keyid: "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
2144321443
keytype: "ecdsa-sha2-nistp256",
2144421444
scheme: "ecdsa-sha2-nistp256",
2144521445
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=="
2144621453
}
2144721454
]
2144821455
}
@@ -23099,10 +23106,18 @@ async function runMain(argv) {
2309923106
process.exitCode ??= code2;
2310023107
}
2310123108
} 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+
}
2310623121
}
2310723122
}
2310823123
// Annotate the CommonJS export names for ESM import in node:

deps/corepack/package.json

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)