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.
Files changed (65) hide show
  1. package/dist/node_modules/.modules.yaml +3 -3
  2. package/dist/node_modules/.pnpm/lock.yaml +46 -44
  3. package/dist/node_modules/@npmcli/fs/lib/common/owner-sync.js +8 -4
  4. package/dist/node_modules/@npmcli/fs/lib/common/owner.js +8 -4
  5. package/dist/node_modules/@npmcli/fs/lib/index.js +1 -1
  6. package/dist/node_modules/@npmcli/fs/lib/mkdir.js +19 -0
  7. package/dist/node_modules/@npmcli/fs/lib/with-temp-dir.js +4 -2
  8. package/dist/node_modules/@npmcli/fs/package.json +4 -4
  9. package/dist/node_modules/@npmcli/move-file/lib/index.js +16 -6
  10. package/dist/node_modules/@npmcli/move-file/package.json +3 -3
  11. package/dist/node_modules/are-we-there-yet/lib/tracker-group.js +1 -1
  12. package/dist/node_modules/are-we-there-yet/package.json +12 -13
  13. package/dist/node_modules/cacache/lib/content/read.js +1 -1
  14. package/dist/node_modules/cacache/lib/content/write.js +2 -0
  15. package/dist/node_modules/cacache/lib/entry-index.js +1 -0
  16. package/dist/node_modules/cacache/lib/get.js +1 -0
  17. package/dist/node_modules/cacache/package.json +2 -2
  18. package/dist/node_modules/ip/lib/ip.js +54 -59
  19. package/dist/node_modules/ip/package.json +1 -1
  20. package/dist/node_modules/lru-cache/index.js +21 -8
  21. package/dist/node_modules/lru-cache/package.json +3 -2
  22. package/dist/node_modules/make-fetch-happen/lib/cache/entry.js +2 -0
  23. package/dist/node_modules/make-fetch-happen/package.json +1 -1
  24. package/dist/node_modules/minipass-fetch/lib/body.js +13 -11
  25. package/dist/node_modules/minipass-fetch/package.json +4 -3
  26. package/dist/node_modules/node-gyp/addon.gypi +5 -0
  27. package/dist/node_modules/node-gyp/gyp/.github/workflows/Python_tests.yml +3 -3
  28. package/dist/node_modules/node-gyp/gyp/.github/workflows/node-gyp.yml +5 -5
  29. package/dist/node_modules/node-gyp/gyp/.github/workflows/nodejs-windows.yml +2 -2
  30. package/dist/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +12 -0
  31. package/dist/node_modules/node-gyp/gyp/pylib/gyp/common.py +9 -3
  32. package/dist/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +1 -1
  33. package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +191 -26
  34. package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +7 -4
  35. package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2 -2
  36. package/dist/node_modules/node-gyp/gyp/pylib/gyp/input.py +7 -14
  37. package/dist/node_modules/node-gyp/gyp/setup.py +1 -1
  38. package/dist/node_modules/node-gyp/gyp/test_gyp.py +1 -0
  39. package/dist/node_modules/node-gyp/gyp/tools/pretty_gyp.py +1 -1
  40. package/dist/node_modules/node-gyp/lib/build.js +2 -0
  41. package/dist/node_modules/node-gyp/lib/configure.js +45 -4
  42. package/dist/node_modules/node-gyp/package.json +2 -2
  43. package/dist/node_modules/node-gyp/update-gyp.py +19 -1
  44. package/dist/node_modules/nopt/bin/nopt.js +41 -39
  45. package/dist/node_modules/nopt/lib/nopt.js +222 -148
  46. package/dist/node_modules/nopt/package.json +27 -8
  47. package/dist/node_modules/socks/.eslintrc.cjs +11 -0
  48. package/dist/node_modules/socks/build/client/socksclient.js +8 -6
  49. package/dist/node_modules/socks/build/client/socksclient.js.map +1 -1
  50. package/dist/node_modules/socks/build/common/receivebuffer.js.map +1 -1
  51. package/dist/node_modules/socks/build/common/util.js +0 -1
  52. package/dist/node_modules/socks/build/common/util.js.map +1 -1
  53. package/dist/node_modules/socks/build/index.js +5 -1
  54. package/dist/node_modules/socks/build/index.js.map +1 -1
  55. package/dist/node_modules/socks/package.json +12 -37
  56. package/dist/node_modules/unique-filename/{index.js → lib/index.js} +0 -1
  57. package/dist/node_modules/unique-filename/package.json +29 -8
  58. package/dist/node_modules/unique-slug/{index.js → lib/index.js} +2 -2
  59. package/dist/node_modules/unique-slug/package.json +28 -7
  60. package/dist/pnpm.cjs +687 -625
  61. package/package.json +5 -5
  62. package/dist/node_modules/@npmcli/fs/lib/common/file-url-to-path/index.js +0 -17
  63. package/dist/node_modules/@npmcli/fs/lib/common/file-url-to-path/polyfill.js +0 -121
  64. package/dist/node_modules/@npmcli/fs/lib/mkdir/index.js +0 -29
  65. 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("../lib/nopt")
3
- , path = require("path")
4
- , 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
- , 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
- , parsed = nopt( types
30
- , shorthands
31
- , process.argv
32
- , 2 )
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("parsed", parsed)
34
+ console.log('parsed', parsed)
35
35
 
36
36
  if (parsed.help) {
37
- console.log("")
38
- console.log("nopt cli tester")
39
- console.log("")
40
- console.log("types")
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 (type) { return type.name })]
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("shorthands")
53
+ console.log('')
54
+ console.log('shorthands')
53
55
  console.log(shorthands)
54
56
  }