pnpm 9.2.0 → 9.3.0

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.
Files changed (46) hide show
  1. package/README.md +1 -1
  2. package/dist/node_modules/.modules.yaml +7 -7
  3. package/dist/node_modules/cross-spawn/node_modules/isexe/package.json +31 -0
  4. package/dist/node_modules/{node-gyp/node_modules/isexe → cross-spawn/node_modules/which}/LICENSE +1 -1
  5. package/dist/node_modules/cross-spawn/node_modules/which/package.json +43 -0
  6. package/dist/node_modules/isexe/LICENSE +1 -1
  7. package/dist/node_modules/isexe/package.json +79 -14
  8. package/dist/node_modules/which/package.json +34 -20
  9. package/dist/pnpm.cjs +40 -17
  10. package/package.json +1 -1
  11. package/dist/node_modules/node-gyp/node_modules/isexe/package.json +0 -96
  12. package/dist/node_modules/node-gyp/node_modules/which/package.json +0 -57
  13. /package/dist/node_modules/{node-gyp/node_modules/which → cross-spawn/node_modules/isexe}/LICENSE +0 -0
  14. /package/dist/node_modules/{isexe → cross-spawn/node_modules/isexe}/index.js +0 -0
  15. /package/dist/node_modules/{isexe → cross-spawn/node_modules/isexe}/mode.js +0 -0
  16. /package/dist/node_modules/{isexe → cross-spawn/node_modules/isexe}/windows.js +0 -0
  17. /package/dist/node_modules/{which → cross-spawn/node_modules/which}/bin/node-which +0 -0
  18. /package/dist/node_modules/{which → cross-spawn/node_modules/which}/which.js +0 -0
  19. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/index.d.ts.map +0 -0
  20. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/index.js +0 -0
  21. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/index.js.map +0 -0
  22. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/options.d.ts.map +0 -0
  23. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/options.js +0 -0
  24. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/options.js.map +0 -0
  25. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/package.json +0 -0
  26. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/posix.d.ts.map +0 -0
  27. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/posix.js +0 -0
  28. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/posix.js.map +0 -0
  29. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/win32.d.ts.map +0 -0
  30. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/win32.js +0 -0
  31. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/win32.js.map +0 -0
  32. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/index.d.ts.map +0 -0
  33. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/index.js +0 -0
  34. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/index.js.map +0 -0
  35. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/options.d.ts.map +0 -0
  36. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/options.js +0 -0
  37. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/options.js.map +0 -0
  38. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/package.json +0 -0
  39. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/posix.d.ts.map +0 -0
  40. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/posix.js +0 -0
  41. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/posix.js.map +0 -0
  42. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/win32.d.ts.map +0 -0
  43. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/win32.js +0 -0
  44. /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/win32.js.map +0 -0
  45. /package/dist/node_modules/{node-gyp/node_modules/which → which}/bin/which.js +0 -0
  46. /package/dist/node_modules/{node-gyp/node_modules/which → which}/lib/index.js +0 -0
package/README.md CHANGED
@@ -83,7 +83,7 @@ To quote the [Rush](https://rushjs.io/) team:
83
83
  <picture>
84
84
  <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/jetbrains.svg" />
85
85
  <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/jetbrains.svg" />
86
- <img src="https://pnpm.io/img/users/jetbrains.svg" width="85" />
86
+ <img src="https://pnpm.io/img/users/jetbrains.svg" width="180" />
87
87
  </picture>
88
88
  </a>
89
89
  </td>
@@ -16,9 +16,9 @@ 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/string-width-cjs/node_modules/ansi-regex
21
20
  - node_modules/wrap-ansi-cjs/node_modules/ansi-regex
21
+ - node_modules/strip-ansi-cjs/node_modules/ansi-regex
22
22
  ansi-regex@6.0.1:
23
23
  - node_modules/ansi-regex
24
24
  ansi-styles@4.3.0:
@@ -87,9 +87,9 @@ hoistedLocations:
87
87
  is-lambda@1.0.1:
88
88
  - node_modules/is-lambda
89
89
  isexe@2.0.0:
90
- - node_modules/isexe
90
+ - node_modules/cross-spawn/node_modules/isexe
91
91
  isexe@3.1.1:
92
- - node_modules/node-gyp/node_modules/isexe
92
+ - node_modules/isexe
93
93
  jackspeak@2.3.6:
94
94
  - node_modules/jackspeak
95
95
  jsbn@1.1.0:
@@ -186,9 +186,9 @@ hoistedLocations:
186
186
  v8-compile-cache@2.4.0:
187
187
  - node_modules/v8-compile-cache
188
188
  which@2.0.2:
189
- - node_modules/which
189
+ - node_modules/cross-spawn/node_modules/which
190
190
  which@4.0.0:
191
- - node_modules/node-gyp/node_modules/which
191
+ - node_modules/which
192
192
  wrap-ansi@7.0.0:
193
193
  - node_modules/wrap-ansi-cjs
194
194
  wrap-ansi@8.1.0:
@@ -202,9 +202,9 @@ included:
202
202
  injectedDeps: {}
203
203
  layoutVersion: 5
204
204
  nodeLinker: hoisted
205
- packageManager: pnpm@9.1.4
205
+ packageManager: pnpm@9.2.0
206
206
  pendingBuilds: []
207
- prunedAt: Wed, 05 Jun 2024 13:13:00 GMT
207
+ prunedAt: Mon, 10 Jun 2024 12:25:40 GMT
208
208
  publicHoistPattern:
209
209
  - '*eslint*'
210
210
  - '*prettier*'
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "isexe",
3
+ "version": "2.0.0",
4
+ "description": "Minimal module to check if a file is executable.",
5
+ "main": "index.js",
6
+ "directories": {
7
+ "test": "test"
8
+ },
9
+ "devDependencies": {
10
+ "mkdirp": "^0.5.1",
11
+ "rimraf": "^2.5.0",
12
+ "tap": "^10.3.0"
13
+ },
14
+ "scripts": {
15
+ "test": "tap test/*.js --100",
16
+ "preversion": "npm test",
17
+ "postversion": "npm publish",
18
+ "postpublish": "git push origin --all; git push origin --tags"
19
+ },
20
+ "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
21
+ "license": "ISC",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/isaacs/isexe.git"
25
+ },
26
+ "keywords": [],
27
+ "bugs": {
28
+ "url": "https://github.com/isaacs/isexe/issues"
29
+ },
30
+ "homepage": "https://github.com/isaacs/isexe#readme"
31
+ }
@@ -1,6 +1,6 @@
1
1
  The ISC License
2
2
 
3
- Copyright (c) 2016-2022 Isaac Z. Schlueter and Contributors
3
+ Copyright (c) Isaac Z. Schlueter and Contributors
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
6
6
  purpose with or without fee is hereby granted, provided that the above
@@ -0,0 +1,43 @@
1
+ {
2
+ "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
3
+ "name": "which",
4
+ "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
5
+ "version": "2.0.2",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git://github.com/isaacs/node-which.git"
9
+ },
10
+ "main": "which.js",
11
+ "bin": {
12
+ "node-which": "./bin/node-which"
13
+ },
14
+ "license": "ISC",
15
+ "dependencies": {
16
+ "isexe": "^2.0.0"
17
+ },
18
+ "devDependencies": {
19
+ "mkdirp": "^0.5.0",
20
+ "rimraf": "^2.6.2",
21
+ "tap": "^14.6.9"
22
+ },
23
+ "scripts": {
24
+ "test": "tap",
25
+ "preversion": "npm test",
26
+ "postversion": "npm publish",
27
+ "prepublish": "npm run changelog",
28
+ "prechangelog": "bash gen-changelog.sh",
29
+ "changelog": "git add CHANGELOG.md",
30
+ "postchangelog": "git commit -m 'update changelog - '${npm_package_version}",
31
+ "postpublish": "git push origin --follow-tags"
32
+ },
33
+ "files": [
34
+ "which.js",
35
+ "bin/node-which"
36
+ ],
37
+ "tap": {
38
+ "check-coverage": true
39
+ },
40
+ "engines": {
41
+ "node": ">= 8"
42
+ }
43
+ }
@@ -1,6 +1,6 @@
1
1
  The ISC License
2
2
 
3
- Copyright (c) Isaac Z. Schlueter and Contributors
3
+ Copyright (c) 2016-2022 Isaac Z. Schlueter and Contributors
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
6
6
  purpose with or without fee is hereby granted, provided that the above
@@ -1,31 +1,96 @@
1
1
  {
2
2
  "name": "isexe",
3
- "version": "2.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "Minimal module to check if a file is executable.",
5
- "main": "index.js",
6
- "directories": {
7
- "test": "test"
5
+ "main": "./dist/cjs/index.js",
6
+ "module": "./dist/mjs/index.js",
7
+ "types": "./dist/cjs/index.js",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/mjs/index.d.ts",
15
+ "default": "./dist/mjs/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/cjs/index.d.ts",
19
+ "default": "./dist/cjs/index.js"
20
+ }
21
+ },
22
+ "./posix": {
23
+ "import": {
24
+ "types": "./dist/mjs/posix.d.ts",
25
+ "default": "./dist/mjs/posix.js"
26
+ },
27
+ "require": {
28
+ "types": "./dist/cjs/posix.d.ts",
29
+ "default": "./dist/cjs/posix.js"
30
+ }
31
+ },
32
+ "./win32": {
33
+ "import": {
34
+ "types": "./dist/mjs/win32.d.ts",
35
+ "default": "./dist/mjs/win32.js"
36
+ },
37
+ "require": {
38
+ "types": "./dist/cjs/win32.d.ts",
39
+ "default": "./dist/cjs/win32.js"
40
+ }
41
+ },
42
+ "./package.json": "./package.json"
8
43
  },
9
44
  "devDependencies": {
45
+ "@types/node": "^20.4.5",
46
+ "@types/tap": "^15.0.8",
47
+ "c8": "^8.0.1",
10
48
  "mkdirp": "^0.5.1",
49
+ "prettier": "^2.8.8",
11
50
  "rimraf": "^2.5.0",
12
- "tap": "^10.3.0"
51
+ "sync-content": "^1.0.2",
52
+ "tap": "^16.3.8",
53
+ "ts-node": "^10.9.1",
54
+ "typedoc": "^0.24.8",
55
+ "typescript": "^5.1.6"
13
56
  },
14
57
  "scripts": {
15
- "test": "tap test/*.js --100",
16
58
  "preversion": "npm test",
17
59
  "postversion": "npm publish",
18
- "postpublish": "git push origin --all; git push origin --tags"
60
+ "prepublishOnly": "git push origin --follow-tags",
61
+ "prepare": "tsc -p tsconfig/cjs.json && tsc -p tsconfig/esm.json && bash ./scripts/fixup.sh",
62
+ "pretest": "npm run prepare",
63
+ "presnap": "npm run prepare",
64
+ "test": "c8 tap",
65
+ "snap": "c8 tap",
66
+ "format": "prettier --write . --loglevel warn --ignore-path ../../.prettierignore --cache",
67
+ "typedoc": "typedoc --tsconfig tsconfig/esm.json ./src/*.ts"
19
68
  },
20
69
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
21
70
  "license": "ISC",
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/isaacs/isexe.git"
71
+ "tap": {
72
+ "coverage": false,
73
+ "node-arg": [
74
+ "--enable-source-maps",
75
+ "--no-warnings",
76
+ "--loader",
77
+ "ts-node/esm"
78
+ ],
79
+ "ts": false
25
80
  },
26
- "keywords": [],
27
- "bugs": {
28
- "url": "https://github.com/isaacs/isexe/issues"
81
+ "prettier": {
82
+ "semi": false,
83
+ "printWidth": 75,
84
+ "tabWidth": 2,
85
+ "useTabs": false,
86
+ "singleQuote": true,
87
+ "jsxSingleQuote": false,
88
+ "bracketSameLine": true,
89
+ "arrowParens": "avoid",
90
+ "endOfLine": "lf"
29
91
  },
30
- "homepage": "https://github.com/isaacs/isexe#readme"
92
+ "repository": "https://github.com/isaacs/isexe",
93
+ "engines": {
94
+ "node": ">=16"
95
+ }
31
96
  }
@@ -1,43 +1,57 @@
1
1
  {
2
- "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
2
+ "author": "GitHub Inc.",
3
3
  "name": "which",
4
4
  "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
5
- "version": "2.0.2",
5
+ "version": "4.0.0",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git://github.com/isaacs/node-which.git"
8
+ "url": "https://github.com/npm/node-which.git"
9
9
  },
10
- "main": "which.js",
10
+ "main": "lib/index.js",
11
11
  "bin": {
12
- "node-which": "./bin/node-which"
12
+ "node-which": "./bin/which.js"
13
13
  },
14
14
  "license": "ISC",
15
15
  "dependencies": {
16
- "isexe": "^2.0.0"
16
+ "isexe": "^3.1.1"
17
17
  },
18
18
  "devDependencies": {
19
- "mkdirp": "^0.5.0",
20
- "rimraf": "^2.6.2",
21
- "tap": "^14.6.9"
19
+ "@npmcli/eslint-config": "^4.0.0",
20
+ "@npmcli/template-oss": "4.18.0",
21
+ "tap": "^16.3.0"
22
22
  },
