pnpm 10.33.1 → 10.33.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,9 +22,6 @@
22
22
  "tar@7.5.13": [
23
23
  "node_modules/tar"
24
24
  ],
25
- "env-paths@2.2.1": [
26
- "node_modules/env-paths"
27
- ],
28
25
  "proc-log@5.0.0": [
29
26
  "node_modules/proc-log"
30
27
  ],
@@ -34,6 +31,9 @@
34
31
  "exponential-backoff@3.1.3": [
35
32
  "node_modules/exponential-backoff"
36
33
  ],
34
+ "env-paths@2.2.1": [
35
+ "node_modules/env-paths"
36
+ ],
37
37
  "which@5.0.0": [
38
38
  "node_modules/which"
39
39
  ],
@@ -49,14 +49,14 @@
49
49
  "abbrev@3.0.1": [
50
50
  "node_modules/abbrev"
51
51
  ],
52
- "@isaacs/fs-minipass@4.0.1": [
53
- "node_modules/@isaacs/fs-minipass"
52
+ "yallist@5.0.0": [
53
+ "node_modules/yallist"
54
54
  ],
55
55
  "chownr@3.0.0": [
56
56
  "node_modules/chownr"
57
57
  ],
58
- "yallist@5.0.0": [
59
- "node_modules/yallist"
58
+ "@isaacs/fs-minipass@4.0.1": [
59
+ "node_modules/@isaacs/fs-minipass"
60
60
  ],
61
61
  "minizlib@3.1.0": [
62
62
  "node_modules/minizlib"
@@ -76,6 +76,12 @@
76
76
  "ssri@12.0.0": [
77
77
  "node_modules/ssri"
78
78
  ],
79
+ "negotiator@1.0.0": [
80
+ "node_modules/negotiator"
81
+ ],
82
+ "cacache@19.0.1": [
83
+ "node_modules/cacache"
84
+ ],
79
85
  "minipass@3.3.6": [
80
86
  "node_modules/minipass-flush/node_modules/minipass",
81
87
  "node_modules/minipass-pipeline/node_modules/minipass",
@@ -86,32 +92,47 @@
86
92
  "node_modules/minipass-pipeline/node_modules/yallist",
87
93
  "node_modules/minipass-sized/node_modules/yallist"
88
94
  ],
95
+ "http-cache-semantics@4.2.0": [
96
+ "node_modules/http-cache-semantics"
97
+ ],
89
98
  "promise-retry@2.0.1": [
90
99
  "node_modules/promise-retry"
91
100
  ],
101
+ "minipass-fetch@4.0.1": [
102
+ "node_modules/minipass-fetch"
103
+ ],
92
104
  "@npmcli/agent@3.0.0": [
93
105
  "node_modules/@npmcli/agent"
94
106
  ],
95
- "negotiator@1.0.0": [
96
- "node_modules/negotiator"
107
+ "unique-filename@4.0.0": [
108
+ "node_modules/unique-filename"
97
109
  ],
98
- "minipass-fetch@4.0.1": [
99
- "node_modules/minipass-fetch"
110
+ "minipass-collect@2.0.1": [
111
+ "node_modules/minipass-collect"
100
112
  ],
101
- "cacache@19.0.1": [
102
- "node_modules/cacache"
113
+ "fs-minipass@3.0.3": [
114
+ "node_modules/fs-minipass"
103
115
  ],
104
- "http-cache-semantics@4.2.0": [
105
- "node_modules/http-cache-semantics"
116
+ "p-map@7.0.4": [
117
+ "node_modules/p-map"
106
118
  ],
107
- "err-code@2.0.3": [
108
- "node_modules/err-code"
119
+ "@npmcli/fs@4.0.0": [
120
+ "node_modules/@npmcli/fs"
121
+ ],
122
+ "glob@10.5.0": [
123
+ "node_modules/glob"
124
+ ],
125
+ "lru-cache@10.4.3": [
126
+ "node_modules/lru-cache"
109
127
  ],
110
128
  "retry@0.12.0": [
111
129
  "node_modules/retry"
112
130
  ],
113
- "agent-base@7.1.4": [
114
- "node_modules/agent-base"
131
+ "err-code@2.0.3": [
132
+ "node_modules/err-code"
133
+ ],
134
+ "encoding@0.1.13": [
135
+ "node_modules/encoding"
115
136
  ],
116
137
  "http-proxy-agent@7.0.2": [
117
138
  "node_modules/http-proxy-agent"
@@ -119,74 +140,41 @@
119
140
  "https-proxy-agent@7.0.6": [
120
141
  "node_modules/https-proxy-agent"
121
142
  ],
143
+ "agent-base@7.1.4": [
144
+ "node_modules/agent-base"
145
+ ],
122
146
  "socks-proxy-agent@8.0.5": [
123
147
  "node_modules/socks-proxy-agent"
124
148
  ],
125
- "lru-cache@10.4.3": [
126
- "node_modules/lru-cache"
127
- ],
128
- "encoding@0.1.13": [
129
- "node_modules/encoding"
130
- ],
131
- "minipass-collect@2.0.1": [
132
- "node_modules/minipass-collect"
133
- ],
134
- "fs-minipass@3.0.3": [
135
- "node_modules/fs-minipass"
136
- ],
137
- "@npmcli/fs@4.0.0": [
138
- "node_modules/@npmcli/fs"
139
- ],
140
- "p-map@7.0.4": [
141
- "node_modules/p-map"
142
- ],
143
- "glob@10.5.0": [
144
- "node_modules/glob"
145
- ],
146
- "unique-filename@4.0.0": [
147
- "node_modules/unique-filename"
148
- ],
149
- "debug@4.4.3": [
150
- "node_modules/debug"
151
- ],
152
- "socks@2.8.7": [
153
- "node_modules/socks"
149
+ "unique-slug@5.0.0": [
150
+ "node_modules/unique-slug"
154
151
  ],
155
- "iconv-lite@0.6.3": [
156
- "node_modules/iconv-lite"
152
+ "foreground-child@3.3.1": [
153
+ "node_modules/foreground-child"
157
154
  ],
158
155
  "package-json-from-dist@1.0.1": [
159
156
  "node_modules/package-json-from-dist"
160
157
  ],
161
- "foreground-child@3.3.1": [
162
- "node_modules/foreground-child"
158
+ "path-scurry@1.11.1": [
159
+ "node_modules/path-scurry"
163
160
  ],
164
161
  "jackspeak@3.4.3": [
165
162
  "node_modules/jackspeak"
166
163
  ],
167
- "path-scurry@1.11.1": [
168
- "node_modules/path-scurry"
169
- ],
170
164
  "minimatch@9.0.9": [
171
165
  "node_modules/minimatch"
172
166
  ],
173
- "unique-slug@5.0.0": [
174
- "node_modules/unique-slug"
175
- ],
176
- "ms@2.1.3": [
177
- "node_modules/ms"
178
- ],
179
- "ip-address@10.1.0": [
180
- "node_modules/ip-address"
167
+ "iconv-lite@0.6.3": [
168
+ "node_modules/iconv-lite"
181
169
  ],
182
- "smart-buffer@4.2.0": [
183
- "node_modules/smart-buffer"
170
+ "debug@4.4.3": [
171
+ "node_modules/debug"
184
172
  ],
185
- "safer-buffer@2.1.2": [
186
- "node_modules/safer-buffer"
173
+ "socks@2.8.7": [
174
+ "node_modules/socks"
187
175
  ],
188
- "signal-exit@4.1.0": [
189
- "node_modules/signal-exit"
176
+ "imurmurhash@0.1.4": [
177
+ "node_modules/imurmurhash"
190
178
  ],
191
179
  "which@2.0.2": [
192
180
  "node_modules/cross-spawn/node_modules/which"
@@ -194,6 +182,9 @@
194
182
  "isexe@2.0.0": [
195
183
  "node_modules/cross-spawn/node_modules/isexe"
196
184
  ],
185
+ "signal-exit@4.1.0": [
186
+ "node_modules/signal-exit"
187
+ ],
197
188
  "@isaacs/cliui@8.0.2": [
198
189
  "node_modules/@isaacs/cliui"
199
190
  ],
@@ -203,8 +194,17 @@
203
194
  "brace-expansion@2.1.0": [
204
195
  "node_modules/brace-expansion"
205
196
  ],
206
- "imurmurhash@0.1.4": [
207
- "node_modules/imurmurhash"
197
+ "safer-buffer@2.1.2": [
198
+ "node_modules/safer-buffer"
199
+ ],
200
+ "ms@2.1.3": [
201
+ "node_modules/ms"
202
+ ],
203
+ "smart-buffer@4.2.0": [
204
+ "node_modules/smart-buffer"
205
+ ],
206
+ "ip-address@10.1.0": [
207
+ "node_modules/ip-address"
208
208
  ],
209
209
  "shebang-command@2.0.0": [
210
210
  "node_modules/shebang-command"
@@ -212,29 +212,22 @@
212
212
  "path-key@3.1.1": [
213
213
  "node_modules/path-key"
214
214
  ],
215
- "string-width@5.1.2": [
216
- "node_modules/string-width"
217
- ],
218
- "strip-ansi@6.0.1": [
219
- "node_modules/string-width-cjs/node_modules/strip-ansi",
220
- "node_modules/wrap-ansi-cjs/node_modules/strip-ansi",
221
- "node_modules/strip-ansi-cjs"
222
- ],
223
- "emoji-regex@8.0.0": [
224
- "node_modules/string-width-cjs/node_modules/emoji-regex",
225
- "node_modules/wrap-ansi-cjs/node_modules/emoji-regex"
215
+ "strip-ansi@7.2.0": [
216
+ "node_modules/strip-ansi"
226
217
  ],
227
218
  "ansi-regex@5.0.1": [
228
- "node_modules/string-width-cjs/node_modules/ansi-regex",
229
219
  "node_modules/strip-ansi-cjs/node_modules/ansi-regex",
230
- "node_modules/wrap-ansi-cjs/node_modules/ansi-regex"
231
- ],
232
- "strip-ansi@7.2.0": [
233
- "node_modules/strip-ansi"
220
+ "node_modules/wrap-ansi-cjs/node_modules/ansi-regex",
221
+ "node_modules/string-width-cjs/node_modules/ansi-regex"
234
222
  ],
235
223
  "wrap-ansi@8.1.0": [
236
224
  "node_modules/wrap-ansi"
237
225
  ],
226
+ "strip-ansi@6.0.1": [
227
+ "node_modules/wrap-ansi-cjs/node_modules/strip-ansi",
228
+ "node_modules/string-width-cjs/node_modules/strip-ansi",
229
+ "node_modules/strip-ansi-cjs"
230
+ ],
238
231
  "string-width@4.2.3": [
239
232
  "node_modules/wrap-ansi-cjs/node_modules/string-width",
240
233
  "node_modules/string-width-cjs"
@@ -242,30 +235,37 @@
242
235
  "ansi-styles@4.3.0": [
243
236
  "node_modules/wrap-ansi-cjs/node_modules/ansi-styles"
244
237
  ],
238
+ "emoji-regex@8.0.0": [
239
+ "node_modules/wrap-ansi-cjs/node_modules/emoji-regex",
240
+ "node_modules/string-width-cjs/node_modules/emoji-regex"
241
+ ],
242
+ "string-width@5.1.2": [
243
+ "node_modules/string-width"
244
+ ],
245
245
  "balanced-match@1.0.2": [
246
246
  "node_modules/balanced-match"
247
247
  ],
248
248
  "shebang-regex@3.0.0": [
249
249
  "node_modules/shebang-regex"
250
250
  ],
251
- "eastasianwidth@0.2.0": [
252
- "node_modules/eastasianwidth"
253
- ],
254
- "emoji-regex@9.2.2": [
255
- "node_modules/emoji-regex"
256
- ],
257
- "is-fullwidth-code-point@3.0.0": [
258
- "node_modules/is-fullwidth-code-point"
259
- ],
260
251
  "ansi-regex@6.2.2": [
261
252
  "node_modules/ansi-regex"
262
253
  ],
263
254
  "ansi-styles@6.2.3": [
264
255
  "node_modules/ansi-styles"
265
256
  ],
257
+ "is-fullwidth-code-point@3.0.0": [
258
+ "node_modules/is-fullwidth-code-point"
259
+ ],
266
260
  "color-convert@2.0.1": [
267
261
  "node_modules/color-convert"
268
262
  ],
263
+ "eastasianwidth@0.2.0": [
264
+ "node_modules/eastasianwidth"
265
+ ],
266
+ "emoji-regex@9.2.2": [
267
+ "node_modules/emoji-regex"
268
+ ],
269
269
  "color-name@1.1.4": [
270
270
  "node_modules/color-name"
271
271
  ],
@@ -286,10 +286,10 @@
286
286
  ]
287
287
  },
288
288
  "nodeLinker": "hoisted",
289
- "packageManager": "pnpm@10.33.0",
289
+ "packageManager": "pnpm@10.33.1",
290
290
  "pendingBuilds": [],
291
291
  "publicHoistPattern": [],
292
- "prunedAt": "Wed, 22 Apr 2026 09:31:19 GMT",
292
+ "prunedAt": "Thu, 23 Apr 2026 11:46:36 GMT",
293
293
  "registries": {
294
294
  "default": "https://registry.npmjs.org/",
295
295
  "@jsr": "https://npm.jsr.io/"
@@ -1,5 +1,5 @@
1
1
  {
2
- "lastValidatedTimestamp": 1776850279834,
2
+ "lastValidatedTimestamp": 1776944796156,
3
3
  "projects": {},
4
4
  "pnpmfiles": [],
5
5
  "settings": {
package/dist/pnpm.cjs CHANGED
@@ -2973,7 +2973,7 @@ var require_lib4 = __commonJS({
2973
2973
  var load_json_file_1 = __importDefault2(require_load_json_file());
2974
2974
  var defaultManifest = {
2975
2975
  name: true ? "pnpm" : "pnpm",
2976
- version: true ? "10.33.1" : "0.0.0"
2976
+ version: true ? "10.33.2" : "0.0.0"
2977
2977
  };
2978
2978
  var pkgJson;
2979
2979
  if (require.main == null) {
@@ -164609,6 +164609,7 @@ var require_nodeExecPath = __commonJS({
164609
164609
  Object.defineProperty(exports2, "__esModule", { value: true });
164610
164610
  exports2.getNodeExecPath = getNodeExecPath;
164611
164611
  var fs_1 = require("fs");
164612
+ var cli_meta_1 = require_lib4();
164612
164613
  var which_1 = __importDefault2(require_lib21());
164613
164614
  async function getNodeExecPath() {
164614
164615
  try {
@@ -164617,6 +164618,8 @@ var require_nodeExecPath = __commonJS({
164617
164618
  } catch (err) {
164618
164619
  if (err["code"] !== "ENOENT")
164619
164620
  throw err;
164621
+ if ((0, cli_meta_1.detectIfCurrentPkgIsExecutable)())
164622
+ return void 0;
164620
164623
  return process.env.NODE ?? process.execPath;
164621
164624
  }
164622
164625
  }
@@ -165196,7 +165199,7 @@ var require_installDeps = __commonJS({
165196
165199
  };
165197
165200
  if (opts.global && opts.pnpmHomeDir != null) {
165198
165201
  const nodeExecPath = await (0, nodeExecPath_js_1.getNodeExecPath)();
165199
- if ((0, is_subdir_1.default)(opts.pnpmHomeDir, nodeExecPath)) {
165202
+ if (nodeExecPath != null && (0, is_subdir_1.default)(opts.pnpmHomeDir, nodeExecPath)) {
165200
165203
  installOpts["nodeExecPath"] = nodeExecPath;
165201
165204
  }
165202
165205
  }
@@ -181071,10 +181074,11 @@ var require_lib179 = __commonJS({
181071
181074
  exports2.runPnpmCli = runPnpmCli;
181072
181075
  var path_1 = __importDefault2(require("path"));
181073
181076
  var execa_1 = require_lib18();
181074
- function runPnpmCli(command, { cwd }) {
181077
+ function runPnpmCli(command, { cwd, env }) {
181075
181078
  const execOpts = {
181076
181079
  cwd,
181077
- stdio: "inherit"
181080
+ stdio: "inherit",
181081
+ ...env ? { env } : {}
181078
181082
  };
181079
181083
  const execFileName = path_1.default.basename(process.execPath).toLowerCase();
181080
181084
  if (execFileName === "pnpm" || execFileName === "pnpm.exe") {
@@ -181152,8 +181156,28 @@ var require_installPnpmToTools = __commonJS({
181152
181156
  // We want to avoid symlinks because of the rename step,
181153
181157
  // which breaks the junctions on Windows.
181154
181158
  "--config.node-linker=hoisted",
181155
- "--config.bin=bin"
181156
- ], { cwd: stage });
181159
+ "--config.bin=bin",
181160
+ // This is an isolated install into `stage` and must not inherit the
181161
+ // caller's workspace context. Without this, the child's workspace
181162
+ // walk-up from `stage` can discover an ancestor pnpm-workspace.yaml
181163
+ // and treat the caller's project as the workspace root — breaking the
181164
+ // add (it's outside the workspace's packages list) and, before the env
181165
+ // guards below existed, picking up the caller's packageManager field
181166
+ // and re-entering switchCliVersion for a fork bomb. See pnpm/pnpm#11337.
181167
+ "--ignore-workspace"
181168
+ ], {
181169
+ cwd: stage,
181170
+ // Defense in depth against re-entering switchCliVersion in the child,
181171
+ // in case any future code path surfaces a wantedPackageManager without
181172
+ // going through workspace discovery. Both env-var names are set so the
181173
+ // guard works regardless of whether the child reads pnpm's v10
181174
+ // (npm_config_*) or v11+ (pnpm_config_*) convention.
181175
+ env: {
181176
+ ...process.env,
181177
+ npm_config_manage_package_manager_versions: "false",
181178
+ pnpm_config_pm_on_fail: "ignore"
181179
+ }
181180
+ });
181157
181181
  if (currentPkgName === "@pnpm/exe") {
181158
181182
  linkExePlatformBinary(stage);
181159
181183
  }
@@ -201715,7 +201739,12 @@ var require_switchCliVersion = __commonJS({
201715
201739
  env: {
201716
201740
  ...process.env,
201717
201741
  [pnpmEnv.name]: pnpmEnv.value,
201718
- npm_config_manage_package_manager_versions: "false"
201742
+ // Disable the target pnpm's own package-manager-version management so
201743
+ // it doesn't try to switch again. We set both names because v10 reads
201744
+ // npm_config_* while v11+ reads pnpm_config_*, and this spawn may
201745
+ // target either major.
201746
+ npm_config_manage_package_manager_versions: "false",
201747
+ pnpm_config_pm_on_fail: "ignore"
201719
201748
  }
201720
201749
  });
201721
201750
  if (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pnpm",
3
- "version": "10.33.1",
3
+ "version": "10.33.2",
4
4
  "description": "Fast, disk space efficient package manager",
5
5
  "keywords": [
6
6
  "pnpm",