pnpm 7.13.1 → 7.13.2
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/dist/node_modules/.modules.yaml +3 -3
- package/dist/node_modules/.pnpm/lock.yaml +46 -44
- package/dist/node_modules/@npmcli/fs/lib/common/owner-sync.js +8 -4
- package/dist/node_modules/@npmcli/fs/lib/common/owner.js +8 -4
- package/dist/node_modules/@npmcli/fs/lib/index.js +1 -1
- package/dist/node_modules/@npmcli/fs/lib/mkdir.js +19 -0
- package/dist/node_modules/@npmcli/fs/lib/with-temp-dir.js +4 -2
- package/dist/node_modules/@npmcli/fs/package.json +4 -4
- package/dist/node_modules/@npmcli/move-file/lib/index.js +16 -6
- package/dist/node_modules/@npmcli/move-file/package.json +3 -3
- package/dist/node_modules/are-we-there-yet/lib/tracker-group.js +1 -1
- package/dist/node_modules/are-we-there-yet/package.json +12 -13
- package/dist/node_modules/cacache/lib/content/read.js +1 -1
- package/dist/node_modules/cacache/lib/content/write.js +2 -0
- package/dist/node_modules/cacache/lib/entry-index.js +1 -0
- package/dist/node_modules/cacache/lib/get.js +1 -0
- package/dist/node_modules/cacache/package.json +2 -2
- package/dist/node_modules/ip/lib/ip.js +54 -59
- package/dist/node_modules/ip/package.json +1 -1
- package/dist/node_modules/lru-cache/index.js +21 -8
- package/dist/node_modules/lru-cache/package.json +3 -2
- package/dist/node_modules/make-fetch-happen/lib/cache/entry.js +2 -0
- package/dist/node_modules/make-fetch-happen/package.json +1 -1
- package/dist/node_modules/minipass-fetch/lib/body.js +13 -11
- package/dist/node_modules/minipass-fetch/package.json +4 -3
- package/dist/node_modules/node-gyp/addon.gypi +5 -0
- package/dist/node_modules/node-gyp/gyp/.github/workflows/Python_tests.yml +3 -3
- package/dist/node_modules/node-gyp/gyp/.github/workflows/node-gyp.yml +5 -5
- package/dist/node_modules/node-gyp/gyp/.github/workflows/nodejs-windows.yml +2 -2
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +12 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/common.py +9 -3
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +1 -1
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +191 -26
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +7 -4
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2 -2
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/input.py +7 -14
- package/dist/node_modules/node-gyp/gyp/setup.py +1 -1
- package/dist/node_modules/node-gyp/gyp/test_gyp.py +1 -0
- package/dist/node_modules/node-gyp/gyp/tools/pretty_gyp.py +1 -1
- package/dist/node_modules/node-gyp/lib/build.js +2 -0
- package/dist/node_modules/node-gyp/lib/configure.js +45 -4
- package/dist/node_modules/node-gyp/package.json +2 -2
- package/dist/node_modules/node-gyp/update-gyp.py +19 -1
- package/dist/node_modules/nopt/bin/nopt.js +41 -39
- package/dist/node_modules/nopt/lib/nopt.js +222 -148
- package/dist/node_modules/nopt/package.json +27 -8
- package/dist/node_modules/socks/.eslintrc.cjs +11 -0
- package/dist/node_modules/socks/build/client/socksclient.js +8 -6
- package/dist/node_modules/socks/build/client/socksclient.js.map +1 -1
- package/dist/node_modules/socks/build/common/receivebuffer.js.map +1 -1
- package/dist/node_modules/socks/build/common/util.js +0 -1
- package/dist/node_modules/socks/build/common/util.js.map +1 -1
- package/dist/node_modules/socks/build/index.js +5 -1
- package/dist/node_modules/socks/build/index.js.map +1 -1
- package/dist/node_modules/socks/package.json +12 -37
- package/dist/node_modules/unique-filename/{index.js → lib/index.js} +0 -1
- package/dist/node_modules/unique-filename/package.json +29 -8
- package/dist/node_modules/unique-slug/{index.js → lib/index.js} +2 -2
- package/dist/node_modules/unique-slug/package.json +28 -7
- package/dist/pnpm.cjs +687 -625
- package/package.json +5 -5
- package/dist/node_modules/@npmcli/fs/lib/common/file-url-to-path/index.js +0 -17
- package/dist/node_modules/@npmcli/fs/lib/common/file-url-to-path/polyfill.js +0 -121
- package/dist/node_modules/@npmcli/fs/lib/mkdir/index.js +0 -29
- package/dist/node_modules/@npmcli/fs/lib/mkdir/polyfill.js +0 -81
|
@@ -1,54 +1,56 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var nopt = require(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
2
|
+
var nopt = require('../lib/nopt')
|
|
3
|
+
var path = require('path')
|
|
4
|
+
var types = { num: Number,
|
|
5
|
+
bool: Boolean,
|
|
6
|
+
help: Boolean,
|
|
7
|
+
list: Array,
|
|
8
|
+
'num-list': [Number, Array],
|
|
9
|
+
'str-list': [String, Array],
|
|
10
|
+
'bool-list': [Boolean, Array],
|
|
11
|
+
str: String,
|
|
12
|
+
clear: Boolean,
|
|
13
|
+
config: Boolean,
|
|
14
|
+
length: Number,
|
|
15
|
+
file: path,
|
|
16
|
+
}
|
|
17
|
+
var shorthands = { s: ['--str', 'astring'],
|
|
18
|
+
b: ['--bool'],
|
|
19
|
+
nb: ['--no-bool'],
|
|
20
|
+
tft: ['--bool-list', '--no-bool-list', '--bool-list', 'true'],
|
|
21
|
+
'?': ['--help'],
|
|
22
|
+
h: ['--help'],
|
|
23
|
+
H: ['--help'],
|
|
24
|
+
n: ['--num', '125'],
|
|
25
|
+
c: ['--config'],
|
|
26
|
+
l: ['--length'],
|
|
27
|
+
f: ['--file'],
|
|
28
|
+
}
|
|
29
|
+
var parsed = nopt(types
|
|
30
|
+
, shorthands
|
|
31
|
+
, process.argv
|
|
32
|
+
, 2)
|
|
33
33
|
|
|
34
|
-
console.log(
|
|
34
|
+
console.log('parsed', parsed)
|
|
35
35
|
|
|
36
36
|
if (parsed.help) {
|
|
37
|
-
console.log(
|
|
38
|
-
console.log(
|
|
39
|
-
console.log(
|
|
40
|
-
console.log(
|
|
37
|
+
console.log('')
|
|
38
|
+
console.log('nopt cli tester')
|
|
39
|
+
console.log('')
|
|
40
|
+
console.log('types')
|
|
41
41
|
console.log(Object.keys(types).map(function M (t) {
|
|
42
42
|
var type = types[t]
|
|
43
43
|
if (Array.isArray(type)) {
|
|
44
|
-
return [t, type.map(function (
|
|
44
|
+
return [t, type.map(function (mappedType) {
|
|
45
|
+
return mappedType.name
|
|
46
|
+
})]
|
|
45
47
|
}
|
|
46
48
|
return [t, type && type.name]
|
|
47
49
|
}).reduce(function (s, i) {
|
|
48
50
|
s[i[0]] = i[1]
|
|
49
51
|
return s
|
|
50
52
|
}, {}))
|
|
51
|
-
console.log(
|
|
52
|
-
console.log(
|
|
53
|
+
console.log('')
|
|
54
|
+
console.log('shorthands')
|
|
53
55
|
console.log(shorthands)
|
|
54
56
|
}
|