pnpm 10.22.0 → 11.0.0-alpha.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.
- package/bin/{pnpm.cjs → pnpm.mjs} +8 -7
- package/bin/{pnpx.cjs → pnpx.mjs} +1 -1
- package/dist/node_modules/.modules.yaml +7 -7
- package/dist/node_modules/.pnpm/lock.yaml +2 -2
- package/dist/node_modules/.pnpm-workspace-state-v1.json +1 -1
- package/dist/node_modules/isexe/LICENSE +1 -1
- package/dist/node_modules/isexe/package.json +14 -79
- package/dist/node_modules/{cross-spawn/node_modules/which → node-gyp/node_modules/isexe}/LICENSE +1 -1
- package/dist/node_modules/node-gyp/node_modules/isexe/package.json +96 -0
- package/dist/node_modules/node-gyp/node_modules/which/package.json +52 -0
- package/dist/node_modules/which/package.json +20 -29
- package/dist/{pnpm.cjs → pnpm.mjs} +155280 -153215
- package/dist/worker.js +4232 -4512
- package/package.json +19 -12
- package/dist/node_modules/cross-spawn/node_modules/isexe/package.json +0 -31
- package/dist/node_modules/cross-spawn/node_modules/which/package.json +0 -43
- /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/index.js +0 -0
- /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/mode.js +0 -0
- /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/windows.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.d.ts.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.js.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.d.ts.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.js.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/package.json +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.d.ts.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.js.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.d.ts.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.js.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.d.ts.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.js.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.d.ts.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.js.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/package.json +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.d.ts.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.js.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.d.ts.map +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.js +0 -0
- /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.js.map +0 -0
- /package/dist/node_modules/{cross-spawn/node_modules/isexe → node-gyp/node_modules/which}/LICENSE +0 -0
- /package/dist/node_modules/{which → node-gyp/node_modules/which}/bin/which.js +0 -0
- /package/dist/node_modules/{which → node-gyp/node_modules/which}/lib/index.js +0 -0
- /package/dist/node_modules/{cross-spawn/node_modules/which → which}/bin/node-which +0 -0
- /package/dist/node_modules/{cross-spawn/node_modules/which → which}/which.js +0 -0
|
@@ -3,26 +3,27 @@ const [major, minor] = process.version.slice(1).split('.')
|
|
|
3
3
|
const COMPATIBILITY_PAGE = `Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.`
|
|
4
4
|
|
|
5
5
|
// We don't use the semver library here because:
|
|
6
|
-
// 1. it is already bundled to dist/pnpm.
|
|
6
|
+
// 1. it is already bundled to dist/pnpm.mjs, so we would load it twice
|
|
7
7
|
// 2. we want this file to support potentially older Node.js versions than what semver supports
|
|
8
|
-
if (major <
|
|
9
|
-
console.error(`ERROR: This version of pnpm requires at least Node.js
|
|
8
|
+
if (major < 20 || major == 20 && minor < 19) {
|
|
9
|
+
console.error(`ERROR: This version of pnpm requires at least Node.js v20.19
|
|
10
10
|
The current version of Node.js is ${process.version}
|
|
11
11
|
${COMPATIBILITY_PAGE}`)
|
|
12
12
|
process.exit(1)
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
import * as module from 'module'
|
|
16
|
+
|
|
15
17
|
// We need to load v8-compile-cache.js separately in order to have effect
|
|
16
18
|
try {
|
|
17
|
-
|
|
18
|
-
if(!require('module')?.enableCompileCache?.())
|
|
19
|
-
require('v8-compile-cache');
|
|
19
|
+
module.enableCompileCache?.()
|
|
20
20
|
} catch {
|
|
21
21
|
// We don't have/need to care about v8-compile-cache failed
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
global['pnpm__startedAt'] = Date.now()
|
|
25
|
-
|
|
25
|
+
|
|
26
|
+
import {} from '../dist/pnpm.mjs'
|
|
26
27
|
|
|
27
28
|
// if you want to debug at your local env, you can use this
|
|
28
29
|
// require('../lib/pnpm')
|
|
@@ -16,8 +16,8 @@ hoistedLocations:
|
|
|
16
16
|
agent-base@7.1.4:
|
|
17
17
|
- node_modules/agent-base
|
|
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.2.2:
|
|
23
23
|
- node_modules/ansi-regex
|
|
@@ -81,9 +81,9 @@ hoistedLocations:
|
|
|
81
81
|
is-fullwidth-code-point@3.0.0:
|
|
82
82
|
- node_modules/is-fullwidth-code-point
|
|
83
83
|
isexe@2.0.0:
|
|
84
|
-
- node_modules/cross-spawn/node_modules/isexe
|
|
85
|
-
isexe@3.1.1:
|
|
86
84
|
- node_modules/isexe
|
|
85
|
+
isexe@3.1.1:
|
|
86
|
+
- node_modules/node-gyp/node_modules/isexe
|
|
87
87
|
jackspeak@3.4.3:
|
|
88
88
|
- node_modules/jackspeak
|
|
89
89
|
lru-cache@10.4.3:
|
|
@@ -174,9 +174,9 @@ hoistedLocations:
|
|
|
174
174
|
v8-compile-cache@2.4.0:
|
|
175
175
|
- node_modules/v8-compile-cache
|
|
176
176
|
which@2.0.2:
|
|
177
|
-
- node_modules/cross-spawn/node_modules/which
|
|
178
|
-
which@5.0.0:
|
|
179
177
|
- node_modules/which
|
|
178
|
+
which@5.0.0:
|
|
179
|
+
- node_modules/node-gyp/node_modules/which
|
|
180
180
|
wrap-ansi@7.0.0:
|
|
181
181
|
- node_modules/wrap-ansi-cjs
|
|
182
182
|
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.
|
|
197
|
+
packageManager: pnpm@10.22.0
|
|
198
198
|
pendingBuilds: []
|
|
199
|
-
prunedAt:
|
|
199
|
+
prunedAt: Thu, 13 Nov 2025 16:20:17 GMT
|
|
200
200
|
publicHoistPattern: []
|
|
201
201
|
registries:
|
|
202
202
|
'@jsr': https://npm.jsr.io/
|
|
@@ -17,7 +17,7 @@ overrides:
|
|
|
17
17
|
hosted-git-info@1: npm:@pnpm/hosted-git-info@1.0.0
|
|
18
18
|
http-proxy-middleware@<2.0.7: ^2.0.7
|
|
19
19
|
istanbul-reports: npm:@zkochan/istanbul-reports
|
|
20
|
-
js-yaml@^4.0.0: npm:@zkochan/js-yaml@0.0.
|
|
20
|
+
js-yaml@^4.0.0: npm:@zkochan/js-yaml@0.0.10
|
|
21
21
|
json5@<2.2.2: ^2.2.3
|
|
22
22
|
jsonwebtoken@<=8.5.1: '>=9.0.0'
|
|
23
23
|
nopt@5: npm:@pnpm/nopt@^0.2.1
|
|
@@ -26,7 +26,7 @@ overrides:
|
|
|
26
26
|
path-to-regexp@>=4.0.0 <6.3.0: '>=6.3.0'
|
|
27
27
|
path-to-regexp@>=7.0.0 <8.0.0: '>=8.0.0'
|
|
28
28
|
request: npm:postman-request@2.88.1-postman.40
|
|
29
|
-
semver@<7.5.2: ^7.7.
|
|
29
|
+
semver@<7.5.2: ^7.7.2
|
|
30
30
|
send@<0.19.0: ^0.19.0
|
|
31
31
|
serve-static@<1.16.0: ^1.16.0
|
|
32
32
|
socks@2: ^2.8.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The ISC License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
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
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Minimal module to check if a file is executable.",
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
7
|
-
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
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
|
-
"
|
|
82
|
-
|
|
83
|
-
"
|
|
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
|
-
"
|
|
93
|
-
"engines": {
|
|
94
|
-
"node": ">=16"
|
|
95
|
-
}
|
|
30
|
+
"homepage": "https://github.com/isaacs/isexe#readme"
|
|
96
31
|
}
|
package/dist/node_modules/{cross-spawn/node_modules/which → node-gyp/node_modules/isexe}/LICENSE
RENAMED
|
@@ -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": "
|
|
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
|
+
"version": "2.0.2",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git
|
|
8
|
+
"url": "git://github.com/isaacs/node-which.git"
|
|
9
9
|
},
|
|
10
|
-
"main": "
|
|
10
|
+
"main": "which.js",
|
|
11
11
|
"bin": {
|
|
12
|
-
"node-which": "./bin/which
|
|
12
|
+
"node-which": "./bin/node-which"
|
|
13
13
|
},
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"isexe": "^
|
|
16
|
+
"isexe": "^2.0.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"tap": "^
|
|
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
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
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
|
-
"
|
|
35
|
-
"
|
|
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": "
|
|
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
|
}
|