Skip to content

Commit 8342233

Browse files
nodejs-github-botmarco-ippolito
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 ed2d373 commit 8342233

File tree

4 files changed

+51
-12
lines changed

4 files changed

+51
-12
lines changed

deps/corepack/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

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+
325
## [0.30.0](https://github.com/nodejs/corepack/compare/v0.29.4...v0.30.0) (2024-11-23)
426

527

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
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "corepack",
3-
"version": "0.30.0",
3+
"version": "0.31.0",
44
"homepage": "https://github.com/nodejs/corepack#readme",
55
"bugs": {
66
"url": "https://github.com/nodejs/corepack/issues"
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/nodejs/corepack.git"
1111
},
1212
"engines": {
13-
"node": "^18.17.1 || >=20.10.0"
13+
"node": "^18.17.1 || ^20.10.0 || >=22.11.0"
1414
},
1515
"exports": {
1616
"./package.json": "./package.json"
@@ -26,7 +26,7 @@
2626
"@yarnpkg/eslint-config": "^2.0.0",
2727
"@yarnpkg/fslib": "^3.0.0-rc.48",
2828
"@zkochan/cmd-shim": "^6.0.0",
29-
"better-sqlite3": "^10.0.0",
29+
"better-sqlite3": "^11.7.2",
3030
"clipanion": "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch",
3131
"debug": "^4.1.1",
3232
"esbuild": "^0.21.0",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy