pnpm 10.0.0-beta.2 → 10.0.0-beta.3

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.
@@ -16,8 +16,8 @@ hoistedLocations:
16
16
  aggregate-error@3.1.0:
17
17
  - node_modules/aggregate-error
18
18
  ansi-regex@5.0.1:
19
- - node_modules/strip-ansi-cjs/node_modules/ansi-regex
20
19
  - node_modules/wrap-ansi-cjs/node_modules/ansi-regex
20
+ - node_modules/strip-ansi-cjs/node_modules/ansi-regex
21
21
  - node_modules/string-width-cjs/node_modules/ansi-regex
22
22
  ansi-regex@6.0.1:
23
23
  - node_modules/ansi-regex
@@ -39,7 +39,7 @@ hoistedLocations:
39
39
  - node_modules/color-convert
40
40
  color-name@1.1.4:
41
41
  - node_modules/color-name
42
- cross-spawn@7.0.3:
42
+ cross-spawn@7.0.5:
43
43
  - node_modules/cross-spawn
44
44
  debug@4.3.5:
45
45
  - node_modules/debug
@@ -113,8 +113,8 @@ hoistedLocations:
113
113
  minipass@3.3.6:
114
114
  - node_modules/minizlib/node_modules/minipass
115
115
  - node_modules/fs-minipass/node_modules/minipass
116
- - node_modules/minipass-flush/node_modules/minipass
117
116
  - node_modules/minipass-pipeline/node_modules/minipass
117
+ - node_modules/minipass-flush/node_modules/minipass
118
118
  - node_modules/minipass-sized/node_modules/minipass
119
119
  minipass@5.0.0:
120
120
  - node_modules/tar/node_modules/minipass
@@ -202,9 +202,9 @@ included:
202
202
  injectedDeps: {}
203
203
  layoutVersion: 5
204
204
  nodeLinker: hoisted
205
- packageManager: pnpm@10.0.0-alpha.4
205
+ packageManager: pnpm@10.0.0-beta.3
206
206
  pendingBuilds: []
207
- prunedAt: Mon, 09 Dec 2024 00:34:36 GMT
207
+ prunedAt: Wed, 11 Dec 2024 22:35:21 GMT
208
208
  publicHoistPattern: []
209
209
  registries:
210
210
  default: https://registry.npmjs.org/
@@ -4,6 +4,34 @@ settings:
4
4
  autoInstallPeers: true
5
5
  excludeLinksFromLockfile: false
6
6
 
7
+ overrides:
8
+ '@yarnpkg/fslib@2': '3'
9
+ body-parser@<1.20.3: ^1.20.3
10
+ clipanion: 3.2.0-rc.6
11
+ cookie@<0.7.0: '>=0.7.0'
12
+ cross-spawn@<7.0.5: '>=7.0.5'
13
+ debug@<3.1.0: '>=3.1.0'
14
+ express@<4.20.0: ^4.20.0
15
+ follow-redirects@<=1.15.5: '>=1.15.6'
16
+ glob-parent@<5.1.2: '>=5.1.2'
17
+ hosted-git-info@1: npm:@pnpm/hosted-git-info@1.0.0
18
+ http-proxy-middleware@<2.0.7: ^2.0.7
19
+ istanbul-reports: npm:@zkochan/istanbul-reports
20
+ js-yaml@^4.0.0: npm:@zkochan/js-yaml@0.0.7
21
+ json5@<2.2.2: ^2.2.3
22
+ jsonwebtoken@<=8.5.1: '>=9.0.0'
23
+ nopt@5: npm:@pnpm/nopt@^0.2.1
24
+ path-to-regexp@<0.1.12: ^0.1.12
25
+ path-to-regexp@>=4.0.0 <6.3.0: '>=6.3.0'
26
+ path-to-regexp@>=7.0.0 <8.0.0: '>=8.0.0'
27
+ semver@<7.5.2: ^7.6.2
28
+ send@<0.19.0: ^0.19.0
29
+ serve-static@<1.16.0: ^1.16.0
30
+ socks@2: ^2.8.1
31
+ tough-cookie@<4.1.3: '>=4.1.3'
32
+ verdaccio: 5.20.1
33
+ yaml@<2.2.2: '>=2.2.2'
34
+
7
35
  importers:
8
36
 
9
37
  .:
@@ -87,8 +115,8 @@ packages:
87
115
  color-name@1.1.4:
88
116
  resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
89
117
 
90
- cross-spawn@7.0.3:
91
- resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
118
+ cross-spawn@7.0.5:
119
+ resolution: {integrity: sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==}
92
120
  engines: {node: '>= 8'}
93
121
 
94
122
  debug@4.3.5:
@@ -475,7 +503,7 @@ snapshots:
475
503
  color-name@1.1.4:
476
504
  optional: true
477
505
 
478
- cross-spawn@7.0.3:
506
+ cross-spawn@7.0.5:
479
507
  dependencies:
480
508
  path-key: 3.1.1
481
509
  shebang-command: 2.0.0
@@ -512,7 +540,7 @@ snapshots:
512
540
 
513
541
  foreground-child@3.2.1:
514
542
  dependencies:
515
- cross-spawn: 7.0.3
543
+ cross-spawn: 7.0.5
516
544
  signal-exit: 4.1.0
517
545
  optional: true
518
546
 
@@ -0,0 +1,25 @@
1
+ {
2
+ "lastValidatedTimestamp": 1733956521706,
3
+ "projects": {},
4
+ "pnpmfileExists": false,
5
+ "settings": {
6
+ "autoInstallPeers": true,
7
+ "dedupeDirectDeps": false,
8
+ "dedupeInjectedDeps": true,
9
+ "dedupePeerDependents": true,
10
+ "dev": true,
11
+ "excludeLinksFromLockfile": false,
12
+ "hoistPattern": [
13
+ "*"
14
+ ],
15
+ "hoistWorkspacePackages": true,
16
+ "injectWorkspacePackages": false,
17
+ "linkWorkspacePackages": false,
18
+ "nodeLinker": "hoisted",
19
+ "optional": true,
20
+ "preferWorkspacePackages": false,
21
+ "production": true,
22
+ "publicHoistPattern": []
23
+ },
24
+ "filteredInstall": false
25
+ }
@@ -24,7 +24,7 @@ function hookChildProcess(cp, parsed) {
24
24
  // the command exists and emit an "error" instead
25
25
  // See https://github.com/IndigoUnited/node-cross-spawn/issues/16
26
26
  if (name === 'exit') {
27
- const err = verifyENOENT(arg1, parsed, 'spawn');
27
+ const err = verifyENOENT(arg1, parsed);
28
28
 
29
29
  if (err) {
30
30
  return originalEmit.call(cp, 'error', err);
@@ -15,15 +15,17 @@ function escapeArgument(arg, doubleEscapeMetaChars) {
15
15
  arg = `${arg}`;
16
16
 
17
17
  // Algorithm below is based on https://qntm.org/cmd
18
+ // It's slightly altered to disable JS backtracking to avoid hanging on specially crafted input
19
+ // Please see https://github.com/moxystudio/node-cross-spawn/pull/160 for more information
18
20
 
19
21
  // Sequence of backslashes followed by a double quote:
20
22
  // double up all the backslashes and escape the double quote
21
- arg = arg.replace(/(\\*)"/g, '$1$1\\"');
23
+ arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
22
24
 
23
25
  // Sequence of backslashes followed by the end of the string
24
26
  // (which will become a double quote later):
25
27
  // double up all the backslashes
26
- arg = arg.replace(/(\\*)$/, '$1$1');
28
+ arg = arg.replace(/(?=(\\+?)?)\1$/, '$1$1');
27
29
 
28
30
  // All other backslashes occur literally
29
31
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cross-spawn",
3
- "version": "7.0.3",
3
+ "version": "7.0.5",
4
4
  "description": "Cross platform child_process#spawn and child_process#spawnSync",
5
5
  "keywords": [
6
6
  "spawn",