pnpm 10.5.1 → 10.6.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 (51) hide show
  1. package/README.md +18 -0
  2. package/dist/node_modules/.modules.yaml +11 -11
  3. package/dist/node_modules/.pnpm/lock.yaml +6 -6
  4. package/dist/node_modules/.pnpm-workspace-state.json +1 -1
  5. package/dist/node_modules/isexe/LICENSE +1 -1
  6. package/dist/node_modules/isexe/package.json +14 -79
  7. package/dist/node_modules/minipass-fetch/lib/index.js +1 -2
  8. package/dist/node_modules/minipass-fetch/package.json +1 -1
  9. package/dist/node_modules/{cross-spawn/node_modules/which → node-gyp/node_modules/isexe}/LICENSE +1 -1
  10. package/dist/node_modules/node-gyp/node_modules/isexe/package.json +96 -0
  11. package/dist/node_modules/node-gyp/node_modules/which/package.json +52 -0
  12. package/dist/node_modules/which/package.json +20 -29
  13. package/dist/pnpm.cjs +25818 -25416
  14. package/dist/worker.js +4552 -5227
  15. package/package.json +50 -49
  16. package/dist/node_modules/cross-spawn/node_modules/isexe/package.json +0 -31
  17. package/dist/node_modules/cross-spawn/node_modules/which/package.json +0 -43
  18. /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/index.js +0 -0
  19. /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/mode.js +0 -0
  20. /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/windows.js +0 -0
  21. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.d.ts.map +0 -0
  22. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.js +0 -0
  23. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.js.map +0 -0
  24. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.d.ts.map +0 -0
  25. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.js +0 -0
  26. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.js.map +0 -0
  27. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/package.json +0 -0
  28. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.d.ts.map +0 -0
  29. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.js +0 -0
  30. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.js.map +0 -0
  31. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.d.ts.map +0 -0
  32. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.js +0 -0
  33. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.js.map +0 -0
  34. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.d.ts.map +0 -0
  35. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.js +0 -0
  36. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.js.map +0 -0
  37. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.d.ts.map +0 -0
  38. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.js +0 -0
  39. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.js.map +0 -0
  40. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/package.json +0 -0
  41. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.d.ts.map +0 -0
  42. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.js +0 -0
  43. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.js.map +0 -0
  44. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.d.ts.map +0 -0
  45. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.js +0 -0
  46. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.js.map +0 -0
  47. /package/dist/node_modules/{cross-spawn/node_modules/isexe → node-gyp/node_modules/which}/LICENSE +0 -0
  48. /package/dist/node_modules/{which → node-gyp/node_modules/which}/bin/which.js +0 -0
  49. /package/dist/node_modules/{which → node-gyp/node_modules/which}/lib/index.js +0 -0
  50. /package/dist/node_modules/{cross-spawn/node_modules/which → which}/bin/node-which +0 -0
  51. /package/dist/node_modules/{cross-spawn/node_modules/which → which}/which.js +0 -0
package/README.md CHANGED
@@ -44,6 +44,15 @@ To quote the [Rush](https://rushjs.io/) team:
44
44
  <td align="center" valign="middle">
45
45
  <a href="https://sanity.io/?utm_source=pnpm&utm_medium=readme" target="_blank"><img src="https://pnpm.io/img/users/sanity.svg" width="180" alt="Bit"></a>
46
46
  </td>
47
+ <td align="center" valign="middle">
48
+ <a href="https://syntax.fm/?utm_source=pnpm&utm_medium=readme" target="_blank">
49
+ <picture>
50
+ <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/syntaxfm.svg" />
51
+ <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/syntaxfm_light.svg" />
52
+ <img src="https://pnpm.io/img/users/syntaxfm.svg" width="90" alt="Syntax" />
53
+ </picture>
54
+ </a>
55
+ </td>
47
56
  </tr>
48
57
  </tbody>
49
58
  </table>
@@ -118,6 +127,15 @@ To quote the [Rush](https://rushjs.io/) team:
118
127
  </picture>
119
128
  </a>
120
129
  </td>
130
+ <td align="center" valign="middle">
131
+ <a href="https://stackblitz.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
132
+ <picture>
133
+ <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/stackblitz.svg" />
134
+ <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/stackblitz_light.svg" />
135
+ <img src="https://pnpm.io/img/users/stackblitz.svg" width="190" alt="Stackblitz" />
136
+ </picture>
137
+ </a>
138
+ </td>
121
139
  </tr>
122
140
  </tbody>
123
141
  </table>
@@ -17,8 +17,8 @@ hoistedLocations:
17
17
  - node_modules/agent-base
18
18
  ansi-regex@5.0.1:
19
19
  - node_modules/strip-ansi-cjs/node_modules/ansi-regex
20
- - node_modules/wrap-ansi-cjs/node_modules/ansi-regex
21
20
  - node_modules/string-width-cjs/node_modules/ansi-regex
21
+ - node_modules/wrap-ansi-cjs/node_modules/ansi-regex
22
22
  ansi-regex@6.1.0:
23
23
  - node_modules/ansi-regex
24
24
  ansi-styles@4.3.0:
@@ -44,8 +44,8 @@ hoistedLocations:
44
44
  eastasianwidth@0.2.0:
45
45
  - node_modules/eastasianwidth
46
46
  emoji-regex@8.0.0:
47
- - node_modules/wrap-ansi-cjs/node_modules/emoji-regex
48
47
  - node_modules/string-width-cjs/node_modules/emoji-regex
48
+ - node_modules/wrap-ansi-cjs/node_modules/emoji-regex
49
49
  emoji-regex@9.2.2:
50
50
  - node_modules/emoji-regex
51
51
  encoding@0.1.13:
@@ -79,9 +79,9 @@ hoistedLocations:
79
79
  is-fullwidth-code-point@3.0.0:
80
80
  - node_modules/is-fullwidth-code-point
81
81
  isexe@2.0.0:
82
- - node_modules/cross-spawn/node_modules/isexe
83
- isexe@3.1.1:
84
82
  - node_modules/isexe
83
+ isexe@3.1.1:
84
+ - node_modules/node-gyp/node_modules/isexe
85
85
  jackspeak@3.4.3:
86
86
  - node_modules/jackspeak
87
87
  jsbn@1.1.0:
@@ -94,7 +94,7 @@ hoistedLocations:
94
94
  - node_modules/minimatch
95
95
  minipass-collect@2.0.1:
96
96
  - node_modules/minipass-collect
97
- minipass-fetch@4.0.0:
97
+ minipass-fetch@4.0.1:
98
98
  - node_modules/minipass-fetch
99
99
  minipass-flush@1.0.5:
100
100
  - node_modules/minipass-flush
@@ -103,8 +103,8 @@ hoistedLocations:
103
103
  minipass-sized@1.0.3:
104
104
  - node_modules/minipass-sized
105
105
  minipass@3.3.6:
106
- - node_modules/minipass-flush/node_modules/minipass
107
106
  - node_modules/minipass-pipeline/node_modules/minipass
107
+ - node_modules/minipass-flush/node_modules/minipass
108
108
  - node_modules/minipass-sized/node_modules/minipass
109
109
  minipass@7.1.2:
110
110
  - node_modules/minipass
@@ -162,8 +162,8 @@ hoistedLocations:
162
162
  string-width@5.1.2:
163
163
  - node_modules/string-width
164
164
  strip-ansi@6.0.1:
165
- - node_modules/wrap-ansi-cjs/node_modules/strip-ansi
166
165
  - node_modules/string-width-cjs/node_modules/strip-ansi
166
+ - node_modules/wrap-ansi-cjs/node_modules/strip-ansi
167
167
  - node_modules/strip-ansi-cjs
168
168
  strip-ansi@7.1.0:
169
169
  - node_modules/strip-ansi
@@ -176,9 +176,9 @@ hoistedLocations:
176
176
  v8-compile-cache@2.4.0:
177
177
  - node_modules/v8-compile-cache
178
178
  which@2.0.2:
179
- - node_modules/cross-spawn/node_modules/which
180
- which@5.0.0:
181
179
  - node_modules/which
180
+ which@5.0.0:
181
+ - node_modules/node-gyp/node_modules/which
182
182
  wrap-ansi@7.0.0:
183
183
  - node_modules/wrap-ansi-cjs
184
184
  wrap-ansi@8.1.0:
@@ -194,9 +194,9 @@ included:
194
194
  injectedDeps: {}
195
195
  layoutVersion: 5
196
196
  nodeLinker: hoisted
197
- packageManager: pnpm@10.5.0
197
+ packageManager: pnpm@10.5.2
198
198
  pendingBuilds: []
199
- prunedAt: Wed, 26 Feb 2025 12:10:51 GMT
199
+ prunedAt: Thu, 06 Mar 2025 11:32:14 GMT
200
200
  publicHoistPattern: []
201
201
  registries:
202
202
  default: https://registry.npmjs.org/
@@ -25,7 +25,7 @@ overrides:
25
25
  path-to-regexp@>=4.0.0 <6.3.0: '>=6.3.0'
26
26
  path-to-regexp@>=7.0.0 <8.0.0: '>=8.0.0'
27
27
  request: npm:postman-request@2.88.1-postman.40
28
- semver@<7.5.2: ^7.6.2
28
+ semver@<7.5.2: ^7.7.1
29
29
  send@<0.19.0: ^0.19.0
30
30
  serve-static@<1.16.0: ^1.16.0
31
31
  socks@2: ^2.8.1
@@ -42,7 +42,7 @@ importers:
42
42
  version: 2.4.0
43
43
  optionalDependencies:
44
44
  node-gyp:
45
- specifier: ^11.0.0
45
+ specifier: ^11.1.0
46
46
  version: 11.1.0
47
47
 
48
48
  packages:
@@ -217,8 +217,8 @@ packages:
217
217
  resolution: {integrity: sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==}
218
218
  engines: {node: '>=16 || 14 >=14.17'}
219
219
 
220
- minipass-fetch@4.0.0:
221
- resolution: {integrity: sha512-2v6aXUXwLP1Epd/gc32HAMIWoczx+fZwEPRHm/VwtrJzRGwR1qGZXEYV3Zp8ZjjbwaZhMrM6uHV4KVkk+XCc2w==}
220
+ minipass-fetch@4.0.1:
221
+ resolution: {integrity: sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ==}
222
222
  engines: {node: ^18.17.0 || >=20.5.0}
223
223
 
224
224
  minipass-flush@1.0.5:
@@ -604,7 +604,7 @@ snapshots:
604
604
  cacache: 19.0.1
605
605
  http-cache-semantics: 4.1.1
606
606
  minipass: 7.1.2
607
- minipass-fetch: 4.0.0
607
+ minipass-fetch: 4.0.1
608
608
  minipass-flush: 1.0.5
609
609
  minipass-pipeline: 1.2.4
610
610
  negotiator: 1.0.0
@@ -625,7 +625,7 @@ snapshots:
625
625
  minipass: 7.1.2
626
626
  optional: true
627
627
 
628
- minipass-fetch@4.0.0:
628
+ minipass-fetch@4.0.1:
629
629
  dependencies:
630
630
  minipass: 7.1.2
631
631
  minipass-sized: 1.0.3
@@ -1,5 +1,5 @@
1
1
  {
2
- "lastValidatedTimestamp": 1740571851338,
2
+ "lastValidatedTimestamp": 1741260734369,
3
3
  "projects": {},
4
4
  "pnpmfileExists": false,
5
5
  "settings": {
@@ -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
@@ -1,96 +1,31 @@
1
1
  {
2
2
  "name": "isexe",
3
- "version": "3.1.1",
3
+ "version": "2.0.0",
4
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"
5
+ "main": "index.js",
6
+ "directories": {
7
+ "test": "test"
43
8
  },
44
9
  "devDependencies": {
45
- "@types/node": "^20.4.5",
46
- "@types/tap": "^15.0.8",
47
- "c8": "^8.0.1",
48
10
  "mkdirp": "^0.5.1",
49
- "prettier": "^2.8.8",
50
11
  "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"
12
+ "tap": "^10.3.0"
56
13
  },
57
14
  "scripts": {
15
+ "test": "tap test/*.js --100",
58
16
  "preversion": "npm test",
59
17
  "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"
18
+ "postpublish": "git push origin --all; git push origin --tags"
68
19
  },
69
20
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
70
21
  "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
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/isaacs/isexe.git"
80
25
  },
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"
26
+ "keywords": [],
27
+ "bugs": {
28
+ "url": "https://github.com/isaacs/isexe/issues"
91
29
  },
92
- "repository": "https://github.com/isaacs/isexe",
93
- "engines": {
94
- "node": ">=16"
95
- }
30
+ "homepage": "https://github.com/isaacs/isexe#readme"
96
31
  }
@@ -318,8 +318,7 @@ const fetch = async (url, opts) => {
318
318
  if (codings === 'deflate' || codings === 'x-deflate') {
319
319
  // handle the infamous raw deflate response from old servers
320
320
  // a hack for old IIS and Apache servers
321
- const raw = res.pipe(new Minipass())
322
- raw.once('data', chunk => {
321
+ res.once('data', chunk => {
323
322
  // see http://stackoverflow.com/questions/37519828
324
323
  const decoder = (chunk[0] & 0x0F) === 0x08
325
324
  ? new zlib.Inflate()
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minipass-fetch",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "An implementation of window.fetch in Node.js using Minipass streams",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -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
@@ -0,0 +1,96 @@
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
+ }
@@ -0,0 +1,52 @@
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": "5.0.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+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": "^5.0.0",
20
+ "@npmcli/template-oss": "4.23.3",
21
+ "tap": "^16.3.0"
22
+ },
23
+ "scripts": {
24
+ "test": "tap",
25
+ "lint": "npm run eslint",
26
+ "postlint": "template-oss-check",
27
+ "template-oss-apply": "template-oss-apply --force",
28
+ "lintfix": "npm run eslint -- --fix",
29
+ "snap": "tap",
30
+ "posttest": "npm run lint",
31
+ "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
32
+ },
33
+ "files": [
34
+ "bin/",
35
+ "lib/"
36
+ ],
37
+ "tap": {
38
+ "check-coverage": true,
39
+ "nyc-arg": [
40
+ "--exclude",
41
+ "tap-snapshots/**"
42
+ ]
43
+ },
44
+ "engines": {
45
+ "node": "^18.17.0 || >=20.5.0"
46
+ },
47
+ "templateOSS": {
48
+ "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
49
+ "version": "4.23.3",
50
+ "publish": "true"
51
+ }
52
+ }
@@ -1,52 +1,43 @@
1
1
  {
2
- "author": "GitHub Inc.",
2
+ "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
3
3
  "name": "which",
4
4
  "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
5
- "version": "5.0.0",
5
+ "version": "2.0.2",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/npm/node-which.git"
8
+ "url": "git://github.com/isaacs/node-which.git"
9
9
  },
10
- "main": "lib/index.js",
10
+ "main": "which.js",
11
11
  "bin": {
12
- "node-which": "./bin/which.js"
12
+ "node-which": "./bin/node-which"
13
13
  },
14
14
  "license": "ISC",
15
15
  "dependencies": {
16
- "isexe": "^3.1.1"
16
+ "isexe": "^2.0.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@npmcli/eslint-config": "^5.0.0",
20
- "@npmcli/template-oss": "4.23.3",
21
- "tap": "^16.3.0"
19
+ "mkdirp": "^0.5.0",
20
+ "rimraf": "^2.6.2",
21
+ "tap": "^14.6.9"
22
22
  },
23
23
  "scripts": {
24
24
  "test": "tap",
25
- "lint": "npm run eslint",
26
- "postlint": "template-oss-check",
27
- "template-oss-apply": "template-oss-apply --force",
28
- "lintfix": "npm run eslint -- --fix",
29
- "snap": "tap",
30
- "posttest": "npm run lint",
31
- "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
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
32
  },
33
33
  "files": [
34
- "bin/",
35
- "lib/"
34
+ "which.js",
35
+ "bin/node-which"
36
36
  ],
37
37
  "tap": {
38
- "check-coverage": true,
39
- "nyc-arg": [
40
- "--exclude",
41
- "tap-snapshots/**"
42
- ]
38
+ "check-coverage": true
43
39
  },
44
40
  "engines": {
45
- "node": "^18.17.0 || >=20.5.0"
46
- },
47
- "templateOSS": {
48
- "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
49
- "version": "4.23.3",
50
- "publish": "true"
41
+ "node": ">= 8"
51
42
  }
52
43
  }