mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:45:32 -05:00
deps: update corepack to 0.28.0
PR-URL: https://github.com/nodejs/node/pull/52616 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
1 parent
f23fa1de72
commit
3b422ddcea
4 files changed
+5674
-5770
No files matched your search
Vendored
+35
@@ -1,5 +1,40 @@
|
||||
# Changelog
|
||||
|
||||
## [0.28.0](https://github.com/nodejs/corepack/compare/v0.27.0...v0.28.0) (2024-04-20)
|
||||
|
||||
|
||||
### ⚠ BREAKING CHANGES
|
||||
|
||||
* call `executePackageManagerRequest` directly ([#430](https://github.com/nodejs/corepack/issues/430))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* call `executePackageManagerRequest` directly ([#430](https://github.com/nodejs/corepack/issues/430)) ([0f9b748](https://github.com/nodejs/corepack/commit/0f9b74864048d5dc150a63cc582966af0c5f363f))
|
||||
|
||||
## [0.27.0](https://github.com/nodejs/corepack/compare/v0.26.0...v0.27.0) (2024-04-19)
|
||||
|
||||
|
||||
### ⚠ BREAKING CHANGES
|
||||
|
||||
* attempting to download a version from the npm registry (or a mirror) that was published using the now deprecated PGP signature without providing a hash will trigger an error. Users can disable the signature verification using a environment variable.
|
||||
|
||||
### Features
|
||||
|
||||
* separate read and write operations on lastKnownGood.json ([#446](https://github.com/nodejs/corepack/issues/446)) ([c449adc](https://github.com/nodejs/corepack/commit/c449adc81822a604ee8f00ae2b53fc411535f96d))
|
||||
* update package manager versions ([#425](https://github.com/nodejs/corepack/issues/425)) ([1423190](https://github.com/nodejs/corepack/commit/142319056424b1e0da2bdbe801c52c5910023707))
|
||||
* update package manager versions ([#462](https://github.com/nodejs/corepack/issues/462)) ([56816c2](https://github.com/nodejs/corepack/commit/56816c2b7ebc9926f07048b0ec4ff6025bb4e293))
|
||||
* verify integrity signature when downloading from npm registry ([#432](https://github.com/nodejs/corepack/issues/432)) ([e561dd0](https://github.com/nodejs/corepack/commit/e561dd00bbacc5bc15a492fc36574fa0e37bff7b))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* add path to `package.json` in error message ([#456](https://github.com/nodejs/corepack/issues/456)) ([32a93ea](https://github.com/nodejs/corepack/commit/32a93ea4f51eb7db7dc95a16c5719695edf4b53e))
|
||||
* correctly set `Dispatcher` prototype for `ProxyAgent` ([#451](https://github.com/nodejs/corepack/issues/451)) ([73d9a1e](https://github.com/nodejs/corepack/commit/73d9a1e2d2f84906bf01952f1dca8adab576b7bf))
|
||||
* download fewer metadata from npm registry ([#436](https://github.com/nodejs/corepack/issues/436)) ([082fabf](https://github.com/nodejs/corepack/commit/082fabf8b15658e69e4fb62bb854fe9aace78b70))
|
||||
* hash check when downloading Yarn Berry from npm ([#439](https://github.com/nodejs/corepack/issues/439)) ([4672162](https://github.com/nodejs/corepack/commit/467216281e1719a739d0eeea370b335adfb37b8d))
|
||||
* Incorrect authorization prefix for basic auth, and undocumented env var ([#454](https://github.com/nodejs/corepack/issues/454)) ([2d63536](https://github.com/nodejs/corepack/commit/2d63536413971d43f570deb035845aa0bd5202f0))
|
||||
* re-add support for custom registries with auth ([#397](https://github.com/nodejs/corepack/issues/397)) ([d267753](https://github.com/nodejs/corepack/commit/d2677538cdb613fcab6d2a45bb07f349bdc65c2b))
|
||||
|
||||
## [0.26.0](https://github.com/nodejs/corepack/compare/v0.25.2...v0.26.0) (2024-03-08)
|
||||
|
||||
|
||||
|
||||
Vendored
+6
-1
@@ -1,5 +1,7 @@
|
||||
# <img src="./icon.svg" height="25" /> corepack
|
||||
|
||||
[](https://slack-invite.openjsf.org/)
|
||||
|
||||
Corepack is a zero-runtime-dependency Node.js script that acts as a bridge
|
||||
between Node.js projects and the package managers they are intended to be used
|
||||
with during development. In practical terms, **Corepack lets you use Yarn, npm,
|
||||
@@ -54,7 +56,7 @@ projects, `pnpm install` in pnpm projects, and `npm` in npm projects. Corepack
|
||||
will catch these calls, and depending on the situation:
|
||||
|
||||
- **If the local project is configured for the package manager you're using**,
|
||||
Corepack will silently download and cache the latest compatible version.
|
||||
Corepack will download and cache the latest compatible version.
|
||||
|
||||
- **If the local project is configured for a different package manager**,
|
||||
Corepack will request you to run the command again using the right package
|
||||
@@ -294,6 +296,9 @@ same major line. Should you need to upgrade to a new major, use an explicit
|
||||
- `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` are supported through
|
||||
[`node-proxy-agent`](https://github.com/TooTallNate/node-proxy-agent).
|
||||
|
||||
- `COREPACK_INTEGRITY_KEYS` can be set to an empty string to instruct Corepack
|
||||
to skip integrity checks, or a JSON string containing custom keys.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Networking
|
||||
|
||||
Vendored
+5627
-5766
File diff suppressed because it is too large.
Load diff
Vendored
+6
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "corepack",
|
||||
"version": "0.26.0",
|
||||
"version": "0.28.0",
|
||||
"homepage": "https://github.com/nodejs/corepack#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/nodejs/corepack/issues"
|
||||
@@ -16,7 +16,7 @@
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"license": "MIT",
|
||||
"packageManager": "yarn@4.1.0+sha224.bc24d7f5afc738464f3d4e95f4e6e7829a35cee54a0fd527ea5baa83",
|
||||
"packageManager": "yarn@4.1.1+sha224.00f08619463229f8ba40c4ee90e8c2e4ced1f11c3115c26f3b98432e",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.14.3",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
|
||||
@@ -45,13 +45,16 @@
|
||||
"proxy-from-env": "^1.1.0",
|
||||
"semver": "^7.5.2",
|
||||
"supports-color": "^9.0.0",
|
||||
"tar": "^6.0.1",
|
||||
"tar": "^6.2.1",
|
||||
"ts-node": "^10.0.0",
|
||||
"typescript": "^5.3.3",
|
||||
"undici": "^6.6.1",
|
||||
"v8-compile-cache": "^2.3.0",
|
||||
"which": "^4.0.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"undici-types": "6.x"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rm -rf dist shims && run build:bundle && ts-node ./mkshims.ts",
|
||||
"build:bundle": "esbuild ./sources/_lib.ts --bundle --platform=node --target=node18.17.0 --external:corepack --outfile='./dist/lib/corepack.cjs' --resolve-extensions='.ts,.mjs,.js'",
|
||||
|
||||
Reference in new issue
Block a user