Skip to content

Commit d1a9237

Browse files
nodejs-github-botrichardlau
authored andcommitted
deps: update corepack to 0.24.0
PR-URL: #51318 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent adac0c7 commit d1a9237

File tree

4 files changed

+118
-85
lines changed

4 files changed

+118
-85
lines changed

deps/corepack/CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [0.24.0](https://github.com/nodejs/corepack/compare/v0.23.0...v0.24.0) (2023-12-29)
4+
5+
6+
### Features
7+
8+
* add support for HTTP redirect ([#341](https://github.com/nodejs/corepack/issues/341)) ([6df5063](https://github.com/nodejs/corepack/commit/6df5063b14868ff21499a051e5122fa7211be6ed))
9+
* add support for rangeless commands ([#338](https://github.com/nodejs/corepack/issues/338)) ([9bee415](https://github.com/nodejs/corepack/commit/9bee4150815113d97f0bd77d62c8d999cfd68ad3))
10+
* update package manager versions ([#330](https://github.com/nodejs/corepack/issues/330)) ([cfcc280](https://github.com/nodejs/corepack/commit/cfcc28047a788daeef2c0b15ee35a8b1a8149bb6))
11+
* **yarn:** fallback to npm when `COREPACK_NPM_REGISTRY` is set ([#339](https://github.com/nodejs/corepack/issues/339)) ([0717c6a](https://github.com/nodejs/corepack/commit/0717c6af898e075f57c5694d699a3c51e79a024c))
12+
13+
14+
### Bug Fixes
15+
16+
* clarify `EACCES` errors ([#343](https://github.com/nodejs/corepack/issues/343)) ([518bed8](https://github.com/nodejs/corepack/commit/518bed8b7d7c313163c79d31cb9bbc023dba6560))
17+
318
## [0.23.0](https://github.com/nodejs/corepack/compare/v0.22.0...v0.23.0) (2023-11-05)
419

520

deps/corepack/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ This command doesn't change the global version used when running the package
177177
manager from outside the project (use the \`-g,--global\` flag if you wish
178178
to do this).
179179

180-
### `corepack install <-g,--global> [--all] [... name@version]`
180+
### `corepack install <-g,--global> [--all] [... name[@<version>]]`
181181

182182
| Option | Description |
183183
| --------------------- | ------------------------------------------ |
@@ -189,7 +189,7 @@ Package managers thus installed will be configured as the new default when
189189
calling their respective binaries outside of projects defining the
190190
`packageManager` field.
191191

192-
### `corepack pack [--all] [... name@version]`
192+
### `corepack pack [--all] [... name[@<version>]]`
193193

194194
| Option | Description |
195195
| --------------------- | ------------------------------------------ |
@@ -200,7 +200,7 @@ calling their respective binaries outside of projects defining the
200200
Download the selected package managers and store them inside a tarball
201201
suitable for use with `corepack install -g`.
202202

203-
### `corepack use <name@version>`
203+
### `corepack use <name[@<version>]>`
204204

205205
When run, this command will retrieve the latest release matching the provided
206206
descriptor, assign it to the project's package.json file, and automatically
@@ -215,7 +215,7 @@ it.
215215
Unlike `corepack use` this command doesn't take a package manager name nor a
216216
version range, as it will always select the latest available version from the
217217
same major line. Should you need to upgrade to a new major, use an explicit
218-
`corepack use {name}@latest` call.
218+
`corepack use {name}@latest` call (or simply `corepack use {name}`).
219219

220220
## Environment Variables
221221

0 commit comments

Comments
 (0)