23
23
  "scripts": {
24
24
  "test": "tap",
25
- "preversion": "npm test",
26
- "postversion": "npm publish",
27
- "prepublish": "npm run changelog",
28
- "prechangelog": "bash gen-changelog.sh",
29
- "changelog": "git add CHANGELOG.md",
30
- "postchangelog": "git commit -m 'update changelog - '${npm_package_version}",
31
- "postpublish": "git push origin --follow-tags"
25
+ "lint": "eslint \"**/*.js\"",
26
+ "postlint": "template-oss-check",
27
+ "template-oss-apply": "template-oss-apply --force",
28
+ "lintfix": "npm run lint -- --fix",
29
+ "snap": "tap",
30
+ "posttest": "npm run lint"
32
31
  },
33
32
  "files": [
34
- "which.js",
35
- "bin/node-which"
33
+ "bin/",
34
+ "lib/"
36
35
  ],
37
36
  "tap": {
38
- "check-coverage": true
37
+ "check-coverage": true,
38
+ "nyc-arg": [
39
+ "--exclude",
40
+ "tap-snapshots/**"
41
+ ]
39
42
  },
40
43
  "engines": {
41
- "node": ">= 8"
44
+ "node": "^16.13.0 || >=18.0.0"
45
+ },
46
+ "templateOSS": {
47
+ "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
48
+ "ciVersions": [
49
+ "16.13.0",
50
+ "16.x",
51
+ "18.0.0",
52
+ "18.x"
53
+ ],
54
+ "version": "4.18.0",
55
+ "publish": "true"
42
56
  }
43
57
  }
