Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e5db8d4

Browse filesBrowse files
nodejs-github-bottargos
authored andcommitted
deps: update corepack to 0.24.1
PR-URL: #51459 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent fe597de commit e5db8d4
Copy full SHA for e5db8d4

File tree

Expand file treeCollapse file tree

3 files changed

+26
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+26
-9
lines changed
Open diff view settings
Collapse file

‎deps/corepack/CHANGELOG.md‎

Copy file name to clipboardExpand all lines: deps/corepack/CHANGELOG.md
+12Lines changed: 12 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## [0.24.1](https://github.com/nodejs/corepack/compare/v0.24.0...v0.24.1) (2024-01-13)
4+
5+
6+
### Features
7+
8+
* update package manager versions ([#348](https://github.com/nodejs/corepack/issues/348)) ([cc3ada7](https://github.com/nodejs/corepack/commit/cc3ada73bccd0a5b0ff16834e518efa521c9eea4))
9+
10+
11+
### Bug Fixes
12+
13+
* **use:** create `package.json` when calling `corepack use` on empty dir ([#350](https://github.com/nodejs/corepack/issues/350)) ([2950a8a](https://github.com/nodejs/corepack/commit/2950a8a30b64b4598abc354e45400e83d56e541b))
14+
315
## [0.24.0](https://github.com/nodejs/corepack/compare/v0.23.0...v0.24.0) (2023-12-29)
416

517

Collapse file

‎deps/corepack/dist/lib/corepack.cjs‎

Copy file name to clipboardExpand all lines: deps/corepack/dist/lib/corepack.cjs
+13-8Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41952,7 +41952,7 @@ function String2(descriptor, ...args) {
4195241952
}
4195341953

4195441954
// package.json
41955-
var version = "0.24.0";
41955+
var version = "0.24.1";
4195641956

4195741957
// sources/Engine.ts
4195841958
var import_fs3 = __toESM(require("fs"));
@@ -41964,7 +41964,7 @@ var import_semver3 = __toESM(require_semver2());
4196441964
var config_default = {
4196541965
definitions: {
4196641966
npm: {
41967-
default: "10.2.5+sha1.ef86b9aafd9965e60814ed11a3d4fb00a4e3b006",
41967+
default: "10.3.0+sha1.554e1f13e4c09d581ad27cdc4a92f085ab74ce1a",
4196841968
fetchLatestFrom: {
4196941969
type: "npm",
4197041970
package: "npm"
@@ -42001,7 +42001,7 @@ var config_default = {
4200142001
}
4200242002
},
4200342003
pnpm: {
42004-
default: "8.13.1+sha1.90f9b2bb3ed58632bcb7b13c3902d6873ee9501c",
42004+
default: "8.14.1+sha1.d039b38e0b20ad012ed548e44267b8d4c88b447a",
4200542005
fetchLatestFrom: {
4200642006
type: "npm",
4200742007
package: "pnpm"
@@ -42829,9 +42829,14 @@ async function loadSpec(initialCwd) {
4282942829
if (nodeModulesRegExp.test(currCwd))
4283042830
continue;
4283142831
const manifestPath = import_path6.default.join(currCwd, `package.json`);
42832-
if (!import_fs6.default.existsSync(manifestPath))
42833-
continue;
42834-
const content = await import_fs6.default.promises.readFile(manifestPath, `utf8`);
42832+
let content;
42833+
try {
42834+
content = await import_fs6.default.promises.readFile(manifestPath, `utf8`);
42835+
} catch (err) {
42836+
if (err?.code === `ENOENT`)
42837+
continue;
42838+
throw err;
42839+
}
4283542840
let data;
4283642841
try {
4283742842
data = JSON.parse(content);
@@ -42916,7 +42921,7 @@ var BaseCommand = class extends Command {
4291642921
}
4291742922
async setLocalPackageManager(info) {
4291842923
const lookup = await loadSpec(this.context.cwd);
42919-
const content = lookup.target !== `NoProject` ? await import_fs7.default.promises.readFile(lookup.target, `utf8`) : ``;
42924+
const content = lookup.type !== `NoProject` ? await import_fs7.default.promises.readFile(lookup.target, `utf8`) : ``;
4292042925
const { data, indent } = readPackageJson(content);
4292142926
const previousPackageManager = data.packageManager ?? `unknown`;
4292242927
data.packageManager = `${info.locator.name}@${info.locator.reference}+${info.hash}`;
@@ -43195,7 +43200,7 @@ var UseCommand = class extends BaseCommand {
4319543200
`,
4319643201
examples: [[
4319743202
`Configure the project to use the latest Yarn release`,
43198-
`corepack use 'yarn@*'`
43203+
`corepack use yarn`
4319943204
]]
4320043205
});
4320143206
pattern = options_exports.String();
Collapse file

‎deps/corepack/package.json‎

Copy file name to clipboardExpand all lines: deps/corepack/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "corepack",
3-
"version": "0.24.0",
3+
"version": "0.24.1",
44
"homepage": "https://github.com/nodejs/corepack#readme",
55
"bugs": {
66
"url": "https://github.com/nodejs/corepack/issues"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.