assassinlike commited on
Commit
bb5f148
·
verified ·
1 Parent(s): e423fbc

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/README.md +32 -0
  2. home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/bin/README.txt +12 -0
  3. home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/install.js +514 -0
  4. home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/node_modules/@oven/bun-linux-x64-musl-baseline/package.json +16 -0
  5. home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/node_modules/@oven/bun-linux-x64-musl/package.json +16 -0
  6. home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/node_modules/@oven/bun-linux-x64/README.md +3 -0
  7. home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/node_modules/@oven/bun-linux-x64/package.json +16 -0
  8. home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/package.json +49 -0
  9. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/CHANGELOG.md +590 -0
  10. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/README.md +381 -0
  11. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/corepack.js +4 -0
  12. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/lib/corepack.cjs +0 -0
  13. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/npm.js +4 -0
  14. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/npx.js +4 -0
  15. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/pnpm.js +4 -0
  16. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/pnpx.js +4 -0
  17. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/yarn.js +4 -0
  18. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/yarnpkg.js +4 -0
  19. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/package.json +102 -0
  20. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/corepack +12 -0
  21. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/corepack.cmd +7 -0
  22. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/corepack.ps1 +28 -0
  23. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/corepack +12 -0
  24. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/corepack.cmd +7 -0
  25. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/corepack.ps1 +28 -0
  26. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npm +12 -0
  27. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npm.cmd +7 -0
  28. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npm.ps1 +28 -0
  29. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npx +12 -0
  30. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npx.cmd +7 -0
  31. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npx.ps1 +28 -0
  32. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpm +12 -0
  33. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpm.cmd +7 -0
  34. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpm.ps1 +28 -0
  35. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpx +12 -0
  36. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpx.cmd +7 -0
  37. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpx.ps1 +28 -0
  38. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarn +12 -0
  39. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarn.cmd +7 -0
  40. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarn.ps1 +28 -0
  41. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarnpkg +12 -0
  42. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarnpkg.cmd +7 -0
  43. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarnpkg.ps1 +28 -0
  44. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npm +12 -0
  45. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npm.cmd +7 -0
  46. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npm.ps1 +28 -0
  47. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npx +12 -0
  48. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npx.cmd +7 -0
  49. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npx.ps1 +28 -0
  50. home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/pnpm +12 -0