package/dist/pnpm.cjs CHANGED
@@ -3357,7 +3357,7 @@ var require_lib4 = __commonJS({
3357
3357
  var load_json_file_1 = __importDefault2(require_load_json_file());
3358
3358
  var defaultManifest = {
3359
3359
  name: true ? "pnpm" : "pnpm",
3360
- version: true ? "9.2.0" : "0.0.0"
3360
+ version: true ? "9.3.0" : "0.0.0"
3361
3361
  };
3362
3362
  var pkgJson;
3363
3363
  if (require.main == null) {
@@ -22254,6 +22254,7 @@ var require_lib21 = __commonJS({
22254
22254
  "verify-store-integrity": Boolean,
22255
22255
  "virtual-store-dir": String,
22256
22256
  "virtual-store-dir-max-length": Number,
22257
+ "peers-suffix-max-length": Number,
22257
22258
  "workspace-concurrency": Number,
22258
22259
  "workspace-packages": [String, Array],
22259
22260
  "workspace-root": Boolean,
@@ -22365,7 +22366,8 @@ var require_lib21 = __commonJS({
22365
22366
  "workspace-prefix": opts.workspaceDir,
22366
22367
  "embed-readme": false,
22367
22368
  "registry-supports-time-field": false,
22368
- "virtual-store-dir-max-length": 120
22369
+ "virtual-store-dir-max-length": 120,
22370
+ "peers-suffix-max-length": 1e3
22369
22371
  };
22370
22372
  const { config: npmConfig, warnings, failedToLoadBuiltInConfig } = (0, npm_conf_1.default)(cliOptions, rcOptionsTypes, defaultOptions);
22371
22373
  const configDir = (0, dirs_1.getConfigDir)(process);
@@ -113249,8 +113251,8 @@ var require_lib88 = __commonJS({
113249
113251
  }
113250
113252
  return depPath.replace(":", "+");
113251
113253
  }
113252
- function createPeersDirSuffix(peerIds) {
113253
- const dirName = peerIds.map((peerId) => {
113254
+ function createPeersDirSuffix(peerIds, maxLength = 1e3) {
113255
+ let dirName = peerIds.map((peerId) => {
113254
113256
  if (typeof peerId !== "string") {
113255
113257
  return `${peerId.name}@${peerId.version}`;
113256
113258
  }
@@ -113259,6 +113261,9 @@ var require_lib88 = __commonJS({
113259
113261
  }
113260
113262
  return peerId;
113261
113263
  }).sort().join(")(");
113264
+ if (dirName.length > maxLength) {
113265
+ dirName = (0, crypto_base32_hash_1.createBase32Hash)(dirName);
113266
+ }
113262
113267
  return `(${dirName})`;
113263
113268
  }
113264
113269
  exports2.createPeersDirSuffix = createPeersDirSuffix;
@@ -114256,6 +114261,9 @@ var require_lockfileFormatConverters = __commonJS({
114256
114261
  lockfileVersion: constants_1.LOCKFILE_VERSION,
114257
114262
  importers: mapValues(lockfile.importers, convertProjectSnapshotToInlineSpecifiersFormat)
114258
114263
  };
114264
+ if (newLockfile.settings?.peersSuffixMaxLength === 1e3) {
114265
+ newLockfile.settings = (0, omit_1.default)(["peersSuffixMaxLength"], newLockfile.settings);
114266
+ }
114259
114267
  return normalizeLockfile(newLockfile, opts);
114260
114268
  }
114261
114269
  exports2.convertToLockfileFile = convertToLockfileFile;
@@ -115025,7 +115033,8 @@ var require_read = __commonJS({
115025
115033
  lockfileVersion: opts.lockfileVersion || constants_1.LOCKFILE_VERSION,
115026
115034
  settings: {
115027
115035
  autoInstallPeers: opts.autoInstallPeers,
115028
- excludeLinksFromLockfile: opts.excludeLinksFromLockfile
115036
+ excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
115037
+ peersSuffixMaxLength: opts.peersSuffixMaxLength
115029
115038
  }
115030
115039
  };
115031
115040
  }
@@ -133136,7 +133145,8 @@ var require_readLockfiles = __commonJS({
133136
133145
  const sopts = {
133137
133146
  autoInstallPeers: opts.autoInstallPeers,
133138
133147
  excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
133139
- lockfileVersion: wantedLockfileVersion
133148
+ lockfileVersion: wantedLockfileVersion,
133149
+ peersSuffixMaxLength: opts.peersSuffixMaxLength
133140
133150
  };
133141
133151
  const importerIds = opts.projects.map((importer) => importer.id);
133142
133152
  const currentLockfile = files[1] ?? (0, lockfile_file_1.createLockfileObject)(importerIds, sopts);
@@ -133277,6 +133287,7 @@ var require_lib122 = __commonJS({
133277
133287
  ...await (0, readLockfiles_1.readLockfiles)({
133278
133288
  autoInstallPeers: opts.autoInstallPeers,
133279
133289
  excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
133290
+ peersSuffixMaxLength: opts.peersSuffixMaxLength,
133280
133291
  force: opts.force,
133281
133292
  frozenLockfile: opts.frozenLockfile === true,
133282
133293
  lockfileDir: opts.lockfileDir,
@@ -133471,6 +133482,7 @@ var require_lib122 = __commonJS({
133471
133482
  ...await (0, readLockfiles_1.readLockfiles)({
133472
133483
  autoInstallPeers: opts.autoInstallPeers,
133473
133484
  excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
133485
+ peersSuffixMaxLength: opts.peersSuffixMaxLength,
133474
133486
  force: opts.force,
133475
133487
  frozenLockfile: false,
133476
133488
  lockfileDir: opts.lockfileDir,
@@ -189106,6 +189118,7 @@ var require_resolvePeers = __commonJS({
189106
189118
  peersCache: /* @__PURE__ */ new Map(),
189107
189119
  peerDependencyIssues,
189108
189120
  purePkgs: /* @__PURE__ */ new Set(),
189121
+ peersSuffixMaxLength: opts.peersSuffixMaxLength,
189109
189122
  rootDir,
189110
189123
  virtualStoreDir: opts.virtualStoreDir,
189111
189124
  virtualStoreDirMaxLength: opts.virtualStoreDirMaxLength
@@ -189386,7 +189399,7 @@ var require_resolvePeers = __commonJS({
189386
189399
  pendingPeerNodeIds.push(peerNodeId);
189387
189400
  }
189388
189401
  if (pendingPeerNodeIds.length === 0) {
189389
- const peersDirSuffix = (0, dependency_path_1.createPeersDirSuffix)(peerIds);
189402
+ const peersDirSuffix = (0, dependency_path_1.createPeersDirSuffix)(peerIds, ctx.peersSuffixMaxLength);
189390
189403
  addDepPathToGraph(`${resolvedPackage.pkgIdWithPatchHash}${peersDirSuffix}`);
189391
189404
  } else {
189392
189405
  calculateDepPathIfNeeded = calculateDepPath.bind(null, peerIds, pendingPeerNodeIds);
@@ -189416,7 +189429,7 @@ var require_resolvePeers = __commonJS({
189416
189429
  }
189417
189430
  return ctx.pathsByNodeIdPromises.get(peerNodeId).promise;
189418
189431
  }))
189419
- ]);
189432
+ ], ctx.peersSuffixMaxLength);
189420
189433
  addDepPathToGraph(`${resolvedPackage.pkgIdWithPatchHash}${peersDirSuffix}`);
189421
189434
  }
189422
189435
  function addDepPathToGraph(depPath) {
@@ -190423,7 +190436,8 @@ var require_lib147 = __commonJS({
190423
190436
  virtualStoreDir: opts.virtualStoreDir,
190424
190437
  virtualStoreDirMaxLength: opts.virtualStoreDirMaxLength,
190425
190438
  resolvePeersFromWorkspaceRoot: Boolean(opts.resolvePeersFromWorkspaceRoot),
190426
- resolvedImporters
190439
+ resolvedImporters,
190440
+ peersSuffixMaxLength: opts.peersSuffixMaxLength
190427
190441
  });
190428
190442
  const linkedDependenciesByProjectId = {};
190429
190443
  await Promise.all(projectsToResolve.map(async (project, index) => {
@@ -192359,7 +192373,8 @@ var require_extendInstallOptions = __commonJS({
192359
192373
  ignoreWorkspaceCycles: false,
192360
192374
  disallowWorkspaceCycles: false,
192361
192375
  excludeLinksFromLockfile: false,
192362
- virtualStoreDirMaxLength: 120
192376
+ virtualStoreDirMaxLength: 120,
192377
+ peersSuffixMaxLength: 1e3
192363
192378
  };
192364
192379
  };
192365
192380
  function extendOptions(opts) {
@@ -192980,6 +192995,7 @@ var require_install = __commonJS({
192980
192995
  const outdatedLockfileSettingName = getOutdatedLockfileSetting(ctx.wantedLockfile, {
192981
192996
  autoInstallPeers: opts.autoInstallPeers,
192982
192997
  excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
192998
+ peersSuffixMaxLength: opts.peersSuffixMaxLength,
192983
192999
  overrides: opts.overrides,
192984
193000
  ignoredOptionalDependencies: opts.ignoredOptionalDependencies?.sort(),
192985
193001
  packageExtensionsChecksum,
@@ -192996,7 +193012,8 @@ var require_install = __commonJS({
192996
193012
  if (needsFullResolution) {
192997
193013
  ctx.wantedLockfile.settings = {
192998
193014
  autoInstallPeers: opts.autoInstallPeers,
192999
- excludeLinksFromLockfile: opts.excludeLinksFromLockfile
193015
+ excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
193016
+ peersSuffixMaxLength: opts.peersSuffixMaxLength
193000
193017
  };
193001
193018
  ctx.wantedLockfile.overrides = opts.overrides;
193002
193019
  ctx.wantedLockfile.packageExtensionsChecksum = packageExtensionsChecksum;
@@ -193006,7 +193023,8 @@ var require_install = __commonJS({
193006
193023
  } else if (!frozenLockfile) {
193007
193024
  ctx.wantedLockfile.settings = {
193008
193025
  autoInstallPeers: opts.autoInstallPeers,
193009
- excludeLinksFromLockfile: opts.excludeLinksFromLockfile
193026
+ excludeLinksFromLockfile: opts.excludeLinksFromLockfile,
193027
+ peersSuffixMaxLength: opts.peersSuffixMaxLength
193010
193028
  };
193011
193029
  }
193012
193030
  if (!ctx.lockfileHadConflicts && !opts.fixLockfile && !opts.dedupe && installsOnly && (frozenLockfile || opts.ignorePackageManifest || !needsFullResolution && opts.preferFrozenLockfile && (!opts.pruneLockfileImporters || Object.keys(ctx.wantedLockfile.importers).length === Object.keys(ctx.projects).length) && ctx.existsNonEmptyWantedLockfile && (ctx.wantedLockfile.lockfileVersion === constants_1.LOCKFILE_VERSION || ctx.wantedLockfile.lockfileVersion === constants_1.LOCKFILE_VERSION_V6 || ctx.wantedLockfile.lockfileVersion === "6.1") && await (0, allProjectsAreUpToDate_1.allProjectsAreUpToDate)(Object.values(ctx.projects), {
@@ -193278,7 +193296,7 @@ Note that in CI environments, this setting is enabled by default.`
193278
193296
  };
193279
193297
  }, patches);
193280
193298
  }
193281
- function getOutdatedLockfileSetting(lockfile, { onlyBuiltDependencies, overrides, packageExtensionsChecksum, ignoredOptionalDependencies, patchedDependencies, autoInstallPeers, excludeLinksFromLockfile, pnpmfileChecksum }) {
193299
+ function getOutdatedLockfileSetting(lockfile, { overrides, packageExtensionsChecksum, ignoredOptionalDependencies, patchedDependencies, autoInstallPeers, excludeLinksFromLockfile, peersSuffixMaxLength, pnpmfileChecksum }) {
193282
193300
  if (!(0, equals_1.default)(lockfile.overrides ?? {}, overrides ?? {})) {
193283
193301
  return "overrides";
193284
193302
  }
@@ -193297,6 +193315,9 @@ Note that in CI environments, this setting is enabled by default.`
193297
193315
  if (lockfile.settings?.excludeLinksFromLockfile != null && lockfile.settings.excludeLinksFromLockfile !== excludeLinksFromLockfile) {
193298
193316
  return "settings.excludeLinksFromLockfile";
193299
193317
  }
193318
+ if (lockfile.settings?.peersSuffixMaxLength != null && lockfile.settings.peersSuffixMaxLength !== peersSuffixMaxLength || lockfile.settings?.peersSuffixMaxLength == null && peersSuffixMaxLength !== 1e3) {
193319
+ return "settings.peersSuffixMaxLength";
193320
+ }
193300
193321
  if (lockfile.pnpmfileChecksum !== pnpmfileChecksum) {
193301
193322
  return "pnpmfileChecksum";
193302
193323
  }
@@ -193457,7 +193478,8 @@ Note that in CI environments, this setting is enabled by default.`
193457
193478
  patchedDependencies: opts.patchedDependencies,
193458
193479
  lockfileIncludeTarballUrl: opts.lockfileIncludeTarballUrl,
193459
193480
  resolvePeersFromWorkspaceRoot: opts.resolvePeersFromWorkspaceRoot,
193460
- supportedArchitectures: opts.supportedArchitectures
193481
+ supportedArchitectures: opts.supportedArchitectures,
193482
+ peersSuffixMaxLength: opts.peersSuffixMaxLength
193461
193483
  });
193462
193484
  if (!opts.include.optionalDependencies || !opts.include.devDependencies || !opts.include.dependencies) {
193463
193485
  linkedDependenciesByProjectId = (0, map_1.default)((linkedDeps) => linkedDeps.filter((linkedDep) => !(linkedDep.dev && !opts.include.devDependencies || linkedDep.optional && !opts.include.optionalDependencies || !linkedDep.dev && !linkedDep.optional && !opts.include.dependencies)), linkedDependenciesByProjectId ?? {});
@@ -194030,7 +194052,8 @@ var require_getPeerDependencyIssues = __commonJS({
194030
194052
  virtualStoreDirMaxLength: ctx.virtualStoreDirMaxLength,
194031
194053
  wantedLockfile: ctx.wantedLockfile,
194032
194054
  workspacePackages: opts.workspacePackages ?? {},
194033
- supportedArchitectures: opts.supportedArchitectures
194055
+ supportedArchitectures: opts.supportedArchitectures,
194056
+ peersSuffixMaxLength: opts.peersSuffixMaxLength
194034
194057
  });
194035
194058
  await waitTillAllFetchingsFinish();
194036
194059
  return peerDependencyIssuesByProjects;
@@ -220136,7 +220159,7 @@ var require_patchCommit = __commonJS({
220136
220159
  let stdout;
220137
220160
  let stderr;
220138
220161
  try {
220139
- const result2 = await (0, safe_execa_1.default)("git", ["-c", "core.safecrlf=false", "diff", "--src-prefix=a/", "--dst-prefix=b/", "--ignore-cr-at-eol", "--irreversible-delete", "--full-index", "--no-index", "--text", folderAN, folderBN], {
220162
+ const result2 = await (0, safe_execa_1.default)("git", ["-c", "core.safecrlf=false", "diff", "--src-prefix=a/", "--dst-prefix=b/", "--ignore-cr-at-eol", "--irreversible-delete", "--full-index", "--no-index", "--text", "--no-ext-diff", folderAN, folderBN], {
220140
220163
  cwd: process.cwd(),
220141
220164
  env: {
220142
220165
  ...process.env,
@@ -222069,7 +222092,7 @@ var require_exec = __commonJS({
222069
222092
  "./node_modules/.bin",
222070
222093
  ...opts.extraBinPaths
222071
222094
  ];
222072
- const reporterShowPrefix = opts.recursive && !opts.reporterHidePrefix;
222095
+ const reporterShowPrefix = opts.recursive && opts.reporterHidePrefix === false;
222073
222096
  for (const chunk of chunks) {
222074
222097
  await Promise.all(chunk.map(async (prefix) => limitRun(async () => {
222075
222098
  result2[prefix].status = "running";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pnpm",
3
3
  "description": "Fast, disk space efficient package manager",
4
- "version": "9.2.0",
4
+ "version": "9.3.0",
5
5
  "bin": {
6
6
  "pnpm": "bin/pnpm.cjs",
7
7
  "pnpx": "bin/pnpx.cjs"
@@ -1,96 +0,0 @@
1
- {
2
- "name": "isexe",
3
- "version": "3.1.1",
4
- "description": "Minimal module to check if a file is executable.",
5
- "main": "./dist/cjs/index.js",
6
- "module": "./dist/mjs/index.js",
7
- "types": "./dist/cjs/index.js",
8
- "files": [
9
- "dist"
10
- ],
11
- "exports": {
12
- ".": {
13
- "import": {
14
- "types": "./dist/mjs/index.d.ts",
15
- "default": "./dist/mjs/index.js"
16
- },
17
- "require": {
18
- "types": "./dist/cjs/index.d.ts",
19
- "default": "./dist/cjs/index.js"
20
- }
21
- },
22
- "./posix": {
23
- "import": {
24
- "types": "./dist/mjs/posix.d.ts",
25
- "default": "./dist/mjs/posix.js"
26
- },
27
- "require": {
28
- "types": "./dist/cjs/posix.d.ts",
29
- "default": "./dist/cjs/posix.js"
30
- }
31
- },
32
- "./win32": {
33
- "import": {
34
- "types": "./dist/mjs/win32.d.ts",
35
- "default": "./dist/mjs/win32.js"
36
- },
37
- "require": {
38
- "types": "./dist/cjs/win32.d.ts",
39
- "default": "./dist/cjs/win32.js"
40
- }
41
- },
42
- "./package.json": "./package.json"
43
- },
44
- "devDependencies": {
45
- "@types/node": "^20.4.5",
46
- "@types/tap": "^15.0.8",
47
- "c8": "^8.0.1",
48
- "mkdirp": "^0.5.1",
49
- "prettier": "^2.8.8",
50
- "rimraf": "^2.5.0",
51
- "sync-content": "^1.0.2",
52
- "tap": "^16.3.8",
53
- "ts-node": "^10.9.1",
54
- "typedoc": "^0.24.8",
55
- "typescript": "^5.1.6"
56
- },
57
- "scripts": {
58
- "preversion": "npm test",
59
- "postversion": "npm publish",
60
- "prepublishOnly": "git push origin --follow-tags",
61
- "prepare": "tsc -p tsconfig/cjs.json && tsc -p tsconfig/esm.json && bash ./scripts/fixup.sh",
62
- "pretest": "npm run prepare",
63
- "presnap": "npm run prepare",
64
- "test": "c8 tap",
65
- "snap": "c8 tap",
66
- "format": "prettier --write . --loglevel warn --ignore-path ../../.prettierignore --cache",
67
- "typedoc": "typedoc --tsconfig tsconfig/esm.json ./src/*.ts"
68
- },
69
- "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
70
- "license": "ISC",
71
- "tap": {
72
- "coverage": false,
73
- "node-arg": [
74
- "--enable-source-maps",
75
- "--no-warnings",
76
- "--loader",
77
- "ts-node/esm"
78
- ],
79
- "ts": false
80
- },
81
- "prettier": {
82
- "semi": false,
83
- "printWidth": 75,
84
- "tabWidth": 2,
85
- "useTabs": false,
86
- "singleQuote": true,
87
- "jsxSingleQuote": false,
88
- "bracketSameLine": true,
89
- "arrowParens": "avoid",
90
- "endOfLine": "lf"
91
- },
92
- "repository": "https://github.com/isaacs/isexe",
93
- "engines": {
94
- "node": ">=16"
95
- }
96
- }
@@ -1,57 +0,0 @@
1
- {
2
- "author": "GitHub Inc.",
3
- "name": "which",
4
- "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
5
- "version": "4.0.0",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/npm/node-which.git"
9
- },
10
- "main": "lib/index.js",
11
- "bin": {
12
- "node-which": "./bin/which.js"
13
- },
14
- "license": "ISC",
15
- "dependencies": {
16
- "isexe": "^3.1.1"
17
- },
18
- "devDependencies": {
19
- "@npmcli/eslint-config": "^4.0.0",
20
- "@npmcli/template-oss": "4.18.0",
21
- "tap": "^16.3.0"
22
- },
23
- "scripts": {
24
- "test": "tap",
25
- "lint": "eslint \"**/*.js\"",
26
- "postlint": "template-oss-check",
27
- "template-oss-apply": "template-oss-apply --force",
28
- "lintfix": "npm run lint -- --fix",
29
- "snap": "tap",
30
- "posttest": "npm run lint"
31
- },
32
- "files": [
33
- "bin/",
34
- "lib/"
35
- ],
36
- "tap": {
37
- "check-coverage": true,
38
- "nyc-arg": [
39
- "--exclude",
40
- "tap-snapshots/**"
41
- ]
42
- },
43
- "engines": {
44
- "node": "^16.13.0 || >=18.0.0"
45
- },
46
- "templateOSS": {
47
- "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
48
- "ciVersions": [
49
- "16.13.0",
50
- "16.x",
51
- "18.0.0",
52
- "18.x"
53
- ],
54
- "version": "4.18.0",
55
- "publish": "true"
56
- }
57
- }