home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/README.md ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Bun
2
+
3
+ Bun is a fast all-in-one JavaScript runtime. https://bun.com
4
+
5
+ ### Install
6
+
7
+ ```sh
8
+ npm install -g bun
9
+ ```
10
+
11
+ ### Upgrade
12
+
13
+ ```sh
14
+ bun upgrade
15
+ ```
16
+
17
+ ### Supported Platforms
18
+
19
+ - [macOS, arm64 (Apple Silicon)](https://www.npmjs.com/package/@oven/bun-darwin-aarch64)
20
+ - [macOS, x64](https://www.npmjs.com/package/@oven/bun-darwin-x64)
21
+ - [macOS, x64 (without AVX2 instructions)](https://www.npmjs.com/package/@oven/bun-darwin-x64-baseline)
22
+ - [Linux, arm64](https://www.npmjs.com/package/@oven/bun-linux-aarch64)
23
+ - [Linux, x64](https://www.npmjs.com/package/@oven/bun-linux-x64)
24
+ - [Linux, x64 (without AVX2 instructions)](https://www.npmjs.com/package/@oven/bun-linux-x64-baseline)
25
+ - [Windows, x64](https://www.npmjs.com/package/@oven/bun-windows-x64)
26
+ - [Windows, x64 (without AVX2 instructions)](https://www.npmjs.com/package/@oven/bun-windows-x64-baseline)
27
+ - [Windows ARM64](https://www.npmjs.com/package/@oven/bun-windows-aarch64)
28
+
29
+ ### Future Platforms
30
+
31
+ - Unix-like variants such as FreeBSD, OpenBSD, etc.
32
+ - Android and iOS
home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/bin/README.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The 'bun.exe' file is a placeholder for the binary file, which
2
+ is replaced by Bun's 'postinstall' script. For this to work, make
3
+ sure that you do not use --ignore-scripts while installing.
4
+
5
+ The postinstall script is responsible for linking the binary file
6
+ directly into 'node_modules/.bin' and avoiding a Node.js wrapper
7
+ script being called on every invocation of 'bun'. If this wasn't
8
+ done, Bun would seem to be slower than Node.js, because it would
9
+ be executing a copy of Node.js every time!
10
+
11
+ Unfortunately, it is not possible to fix all cases on all platforms
12
+ without *requiring* a postinstall script.
home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/install.js ADDED
@@ -0,0 +1,514 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Source code: https://github.com/oven-sh/bun/blob/main/packages/bun-release/scripts/npm-postinstall.ts
2
+ "use strict";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty, __defProps = Object.defineProperties, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropDescs = Object.getOwnPropertyDescriptors, __getOwnPropNames = Object.getOwnPropertyNames, __getOwnPropSymbols = Object.getOwnPropertySymbols, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
6
+ for (var prop in b || (b = {}))
7
+ __hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
8
+ if (__getOwnPropSymbols)
9
+ for (var prop of __getOwnPropSymbols(b))
10
+ __propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
11
+ return a;
12
+ }, __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)), __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function")
15
+ for (let key of __getOwnPropNames(from))
16
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
25
+ mod
26
+ ));
27
+ var __async = (__this, __arguments, generator) => new Promise((resolve, reject) => {
28
+ var fulfilled = (value) => {
29
+ try {
30
+ step(generator.next(value));
31
+ } catch (e) {
32
+ reject(e);
33
+ }
34
+ }, rejected = (value) => {
35
+ try {
36
+ step(generator.throw(value));
37
+ } catch (e) {
38
+ reject(e);
39
+ }
40
+ }, step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
41
+ step((generator = generator.apply(__this, __arguments)).next());
42
+ });
43
+
44
+ // src/npm/install.ts
45
+ var import_zlib = require("zlib");
46
+
47
+ // src/console.ts
48
+ var isAction = !!process.env.GITHUB_ACTION, isDebug = process.env.DEBUG === "1" || process.env.LOG_LEVEL === "debug" || process.env.RUNNER_DEBUG === "1";
49
+ function debug(...message) {
50
+ isAction ? [...message] : isDebug && [...message];
51
+ }
52
+ __name(debug, "debug");
53
+ function error(...message) {
54
+ isAction ? console.error("::error::", ...message) : console.error(...message);
55
+ }
56
+ __name(error, "error");
57
+
58
+ // src/fetch.ts
59
+ var fetch = "fetch" in globalThis ? webFetch : nodeFetch;
60
+ function webFetch(_0) {
61
+ return __async(this, arguments, function* (url, options = {}) {
62
+ debug("fetch request", url, options);
63
+ let response = yield globalThis.fetch(url, options, { verbose: isDebug });
64
+ if (debug("fetch response", response), (options == null ? void 0 : options.assert) !== !1 && !isOk(response.status)) {
65
+ try {
66
+ debug(yield response.text());
67
+ } catch (e) {
68
+ }
69
+ throw new Error(`${response.status}: ${url}`);
70
+ }
71
+ return response;
72
+ });
73
+ }
74
+ __name(webFetch, "webFetch");
75
+ function nodeFetch(_0) {
76
+ return __async(this, arguments, function* (url, options = {}) {
77
+ let { get } = yield import("http");
78
+ return new Promise((resolve, reject) => {
79
+ get(url, (response) => {
80
+ var _a;
81
+ debug("http.get", url, response.statusCode);
82
+ let status = (_a = response.statusCode) != null ? _a : 501;
83
+ if (response.headers.location && isRedirect(status))
84
+ return nodeFetch(url).then(resolve, reject);
85
+ if ((options == null ? void 0 : options.assert) !== !1 && !isOk(status))
86
+ return reject(new Error(`${status}: ${url}`));
87
+ let body = [];
88
+ response.on("data", (chunk) => {
89
+ body.push(chunk);
90
+ }), response.on("end", () => {
91
+ resolve({
92
+ ok: isOk(status),
93
+ status,
94
+ arrayBuffer() {
95
+ return __async(this, null, function* () {
96
+ return Buffer.concat(body).buffer;
97
+ });
98
+ },
99
+ text() {
100
+ return __async(this, null, function* () {
101
+ return Buffer.concat(body).toString("utf-8");
102
+ });
103
+ },
104
+ json() {
105
+ return __async(this, null, function* () {
106
+ let text = Buffer.concat(body).toString("utf-8");
107
+ return JSON.parse(text);
108
+ });
109
+ }
110
+ });
111
+ });
112
+ }).on("error", reject);
113
+ });
114
+ });
115
+ }
116
+ __name(nodeFetch, "nodeFetch");
117
+ function isOk(status) {
118
+ return status >= 200 && status <= 204;
119
+ }
120
+ __name(isOk, "isOk");
121
+ function isRedirect(status) {
122
+ switch (status) {
123
+ case 301:
124
+ case 308:
125
+ case 302:
126
+ case 307:
127
+ case 303:
128
+ return !0;
129
+ }
130
+ return !1;
131
+ }
132
+ __name(isRedirect, "isRedirect");
133
+
134
+ // src/fs.ts
135
+ var import_fs = __toESM(require("fs")), import_os = __toESM(require("os")), import_path = __toESM(require("path"));
136
+ function join(...paths) {
137
+ return import_path.default.join(...paths.flat(2));
138
+ }
139
+ __name(join, "join");
140
+ function tmp() {
141
+ var _a;
142
+ let tmpdir = (_a = process.env.RUNNER_TEMP) != null ? _a : import_os.default.tmpdir(), dir = import_fs.default.mkdtempSync(join(tmpdir, "bun-"));
143
+ return debug("tmp", dir), dir;
144
+ }
145
+ __name(tmp, "tmp");
146
+ function rm(path2) {
147
+ debug("rm", path2);
148
+ try {
149
+ import_fs.default.rmSync(path2, { recursive: !0 });
150
+ return;
151
+ } catch (error2) {
152
+ debug("fs.rmSync failed", error2);
153
+ }
154
+ let stats;
155
+ try {
156
+ stats = import_fs.default.lstatSync(path2);
157
+ } catch (error2) {
158
+ debug("fs.lstatSync failed", error2);
159
+ return;
160
+ }
161
+ if (!stats.isDirectory()) {
162
+ import_fs.default.unlinkSync(path2);
163
+ return;
164
+ }
165
+ try {
166
+ import_fs.default.rmdirSync(path2, { recursive: !0 });
167
+ return;
168
+ } catch (error2) {
169
+ debug("fs.rmdirSync failed", error2);
170
+ }
171
+ for (let filename of import_fs.default.readdirSync(path2))
172
+ rm(join(path2, filename));
173
+ import_fs.default.rmdirSync(path2);
174
+ }
175
+ __name(rm, "rm");
176
+ function rename(path2, newPath) {
177
+ debug("rename", path2, newPath);
178
+ try {
179
+ import_fs.default.renameSync(path2, newPath);
180
+ return;
181
+ } catch (error2) {
182
+ debug("fs.renameSync failed", error2);
183
+ }
184
+ try {
185
+ rm(newPath);
186
+ } catch (error2) {
187
+ debug("rm failed", error2);
188
+ }
189
+ import_fs.default.renameSync(path2, newPath);
190
+ }
191
+ __name(rename, "rename");
192
+ function write(dst, content) {
193
+ debug("write", dst);
194
+ try {
195
+ import_fs.default.writeFileSync(dst, content);
196
+ return;
197
+ } catch (error2) {
198
+ debug("fs.writeFileSync failed", error2);
199
+ try {
200
+ import_fs.default.mkdirSync(import_path.default.dirname(dst), { recursive: !0 });
201
+ } catch (error3) {
202
+ debug("fs.mkdirSync failed", error3);
203
+ }
204
+ import_fs.default.writeFileSync(dst, content);
205
+ }
206
+ }
207
+ __name(write, "write");
208
+ function read(path2) {
209
+ return debug("read", path2), import_fs.default.readFileSync(path2, "utf-8");
210
+ }
211
+ __name(read, "read");
212
+ function chmod(path2, mode) {
213
+ debug("chmod", path2, mode), import_fs.default.chmodSync(path2, mode);
214
+ }
215
+ __name(chmod, "chmod");
216
+ function copy(path2, newPath) {
217
+ debug("copy", path2, newPath);
218
+ try {
219
+ import_fs.default.copyFileSync(path2, newPath);
220
+ return;
221
+ } catch (error2) {
222
+ debug("fs.copyFileSync failed", error2);
223
+ }
224
+ write(newPath, read(path2));
225
+ }
226
+ __name(copy, "copy");
227
+ function exists(path2) {
228
+ debug("exists", path2);
229
+ try {
230
+ return import_fs.default.existsSync(path2);
231
+ } catch (error2) {
232
+ debug("fs.existsSync failed", error2);
233
+ }
234
+ return !1;
235
+ }
236
+ __name(exists, "exists");
237
+ function link(path2, newPath) {
238
+ debug("link", path2, newPath);
239
+ try {
240
+ import_fs.default.unlinkSync(newPath), import_fs.default.linkSync(path2, newPath);
241
+ return;
242
+ } catch (error2) {
243
+ copy(path2, newPath), debug("fs.linkSync failed, reverting to copy", error2);
244
+ }
245
+ }
246
+ __name(link, "link");
247
+
248
+ // src/spawn.ts
249
+ var import_child_process = __toESM(require("child_process"));
250
+ function spawn(cmd, args, options = {}) {
251
+ debug("spawn", [cmd, ...args].join(" "));
252
+ let { status, stdout, stderr } = import_child_process.default.spawnSync(cmd, args, __spreadValues({
253
+ stdio: "pipe",
254
+ encoding: "utf-8"
255
+ }, options));
256
+ return {
257
+ exitCode: status != null ? status : 1,
258
+ stdout,
259
+ stderr
260
+ };
261
+ }
262
+ __name(spawn, "spawn");
263
+
264
+ // src/platform.ts
265
+ var os2 = process.platform, arch = os2 === "darwin" && process.arch === "x64" && isRosetta2() ? "arm64" : process.arch, avx2 = arch === "x64" && (os2 === "linux" && isLinuxAVX2() || os2 === "darwin" && isDarwinAVX2() || os2 === "win32" && isWindowsAVX2()), abi = os2 === "linux" && isLinuxMusl() ? "musl" : void 0, platforms = [
266
+ {
267
+ os: "darwin",
268
+ arch: "arm64",
269
+ bin: "bun-darwin-aarch64",
270
+ exe: "bin/bun"
271
+ },
272
+ {
273
+ os: "darwin",
274
+ arch: "x64",
275
+ avx2: !0,
276
+ bin: "bun-darwin-x64",
277
+ exe: "bin/bun"
278
+ },
279
+ {
280
+ os: "darwin",
281
+ arch: "x64",
282
+ bin: "bun-darwin-x64-baseline",
283
+ exe: "bin/bun"
284
+ },
285
+ {
286
+ os: "linux",
287
+ arch: "arm64",
288
+ bin: "bun-linux-aarch64",
289
+ exe: "bin/bun"
290
+ },
291
+ {
292
+ os: "linux",
293
+ arch: "x64",
294
+ avx2: !0,
295
+ bin: "bun-linux-x64",
296
+ exe: "bin/bun"
297
+ },
298
+ {
299
+ os: "linux",
300
+ arch: "x64",
301
+ bin: "bun-linux-x64-baseline",
302
+ exe: "bin/bun"
303
+ },
304
+ {
305
+ os: "linux",
306
+ arch: "arm64",
307
+ abi: "musl",
308
+ bin: "bun-linux-aarch64-musl",
309
+ exe: "bin/bun"
310
+ },
311
+ {
312
+ os: "linux",
313
+ arch: "x64",
314
+ abi: "musl",
315
+ avx2: !0,
316
+ bin: "bun-linux-x64-musl",
317
+ exe: "bin/bun"
318
+ },
319
+ {
320
+ os: "linux",
321
+ arch: "x64",
322
+ abi: "musl",
323
+ bin: "bun-linux-x64-musl-baseline",
324
+ exe: "bin/bun"
325
+ },
326
+ {
327
+ os: "win32",
328
+ arch: "x64",
329
+ avx2: !0,
330
+ bin: "bun-windows-x64",
331
+ exe: "bin/bun.exe"
332
+ },
333
+ {
334
+ os: "win32",
335
+ arch: "x64",
336
+ bin: "bun-windows-x64-baseline",
337
+ exe: "bin/bun.exe"
338
+ },
339
+ {
340
+ os: "win32",
341
+ arch: "arm64",
342
+ bin: "bun-windows-aarch64",
343
+ exe: "bin/bun.exe"
344
+ }
345
+ ], supportedPlatforms = platforms.filter(
346
+ (platform) => platform.os === os2 && platform.arch === arch && (!platform.avx2 || avx2) && (!platform.abi || abi === platform.abi)
347
+ ).sort((a, b) => a.avx2 === b.avx2 ? 0 : a.avx2 ? -1 : 1);
348
+ function isLinuxMusl() {
349
+ try {
350
+ return exists("/etc/alpine-release");
351
+ } catch (error2) {
352
+ return debug("isLinuxMusl failed", error2), !1;
353
+ }
354
+ }
355
+ __name(isLinuxMusl, "isLinuxMusl");
356
+ function isLinuxAVX2() {
357
+ try {
358
+ return read("/proc/cpuinfo").includes("avx2");
359
+ } catch (error2) {
360
+ return debug("isLinuxAVX2 failed", error2), !1;
361
+ }
362
+ }
363
+ __name(isLinuxAVX2, "isLinuxAVX2");
364
+ function isDarwinAVX2() {
365
+ try {
366
+ let { exitCode, stdout } = spawn("sysctl", ["-n", "machdep.cpu"]);
367
+ return exitCode === 0 && stdout.includes("AVX2");
368
+ } catch (error2) {
369
+ return debug("isDarwinAVX2 failed", error2), !1;
370
+ }
371
+ }
372
+ __name(isDarwinAVX2, "isDarwinAVX2");
373
+ function isRosetta2() {
374
+ try {
375
+ let { exitCode, stdout } = spawn("sysctl", ["-n", "sysctl.proc_translated"]);
376
+ return exitCode === 0 && stdout.includes("1");
377
+ } catch (error2) {
378
+ return debug("isRosetta2 failed", error2), !1;
379
+ }
380
+ }
381
+ __name(isRosetta2, "isRosetta2");
382
+ function isWindowsAVX2() {
383
+ try {
384
+ return spawn("powershell", [
385
+ "-c",
386
+ `(Add-Type -MemberDefinition '[DllImport("kernel32.dll")] public static extern bool IsProcessorFeaturePresent(int ProcessorFeature);' -Name 'Kernel32' -Namespace 'Win32' -PassThru)::IsProcessorFeaturePresent(40);`
387
+ ]).stdout.trim() === "True";
388
+ } catch (error2) {
389
+ return debug("isWindowsAVX2 failed", error2), !1;
390
+ }
391
+ }
392
+ __name(isWindowsAVX2, "isWindowsAVX2");
393
+
394
+ // src/npm/install.ts
395
+ function importBun() {
396
+ return __async(this, null, function* () {
397
+ if (!supportedPlatforms.length)
398
+ throw new Error(`Unsupported platform: ${os2} ${arch} ${abi || ""}`);
399
+ for (let platform of supportedPlatforms)
400
+ try {
401
+ return yield requireBun(platform);
402
+ } catch (error2) {
403
+ debug("requireBun failed", error2);
404
+ }
405
+ throw new Error('Failed to install package "bun"');
406
+ });
407
+ }
408
+ __name(importBun, "importBun");
409
+ function requireBun(platform) {
410
+ return __async(this, null, function* () {
411
+ let module2 = `@oven/${platform.bin}`;
412
+ function resolveBun() {
413
+ let exe = require.resolve(join(module2, platform.exe)), { exitCode, stderr, stdout } = spawn(exe, ["--version"]);
414
+ if (exitCode === 0)
415
+ return exe;
416
+ throw new Error(stderr || stdout);
417
+ }
418
+ __name(resolveBun, "resolveBun");
419
+ try {
420
+ return resolveBun();
421
+ } catch (cause) {
422
+ debug("resolveBun failed", cause), error(
423
+ `Failed to find package "${module2}".`,
424
+ 'You may have used the "--no-optional" flag when running "npm install".'
425
+ );
426
+ }
427
+ let cwd = join("node_modules", module2);
428
+ try {
429
+ installBun(platform, cwd);
430
+ } catch (cause) {
431
+ debug("installBun failed", cause), error(`Failed to install package "${module2}" using "npm install".`, cause);
432
+ try {
433
+ yield downloadBun(platform, cwd);
434
+ } catch (cause2) {
435
+ debug("downloadBun failed", cause2), error(`Failed to download package "${module2}" from "registry.npmjs.org".`, cause2);
436
+ }
437
+ }
438
+ return resolveBun();
439
+ });
440
+ }
441
+ __name(requireBun, "requireBun");
442
+ function installBun(platform, dst) {
443
+ let module2 = `@oven/${platform.bin}`, cwd = tmp();
444
+ try {
445
+ write(join(cwd, "package.json"), "{}");
446
+ let { exitCode } = spawn(
447
+ "npm",
448
+ ["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.3.10`],
449
+ {
450
+ cwd,
451
+ stdio: "pipe",
452
+ env: __spreadProps(__spreadValues({}, process.env), {
453
+ npm_config_global: void 0
454
+ })
455
+ }
456
+ );
457
+ exitCode === 0 && rename(join(cwd, "node_modules", module2), dst);
458
+ } finally {
459
+ try {
460
+ rm(cwd);
461
+ } catch (error2) {
462
+ debug("rm failed", error2);
463
+ }
464
+ }
465
+ }
466
+ __name(installBun, "installBun");
467
+ function downloadBun(platform, dst) {
468
+ return __async(this, null, function* () {
469
+ let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.3.10.tgz`)).arrayBuffer(), buffer;
470
+ try {
471
+ buffer = (0, import_zlib.unzipSync)(tgz);
472
+ } catch (cause) {
473
+ throw new Error("Invalid gzip data", { cause });
474
+ }
475
+ function str(i, n) {
476
+ return String.fromCharCode(...buffer.subarray(i, i + n)).replace(/\0.*$/, "");
477
+ }
478
+ __name(str, "str");
479
+ let offset = 0;
480
+ for (; offset < buffer.length; ) {
481
+ let name = str(offset, 100).replace("package/", ""), size = parseInt(str(offset + 124, 12), 8);
482
+ if (offset += 512, !isNaN(size)) {
483
+ if (write(join(dst, name), buffer.subarray(offset, offset + size)), name === platform.exe)
484
+ try {
485
+ chmod(join(dst, name), 493);
486
+ } catch (error2) {
487
+ debug("chmod failed", error2);
488
+ }
489
+ offset += size + 511 & -512;
490
+ }
491
+ }
492
+ });
493
+ }
494
+ __name(downloadBun, "downloadBun");
495
+ function optimizeBun(path2) {
496
+ let installScript = os2 === "win32" ? 'powershell -c "irm bun.sh/install.ps1 | iex"' : "curl -fsSL https://bun.com/install | bash";
497
+ try {
498
+ rename(path2, join(__dirname, "bin", "bun.exe")), link(join(__dirname, "bin", "bun.exe"), join(__dirname, "bin", "bunx.exe"));
499
+ return;
500
+ } catch (error2) {
501
+ debug("optimizeBun failed", error2);
502
+ }
503
+ throw new Error(
504
+ `Your package manager doesn't seem to support bun. To use bun, install using the following command: ${installScript}`
505
+ );
506
+ }
507
+ __name(optimizeBun, "optimizeBun");
508
+
509
+ // scripts/npm-postinstall.ts
510
+ importBun().then((path2) => {
511
+ optimizeBun(path2);
512
+ }).catch((error2) => {
513
+ console.error(error2), process.exit(1);
514
+ });
home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/node_modules/@oven/bun-linux-x64-musl-baseline/package.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@oven/bun-linux-x64-musl-baseline",
3
+ "version": "1.3.10",
4
+ "description": "This is the macOS arm64 binary for Bun, a fast all-in-one JavaScript runtime.",
5
+ "homepage": "https://bun.com",
6
+ "bugs": "https://github.com/oven-sh/issues",
7
+ "license": "MIT",
8
+ "repository": "https://github.com/oven-sh/bun",
9
+ "preferUnplugged": true,
10
+ "os": [
11
+ "linux"
12
+ ],
13
+ "cpu": [
14
+ "x64"
15
+ ]
16
+ }
home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/node_modules/@oven/bun-linux-x64-musl/package.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@oven/bun-linux-x64-musl",
3
+ "version": "1.3.10",
4
+ "description": "This is the macOS arm64 binary for Bun, a fast all-in-one JavaScript runtime.",
5
+ "homepage": "https://bun.com",
6
+ "bugs": "https://github.com/oven-sh/issues",
7
+ "license": "MIT",
8
+ "repository": "https://github.com/oven-sh/bun",
9
+ "preferUnplugged": true,
10
+ "os": [
11
+ "linux"
12
+ ],
13
+ "cpu": [
14
+ "x64"
15
+ ]
16
+ }
home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/node_modules/@oven/bun-linux-x64/README.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # Bun
2
+
3
+ This is the Linux x64 binary for Bun, a fast all-in-one JavaScript runtime. https://bun.com
home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/node_modules/@oven/bun-linux-x64/package.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@oven/bun-linux-x64",
3
+ "version": "1.3.10",
4
+ "description": "This is the macOS arm64 binary for Bun, a fast all-in-one JavaScript runtime.",
5
+ "homepage": "https://bun.com",
6
+ "bugs": "https://github.com/oven-sh/issues",
7
+ "license": "MIT",
8
+ "repository": "https://github.com/oven-sh/bun",
9
+ "preferUnplugged": true,
10
+ "os": [
11
+ "linux"
12
+ ],
13
+ "cpu": [
14
+ "x64"
15
+ ]
16
+ }
home/.nvm/versions/node/v22.22.1/lib/node_modules/bun/package.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "bun",
3
+ "description": "Bun is a fast all-in-one JavaScript runtime.",
4
+ "version": "1.3.10",
5
+ "scripts": {
6
+ "postinstall": "node install.js"
7
+ },
8
+ "optionalDependencies": {
9
+ "@oven/bun-darwin-aarch64": "1.3.10",
10
+ "@oven/bun-darwin-x64": "1.3.10",
11
+ "@oven/bun-darwin-x64-baseline": "1.3.10",
12
+ "@oven/bun-linux-aarch64": "1.3.10",
13
+ "@oven/bun-linux-x64": "1.3.10",
14
+ "@oven/bun-linux-x64-baseline": "1.3.10",
15
+ "@oven/bun-linux-aarch64-musl": "1.3.10",
16
+ "@oven/bun-linux-x64-musl": "1.3.10",
17
+ "@oven/bun-linux-x64-musl-baseline": "1.3.10",
18
+ "@oven/bun-windows-x64": "1.3.10",
19
+ "@oven/bun-windows-x64-baseline": "1.3.10",
20
+ "@oven/bun-windows-aarch64": "1.3.10"
21
+ },
22
+ "bin": {
23
+ "bun": "bin/bun.exe",
24
+ "bunx": "bin/bunx.exe"
25
+ },
26
+ "os": [
27
+ "darwin",
28
+ "linux",
29
+ "win32"
30
+ ],
31
+ "cpu": [
32
+ "arm64",
33
+ "x64"
34
+ ],
35
+ "keywords": [
36
+ "bun",
37
+ "bun.js",
38
+ "node",
39
+ "node.js",
40
+ "runtime",
41
+ "bundler",
42
+ "transpiler",
43
+ "typescript"
44
+ ],
45
+ "homepage": "https://bun.com",
46
+ "bugs": "https://github.com/oven-sh/issues",
47
+ "license": "MIT",
48
+ "repository": "https://github.com/oven-sh/bun"
49
+ }
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/CHANGELOG.md ADDED
@@ -0,0 +1,590 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ ## [0.34.6](https://github.com/nodejs/corepack/compare/v0.34.5...v0.34.6) (2026-01-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **docs:** fix PowerShell functions suggestions ([#784](https://github.com/nodejs/corepack/issues/784)) ([b1544c8](https://github.com/nodejs/corepack/commit/b1544c82a63781bd77d49f7b566fefd0104b7d6d))
9
+ * update package manager versions ([#778](https://github.com/nodejs/corepack/issues/778)) ([efed597](https://github.com/nodejs/corepack/commit/efed59797d30caa362a1fa8475cd7d17dc3b7282))
10
+
11
+ ## [0.34.5](https://github.com/nodejs/corepack/compare/v0.34.4...v0.34.5) (2025-11-24)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **pnpm:** fix bin path for v11 ([#776](https://github.com/nodejs/corepack/issues/776)) ([0c8048a](https://github.com/nodejs/corepack/commit/0c8048adc61651f6eb798448675d3ecc4a7e26a9))
17
+ * update package manager versions ([#773](https://github.com/nodejs/corepack/issues/773)) ([06c286b](https://github.com/nodejs/corepack/commit/06c286b5fc171e43090b5eed5cd501bc9580927f))
18
+
19
+ ## [0.34.4](https://github.com/nodejs/corepack/compare/v0.34.3...v0.34.4) (2025-11-14)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * bump pnpm version in `config.json` ([#768](https://github.com/nodejs/corepack/issues/768)) ([99a9a6e](https://github.com/nodejs/corepack/commit/99a9a6eb1b6e918ceb896b3d558bb5ed583bdc70))
25
+ * ignore devEngines version range when CLI provides a version ([#762](https://github.com/nodejs/corepack/issues/762)) ([ac518c4](https://github.com/nodejs/corepack/commit/ac518c4106f8d9ceb4e85e6c3614b1eba5d03fcb))
26
+ * use `lstatSync` in `generatePosixLink` ([#767](https://github.com/nodejs/corepack/issues/767)) ([a02bea0](https://github.com/nodejs/corepack/commit/a02bea078eb584ed7492ec561626987e35386bae))
27
+
28
+ ## [0.34.3](https://github.com/nodejs/corepack/compare/v0.34.2...v0.34.3) (2025-11-07)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * update package manager versions ([#765](https://github.com/nodejs/corepack/issues/765)) ([13a2e98](https://github.com/nodejs/corepack/commit/13a2e989ee37694a7ec1b1d60acdaa28f90642d1))
34
+ * Yarn switch install support and tests ([#761](https://github.com/nodejs/corepack/issues/761)) ([d04d483](https://github.com/nodejs/corepack/commit/d04d4839aeecaf4fca989c577f6c000dc90be933))
35
+
36
+ ## [0.34.2](https://github.com/nodejs/corepack/compare/v0.34.1...v0.34.2) (2025-10-31)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * bump package manager versions ([#754](https://github.com/nodejs/corepack/issues/754)) ([35e3869](https://github.com/nodejs/corepack/commit/35e3869f3f4d21bbfccdf78ea564ab0723d6f36f))
42
+ * fix potential race condition in `node-tar` ([#757](https://github.com/nodejs/corepack/pull/757)) ([78808a7](78808a72691655fe5140c02ae41d4baef88cd9fa))
43
+
44
+ ## [0.34.1](https://github.com/nodejs/corepack/compare/v0.34.0...v0.34.1) (2025-10-17)
45
+
46
+
47
+ ### Bug Fixes
48
+
49
+ * incorrect registry origin check ([#743](https://github.com/nodejs/corepack/issues/743)) ([cc840b2](https://github.com/nodejs/corepack/commit/cc840b2d232a29c225d2436d350640f0035ed28b))
50
+ * update package manager versions ([#728](https://github.com/nodejs/corepack/issues/728)) ([78ce029](https://github.com/nodejs/corepack/commit/78ce0297a9152bb5c68f724821a9a0095b408334))
51
+
52
+ ## [0.34.0](https://github.com/nodejs/corepack/compare/v0.33.0...v0.34.0) (2025-07-19)
53
+
54
+
55
+ ### ⚠ BREAKING CHANGES
56
+
57
+ * drop Node.js 18.x and 23.x support
58
+
59
+ ### Features
60
+
61
+ * update package manager versions ([#719](https://github.com/nodejs/corepack/issues/719)) ([7707ea7](https://github.com/nodejs/corepack/commit/7707ea7350c129ad3aae8ca08e9e80fcf164dcb6))
62
+
63
+
64
+ ### Miscellaneous Chores
65
+
66
+ * remove Node.js 18.x and 23.x usage, add 24.x ([#718](https://github.com/nodejs/corepack/issues/718)) ([783a42f](https://github.com/nodejs/corepack/commit/783a42fbe35371964e9dde75e2263b179f53bc0c))
67
+
68
+ ## [0.33.0](https://github.com/nodejs/corepack/compare/v0.32.0...v0.33.0) (2025-06-02)
69
+
70
+
71
+ ### Features
72
+
73
+ * Adds guard to avoid stepping on Yarn's feet ([#714](https://github.com/nodejs/corepack/issues/714)) ([5fc3691](https://github.com/nodejs/corepack/commit/5fc3691354eb5bdeca17a9495b234584353f0151))
74
+ * update package manager versions ([#671](https://github.com/nodejs/corepack/issues/671)) ([b45b3a3](https://github.com/nodejs/corepack/commit/b45b3a3244bacfbaf65188ae8c04209a1e98307d))
75
+
76
+
77
+ ### Bug Fixes
78
+
79
+ * debug text typo ([#698](https://github.com/nodejs/corepack/issues/698)) ([0b94797](https://github.com/nodejs/corepack/commit/0b94797f96e30e46e466873fe7d437d0471cd92c))
80
+
81
+ ## [0.32.0](https://github.com/nodejs/corepack/compare/v0.31.0...v0.32.0) (2025-02-28)
82
+
83
+
84
+ ### Features
85
+
86
+ * add limited support for `devEngines` ([#643](https://github.com/nodejs/corepack/issues/643)) ([b456268](https://github.com/nodejs/corepack/commit/b4562688513f23e37e37b0d69a0daff33ca84c8d))
87
+ * add more informative error when fetching latest stable fails ([#644](https://github.com/nodejs/corepack/issues/644)) ([53b1fe7](https://github.com/nodejs/corepack/commit/53b1fe75c47c06bd72a8b8f8bb699a47c9ca32fb))
88
+ * add support for `.corepack.env` ([#642](https://github.com/nodejs/corepack/issues/642)) ([9b95b46](https://github.com/nodejs/corepack/commit/9b95b46f05e50fe1c60f05309c210ba8fe4e23c5))
89
+ * update package manager versions ([#617](https://github.com/nodejs/corepack/issues/617)) ([b83bb5e](https://github.com/nodejs/corepack/commit/b83bb5ec150980c998b9c7053dff307d912cb508))
90
+
91
+
92
+ ### Bug Fixes
93
+
94
+ * do not resolve fallback descriptor when `packageManager` is defined ([#632](https://github.com/nodejs/corepack/issues/632)) ([12e77e5](https://github.com/nodejs/corepack/commit/12e77e506946d42a0de9ce8e68d75af8454d6776))
95
+ * **doc:** fix link to proxy library ([#636](https://github.com/nodejs/corepack/issues/636)) ([bae0839](https://github.com/nodejs/corepack/commit/bae08397943d4b99437389b4286546361091f4b3))
96
+ * replace explicit with specify as verb ([#665](https://github.com/nodejs/corepack/issues/665)) ([351d86c](https://github.com/nodejs/corepack/commit/351d86c20226a8c18bfe212be27401f2908b1595))
97
+ * **use:** do not throw on invalid `packageManager` ([#663](https://github.com/nodejs/corepack/issues/663)) ([4be72f6](https://github.com/nodejs/corepack/commit/4be72f6941afa0c9b2b7d26635016bb7b560df8a))
98
+
99
+ ## [0.31.0](https://github.com/nodejs/corepack/compare/v0.30.0...v0.31.0) (2025-01-27)
100
+
101
+
102
+ ### ⚠ BREAKING CHANGES
103
+
104
+ * drop support for Node.js 21.x ([#594](https://github.com/nodejs/corepack/issues/594))
105
+
106
+ ### Features
107
+
108
+ * update package manager versions ([#595](https://github.com/nodejs/corepack/issues/595)) ([c7a9bde](https://github.com/nodejs/corepack/commit/c7a9bde16dcbbb7e6ef03fef740656cde7ade360))
109
+
110
+
111
+ ### Bug Fixes
112
+
113
+ * only print message for `UsageError`s ([#602](https://github.com/nodejs/corepack/issues/602)) ([72a588c](https://github.com/nodejs/corepack/commit/72a588c2370c17e415b24fe389efdafb3c84e90b))
114
+ * update npm registry keys ([#614](https://github.com/nodejs/corepack/issues/614)) ([8c90caa](https://github.com/nodejs/corepack/commit/8c90caab7f1c5c9b89f1de113bc1dfc441bf25d2))
115
+
116
+
117
+ ### Miscellaneous Chores
118
+
119
+ * drop support for Node.js 21.x ([#594](https://github.com/nodejs/corepack/issues/594)) ([8bebc0c](https://github.com/nodejs/corepack/commit/8bebc0c0a5cbcdeec41673dcbaf581e6e1c1be11))
120
+
121
+ ## [0.30.0](https://github.com/nodejs/corepack/compare/v0.29.4...v0.30.0) (2024-11-23)
122
+
123
+
124
+ ### Features
125
+
126
+ * update package manager versions ([#578](https://github.com/nodejs/corepack/issues/578)) ([a286c8f](https://github.com/nodejs/corepack/commit/a286c8f5537ea9ecf9b6ff53c7bc3e8da4e3c8bb))
127
+
128
+
129
+ ### Performance Improvements
130
+
131
+ * prefer `module.enableCompileCache` over `v8-compile-cache` ([#574](https://github.com/nodejs/corepack/issues/574)) ([cba6905](https://github.com/nodejs/corepack/commit/cba690575bd606faeee54bd512ccb8797d49055f))
132
+
133
+ ## [0.29.4](https://github.com/nodejs/corepack/compare/v0.29.3...v0.29.4) (2024-09-07)
134
+
135
+
136
+ ### Features
137
+
138
+ * update package manager versions ([#543](https://github.com/nodejs/corepack/issues/543)) ([b819e40](https://github.com/nodejs/corepack/commit/b819e404dbb23c4ae3d5dbe55e21de74d714ee9c))
139
+
140
+ ## [0.29.3](https://github.com/nodejs/corepack/compare/v0.29.2...v0.29.3) (2024-07-21)
141
+
142
+
143
+ ### Bug Fixes
144
+
145
+ * fallback to `shasum` when `integrity` is not defined ([#542](https://github.com/nodejs/corepack/issues/542)) ([eb63873](https://github.com/nodejs/corepack/commit/eb63873c6c617a2f8ac7106e26ccfe8aa3ae1fb9))
146
+ * make `DEBUG=corepack` more useful ([#538](https://github.com/nodejs/corepack/issues/538)) ([6019d7b](https://github.com/nodejs/corepack/commit/6019d7b56e85bd8b7b58a1a487922c707e70e30e))
147
+
148
+ ## [0.29.2](https://github.com/nodejs/corepack/compare/v0.29.1...v0.29.2) (2024-07-13)
149
+
150
+
151
+ ### Bug Fixes
152
+
153
+ * trigger release after 0.29.1 failed to publish ([18e29ce](https://github.com/nodejs/corepack/commit/18e29ce3c465b64d48ccf3feef7cd1be94da70b0))
154
+
155
+ ## [0.29.1](https://github.com/nodejs/corepack/compare/v0.29.0...v0.29.1) (2024-07-13)
156
+
157
+
158
+ ### Bug Fixes
159
+
160
+ * trigger release after 0.29.0 failed to publish ([e6ba066](https://github.com/nodejs/corepack/commit/e6ba06657b0985c112f288932ca39c0562129566))
161
+
162
+ ## [0.29.0](https://github.com/nodejs/corepack/compare/v0.28.2...v0.29.0) (2024-07-12)
163
+
164
+
165
+ ### Features
166
+
167
+ * parallelize linking, unlinking and installing ([#524](https://github.com/nodejs/corepack/issues/524)) ([f0734e6](https://github.com/nodejs/corepack/commit/f0734e6e8023ff361dac179c0d8656740d550c27))
168
+ * update package manager versions ([#492](https://github.com/nodejs/corepack/issues/492)) ([3e3b046](https://github.com/nodejs/corepack/commit/3e3b04619cb4a91f207a72fb450f6fc4e2f01aec))
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * replace npm registry domain in tarball URL ([#502](https://github.com/nodejs/corepack/issues/502)) ([db6fae5](https://github.com/nodejs/corepack/commit/db6fae50cf44884d1e9a6f7e99402e7e807ba3ca))
174
+ * selectively import required semver functions ([#511](https://github.com/nodejs/corepack/issues/511)) ([e7ad533](https://github.com/nodejs/corepack/commit/e7ad533d43dc9495493f0d883c3cbbb94caa1d41))
175
+
176
+ ## [0.28.2](https://github.com/nodejs/corepack/compare/v0.28.1...v0.28.2) (2024-05-31)
177
+
178
+
179
+ ### Features
180
+
181
+ * update package manager versions ([#481](https://github.com/nodejs/corepack/issues/481)) ([e1abb83](https://github.com/nodejs/corepack/commit/e1abb832416a793b490b2b51b4082fe822fc932c))
182
+
183
+ ## [0.28.1](https://github.com/nodejs/corepack/compare/v0.28.0...v0.28.1) (2024-05-10)
184
+
185
+
186
+ ### Features
187
+
188
+ * add support for `COREPACK_INTEGRITY_KEYS=0` ([#470](https://github.com/nodejs/corepack/issues/470)) ([f15ebc2](https://github.com/nodejs/corepack/commit/f15ebc289ebcd6a86580f15ae3c4ef0e1be37c4b))
189
+ * update package manager versions ([#469](https://github.com/nodejs/corepack/issues/469)) ([985895b](https://github.com/nodejs/corepack/commit/985895bccb5ec68b3645c540d8500c572e1ccadb))
190
+
191
+
192
+ ### Bug Fixes
193
+
194
+ * COREPACK_NPM_REGISTRY should allow for username/password auth ([#466](https://github.com/nodejs/corepack/issues/466)) ([6efa349](https://github.com/nodejs/corepack/commit/6efa34988229918debe6e881d45ba6715282f283))
195
+
196
+ ## [0.28.0](https://github.com/nodejs/corepack/compare/v0.27.0...v0.28.0) (2024-04-20)
197
+
198
+
199
+ ### ⚠ BREAKING CHANGES
200
+
201
+ * call `executePackageManagerRequest` directly ([#430](https://github.com/nodejs/corepack/issues/430))
202
+
203
+ ### Bug Fixes
204
+
205
+ * call `executePackageManagerRequest` directly ([#430](https://github.com/nodejs/corepack/issues/430)) ([0f9b748](https://github.com/nodejs/corepack/commit/0f9b74864048d5dc150a63cc582966af0c5f363f))
206
+
207
+ ## [0.27.0](https://github.com/nodejs/corepack/compare/v0.26.0...v0.27.0) (2024-04-19)
208
+
209
+
210
+ ### ⚠ BREAKING CHANGES
211
+
212
+ * 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.
213
+
214
+ ### Features
215
+
216
+ * separate read and write operations on lastKnownGood.json ([#446](https://github.com/nodejs/corepack/issues/446)) ([c449adc](https://github.com/nodejs/corepack/commit/c449adc81822a604ee8f00ae2b53fc411535f96d))
217
+ * update package manager versions ([#425](https://github.com/nodejs/corepack/issues/425)) ([1423190](https://github.com/nodejs/corepack/commit/142319056424b1e0da2bdbe801c52c5910023707))
218
+ * update package manager versions ([#462](https://github.com/nodejs/corepack/issues/462)) ([56816c2](https://github.com/nodejs/corepack/commit/56816c2b7ebc9926f07048b0ec4ff6025bb4e293))
219
+ * verify integrity signature when downloading from npm registry ([#432](https://github.com/nodejs/corepack/issues/432)) ([e561dd0](https://github.com/nodejs/corepack/commit/e561dd00bbacc5bc15a492fc36574fa0e37bff7b))
220
+
221
+
222
+ ### Bug Fixes
223
+
224
+ * add path to `package.json` in error message ([#456](https://github.com/nodejs/corepack/issues/456)) ([32a93ea](https://github.com/nodejs/corepack/commit/32a93ea4f51eb7db7dc95a16c5719695edf4b53e))
225
+ * correctly set `Dispatcher` prototype for `ProxyAgent` ([#451](https://github.com/nodejs/corepack/issues/451)) ([73d9a1e](https://github.com/nodejs/corepack/commit/73d9a1e2d2f84906bf01952f1dca8adab576b7bf))
226
+ * download fewer metadata from npm registry ([#436](https://github.com/nodejs/corepack/issues/436)) ([082fabf](https://github.com/nodejs/corepack/commit/082fabf8b15658e69e4fb62bb854fe9aace78b70))
227
+ * hash check when downloading Yarn Berry from npm ([#439](https://github.com/nodejs/corepack/issues/439)) ([4672162](https://github.com/nodejs/corepack/commit/467216281e1719a739d0eeea370b335adfb37b8d))
228
+ * 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))
229
+ * re-add support for custom registries with auth ([#397](https://github.com/nodejs/corepack/issues/397)) ([d267753](https://github.com/nodejs/corepack/commit/d2677538cdb613fcab6d2a45bb07f349bdc65c2b))
230
+
231
+ ## [0.26.0](https://github.com/nodejs/corepack/compare/v0.25.2...v0.26.0) (2024-03-08)
232
+
233
+
234
+ ### Features
235
+
236
+ * Pins the package manager as it's used for the first time ([#413](https://github.com/nodejs/corepack/issues/413)) ([8b6c6d4](https://github.com/nodejs/corepack/commit/8b6c6d4b2b7a9d61ae6c33c07e12354bd5afc2ba))
237
+ * update package manager versions ([#415](https://github.com/nodejs/corepack/issues/415)) ([e8edba7](https://github.com/nodejs/corepack/commit/e8edba771bca6fb10c855c04eee8102ffa792d58))
238
+
239
+
240
+ ### Bug Fixes
241
+
242
+ * group the download prompt together ([#391](https://github.com/nodejs/corepack/issues/391)) ([00506b2](https://github.com/nodejs/corepack/commit/00506b2a15dd87ec03240578077a35b7980e00c1))
243
+ * ignore `EROFS` errors ([#421](https://github.com/nodejs/corepack/issues/421)) ([b7ec137](https://github.com/nodejs/corepack/commit/b7ec137210efd35c3461321b6434e3e13a87d42f))
244
+ * improve support for `COREPACK_NPM_REGISTRY` with Yarn Berry ([#396](https://github.com/nodejs/corepack/issues/396)) ([47be27c](https://github.com/nodejs/corepack/commit/47be27c9db988e10f651d23b3f53bcf55318a894))
245
+ * Windows malicious file analysis waiting problem ([#398](https://github.com/nodejs/corepack/issues/398)) ([295a1cd](https://github.com/nodejs/corepack/commit/295a1cdb9cbbbce8434e8d82b96eb63e57c46c1a))
246
+
247
+ ## [0.25.2](https://github.com/nodejs/corepack/compare/v0.25.1...v0.25.2) (2024-02-21)
248
+
249
+
250
+ ### Features
251
+
252
+ * update package manager versions ([#362](https://github.com/nodejs/corepack/issues/362)) ([1423312](https://github.com/nodejs/corepack/commit/1423312a0eb7844dcdd43ae8a63cf12dcacedb2b))
253
+
254
+
255
+ ### Bug Fixes
256
+
257
+ * do not hard fail if Corepack home folder cannot be created ([#382](https://github.com/nodejs/corepack/issues/382)) ([9834f57](https://github.com/nodejs/corepack/commit/9834f5790a99ce2c6c283321bb38b02e5561b7ca))
258
+ * do not show download prompt when downloading JSON ([#383](https://github.com/nodejs/corepack/issues/383)) ([bc137a0](https://github.com/nodejs/corepack/commit/bc137a0073c3343ce2d552b6e13bfd2a48f08351))
259
+
260
+ ## [0.25.1](https://github.com/nodejs/corepack/compare/v0.25.0...v0.25.1) (2024-02-20)
261
+
262
+
263
+ ### Bug Fixes
264
+
265
+ * use valid semver range for `engines.node` ([#378](https://github.com/nodejs/corepack/issues/378)) ([f2185fe](https://github.com/nodejs/corepack/commit/f2185fefa145cc75fca082acc169f8aaef637ca2))
266
+
267
+ ## [0.25.0](https://github.com/nodejs/corepack/compare/v0.24.1...v0.25.0) (2024-02-20)
268
+
269
+
270
+ ### ⚠ BREAKING CHANGES
271
+
272
+ * remove `--all` flag ([#351](https://github.com/nodejs/corepack/issues/351))
273
+ * remove Node.js 19.x from the range of supported versions ([#375](https://github.com/nodejs/corepack/issues/375))
274
+ * use `fetch` ([#365](https://github.com/nodejs/corepack/issues/365))
275
+ * remove old install folder migration ([#373](https://github.com/nodejs/corepack/issues/373))
276
+ * prompt user before downloading software ([#360](https://github.com/nodejs/corepack/issues/360))
277
+
278
+ ### Features
279
+
280
+ * add `corepack cache` command ([#363](https://github.com/nodejs/corepack/issues/363)) ([f442366](https://github.com/nodejs/corepack/commit/f442366c1c00d0c3f388b757c3797504f9a6b62e))
281
+ * add support for URL in `"packageManager"` ([#359](https://github.com/nodejs/corepack/issues/359)) ([4a8ce6d](https://github.com/nodejs/corepack/commit/4a8ce6d42f081047a341f36067696346c9f3e1ea))
282
+ * bump Known Good Release when downloading new version ([#364](https://github.com/nodejs/corepack/issues/364)) ([a56c13b](https://github.com/nodejs/corepack/commit/a56c13bd0b1c11e50361b8b4b6f8a53571e3981a))
283
+ * prompt user before downloading software ([#360](https://github.com/nodejs/corepack/issues/360)) ([6b8d87f](https://github.com/nodejs/corepack/commit/6b8d87f2374f79855b24d659f2a2579d6b39f54f))
284
+ * remove `--all` flag ([#351](https://github.com/nodejs/corepack/issues/351)) ([d9c70b9](https://github.com/nodejs/corepack/commit/d9c70b91f698787d693406626a73dc95cb18bc1d))
285
+ * remove old install folder migration ([#373](https://github.com/nodejs/corepack/issues/373)) ([54e9510](https://github.com/nodejs/corepack/commit/54e9510cdaf6ed08c9dea1ed3999fa65116cb4c7))
286
+ * use `fetch` ([#365](https://github.com/nodejs/corepack/issues/365)) ([fe6a307](https://github.com/nodejs/corepack/commit/fe6a3072f64efa810b90e4ee52e0b3ff14c63184))
287
+
288
+
289
+ ### Bug Fixes
290
+
291
+ * remove unsafe remove of install folder ([#372](https://github.com/nodejs/corepack/issues/372)) ([65880ca](https://github.com/nodejs/corepack/commit/65880cafed5f4195f8e7656ca9af4cbcbb7682d3))
292
+
293
+
294
+ ### Miscellaneous Chores
295
+
296
+ * remove Node.js 19.x from the range of supported versions ([#375](https://github.com/nodejs/corepack/issues/375)) ([9a1cb38](https://github.com/nodejs/corepack/commit/9a1cb385bba9ade8e9fbf5517c2bdff60295f9ed))
297
+
298
+ ## [0.24.1](https://github.com/nodejs/corepack/compare/v0.24.0...v0.24.1) (2024-01-13)
299
+
300
+
301
+ ### Features
302
+
303
+ * update package manager versions ([#348](https://github.com/nodejs/corepack/issues/348)) ([cc3ada7](https://github.com/nodejs/corepack/commit/cc3ada73bccd0a5b0ff16834e518efa521c9eea4))
304
+
305
+
306
+ ### Bug Fixes
307
+
308
+ * **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))
309
+
310
+ ## [0.24.0](https://github.com/nodejs/corepack/compare/v0.23.0...v0.24.0) (2023-12-29)
311
+
312
+
313
+ ### Features
314
+
315
+ * add support for HTTP redirect ([#341](https://github.com/nodejs/corepack/issues/341)) ([6df5063](https://github.com/nodejs/corepack/commit/6df5063b14868ff21499a051e5122fa7211be6ed))
316
+ * add support for rangeless commands ([#338](https://github.com/nodejs/corepack/issues/338)) ([9bee415](https://github.com/nodejs/corepack/commit/9bee4150815113d97f0bd77d62c8d999cfd68ad3))
317
+ * update package manager versions ([#330](https://github.com/nodejs/corepack/issues/330)) ([cfcc280](https://github.com/nodejs/corepack/commit/cfcc28047a788daeef2c0b15ee35a8b1a8149bb6))
318
+ * **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))
319
+
320
+
321
+ ### Bug Fixes
322
+
323
+ * clarify `EACCES` errors ([#343](https://github.com/nodejs/corepack/issues/343)) ([518bed8](https://github.com/nodejs/corepack/commit/518bed8b7d7c313163c79d31cb9bbc023dba6560))
324
+
325
+ ## [0.23.0](https://github.com/nodejs/corepack/compare/v0.22.0...v0.23.0) (2023-11-05)
326
+
327
+
328
+ ### Features
329
+
330
+ * update package manager versions ([#325](https://github.com/nodejs/corepack/issues/325)) ([450cd33](https://github.com/nodejs/corepack/commit/450cd332d00d3428f49ed09a4235bd12139931c9))
331
+
332
+ ## [0.22.0](https://github.com/nodejs/corepack/compare/v0.21.0...v0.22.0) (2023-10-21)
333
+
334
+
335
+ ### Features
336
+
337
+ * allow fallback to application/json for custom registries ([#314](https://github.com/nodejs/corepack/issues/314)) ([92f8e71](https://github.com/nodejs/corepack/commit/92f8e71f8c97c44f404ce9b7df8787a4292e6830))
338
+ * update package manager versions ([#318](https://github.com/nodejs/corepack/issues/318)) ([0bd2577](https://github.com/nodejs/corepack/commit/0bd2577bb4c6c3a5a33ecdb3b6ca2ff244c54f28))
339
+
340
+ ## [0.21.0](https://github.com/nodejs/corepack/compare/v0.20.0...v0.21.0) (2023-10-08)
341
+
342
+
343
+ ### ⚠ BREAKING CHANGES
344
+
345
+ * remove support for Node.js 16.x
346
+
347
+ ### Features
348
+
349
+ * update package manager versions ([#297](https://github.com/nodejs/corepack/issues/297)) ([503e135](https://github.com/nodejs/corepack/commit/503e135878935cc881ebd94b48d5eca94ec4c27b))
350
+
351
+
352
+ ### Miscellaneous Chores
353
+
354
+ * update supported Node.js versions ([#309](https://github.com/nodejs/corepack/issues/309)) ([787e24d](https://github.com/nodejs/corepack/commit/787e24df609513702eafcd8c6a5f03544d7d45cc))
355
+
356
+ ## [0.20.0](https://github.com/nodejs/corepack/compare/v0.19.0...v0.20.0) (2023-08-29)
357
+
358
+
359
+ ### Features
360
+
361
+ * refactor the CLI interface ([#291](https://github.com/nodejs/corepack/issues/291)) ([fe3e5cd](https://github.com/nodejs/corepack/commit/fe3e5cd86c45db0d87c7fdea87d57d59b0bdcb78))
362
+ * update package manager versions ([#292](https://github.com/nodejs/corepack/issues/292)) ([be9c286](https://github.com/nodejs/corepack/commit/be9c286846443ff03081e736fdf4a0ff031fbd38))
363
+
364
+ ## [0.19.0](https://github.com/nodejs/corepack/compare/v0.18.1...v0.19.0) (2023-06-24)
365
+
366
+
367
+ ### Features
368
+
369
+ * support ESM ([#270](https://github.com/nodejs/corepack/issues/270)) ([be2489c](https://github.com/nodejs/corepack/commit/be2489cd0aaabf26a019e1c089a3c8bcc329e94a))
370
+ * update package manager versions ([#280](https://github.com/nodejs/corepack/issues/280)) ([4188f2b](https://github.com/nodejs/corepack/commit/4188f2b4671228339fe16f9f566e7bac0c2c4f6d))
371
+
372
+ ## [0.18.1](https://github.com/nodejs/corepack/compare/v0.18.0...v0.18.1) (2023-06-13)
373
+
374
+
375
+ ### Features
376
+
377
+ * update package manager versions ([#272](https://github.com/nodejs/corepack/issues/272)) ([5345774](https://github.com/nodejs/corepack/commit/53457747a26a5de3debbd0d9282b338186bbd7c3))
378
+
379
+
380
+ ### Bug Fixes
381
+
382
+ * disable `v8-compile-cache` when using `npm@&gt;=9.7.0` ([#276](https://github.com/nodejs/corepack/issues/276)) ([2f3678c](https://github.com/nodejs/corepack/commit/2f3678cd7915978f4e2ce7a32cbe5db58e9d0b8d))
383
+ * don't override `process.exitCode` ([#268](https://github.com/nodejs/corepack/issues/268)) ([17d1f3d](https://github.com/nodejs/corepack/commit/17d1f3dd41ef6127228d427fd5cca373d6c97f0f))
384
+
385
+ ## [0.18.0](https://github.com/nodejs/corepack/compare/v0.17.2...v0.18.0) (2023-05-19)
386
+
387
+
388
+ ### ⚠ BREAKING CHANGES
389
+
390
+ * remove support for Node.js 14.x
391
+
392
+ ### Features
393
+
394
+ * update package manager versions ([#256](https://github.com/nodejs/corepack/issues/256)) ([7b61ff6](https://github.com/nodejs/corepack/commit/7b61ff6bc797ec4ed50c2ba1e1f1689264cbf4fc))
395
+
396
+
397
+ ### Bug Fixes
398
+
399
+ * **doc:** add a note about troubleshooting network errors ([#259](https://github.com/nodejs/corepack/issues/259)) ([aa3cbdb](https://github.com/nodejs/corepack/commit/aa3cbdb54fb21b8e0adde96dc781cdf750932843))
400
+
401
+
402
+ ### Miscellaneous Chores
403
+
404
+ * update supported Node.js versions ([#258](https://github.com/nodejs/corepack/issues/258)) ([74f679d](https://github.com/nodejs/corepack/commit/74f679d8a72cc10a3720fc679b95e9bd086d95be))
405
+
406
+ ## [0.17.2](https://github.com/nodejs/corepack/compare/v0.17.1...v0.17.2) (2023-04-07)
407
+
408
+
409
+ ### Features
410
+
411
+ * update package manager versions ([#249](https://github.com/nodejs/corepack/issues/249)) ([2507e9b](https://github.com/nodejs/corepack/commit/2507e9b317eacdeb939aee086de5711218ebd794))
412
+
413
+ ## [0.17.1](https://github.com/nodejs/corepack/compare/v0.17.0...v0.17.1) (2023-03-17)
414
+
415
+
416
+ ### Features
417
+
418
+ * update package manager versions ([#245](https://github.com/nodejs/corepack/issues/245)) ([673f3b7](https://github.com/nodejs/corepack/commit/673f3b7f18421a49da1e2c55656666a74ce94474))
419
+
420
+ ## [0.17.0](https://github.com/nodejs/corepack/compare/v0.16.0...v0.17.0) (2023-02-24)
421
+
422
+
423
+ ### ⚠ BREAKING CHANGES
424
+
425
+ * add `"exports"` to the `package.json` ([#239](https://github.com/nodejs/corepack/issues/239))
426
+
427
+ ### Features
428
+
429
+ * update package manager versions ([#242](https://github.com/nodejs/corepack/issues/242)) ([5141639](https://github.com/nodejs/corepack/commit/5141639af8198a343105be1e98a74f7c9e152472))
430
+
431
+
432
+ ### Bug Fixes
433
+
434
+ * add `"exports"` to the `package.json` ([#239](https://github.com/nodejs/corepack/issues/239)) ([8e12d08](https://github.com/nodejs/corepack/commit/8e12d088dec171c03e90f623895a1fbf867130e6))
435
+
436
+ ## [0.16.0](https://github.com/nodejs/corepack/compare/v0.15.3...v0.16.0) (2023-02-17)
437
+
438
+
439
+ ### Features
440
+
441
+ * update package manager versions ([#228](https://github.com/nodejs/corepack/issues/228)) ([bb000f9](https://github.com/nodejs/corepack/commit/bb000f9c10a1fbd85f2c15a90218d90b42473130))
442
+ * build: migrate to ESBuild ([#229](https://github.com/nodejs/corepack/pull/229)) ([15ceb83](https://github.com/nodejs/corepack/commit/15ceb832a34a223efbe3d3f9cb792d9101a7022a))
443
+
444
+
445
+ ### Bug Fixes
446
+
447
+ * npm registry override ([#219](https://github.com/nodejs/corepack/issues/219)) ([1b35362](https://github.com/nodejs/corepack/commit/1b353624e644874d9ef6c9acaf6d1254bff3015a))
448
+
449
+ ## [0.15.3](https://github.com/nodejs/corepack/compare/v0.15.2...v0.15.3) (2022-12-30)
450
+
451
+
452
+ ### Features
453
+
454
+ * update package manager versions ([#215](https://github.com/nodejs/corepack/issues/215)) ([f84cfcb](https://github.com/nodejs/corepack/commit/f84cfcb00ffb985d44b6aa0b563b2b4056a8f0d0))
455
+
456
+ ## [0.15.2](https://github.com/nodejs/corepack/compare/v0.15.1...v0.15.2) (2022-11-25)
457
+
458
+
459
+ ### Features
460
+
461
+ * update package manager versions ([#211](https://github.com/nodejs/corepack/issues/211)) ([c536c0c](https://github.com/nodejs/corepack/commit/c536c0c27c137c87a14487a2c2a63a1fe6bf88ec))
462
+
463
+ ## [0.15.1](https://github.com/nodejs/corepack/compare/v0.15.0...v0.15.1) (2022-11-04)
464
+
465
+
466
+ ### Features
467
+
468
+ * update package manager versions ([#205](https://github.com/nodejs/corepack/issues/205)) ([5bfac11](https://github.com/nodejs/corepack/commit/5bfac11715474a4318c67fc806fd1ff4252c683a))
469
+
470
+ ## [0.15.0](https://github.com/nodejs/corepack/compare/v0.14.2...v0.15.0) (2022-10-28)
471
+
472
+
473
+ ### Features
474
+
475
+ * add support for configurable registries and applicable auth options ([#186](https://github.com/nodejs/corepack/issues/186)) ([662ae90](https://github.com/nodejs/corepack/commit/662ae9057c7360cb05e9476914e611a9bf0074db))
476
+ * update package manager versions ([#193](https://github.com/nodejs/corepack/issues/193)) ([0ec3a73](https://github.com/nodejs/corepack/commit/0ec3a7384729c5cf4ac566d91f1a4bb74e08a64f))
477
+ * when strict checking is off, treat like transparent ([#197](https://github.com/nodejs/corepack/issues/197)) ([5eadc50](https://github.com/nodejs/corepack/commit/5eadc50192e205c60bfb1cad91854e9014a747b8))
478
+
479
+
480
+ ### Bug Fixes
481
+
482
+ * **doc:** add package configuration instruction to readme ([#188](https://github.com/nodejs/corepack/issues/188)) ([0b7abb9](https://github.com/nodejs/corepack/commit/0b7abb9833d332bad97902260d31652482c274a0))
483
+ * recreate cache folder if necessary ([#200](https://github.com/nodejs/corepack/issues/200)) ([7b5f2f9](https://github.com/nodejs/corepack/commit/7b5f2f9fcb24fe3fe517a96deaac7f32854f3124))
484
+
485
+ ## [0.14.2](https://github.com/nodejs/corepack/compare/v0.14.1...v0.14.2) (2022-09-24)
486
+
487
+ ### Features
488
+
489
+ * update package manager versions ([#184](https://github.com/nodejs/corepack/issues/184)) ([84ae313](https://github.com/nodejs/corepack/commit/84ae3139e4b9a86d97465e36b50beb9201fda732))
490
+
491
+ ## [0.14.1](https://github.com/nodejs/corepack/compare/v0.14.0...v0.14.1) (2022-09-16)
492
+
493
+
494
+ ### Features
495
+
496
+ * update package manager versions ([#179](https://github.com/nodejs/corepack/issues/179)) ([0b88dcb](https://github.com/nodejs/corepack/commit/0b88dcbaaf190117c6f407b6632a4b3b10da8ad9))
497
+
498
+ ## [0.14.0](https://github.com/nodejs/corepack/compare/v0.13.0...v0.14.0) (2022-09-02)
499
+
500
+
501
+ ### Features
502
+
503
+ * add `COREPACK_ENABLE_STRICT` env variable ([#167](https://github.com/nodejs/corepack/issues/167)) ([92b52f6](https://github.com/nodejs/corepack/commit/92b52f6b4918aff968c0942b89fc722ebf57bce2))
504
+ * update package manager versions ([#170](https://github.com/nodejs/corepack/issues/170)) ([6f70bfc](https://github.com/nodejs/corepack/commit/6f70bfc4b6a8a57cccb1ff9cbf2f49240648f1ed))
505
+
506
+
507
+ ### Bug Fixes
508
+
509
+ * handle tags including numbers in `prepare` command ([#165](https://github.com/nodejs/corepack/issues/165)) ([5a0727b](https://github.com/nodejs/corepack/commit/5a0727b43976e0dc299151876c0dde2c4a85174d))
510
+
511
+ ## [0.13.0](https://github.com/nodejs/corepack/compare/v0.12.3...v0.13.0) (2022-08-19)
512
+
513
+
514
+ ### Features
515
+
516
+ * do not use `~/.node` as default value for `COREPACK_HOME` ([#152](https://github.com/nodejs/corepack/issues/152)) ([09e24cf](https://github.com/nodejs/corepack/commit/09e24cf497de27fe92668cf0a8e555f2c7e2530d))
517
+ * download the latest version instead of a pinned one ([#134](https://github.com/nodejs/corepack/issues/134)) ([055b928](https://github.com/nodejs/corepack/commit/055b92807f711b5c8c8be6e62b8d3ce83e1ff002))
518
+ * update package manager versions ([#163](https://github.com/nodejs/corepack/issues/163)) ([af38d5a](https://github.com/nodejs/corepack/commit/af38d5afbbc10d61265b2f4687c5cc498b059b41))
519
+
520
+ ## [0.12.3](https://github.com/nodejs/corepack/compare/v0.12.2...v0.12.3) (2022-08-12)
521
+
522
+
523
+ ### Features
524
+
525
+ * update package manager versions ([#160](https://github.com/nodejs/corepack/issues/160)) ([ad092a7](https://github.com/nodejs/corepack/commit/ad092a7fb4296143fa5224c04dbd628451b3c158))
526
+
527
+ ## [0.12.2](https://github.com/nodejs/corepack/compare/v0.12.1...v0.12.2) (2022-08-05)
528
+
529
+ ### Features
530
+
531
+ * update package manager versions ([#154](https://github.com/nodejs/corepack/issues/154)) ([4b95fd3](https://github.com/nodejs/corepack/commit/4b95fd3b926659855970a887c893c10db0b98e5d))
532
+
533
+ ## [0.12.1](https://github.com/nodejs/corepack/compare/v0.12.0...v0.12.1) (2022-07-21)
534
+
535
+
536
+ ### Bug Fixes
537
+
538
+ * **doc:** update DESIGN.md s/engines.pm/packageManager/ ([#141](https://github.com/nodejs/corepack/issues/141)) ([d6039c5](https://github.com/nodejs/corepack/commit/d6039c5b16cdddb33069b9aa864854ed16d17e4e))
539
+ * update package manager versions ([#146](https://github.com/nodejs/corepack/issues/146)) ([fdb187a](https://github.com/nodejs/corepack/commit/fdb187a640de77df9b3688623ba510bdafda8702))
540
+
541
+ ## [0.12.0](https://github.com/nodejs/corepack/compare/v0.11.2...v0.12.0) (2022-07-09)
542
+
543
+
544
+ ### Features
545
+
546
+ * add support for hash checking ([#133](https://github.com/nodejs/corepack/issues/133)) ([6a480a7](https://github.com/nodejs/corepack/commit/6a480a72c2e9fc6725f2ab6dfaf4c52e4d3d2ade))
547
+ * add support for tags and ranges in `prepare` command ([#136](https://github.com/nodejs/corepack/issues/136)) ([29da06c](https://github.com/nodejs/corepack/commit/29da06c515e917829e5ffbedb34284a6597e9d56))
548
+ * update package manager versions ([#129](https://github.com/nodejs/corepack/issues/129)) ([2470f58](https://github.com/nodejs/corepack/commit/2470f58b74491a1301221df643c55be5adf1d349))
549
+ * update package manager versions ([#139](https://github.com/nodejs/corepack/issues/139)) ([cd0dcad](https://github.com/nodejs/corepack/commit/cd0dcade85621199048d7ca30dfc3efce11e1f37))
550
+
551
+
552
+ ### Bug Fixes
553
+
554
+ * streamline the cache exploration ([#135](https://github.com/nodejs/corepack/issues/135)) ([185da44](https://github.com/nodejs/corepack/commit/185da44078fd1ca34aec2e4e6f8a52ecffcf3c11))
555
+
556
+ ## [0.11.2](https://github.com/nodejs/corepack/compare/v0.11.1...v0.11.2) (2022-06-13)
557
+
558
+ ### Bug Fixes
559
+
560
+ * only set bins on pack ([#127](https://github.com/nodejs/corepack/issues/127)) ([7ae489a](https://github.com/nodejs/corepack/commit/7ae489a86c3fe584b9915f4ec57deb7c316c1a25))
561
+
562
+ ## [0.11.1](https://github.com/nodejs/corepack/compare/v0.11.0...v0.11.1) (2022-06-12)
563
+
564
+
565
+ ### Bug Fixes
566
+
567
+ * **ci:** YAML formatting in publish workflow ([#124](https://github.com/nodejs/corepack/issues/124)) ([01c7d63](https://github.com/nodejs/corepack/commit/01c7d638b04a1340b3939a7985e24b586e344995))
568
+
569
+ ## 0.11.0 (2022-06-12)
570
+
571
+
572
+ ### Features
573
+
574
+ * auto setup proxy for http requests ([#69](https://github.com/nodejs/corepack/issues/69)) ([876ce02](https://github.com/nodejs/corepack/commit/876ce02fe7385ea5bc896b2dc93d1fb320361c64))
575
+
576
+
577
+ ### Bug Fixes
578
+
579
+ * avoid symlinks to work on Windows ([#13](https://github.com/nodejs/corepack/issues/13)) ([b56df30](https://github.com/nodejs/corepack/commit/b56df30796da9c7cb0ba5e1bb7152c81582abba6))
580
+ * avoid using eval to get the corepack version ([#45](https://github.com/nodejs/corepack/issues/45)) ([78d94eb](https://github.com/nodejs/corepack/commit/78d94eb297444d7558e8b4395f0108c97117f8ab))
581
+ * bin file name for pnpm >=6.0 ([#35](https://github.com/nodejs/corepack/issues/35)) ([8ff2499](https://github.com/nodejs/corepack/commit/8ff2499e831c8cf2dea604ea985d830afc8a479e))
582
+ * generate cmd shim files ([a900b4d](https://github.com/nodejs/corepack/commit/a900b4db12fcd4d99c0a4d011b426cdc6485d323))
583
+ * handle package managers with a bin array correctly ([#20](https://github.com/nodejs/corepack/issues/20)) ([1836d17](https://github.com/nodejs/corepack/commit/1836d17b4fc4c0164df2fe1ccaca4d2f16f6f2d1))
584
+ * handle parallel installs ([#84](https://github.com/nodejs/corepack/issues/84)) ([5cfc6c9](https://github.com/nodejs/corepack/commit/5cfc6c9df0dbec8e4de4324be37aa0a54a300552))
585
+ * handle prereleases ([#32](https://github.com/nodejs/corepack/issues/32)) ([2a46b6d](https://github.com/nodejs/corepack/commit/2a46b6d13adae139141012254ef670d6ddcb5d11))
586
+
587
+
588
+ ### Performance Improvements
589
+
590
+ * load binaries in the same process ([#97](https://github.com/nodejs/corepack/issues/97)) ([5ff6e82](https://github.com/nodejs/corepack/commit/5ff6e82028e58448ba5ba986854b61ecdc69885b))
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/README.md ADDED
@@ -0,0 +1,381 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # <img src="./icon.svg" height="25" /> corepack
2
+
3
+ [![Join us on OpenJS slack (channel #nodejs-corepack)](https://img.shields.io/badge/OpenJS%20Slack-%23nodejs--corepack-blue)](https://slack-invite.openjsf.org/)
4
+
5
+ Corepack is a zero-runtime-dependency Node.js script that acts as a bridge
6
+ between Node.js projects and the package managers they are intended to be used
7
+ with during development. In practical terms, **Corepack lets you use Yarn, npm,
8
+ and pnpm without having to install them**.
9
+
10
+ ## How to Install
11
+
12
+ ### Default Installs
13
+
14
+ Corepack is distributed with Node.js from version 14.19.0 up to (but not including) 25.0.0.
15
+ Run `corepack enable` to install the required Yarn and pnpm binaries on your path.
16
+
17
+ ### Manual Installs
18
+
19
+ <details>
20
+ <summary>Install Corepack using npm</summary>
21
+
22
+ First uninstall your global Yarn and pnpm binaries (just leave npm). In general,
23
+ you'd do this by running the following command:
24
+
25
+ ```shell
26
+ npm uninstall -g yarn pnpm
27
+
28
+ # That should be enough, but if you installed Yarn without going through npm it might
29
+ # be more tedious - for example, you might need to run `brew uninstall yarn` as well.
30
+ ```
31
+
32
+ Then install Corepack:
33
+
34
+ ```shell
35
+ npm install -g corepack
36
+ ```
37
+
38
+ We do acknowledge the irony and overhead of using npm to install Corepack, which
39
+ is at least part of why the preferred option is to use the Corepack version that
40
+ is distributed along with Node.js itself.
41
+
42
+ </details>
43
+
44
+ <details><summary>Update Corepack using npm</summary>
45
+
46
+ To install the latest version of Corepack, use:
47
+
48
+ ```shell
49
+ npm install -g corepack@latest
50
+ ```
51
+
52
+ If Corepack was installed on your system using a Node.js Windows Installer
53
+ `.msi` package then you might need to remove it before attempting to install a
54
+ different version of Corepack using npm. You can select the Modify option of the
55
+ Node.js app settings to access the Windows Installer feature selection, and on
56
+ the "corepack manager" feature of the Node.js `.msi` package by selecting
57
+ "Entire feature will be unavailable". See
58
+ [Repair apps and programs in Windows](https://support.microsoft.com/en-us/windows/repair-apps-and-programs-in-windows-e90eefe4-d0a2-7c1b-dd59-949a9030f317)
59
+ for instructions on accessing the Windows apps page to modify settings.
60
+
61
+ </details>
62
+
63
+ <details><summary>Install Corepack from source</summary>
64
+
65
+ See [`CONTRIBUTING.md`](./CONTRIBUTING.md).
66
+
67
+ </details>
68
+
69
+ ## Usage
70
+
71
+ ### When Building Packages
72
+
73
+ Just use your package managers as you usually would. Run `yarn install` in Yarn
74
+ projects, `pnpm install` in pnpm projects, and `npm` in npm projects. Corepack
75
+ will catch these calls, and depending on the situation:
76
+
77
+ - **If the local project is configured for the package manager you're using**,
78
+ Corepack will download and cache the latest compatible version.
79
+
80
+ - **If the local project is configured for a different package manager**,
81
+ Corepack will request you to run the command again using the right package
82
+ manager - thus avoiding corruptions of your install artifacts.
83
+
84
+ - **If the local project isn't configured for any package manager**, Corepack
85
+ will assume that you know what you're doing, and will use whatever package
86
+ manager version has been pinned as "known good release". Check the relevant
87
+ section for more details.
88
+
89
+ ### When Authoring Packages
90
+
91
+ Set your package's manager with the `packageManager` field in `package.json`:
92
+
93
+ ```json
94
+ {
95
+ "packageManager": "yarn@3.2.3+sha224.953c8233f7a92884eee2de69a1b92d1f2ec1655e66d08071ba9a02fa"
96
+ }
97
+ ```
98
+
99
+ Here, `yarn` is the name of the package manager, specified at version `3.2.3`,
100
+ along with the SHA-224 hash of this version for validation.
101
+ `packageManager@x.y.z` is required. The hash is optional but strongly
102
+ recommended as a security practice. Permitted values for the package manager are
103
+ `yarn`, `npm`, and `pnpm`.
104
+
105
+ You can also provide a URL to a `.js` file (which will be interpreted as a
106
+ CommonJS module) or a `.tgz` file (which will be interpreted as a package, and
107
+ the `"bin"` field of the `package.json` will be used to determine which file to
108
+ use in the archive).
109
+
110
+ ```json
111
+ {
112
+ "packageManager": "yarn@https://registry.npmjs.org/@yarnpkg/cli-dist/-/cli-dist-3.2.3.tgz#sha224.16a0797d1710d1fb7ec40ab5c3801b68370a612a9b66ba117ad9924b"
113
+ }
114
+ ```
115
+
116
+ #### `devEngines.packageManager`
117
+
118
+ When a `devEngines.packageManager` field is defined, and is an object containing
119
+ a `"name"` field (can also optionally contain `version` and `onFail` fields),
120
+ Corepack will use it to validate you're using a compatible package manager.
121
+
122
+ Depending on the value of `devEngines.packageManager.onFail`:
123
+
124
+ - if set to `ignore`, Corepack won't print any warning or error.
125
+ - if unset or set to `error`, Corepack will throw an error in case of a mismatch.
126
+ - if set to `warn` or some other value, Corepack will print a warning in case
127
+ of mismatch.
128
+
129
+ If the top-level `packageManager` field is missing, Corepack will use the
130
+ package manager defined in `devEngines.packageManager` – in which case you must
131
+ provide a specific version in `devEngines.packageManager.version`, ideally with
132
+ a hash, as explained in the previous section:
133
+
134
+ ```json
135
+ {
136
+ "devEngines":{
137
+ "packageManager": {
138
+ "name": "yarn",
139
+ "version": "3.2.3+sha224.953c8233f7a92884eee2de69a1b92d1f2ec1655e66d08071ba9a02fa"
140
+ }
141
+ }
142
+ }
143
+ ```
144
+
145
+ ## Known Good Releases
146
+
147
+ When running Corepack within projects that don't list a supported package
148
+ manager, it will default to a set of Known Good Releases.
149
+
150
+ If there is no Known Good Release for the requested package manager, Corepack
151
+ looks up the npm registry for the latest available version and cache it for
152
+ future use.
153
+
154
+ The Known Good Releases can be updated system-wide using `corepack install -g`.
155
+ When Corepack downloads a new version of a given package manager on the same
156
+ major line as the Known Good Release, it auto-updates it by default.
157
+
158
+ ## Offline Workflow
159
+
160
+ The utility commands detailed in the next section.
161
+
162
+ - Either you can use the network while building your container image, in which
163
+ case you'll simply run `corepack pack` to make sure that your image
164
+ includes the Last Known Good release for the specified package manager.
165
+
166
+ - Or you're publishing your project to a system where the network is
167
+ unavailable, in which case you'll preemptively generate a package manager
168
+ archive from your local computer (using `corepack pack -o`) before storing
169
+ it somewhere your container will be able to access (for example within your
170
+ repository). After that it'll just be a matter of running
171
+ `corepack install -g --cache-only <path/to/corepack.tgz>` to setup the cache.
172
+
173
+ ## Utility Commands
174
+
175
+ ### `corepack <binary name>[@<version>] [... args]`
176
+
177
+ This meta-command runs the specified package manager in the local folder. You
178
+ can use it to force an install to run with a given version, which can be useful
179
+ when looking for regressions.
180
+
181
+ Note that those commands still check whether the local project is configured for
182
+ the given package manager (ie you won't be able to run `corepack yarn install`
183
+ on a project where the `packageManager` field references `pnpm`).
184
+
185
+ ### `corepack cache clean`
186
+
187
+ Clears the local `COREPACK_HOME` cache directory.
188
+
189
+ ### `corepack cache clear`
190
+
191
+ Clears the local `COREPACK_HOME` cache directory.
192
+
193
+ ### `corepack enable [... name]`
194
+
195
+ | Option | Description |
196
+ | --------------------- | --------------------------------------- |
197
+ | `--install-directory` | Add the shims to the specified location |
198
+
199
+ This command will detect where Corepack is installed and will create shims next
200
+ to it for each of the specified package managers (or all of them if the command
201
+ is called without parameters). Note that the npm shims will not be installed
202
+ unless explicitly requested, as npm is currently distributed with Node.js
203
+ through other means.
204
+
205
+ If the file system where the `corepack` binary is located is read-only, this
206
+ command will fail. A workaround is to add the binaries as alias in your
207
+ shell configuration file (e.g. in `~/.bash_aliases`):
208
+
209
+ ```sh
210
+ alias yarn="corepack yarn"
211
+ alias yarnpkg="corepack yarnpkg"
212
+ alias pnpm="corepack pnpm"
213
+ alias pnpx="corepack pnpx"
214
+ alias npm="corepack npm"
215
+ alias npx="corepack npx"
216
+ ```
217
+
218
+ On Windows PowerShell, you can add functions using the `$PROFILE` automatic
219
+ variable:
220
+
221
+ ```powershell
222
+ echo 'function yarn { corepack yarn @args }' >> $PROFILE
223
+ echo 'function yarnpkg { corepack yarnpkg @args }' >> $PROFILE
224
+ echo 'function pnpm { corepack pnpm @args }' >> $PROFILE
225
+ echo 'function pnpx { corepack pnpx @args }' >> $PROFILE
226
+ echo 'function npm { corepack npm @args }' >> $PROFILE
227
+ echo 'function npx { corepack npx @args }' >> $PROFILE
228
+ ```
229
+
230
+ ### `corepack disable [... name]`
231
+
232
+ | Option | Description |
233
+ | --------------------- | ------------------------------------------ |
234
+ | `--install-directory` | Remove the shims to the specified location |
235
+
236
+ This command will detect where Node.js is installed and will remove the shims
237
+ from there.
238
+
239
+ ### `corepack install`
240
+
241
+ Download and install the package manager configured in the local project.
242
+ This command doesn't change the global version used when running the package
243
+ manager from outside the project (use the \`-g,--global\` flag if you wish
244
+ to do this).
245
+
246
+ ### `corepack install <-g,--global> [... name[@<version>]]`
247
+
248
+ Install the selected package managers and install them on the system.
249
+
250
+ Package managers thus installed will be configured as the new default when
251
+ calling their respective binaries outside of projects defining the
252
+ `packageManager` field.
253
+
254
+ ### `corepack pack [... name[@<version>]]`
255
+
256
+ | Option | Description |
257
+ | --------------------- | ------------------------------------------ |
258
+ | `--json ` | Print the output folder rather than logs |
259
+ | `-o,--output ` | Path where to generate the archive |
260
+
261
+ Download the selected package managers and store them inside a tarball
262
+ suitable for use with `corepack install -g`.
263
+
264
+ ### `corepack use <name[@<version>]>`
265
+
266
+ When run, this command will retrieve the latest release matching the provided
267
+ descriptor, assign it to the project's package.json file, and automatically
268
+ perform an install.
269
+
270
+ ### `corepack up`
271
+
272
+ Retrieve the latest available version for the current major release line of
273
+ the package manager used in the local project, and update the project to use
274
+ it.
275
+
276
+ Unlike `corepack use` this command doesn't take a package manager name nor a
277
+ version range, as it will always select the latest available version from the
278
+ range specified in `devEngines.packageManager.version`, or fallback to the
279
+ same major line. Should you need to upgrade to a new major, use an explicit
280
+ `corepack use {name}@latest` call (or simply `corepack use {name}`).
281
+
282
+ ## Environment Variables
283
+
284
+ - `COREPACK_DEFAULT_TO_LATEST` can be set to `0` in order to instruct Corepack
285
+ not to lookup on the remote registry for the latest version of the selected
286
+ package manager, and to not update the Last Known Good version when it
287
+ downloads a new version of the same major line.
288
+
289
+ - `COREPACK_ENABLE_AUTO_PIN` can be set to `1` to instruct Corepack to
290
+ update the `packageManager` field when it detects that the local package
291
+ doesn't list it. In general we recommend to always list a `packageManager`
292
+ field (which you can easily set through `corepack use [name]@[version]`), as
293
+ it ensures that your project installs are always deterministic.
294
+
295
+ - `COREPACK_ENABLE_DOWNLOAD_PROMPT` can be set to `0` to
296
+ prevent Corepack showing the URL when it needs to download software, or can be
297
+ set to `1` to have the URL shown. By default, when Corepack is called
298
+ explicitly (e.g. `corepack pnpm …`), it is set to `0`; when Corepack is called
299
+ implicitly (e.g. `pnpm …`), it is set to `1`.
300
+ The default value cannot be overridden in a `.corepack.env` file.
301
+ When standard input is a TTY and no CI environment is detected, Corepack will
302
+ ask for user input before starting the download.
303
+
304
+ - `COREPACK_ENABLE_UNSAFE_CUSTOM_URLS` can be set to `1` to allow use of
305
+ custom URLs to load a package manager known by Corepack (`yarn`, `npm`, and
306
+ `pnpm`).
307
+
308
+ - `COREPACK_ENABLE_NETWORK` can be set to `0` to prevent Corepack from accessing
309
+ the network (in which case you'll be responsible for hydrating the package
310
+ manager versions that will be required for the projects you'll run, using
311
+ `corepack install -g --cache-only`).
312
+
313
+ - `COREPACK_ENABLE_STRICT` can be set to `0` to prevent Corepack from throwing
314
+ error if the package manager does not correspond to the one defined for the
315
+ current project. This means that if a user is using the package manager
316
+ specified in the current project, it will use the version specified by the
317
+ project's `packageManager` field. But if the user is using other package
318
+ manager different from the one specified for the current project, it will use
319
+ the system-wide package manager version.
320
+
321
+ - `COREPACK_ENABLE_PROJECT_SPEC` can be set to `0` to prevent Corepack from
322
+ checking if the package manager corresponds to the one defined for the current
323
+ project. This means that it will always use the system-wide package manager
324
+ regardless of what is being specified in the project's `packageManager` field.
325
+
326
+ - `COREPACK_ENV_FILE` can be set to `0` to request Corepack to not attempt to
327
+ load `.corepack.env`; it can be set to a path to specify a different env file.
328
+ Only keys that start with `COREPACK_` and are not in the exception list
329
+ (`COREPACK_ENABLE_DOWNLOAD_PROMPT` and `COREPACK_ENV_FILE` are ignored)
330
+ will be taken into account.
331
+ For Node.js 18.x users, this setting has no effect as that version doesn't
332
+ support parsing of `.env` files.
333
+
334
+ - `COREPACK_HOME` can be set in order to define where Corepack should install
335
+ the package managers. By default it is set to `%LOCALAPPDATA%\node\corepack`
336
+ on Windows, and to `$HOME/.cache/node/corepack` everywhere else.
337
+
338
+ - `COREPACK_ROOT` has no functional impact on Corepack itself; it's
339
+ automatically being set in your environment by Corepack when it shells out to
340
+ the underlying package managers, so that they can feature-detect its presence
341
+ (useful for commands like `yarn init`).
342
+
343
+ - `COREPACK_NPM_REGISTRY` sets the registry base url used when retrieving
344
+ package managers from npm. Default value is `https://registry.npmjs.org`
345
+
346
+ - `COREPACK_NPM_TOKEN` sets a Bearer token authorization header when connecting
347
+ to a npm type registry.
348
+
349
+ - `COREPACK_NPM_USERNAME` and `COREPACK_NPM_PASSWORD` to set a Basic
350
+ authorization header when connecting to a npm type registry. Note that both
351
+ environment variables are required and as plain text. If you want to send an
352
+ empty password, explicitly set `COREPACK_NPM_PASSWORD` to an empty string.
353
+
354
+ - `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` are supported through
355
+ [`proxy-from-env`](https://github.com/Rob--W/proxy-from-env).
356
+
357
+ - `COREPACK_INTEGRITY_KEYS` can be set to an empty string or `0` to
358
+ instruct Corepack to skip integrity checks, or to a JSON string containing
359
+ custom keys.
360
+
361
+ ## Troubleshooting
362
+
363
+ The environment variable `DEBUG` can be set to `corepack` to enable additional debug logging.
364
+
365
+ ### Networking
366
+
367
+ There are a wide variety of networking issues that can occur while running
368
+ `corepack` commands. Things to check:
369
+
370
+ - Make sure your network connection is active.
371
+ - Make sure the host for your request can be resolved by your DNS; try using
372
+ `curl [URL]` (ipv4) and `curl -6 [URL]` (ipv6) from your shell.
373
+ - Check your proxy settings (see [Environment Variables](#environment-variables)).
374
+
375
+ ## Contributing
376
+
377
+ See [`CONTRIBUTING.md`](./CONTRIBUTING.md).
378
+
379
+ ## License (MIT)
380
+
381
+ See [`LICENSE.md`](./LICENSE.md).
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/corepack.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+ process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='0';
3
+ require('module').enableCompileCache?.();
4
+ require('./lib/corepack.cjs').runMain(process.argv.slice(2));
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/lib/corepack.cjs ADDED
The diff for this file is too large to render. See raw diff
 
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/npm.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+ process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1'
3
+ require('module').enableCompileCache?.();
4
+ require('./lib/corepack.cjs').runMain(['npm', ...process.argv.slice(2)]);
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/npx.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+ process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1'
3
+ require('module').enableCompileCache?.();
4
+ require('./lib/corepack.cjs').runMain(['npx', ...process.argv.slice(2)]);
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/pnpm.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+ process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1'
3
+ require('module').enableCompileCache?.();
4
+ require('./lib/corepack.cjs').runMain(['pnpm', ...process.argv.slice(2)]);
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/pnpx.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+ process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1'
3
+ require('module').enableCompileCache?.();
4
+ require('./lib/corepack.cjs').runMain(['pnpx', ...process.argv.slice(2)]);
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/yarn.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+ process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1'
3
+ require('module').enableCompileCache?.();
4
+ require('./lib/corepack.cjs').runMain(['yarn', ...process.argv.slice(2)]);
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/dist/yarnpkg.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/usr/bin/env node
2
+ process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1'
3
+ require('module').enableCompileCache?.();
4
+ require('./lib/corepack.cjs').runMain(['yarnpkg', ...process.argv.slice(2)]);
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/package.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "corepack",
3
+ "version": "0.34.6",
4
+ "homepage": "https://github.com/nodejs/corepack#readme",
5
+ "bugs": {
6
+ "url": "https://github.com/nodejs/corepack/issues"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/nodejs/corepack.git"
11
+ },
12
+ "engines": {
13
+ "node": "^20.10.0 || ^22.11.0 || >=24.0.0"
14
+ },
15
+ "exports": {
16
+ "./package.json": "./package.json"
17
+ },
18
+ "license": "MIT",
19
+ "packageManager": "yarn@4.11.0+sha224.209a3e277c6bbc03df6e4206fbfcb0c1621c27ecf0688f79a0c619f0",
20
+ "devDependencies": {
21
+ "@types/debug": "^4.1.5",
22
+ "@types/node": "^20.4.6",
23
+ "@types/proxy-from-env": "^1",
24
+ "@types/semver": "^7.1.0",
25
+ "@types/which": "^3.0.0",
26
+ "@yarnpkg/eslint-config": "^3.0.0",
27
+ "@yarnpkg/fslib": "^3.0.0-rc.48",
28
+ "@zkochan/cmd-shim": "^6.0.0",
29
+ "better-sqlite3": "^11.7.2",
30
+ "clipanion": "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch",
31
+ "debug": "^4.1.1",
32
+ "esbuild": "^0.25.0",
33
+ "eslint": "^9.22.0",
34
+ "proxy-from-env": "^1.1.0",
35
+ "semver": "^7.6.3",
36
+ "supports-color": "^10.0.0",
37
+ "tar": "^7.5.4",
38
+ "tsx": "^4.16.2",
39
+ "typescript": "^5.7.3",
40
+ "undici": "^6.21.2",
41
+ "v8-compile-cache": "^2.3.0",
42
+ "vitest": "^3.0.5",
43
+ "which": "^5.0.0"
44
+ },
45
+ "resolutions": {
46
+ "undici-types": "6.x"
47
+ },
48
+ "scripts": {
49
+ "build": "run clean && run build:bundle && tsx ./mkshims.ts",
50
+ "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'",
51
+ "clean": "run rimraf dist shims",
52
+ "corepack": "tsx ./sources/_cli.ts",
53
+ "lint": "eslint .",
54
+ "prepack": "yarn build",
55
+ "postpack": "run clean",
56
+ "rimraf": "node -e 'for(let i=2;i<process.argv.length;i++)fs.rmSync(process.argv[i],{recursive:true,force:true});'",
57
+ "typecheck": "tsc --noEmit",
58
+ "test": "vitest"
59
+ },
60
+ "files": [
61
+ "dist",
62
+ "shims",
63
+ "LICENSE.md"
64
+ ],
65
+ "publishConfig": {
66
+ "bin": {
67
+ "corepack": "./dist/corepack.js",
68
+ "pnpm": "./dist/pnpm.js",
69
+ "pnpx": "./dist/pnpx.js",
70
+ "yarn": "./dist/yarn.js",
71
+ "yarnpkg": "./dist/yarnpkg.js"
72
+ },
73
+ "executableFiles": [
74
+ "./dist/npm.js",
75
+ "./dist/npx.js",
76
+ "./dist/pnpm.js",
77
+ "./dist/pnpx.js",
78
+ "./dist/yarn.js",
79
+ "./dist/yarnpkg.js",
80
+ "./dist/corepack.js",
81
+ "./shims/npm",
82
+ "./shims/npm.ps1",
83
+ "./shims/npx",
84
+ "./shims/npx.ps1",
85
+ "./shims/pnpm",
86
+ "./shims/pnpm.ps1",
87
+ "./shims/pnpx",
88
+ "./shims/pnpx.ps1",
89
+ "./shims/yarn",
90
+ "./shims/yarn.ps1",
91
+ "./shims/yarnpkg",
92
+ "./shims/yarnpkg.ps1"
93
+ ]
94
+ },
95
+ "bin": {
96
+ "corepack": "./dist/corepack.js",
97
+ "pnpm": "./dist/pnpm.js",
98
+ "pnpx": "./dist/pnpx.js",
99
+ "yarn": "./dist/yarn.js",
100
+ "yarnpkg": "./dist/yarnpkg.js"
101
+ }
102
+ }
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/corepack ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/../dist/corepack.js" "$@"
10
+ else
11
+ exec node "$basedir/../dist/corepack.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/corepack.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\..\dist\corepack.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\..\dist\corepack.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/corepack.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/../dist/corepack.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/../dist/corepack.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/../dist/corepack.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/../dist/corepack.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/corepack ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/node_modules/corepack/dist/corepack.js" "$@"
10
+ else
11
+ exec node "$basedir/node_modules/corepack/dist/corepack.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/corepack.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\corepack.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\node_modules\corepack\dist\corepack.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/corepack.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/corepack.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/corepack.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/node_modules/corepack/dist/corepack.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/node_modules/corepack/dist/corepack.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/node_modules/corepack/dist/npm.js" "$@"
10
+ else
11
+ exec node "$basedir/node_modules/corepack/dist/npm.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npm.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\npm.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\node_modules\corepack\dist\npm.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npm.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/npm.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/npm.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/node_modules/corepack/dist/npm.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/node_modules/corepack/dist/npm.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npx ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/node_modules/corepack/dist/npx.js" "$@"
10
+ else
11
+ exec node "$basedir/node_modules/corepack/dist/npx.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npx.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\npx.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\node_modules\corepack\dist\npx.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/npx.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/npx.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/npx.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/node_modules/corepack/dist/npx.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/node_modules/corepack/dist/npx.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/node_modules/corepack/dist/pnpm.js" "$@"
10
+ else
11
+ exec node "$basedir/node_modules/corepack/dist/pnpm.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpm.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\pnpm.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\node_modules\corepack\dist\pnpm.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpm.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/pnpm.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/pnpm.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/node_modules/corepack/dist/pnpm.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/node_modules/corepack/dist/pnpm.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpx ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/node_modules/corepack/dist/pnpx.js" "$@"
10
+ else
11
+ exec node "$basedir/node_modules/corepack/dist/pnpx.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpx.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\pnpx.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\node_modules\corepack\dist\pnpx.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/pnpx.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/pnpx.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/pnpx.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/node_modules/corepack/dist/pnpx.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/node_modules/corepack/dist/pnpx.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarn ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/node_modules/corepack/dist/yarn.js" "$@"
10
+ else
11
+ exec node "$basedir/node_modules/corepack/dist/yarn.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarn.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\yarn.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\node_modules\corepack\dist\yarn.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarn.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/yarn.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/yarn.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/node_modules/corepack/dist/yarn.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/node_modules/corepack/dist/yarn.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarnpkg ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/node_modules/corepack/dist/yarnpkg.js" "$@"
10
+ else
11
+ exec node "$basedir/node_modules/corepack/dist/yarnpkg.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarnpkg.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\yarnpkg.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\node_modules\corepack\dist\yarnpkg.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/nodewin/yarnpkg.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/yarnpkg.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/yarnpkg.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/node_modules/corepack/dist/yarnpkg.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/node_modules/corepack/dist/yarnpkg.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/../dist/npm.js" "$@"
10
+ else
11
+ exec node "$basedir/../dist/npm.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npm.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\..\dist\npm.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\..\dist\npm.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npm.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/../dist/npm.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/../dist/npm.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/../dist/npm.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/../dist/npm.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npx ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/../dist/npx.js" "$@"
10
+ else
11
+ exec node "$basedir/../dist/npx.js" "$@"
12
+ fi
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npx.cmd ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ @SETLOCAL
2
+ @IF EXIST "%~dp0\node.exe" (
3
+ "%~dp0\node.exe" "%~dp0\..\dist\npx.js" %*
4
+ ) ELSE (
5
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
6
+ node "%~dp0\..\dist\npx.js" %*
7
+ )
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/npx.ps1 ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
+ # Fix case when both the Windows and Linux builds of Node
7
+ # are installed in the same directory
8
+ $exe=".exe"
9
+ }
10
+ $ret=0
11
+ if (Test-Path "$basedir/node$exe") {
12
+ # Support pipeline input
13
+ if ($MyInvocation.ExpectingInput) {
14
+ $input | & "$basedir/node$exe" "$basedir/../dist/npx.js" $args
15
+ } else {
16
+ & "$basedir/node$exe" "$basedir/../dist/npx.js" $args
17
+ }
18
+ $ret=$LASTEXITCODE
19
+ } else {
20
+ # Support pipeline input
21
+ if ($MyInvocation.ExpectingInput) {
22
+ $input | & "node$exe" "$basedir/../dist/npx.js" $args
23
+ } else {
24
+ & "node$exe" "$basedir/../dist/npx.js" $args
25
+ }
26
+ $ret=$LASTEXITCODE
27
+ }
28
+ exit $ret
home/.nvm/versions/node/v22.22.1/lib/node_modules/corepack/shims/pnpm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -x "$basedir/node" ]; then
9
+ exec "$basedir/node" "$basedir/../dist/pnpm.js" "$@"
10
+ else
11
+ exec node "$basedir/../dist/pnpm.js" "$@"
12
+ fi