dsh-x-core 0.1.22 → 0.1.25

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 (2252) hide show
  1. package/app-version.js +27 -0
  2. package/apply-update.mjs +143 -143
  3. package/assets/dsh.ico +0 -0
  4. package/assets/icon.ico +0 -0
  5. package/assets/tray.ico +0 -0
  6. package/assets/tray.png +0 -0
  7. package/compat/diagnostics.mjs +54 -54
  8. package/compat/instance-link.cjs +58 -0
  9. package/compat/plugin-market.mjs +21 -21
  10. package/compat/register.mjs +10 -10
  11. package/compat/session-events.mjs +122 -122
  12. package/compat/worker-events.cjs +66 -66
  13. package/configuration-evidence.js +195 -195
  14. package/core-npm.js +18 -0
  15. package/desktop-plugins.js +61 -0
  16. package/desktop.js +200 -0
  17. package/diagnostic-command-error.js +71 -71
  18. package/diagnostic-repair.js +237 -237
  19. package/filemanager-base.js +187 -187
  20. package/filemanager-mac.js +147 -147
  21. package/filemanager-windows.js +144 -144
  22. package/filemanager.js +29 -29
  23. package/instance-link.js +157 -0
  24. package/lan-proxy.js +234 -0
  25. package/log-writer.js +46 -46
  26. package/mcp.js +770 -770
  27. package/node/node +0 -0
  28. package/node/node_modules/npm/LICENSE +235 -235
  29. package/node/node_modules/npm/README.md +63 -63
  30. package/node/node_modules/npm/bin/node-gyp-bin/node-gyp +6 -6
  31. package/node/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +5 -5
  32. package/node/node_modules/npm/bin/npm +0 -0
  33. package/node/node_modules/npm/bin/npm-cli.js +2 -2
  34. package/node/node_modules/npm/bin/npm-prefix.js +30 -30
  35. package/node/node_modules/npm/bin/npm.cmd +0 -0
  36. package/node/node_modules/npm/bin/npm.ps1 +48 -48
  37. package/node/node_modules/npm/bin/npx +0 -0
  38. package/node/node_modules/npm/bin/npx-cli.js +130 -130
  39. package/node/node_modules/npm/bin/npx.cmd +0 -0
  40. package/node/node_modules/npm/bin/npx.ps1 +48 -48
  41. package/node/node_modules/npm/docs/content/commands/npm-access.md +123 -123
  42. package/node/node_modules/npm/docs/content/commands/npm-adduser.md +86 -86
  43. package/node/node_modules/npm/docs/content/commands/npm-audit.md +478 -478
  44. package/node/node_modules/npm/docs/content/commands/npm-bugs.md +109 -109
  45. package/node/node_modules/npm/docs/content/commands/npm-cache.md +94 -94
  46. package/node/node_modules/npm/docs/content/commands/npm-ci.md +318 -318
  47. package/node/node_modules/npm/docs/content/commands/npm-completion.md +41 -41
  48. package/node/node_modules/npm/docs/content/commands/npm-config.md +182 -182
  49. package/node/node_modules/npm/docs/content/commands/npm-dedupe.md +320 -320
  50. package/node/node_modules/npm/docs/content/commands/npm-deprecate.md +73 -73
  51. package/node/node_modules/npm/docs/content/commands/npm-diff.md +319 -319
  52. package/node/node_modules/npm/docs/content/commands/npm-dist-tag.md +154 -154
  53. package/node/node_modules/npm/docs/content/commands/npm-docs.md +108 -108
  54. package/node/node_modules/npm/docs/content/commands/npm-doctor.md +123 -123
  55. package/node/node_modules/npm/docs/content/commands/npm-edit.md +46 -46
  56. package/node/node_modules/npm/docs/content/commands/npm-exec.md +366 -366
  57. package/node/node_modules/npm/docs/content/commands/npm-explain.md +105 -105
  58. package/node/node_modules/npm/docs/content/commands/npm-explore.md +49 -49
  59. package/node/node_modules/npm/docs/content/commands/npm-find-dupes.md +246 -246
  60. package/node/node_modules/npm/docs/content/commands/npm-fund.md +145 -145
  61. package/node/node_modules/npm/docs/content/commands/npm-help-search.md +40 -40
  62. package/node/node_modules/npm/docs/content/commands/npm-help.md +46 -46
  63. package/node/node_modules/npm/docs/content/commands/npm-hook.md +112 -112
  64. package/node/node_modules/npm/docs/content/commands/npm-init.md +349 -349
  65. package/node/node_modules/npm/docs/content/commands/npm-install-ci-test.md +265 -265
  66. package/node/node_modules/npm/docs/content/commands/npm-install-test.md +372 -372
  67. package/node/node_modules/npm/docs/content/commands/npm-install.md +806 -806
  68. package/node/node_modules/npm/docs/content/commands/npm-link.md +396 -396
  69. package/node/node_modules/npm/docs/content/commands/npm-login.md +93 -93
  70. package/node/node_modules/npm/docs/content/commands/npm-logout.md +75 -75
  71. package/node/node_modules/npm/docs/content/commands/npm-ls.md +294 -294
  72. package/node/node_modules/npm/docs/content/commands/npm-org.md +114 -114
  73. package/node/node_modules/npm/docs/content/commands/npm-outdated.md +178 -178
  74. package/node/node_modules/npm/docs/content/commands/npm-owner.md +106 -106
  75. package/node/node_modules/npm/docs/content/commands/npm-pack.md +126 -126
  76. package/node/node_modules/npm/docs/content/commands/npm-ping.md +46 -46
  77. package/node/node_modules/npm/docs/content/commands/npm-pkg.md +272 -272
  78. package/node/node_modules/npm/docs/content/commands/npm-prefix.md +59 -59
  79. package/node/node_modules/npm/docs/content/commands/npm-profile.md +120 -120
  80. package/node/node_modules/npm/docs/content/commands/npm-prune.md +197 -197
  81. package/node/node_modules/npm/docs/content/commands/npm-publish.md +238 -238
  82. package/node/node_modules/npm/docs/content/commands/npm-query.md +272 -272
  83. package/node/node_modules/npm/docs/content/commands/npm-rebuild.md +169 -169
  84. package/node/node_modules/npm/docs/content/commands/npm-repo.md +102 -102
  85. package/node/node_modules/npm/docs/content/commands/npm-restart.md +70 -70
  86. package/node/node_modules/npm/docs/content/commands/npm-root.md +51 -51
  87. package/node/node_modules/npm/docs/content/commands/npm-run-script.md +254 -254
  88. package/node/node_modules/npm/docs/content/commands/npm-sbom.md +318 -318
  89. package/node/node_modules/npm/docs/content/commands/npm-search.md +160 -160
  90. package/node/node_modules/npm/docs/content/commands/npm-shrinkwrap.md +32 -32
  91. package/node/node_modules/npm/docs/content/commands/npm-star.md +78 -78
  92. package/node/node_modules/npm/docs/content/commands/npm-stars.md +40 -40
  93. package/node/node_modules/npm/docs/content/commands/npm-start.md +80 -80
  94. package/node/node_modules/npm/docs/content/commands/npm-stop.md +73 -73
  95. package/node/node_modules/npm/docs/content/commands/npm-team.md +155 -155
  96. package/node/node_modules/npm/docs/content/commands/npm-test.md +70 -70
  97. package/node/node_modules/npm/docs/content/commands/npm-token.md +112 -112
  98. package/node/node_modules/npm/docs/content/commands/npm-uninstall.md +159 -159
  99. package/node/node_modules/npm/docs/content/commands/npm-unpublish.md +136 -136
  100. package/node/node_modules/npm/docs/content/commands/npm-unstar.md +74 -74
  101. package/node/node_modules/npm/docs/content/commands/npm-update.md +446 -446
  102. package/node/node_modules/npm/docs/content/commands/npm-version.md +235 -235
  103. package/node/node_modules/npm/docs/content/commands/npm-view.md +200 -200
  104. package/node/node_modules/npm/docs/content/commands/npm-whoami.md +41 -41
  105. package/node/node_modules/npm/docs/content/commands/npm.md +175 -175
  106. package/node/node_modules/npm/docs/content/commands/npx.md +168 -168
  107. package/node/node_modules/npm/docs/content/configuring-npm/folders.md +219 -219
  108. package/node/node_modules/npm/docs/content/configuring-npm/install.md +78 -78
  109. package/node/node_modules/npm/docs/content/configuring-npm/npm-shrinkwrap-json.md +34 -34
  110. package/node/node_modules/npm/docs/content/configuring-npm/npmrc.md +140 -140
  111. package/node/node_modules/npm/docs/content/configuring-npm/package-json.md +1236 -1236
  112. package/node/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +237 -237
  113. package/node/node_modules/npm/docs/content/using-npm/config.md +2020 -2020
  114. package/node/node_modules/npm/docs/content/using-npm/dependency-selectors.md +223 -223
  115. package/node/node_modules/npm/docs/content/using-npm/developers.md +245 -245
  116. package/node/node_modules/npm/docs/content/using-npm/logging.md +96 -96
  117. package/node/node_modules/npm/docs/content/using-npm/orgs.md +93 -93
  118. package/node/node_modules/npm/docs/content/using-npm/package-spec.md +105 -105
  119. package/node/node_modules/npm/docs/content/using-npm/registry.md +86 -86
  120. package/node/node_modules/npm/docs/content/using-npm/removal.md +60 -60
  121. package/node/node_modules/npm/docs/content/using-npm/scope.md +143 -143
  122. package/node/node_modules/npm/docs/content/using-npm/scripts.md +363 -363
  123. package/node/node_modules/npm/docs/content/using-npm/workspaces.md +226 -226
  124. package/node/node_modules/npm/docs/lib/index.js +189 -189
  125. package/node/node_modules/npm/docs/output/commands/npm-access.html +269 -269
  126. package/node/node_modules/npm/docs/output/commands/npm-adduser.html +225 -225
  127. package/node/node_modules/npm/docs/output/commands/npm-audit.html +516 -516
  128. package/node/node_modules/npm/docs/output/commands/npm-bugs.html +250 -250
  129. package/node/node_modules/npm/docs/output/commands/npm-cache.html +243 -243
  130. package/node/node_modules/npm/docs/output/commands/npm-ci.html +405 -405
  131. package/node/node_modules/npm/docs/output/commands/npm-completion.html +193 -193
  132. package/node/node_modules/npm/docs/output/commands/npm-config.html +290 -290
  133. package/node/node_modules/npm/docs/output/commands/npm-dedupe.html +402 -402
  134. package/node/node_modules/npm/docs/output/commands/npm-deprecate.html +213 -213
  135. package/node/node_modules/npm/docs/output/commands/npm-diff.html +406 -406
  136. package/node/node_modules/npm/docs/output/commands/npm-dist-tag.html +288 -288
  137. package/node/node_modules/npm/docs/output/commands/npm-docs.html +249 -249
  138. package/node/node_modules/npm/docs/output/commands/npm-doctor.html +261 -261
  139. package/node/node_modules/npm/docs/output/commands/npm-edit.html +197 -197
  140. package/node/node_modules/npm/docs/output/commands/npm-exec.html +442 -442
  141. package/node/node_modules/npm/docs/output/commands/npm-explain.html +249 -249
  142. package/node/node_modules/npm/docs/output/commands/npm-explore.html +197 -197
  143. package/node/node_modules/npm/docs/output/commands/npm-find-dupes.html +348 -348
  144. package/node/node_modules/npm/docs/output/commands/npm-fund.html +274 -274
  145. package/node/node_modules/npm/docs/output/commands/npm-help-search.html +191 -191
  146. package/node/node_modules/npm/docs/output/commands/npm-help.html +197 -197
  147. package/node/node_modules/npm/docs/output/commands/npm-hook.html +233 -233
  148. package/node/node_modules/npm/docs/output/commands/npm-init.html +429 -429
  149. package/node/node_modules/npm/docs/output/commands/npm-install-ci-test.html +363 -363
  150. package/node/node_modules/npm/docs/output/commands/npm-install-test.html +440 -440
  151. package/node/node_modules/npm/docs/output/commands/npm-install.html +802 -802
  152. package/node/node_modules/npm/docs/output/commands/npm-link.html +457 -457
  153. package/node/node_modules/npm/docs/output/commands/npm-login.html +229 -229
  154. package/node/node_modules/npm/docs/output/commands/npm-logout.html +216 -216
  155. package/node/node_modules/npm/docs/output/commands/npm-ls.html +385 -385
  156. package/node/node_modules/npm/docs/output/commands/npm-org.html +238 -238
  157. package/node/node_modules/npm/docs/output/commands/npm-outdated.html +312 -312
  158. package/node/node_modules/npm/docs/output/commands/npm-owner.html +250 -250
  159. package/node/node_modules/npm/docs/output/commands/npm-pack.html +263 -263
  160. package/node/node_modules/npm/docs/output/commands/npm-ping.html +196 -196
  161. package/node/node_modules/npm/docs/output/commands/npm-pkg.html +371 -371
  162. package/node/node_modules/npm/docs/output/commands/npm-prefix.html +207 -207
  163. package/node/node_modules/npm/docs/output/commands/npm-profile.html +268 -268
  164. package/node/node_modules/npm/docs/output/commands/npm-prune.html +312 -312
  165. package/node/node_modules/npm/docs/output/commands/npm-publish.html +358 -358
  166. package/node/node_modules/npm/docs/output/commands/npm-query.html +393 -393
  167. package/node/node_modules/npm/docs/output/commands/npm-rebuild.html +296 -296
  168. package/node/node_modules/npm/docs/output/commands/npm-repo.html +243 -243
  169. package/node/node_modules/npm/docs/output/commands/npm-restart.html +218 -218
  170. package/node/node_modules/npm/docs/output/commands/npm-root.html +202 -202
  171. package/node/node_modules/npm/docs/output/commands/npm-run-script.html +353 -353
  172. package/node/node_modules/npm/docs/output/commands/npm-sbom.html +446 -446
  173. package/node/node_modules/npm/docs/output/commands/npm-search.html +280 -280
  174. package/node/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +189 -189
  175. package/node/node_modules/npm/docs/output/commands/npm-star.html +216 -216
  176. package/node/node_modules/npm/docs/output/commands/npm-stars.html +192 -192
  177. package/node/node_modules/npm/docs/output/commands/npm-start.html +221 -221
  178. package/node/node_modules/npm/docs/output/commands/npm-stop.html +216 -216
  179. package/node/node_modules/npm/docs/output/commands/npm-team.html +279 -279
  180. package/node/node_modules/npm/docs/output/commands/npm-test.html +214 -214
  181. package/node/node_modules/npm/docs/output/commands/npm-token.html +255 -255
  182. package/node/node_modules/npm/docs/output/commands/npm-uninstall.html +285 -285
  183. package/node/node_modules/npm/docs/output/commands/npm-unpublish.html +274 -274
  184. package/node/node_modules/npm/docs/output/commands/npm-unstar.html +213 -213
  185. package/node/node_modules/npm/docs/output/commands/npm-update.html +493 -493
  186. package/node/node_modules/npm/docs/output/commands/npm-version.html +348 -348
  187. package/node/node_modules/npm/docs/output/commands/npm-view.html +304 -304
  188. package/node/node_modules/npm/docs/output/commands/npm-whoami.html +192 -192
  189. package/node/node_modules/npm/docs/output/commands/npm.html +303 -303
  190. package/node/node_modules/npm/docs/output/commands/npx.html +292 -292
  191. package/node/node_modules/npm/docs/output/configuring-npm/folders.html +329 -329
  192. package/node/node_modules/npm/docs/output/configuring-npm/install.html +224 -224
  193. package/node/node_modules/npm/docs/output/configuring-npm/npm-global.html +329 -329
  194. package/node/node_modules/npm/docs/output/configuring-npm/npm-json.html +1110 -1110
  195. package/node/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +191 -191
  196. package/node/node_modules/npm/docs/output/configuring-npm/npmrc.html +271 -271
  197. package/node/node_modules/npm/docs/output/configuring-npm/package-json.html +1110 -1110
  198. package/node/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +398 -398
  199. package/node/node_modules/npm/docs/output/using-npm/config.html +1617 -1617
  200. package/node/node_modules/npm/docs/output/using-npm/dependency-selectors.html +355 -355
  201. package/node/node_modules/npm/docs/output/using-npm/developers.html +359 -359
  202. package/node/node_modules/npm/docs/output/using-npm/logging.html +235 -235
  203. package/node/node_modules/npm/docs/output/using-npm/orgs.html +243 -243
  204. package/node/node_modules/npm/docs/output/using-npm/package-spec.html +262 -262
  205. package/node/node_modules/npm/docs/output/using-npm/registry.html +233 -233
  206. package/node/node_modules/npm/docs/output/using-npm/removal.html +204 -204
  207. package/node/node_modules/npm/docs/output/using-npm/scope.html +264 -264
  208. package/node/node_modules/npm/docs/output/using-npm/scripts.html +484 -484
  209. package/node/node_modules/npm/docs/output/using-npm/workspaces.html +320 -320
  210. package/node/node_modules/npm/index.js +5 -5
  211. package/node/node_modules/npm/lib/arborist-cmd.js +53 -53
  212. package/node/node_modules/npm/lib/base-cmd.js +215 -215
  213. package/node/node_modules/npm/lib/cli/entry.js +79 -79
  214. package/node/node_modules/npm/lib/cli/exit-handler.js +174 -174
  215. package/node/node_modules/npm/lib/cli/update-notifier.js +121 -121
  216. package/node/node_modules/npm/lib/cli/validate-engines.js +49 -49
  217. package/node/node_modules/npm/lib/cli.js +12 -12
  218. package/node/node_modules/npm/lib/commands/access.js +222 -222
  219. package/node/node_modules/npm/lib/commands/adduser.js +50 -50
  220. package/node/node_modules/npm/lib/commands/audit.js +121 -121
  221. package/node/node_modules/npm/lib/commands/bugs.js +34 -34
  222. package/node/node_modules/npm/lib/commands/cache.js +218 -218
  223. package/node/node_modules/npm/lib/commands/ci.js +129 -129
  224. package/node/node_modules/npm/lib/commands/completion.js +283 -283
  225. package/node/node_modules/npm/lib/commands/config.js +410 -410
  226. package/node/node_modules/npm/lib/commands/dedupe.js +51 -51
  227. package/node/node_modules/npm/lib/commands/deprecate.js +76 -76
  228. package/node/node_modules/npm/lib/commands/diff.js +291 -291
  229. package/node/node_modules/npm/lib/commands/dist-tag.js +209 -209
  230. package/node/node_modules/npm/lib/commands/docs.js +21 -21
  231. package/node/node_modules/npm/lib/commands/doctor.js +347 -347
  232. package/node/node_modules/npm/lib/commands/edit.js +64 -64
  233. package/node/node_modules/npm/lib/commands/exec.js +110 -110
  234. package/node/node_modules/npm/lib/commands/explain.js +130 -130
  235. package/node/node_modules/npm/lib/commands/explore.js +74 -74
  236. package/node/node_modules/npm/lib/commands/find-dupes.js +28 -28
  237. package/node/node_modules/npm/lib/commands/fund.js +221 -221
  238. package/node/node_modules/npm/lib/commands/get.js +23 -23
  239. package/node/node_modules/npm/lib/commands/help-search.js +195 -195
  240. package/node/node_modules/npm/lib/commands/help.js +117 -117
  241. package/node/node_modules/npm/lib/commands/hook.js +109 -109
  242. package/node/node_modules/npm/lib/commands/init.js +238 -238
  243. package/node/node_modules/npm/lib/commands/install-ci-test.js +15 -15
  244. package/node/node_modules/npm/lib/commands/install-test.js +15 -15
  245. package/node/node_modules/npm/lib/commands/install.js +176 -176
  246. package/node/node_modules/npm/lib/commands/link.js +189 -189
  247. package/node/node_modules/npm/lib/commands/ll.js +13 -13
  248. package/node/node_modules/npm/lib/commands/login.js +50 -50
  249. package/node/node_modules/npm/lib/commands/logout.js +50 -50
  250. package/node/node_modules/npm/lib/commands/ls.js +579 -579
  251. package/node/node_modules/npm/lib/commands/org.js +151 -151
  252. package/node/node_modules/npm/lib/commands/outdated.js +282 -282
  253. package/node/node_modules/npm/lib/commands/owner.js +233 -233
  254. package/node/node_modules/npm/lib/commands/pack.js +85 -85
  255. package/node/node_modules/npm/lib/commands/ping.js +30 -30
  256. package/node/node_modules/npm/lib/commands/pkg.js +129 -129
  257. package/node/node_modules/npm/lib/commands/prefix.js +15 -15
  258. package/node/node_modules/npm/lib/commands/profile.js +390 -390
  259. package/node/node_modules/npm/lib/commands/prune.js +34 -34
  260. package/node/node_modules/npm/lib/commands/publish.js +227 -227
  261. package/node/node_modules/npm/lib/commands/query.js +126 -126
  262. package/node/node_modules/npm/lib/commands/rebuild.js +84 -84
  263. package/node/node_modules/npm/lib/commands/repo.js +55 -55
  264. package/node/node_modules/npm/lib/commands/restart.js +13 -13
  265. package/node/node_modules/npm/lib/commands/root.js +14 -14
  266. package/node/node_modules/npm/lib/commands/run-script.js +218 -218
  267. package/node/node_modules/npm/lib/commands/sbom.js +134 -134
  268. package/node/node_modules/npm/lib/commands/search.js +70 -70
  269. package/node/node_modules/npm/lib/commands/set.js +26 -26
  270. package/node/node_modules/npm/lib/commands/shrinkwrap.js +73 -73
  271. package/node/node_modules/npm/lib/commands/star.js +72 -72
  272. package/node/node_modules/npm/lib/commands/stars.js +39 -39
  273. package/node/node_modules/npm/lib/commands/start.js +13 -13
  274. package/node/node_modules/npm/lib/commands/stop.js +13 -13
  275. package/node/node_modules/npm/lib/commands/team.js +155 -155
  276. package/node/node_modules/npm/lib/commands/test.js +13 -13
  277. package/node/node_modules/npm/lib/commands/token.js +197 -197
  278. package/node/node_modules/npm/lib/commands/uninstall.js +56 -56
  279. package/node/node_modules/npm/lib/commands/unpublish.js +176 -176
  280. package/node/node_modules/npm/lib/commands/unstar.js +8 -8
  281. package/node/node_modules/npm/lib/commands/update.js +68 -68
  282. package/node/node_modules/npm/lib/commands/version.js +151 -151
  283. package/node/node_modules/npm/lib/commands/view.js +472 -472
  284. package/node/node_modules/npm/lib/commands/whoami.js +20 -20
  285. package/node/node_modules/npm/lib/lifecycle-cmd.js +20 -20
  286. package/node/node_modules/npm/lib/npm.js +475 -475
  287. package/node/node_modules/npm/lib/package-url-cmd.js +64 -64
  288. package/node/node_modules/npm/lib/utils/audit-error.js +40 -40
  289. package/node/node_modules/npm/lib/utils/auth.js +109 -109
  290. package/node/node_modules/npm/lib/utils/cmd-list.js +178 -178
  291. package/node/node_modules/npm/lib/utils/completion.fish +40 -40
  292. package/node/node_modules/npm/lib/utils/completion.sh +70 -70
  293. package/node/node_modules/npm/lib/utils/did-you-mean.js +34 -34
  294. package/node/node_modules/npm/lib/utils/display.js +539 -539
  295. package/node/node_modules/npm/lib/utils/error-message.js +447 -447
  296. package/node/node_modules/npm/lib/utils/explain-dep.js +103 -103
  297. package/node/node_modules/npm/lib/utils/explain-eresolve.js +71 -71
  298. package/node/node_modules/npm/lib/utils/format-bytes.js +30 -30
  299. package/node/node_modules/npm/lib/utils/format-search-stream.js +174 -174
  300. package/node/node_modules/npm/lib/utils/format.js +50 -50
  301. package/node/node_modules/npm/lib/utils/get-identity.js +26 -26
  302. package/node/node_modules/npm/lib/utils/get-workspaces.js +54 -54
  303. package/node/node_modules/npm/lib/utils/installed-deep.js +45 -45
  304. package/node/node_modules/npm/lib/utils/installed-shallow.js +19 -19
  305. package/node/node_modules/npm/lib/utils/is-windows.js +4 -4
  306. package/node/node_modules/npm/lib/utils/log-file.js +261 -261
  307. package/node/node_modules/npm/lib/utils/npm-usage.js +74 -74
  308. package/node/node_modules/npm/lib/utils/open-url.js +98 -98
  309. package/node/node_modules/npm/lib/utils/output-error.js +29 -29
  310. package/node/node_modules/npm/lib/utils/ping.js +7 -7
  311. package/node/node_modules/npm/lib/utils/queryable.js +310 -310
  312. package/node/node_modules/npm/lib/utils/read-user-info.js +67 -67
  313. package/node/node_modules/npm/lib/utils/reify-finish.js +33 -33
  314. package/node/node_modules/npm/lib/utils/reify-output.js +199 -199
  315. package/node/node_modules/npm/lib/utils/sbom-cyclonedx.js +201 -201
  316. package/node/node_modules/npm/lib/utils/sbom-spdx.js +182 -182
  317. package/node/node_modules/npm/lib/utils/tar.js +110 -110
  318. package/node/node_modules/npm/lib/utils/timers.js +89 -89
  319. package/node/node_modules/npm/lib/utils/update-workspaces.js +40 -40
  320. package/node/node_modules/npm/lib/utils/validate-lockfile.js +29 -29
  321. package/node/node_modules/npm/lib/utils/verify-signatures.js +386 -386
  322. package/node/node_modules/npm/man/man1/npm-access.1 +115 -115
  323. package/node/node_modules/npm/man/man1/npm-adduser.1 +91 -91
  324. package/node/node_modules/npm/man/man1/npm-audit.1 +448 -448
  325. package/node/node_modules/npm/man/man1/npm-bugs.1 +115 -115
  326. package/node/node_modules/npm/man/man1/npm-cache.1 +78 -78
  327. package/node/node_modules/npm/man/man1/npm-ci.1 +289 -289
  328. package/node/node_modules/npm/man/man1/npm-completion.1 +35 -35
  329. package/node/node_modules/npm/man/man1/npm-config.1 +187 -187
  330. package/node/node_modules/npm/man/man1/npm-dedupe.1 +290 -290
  331. package/node/node_modules/npm/man/man1/npm-deprecate.1 +73 -73
  332. package/node/node_modules/npm/man/man1/npm-diff.1 +310 -310
  333. package/node/node_modules/npm/man/man1/npm-dist-tag.1 +144 -144
  334. package/node/node_modules/npm/man/man1/npm-docs.1 +113 -113
  335. package/node/node_modules/npm/man/man1/npm-doctor.1 +82 -82
  336. package/node/node_modules/npm/man/man1/npm-edit.1 +43 -43
  337. package/node/node_modules/npm/man/man1/npm-exec.1 +350 -350
  338. package/node/node_modules/npm/man/man1/npm-explain.1 +118 -118
  339. package/node/node_modules/npm/man/man1/npm-explore.1 +49 -49
  340. package/node/node_modules/npm/man/man1/npm-find-dupes.1 +225 -225
  341. package/node/node_modules/npm/man/man1/npm-fund.1 +142 -142
  342. package/node/node_modules/npm/man/man1/npm-help-search.1 +37 -37
  343. package/node/node_modules/npm/man/man1/npm-help.1 +47 -47
  344. package/node/node_modules/npm/man/man1/npm-hook.1 +115 -115
  345. package/node/node_modules/npm/man/man1/npm-init.1 +366 -366
  346. package/node/node_modules/npm/man/man1/npm-install-ci-test.1 +239 -239
  347. package/node/node_modules/npm/man/man1/npm-install-test.1 +346 -346
  348. package/node/node_modules/npm/man/man1/npm-install.1 +762 -762
  349. package/node/node_modules/npm/man/man1/npm-link.1 +355 -355
  350. package/node/node_modules/npm/man/man1/npm-login.1 +95 -95
  351. package/node/node_modules/npm/man/man1/npm-logout.1 +75 -75
  352. package/node/node_modules/npm/man/man1/npm-ls.1 +283 -283
  353. package/node/node_modules/npm/man/man1/npm-org.1 +125 -125
  354. package/node/node_modules/npm/man/man1/npm-outdated.1 +182 -182
  355. package/node/node_modules/npm/man/man1/npm-owner.1 +110 -110
  356. package/node/node_modules/npm/man/man1/npm-pack.1 +130 -130
  357. package/node/node_modules/npm/man/man1/npm-ping.1 +52 -52
  358. package/node/node_modules/npm/man/man1/npm-pkg.1 +286 -286
  359. package/node/node_modules/npm/man/man1/npm-prefix.1 +63 -63
  360. package/node/node_modules/npm/man/man1/npm-profile.1 +126 -126
  361. package/node/node_modules/npm/man/man1/npm-prune.1 +184 -184
  362. package/node/node_modules/npm/man/man1/npm-publish.1 +224 -224
  363. package/node/node_modules/npm/man/man1/npm-query.1 +281 -281
  364. package/node/node_modules/npm/man/man1/npm-rebuild.1 +178 -178
  365. package/node/node_modules/npm/man/man1/npm-repo.1 +103 -103
  366. package/node/node_modules/npm/man/man1/npm-restart.1 +85 -85
  367. package/node/node_modules/npm/man/man1/npm-root.1 +56 -56
  368. package/node/node_modules/npm/man/man1/npm-run-script.1 +234 -234
  369. package/node/node_modules/npm/man/man1/npm-sbom.1 +314 -314
  370. package/node/node_modules/npm/man/man1/npm-search.1 +156 -156
  371. package/node/node_modules/npm/man/man1/npm-shrinkwrap.1 +32 -32
  372. package/node/node_modules/npm/man/man1/npm-star.1 +76 -76
  373. package/node/node_modules/npm/man/man1/npm-stars.1 +41 -41
  374. package/node/node_modules/npm/man/man1/npm-start.1 +79 -79
  375. package/node/node_modules/npm/man/man1/npm-stop.1 +75 -75
  376. package/node/node_modules/npm/man/man1/npm-team.1 +148 -148
  377. package/node/node_modules/npm/man/man1/npm-test.1 +73 -73
  378. package/node/node_modules/npm/man/man1/npm-token.1 +112 -112
  379. package/node/node_modules/npm/man/man1/npm-uninstall.1 +159 -159
  380. package/node/node_modules/npm/man/man1/npm-unpublish.1 +137 -137
  381. package/node/node_modules/npm/man/man1/npm-unstar.1 +70 -70
  382. package/node/node_modules/npm/man/man1/npm-update.1 +406 -406
  383. package/node/node_modules/npm/man/man1/npm-version.1 +229 -229
  384. package/node/node_modules/npm/man/man1/npm-view.1 +213 -213
  385. package/node/node_modules/npm/man/man1/npm-whoami.1 +39 -39
  386. package/node/node_modules/npm/man/man1/npm.1 +131 -131
  387. package/node/node_modules/npm/man/man1/npx.1 +156 -156
  388. package/node/node_modules/npm/man/man5/folders.5 +152 -152
  389. package/node/node_modules/npm/man/man5/install.5 +57 -57
  390. package/node/node_modules/npm/man/man5/npm-global.5 +152 -152
  391. package/node/node_modules/npm/man/man5/npm-json.5 +1144 -1144
  392. package/node/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +23 -23
  393. package/node/node_modules/npm/man/man5/npmrc.5 +132 -132
  394. package/node/node_modules/npm/man/man5/package-json.5 +1144 -1144
  395. package/node/node_modules/npm/man/man5/package-lock-json.5 +158 -158
  396. package/node/node_modules/npm/man/man7/config.7 +2041 -2041
  397. package/node/node_modules/npm/man/man7/dependency-selectors.7 +331 -331
  398. package/node/node_modules/npm/man/man7/developers.7 +234 -234
  399. package/node/node_modules/npm/man/man7/logging.7 +108 -108
  400. package/node/node_modules/npm/man/man7/orgs.7 +145 -145
  401. package/node/node_modules/npm/man/man7/package-spec.7 +126 -126
  402. package/node/node_modules/npm/man/man7/registry.7 +51 -51
  403. package/node/node_modules/npm/man/man7/removal.7 +54 -54
  404. package/node/node_modules/npm/man/man7/scope.7 +113 -113
  405. package/node/node_modules/npm/man/man7/scripts.7 +406 -406
  406. package/node/node_modules/npm/man/man7/workspaces.7 +214 -214
  407. package/node/node_modules/npm/node_modules/@isaacs/cliui/LICENSE.txt +14 -14
  408. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/index.cjs +317 -317
  409. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/index.d.cts +43 -43
  410. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/lib/index.js +302 -302
  411. package/node/node_modules/npm/node_modules/@isaacs/cliui/index.mjs +14 -14
  412. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js +10 -10
  413. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/license +9 -9
  414. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +61 -61
  415. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +20 -20
  416. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +6 -6
  417. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -6
  418. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +6 -6
  419. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +6 -6
  420. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +6 -6
  421. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +52 -52
  422. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +6 -6
  423. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/index.js +54 -54
  424. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/license +9 -9
  425. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/package.json +59 -59
  426. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +14 -14
  427. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/license +9 -9
  428. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +57 -57
  429. package/node/node_modules/npm/node_modules/@isaacs/cliui/package.json +86 -86
  430. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/LICENSE +15 -15
  431. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +429 -429
  432. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -3
  433. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/index.js +419 -419
  434. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -3
  435. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/package.json +72 -72
  436. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/LICENSE +15 -15
  437. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/index.js +42 -42
  438. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/package.json +28 -28
  439. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js +206 -206
  440. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/dns.js +53 -53
  441. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/errors.js +61 -61
  442. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/index.js +56 -56
  443. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/options.js +86 -86
  444. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/proxy.js +88 -88
  445. package/node/node_modules/npm/node_modules/@npmcli/agent/package.json +60 -60
  446. package/node/node_modules/npm/node_modules/@npmcli/arborist/LICENSE.md +20 -20
  447. package/node/node_modules/npm/node_modules/@npmcli/arborist/README.md +349 -349
  448. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/actual.js +19 -19
  449. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/audit.js +51 -51
  450. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/funding.js +38 -38
  451. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/ideal.js +14 -14
  452. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/index.js +112 -112
  453. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/logging.js +77 -77
  454. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/options.js +123 -123
  455. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/print-tree.js +4 -4
  456. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/timers.js +33 -33
  457. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/license.js +48 -48
  458. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/prune.js +48 -48
  459. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/reify.js +48 -48
  460. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/shrinkwrap.js +7 -7
  461. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/virtual.js +14 -14
  462. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js +143 -143
  463. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js +1523 -1523
  464. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/index.js +280 -280
  465. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/isolated-reifier.js +453 -453
  466. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-actual.js +438 -438
  467. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-virtual.js +303 -303
  468. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js +400 -400
  469. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js +1535 -1535
  470. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js +415 -415
  471. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js +126 -126
  472. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/can-place-dep.js +436 -436
  473. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/case-insensitive-map.js +50 -50
  474. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/consistent-resolve.js +45 -45
  475. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/debug.js +32 -32
  476. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/deepest-nesting-target.js +18 -18
  477. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/dep-valid.js +150 -150
  478. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/diff.js +306 -306
  479. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/edge.js +301 -301
  480. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/from-path.js +30 -30
  481. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/gather-dep-set.js +43 -43
  482. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/index.js +6 -6
  483. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/inventory.js +138 -138
  484. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/link.js +126 -126
  485. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/node.js +1475 -1475
  486. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/optional-set.js +38 -38
  487. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/override-resolves.js +11 -11
  488. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/override-set.js +147 -147
  489. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/packument-cache.js +77 -77
  490. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/peer-entry-sets.js +77 -77
  491. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/place-dep.js +569 -569
  492. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/printable.js +198 -198
  493. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/query-selector-all.js +945 -945
  494. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/realpath.js +95 -95
  495. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/relpath.js +3 -3
  496. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/reset-dep-flags.js +15 -15
  497. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/retire-path.js +19 -19
  498. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/shrinkwrap.js +1181 -1181
  499. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/signal-handling.js +74 -74
  500. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/signals.js +58 -58
  501. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/spec-from-lock.js +34 -34
  502. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/tracker.js +86 -86
  503. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/tree-check.js +155 -155
  504. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/version-from-tgz.js +47 -47
  505. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/vuln.js +214 -214
  506. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/yarn-lock.js +377 -377
  507. package/node/node_modules/npm/node_modules/@npmcli/arborist/package.json +99 -99
  508. package/node/node_modules/npm/node_modules/@npmcli/config/LICENSE +15 -15
  509. package/node/node_modules/npm/node_modules/@npmcli/config/README.md +257 -257
  510. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definition.js +253 -253
  511. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definitions.js +2282 -2282
  512. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/index.js +66 -66
  513. package/node/node_modules/npm/node_modules/@npmcli/config/lib/env-replace.js +14 -14
  514. package/node/node_modules/npm/node_modules/@npmcli/config/lib/errors.js +23 -23
  515. package/node/node_modules/npm/node_modules/@npmcli/config/lib/index.js +931 -931
  516. package/node/node_modules/npm/node_modules/@npmcli/config/lib/nerf-dart.js +18 -18
  517. package/node/node_modules/npm/node_modules/@npmcli/config/lib/parse-field.js +86 -86
  518. package/node/node_modules/npm/node_modules/@npmcli/config/lib/set-envs.js +108 -108
  519. package/node/node_modules/npm/node_modules/@npmcli/config/lib/type-defs.js +61 -61
  520. package/node/node_modules/npm/node_modules/@npmcli/config/lib/type-description.js +21 -21
  521. package/node/node_modules/npm/node_modules/@npmcli/config/lib/umask.js +35 -35
  522. package/node/node_modules/npm/node_modules/@npmcli/config/package.json +57 -57
  523. package/node/node_modules/npm/node_modules/@npmcli/fs/LICENSE.md +20 -20
  524. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/common/get-options.js +20 -20
  525. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/common/node.js +9 -9
  526. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -15
  527. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/errors.js +129 -129
  528. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/index.js +22 -22
  529. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -428
  530. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/index.js +13 -13
  531. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js +78 -78
  532. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -20
  533. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -39
  534. package/node/node_modules/npm/node_modules/@npmcli/fs/package.json +54 -54
  535. package/node/node_modules/npm/node_modules/@npmcli/git/LICENSE +15 -15
  536. package/node/node_modules/npm/node_modules/@npmcli/git/lib/clone.js +172 -172
  537. package/node/node_modules/npm/node_modules/@npmcli/git/lib/errors.js +36 -36
  538. package/node/node_modules/npm/node_modules/@npmcli/git/lib/find.js +15 -15
  539. package/node/node_modules/npm/node_modules/@npmcli/git/lib/index.js +9 -9
  540. package/node/node_modules/npm/node_modules/@npmcli/git/lib/is-clean.js +6 -6
  541. package/node/node_modules/npm/node_modules/@npmcli/git/lib/is.js +4 -4
  542. package/node/node_modules/npm/node_modules/@npmcli/git/lib/lines-to-revs.js +147 -147
  543. package/node/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js +33 -33
  544. package/node/node_modules/npm/node_modules/@npmcli/git/lib/opts.js +57 -57
  545. package/node/node_modules/npm/node_modules/@npmcli/git/lib/revs.js +22 -22
  546. package/node/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js +44 -44
  547. package/node/node_modules/npm/node_modules/@npmcli/git/lib/utils.js +3 -3
  548. package/node/node_modules/npm/node_modules/@npmcli/git/lib/which.js +18 -18
  549. package/node/node_modules/npm/node_modules/@npmcli/git/package.json +58 -58
  550. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/LICENSE +15 -15
  551. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/README.md +109 -109
  552. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/bin/index.js +44 -44
  553. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/lib/index.js +181 -181
  554. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/package.json +52 -52
  555. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/LICENSE.md +20 -20
  556. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/lib/index.js +226 -226
  557. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/package.json +61 -61
  558. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/LICENSE +15 -15
  559. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/advisory.js +435 -435
  560. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/get-dep-spec.js +15 -15
  561. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/hash.js +5 -5
  562. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/index.js +128 -128
  563. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/LICENSE +15 -15
  564. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/README.md +283 -283
  565. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/bin/index.js +158 -158
  566. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/dir.js +105 -105
  567. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/fetcher.js +497 -497
  568. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/file.js +94 -94
  569. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/git.js +317 -317
  570. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/index.js +23 -23
  571. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/registry.js +369 -369
  572. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/remote.js +89 -89
  573. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/add-git-sha.js +15 -15
  574. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/cache-dir.js +15 -15
  575. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/is-package-bin.js +25 -25
  576. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/npm.js +14 -14
  577. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/protected.js +5 -5
  578. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/tar-create-options.js +31 -31
  579. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/lib/util/trailing-slashes.js +10 -10
  580. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote/package.json +79 -79
  581. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/package.json +62 -62
  582. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/LICENSE +15 -15
  583. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/lib/index.js +7 -7
  584. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/package.json +45 -45
  585. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/LICENSE +7 -7
  586. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/lib/index.js +14 -14
  587. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/package.json +50 -50
  588. package/node/node_modules/npm/node_modules/@npmcli/package-json/LICENSE +18 -18
  589. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js +286 -286
  590. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize-data.js +257 -257
  591. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize.js +601 -601
  592. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/read-package.js +39 -39
  593. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/sort.js +101 -101
  594. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-dependencies.js +75 -75
  595. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-scripts.js +29 -29
  596. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-workspaces.js +26 -26
  597. package/node/node_modules/npm/node_modules/@npmcli/package-json/package.json +61 -61
  598. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/LICENSE +15 -15
  599. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/escape.js +68 -68
  600. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js +218 -218
  601. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/package.json +51 -51
  602. package/node/node_modules/npm/node_modules/@npmcli/query/LICENSE +20 -20
  603. package/node/node_modules/npm/node_modules/@npmcli/query/lib/index.js +255 -255
  604. package/node/node_modules/npm/node_modules/@npmcli/query/package.json +64 -64
  605. package/node/node_modules/npm/node_modules/@npmcli/redact/LICENSE +21 -21
  606. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/deep-map.js +71 -71
  607. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/error.js +28 -28
  608. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/index.js +44 -44
  609. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/matchers.js +88 -88
  610. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/server.js +59 -59
  611. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/utils.js +202 -202
  612. package/node/node_modules/npm/node_modules/@npmcli/redact/package.json +52 -52
  613. package/node/node_modules/npm/node_modules/@npmcli/run-script/LICENSE +15 -15
  614. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/is-server-package.js +11 -11
  615. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js +53 -53
  616. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp +2 -2
  617. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp.cmd +0 -0
  618. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/package-envs.js +29 -29
  619. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js +114 -114
  620. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js +15 -15
  621. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/set-path.js +45 -45
  622. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/signal-manager.js +50 -50
  623. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/validate-options.js +39 -39
  624. package/node/node_modules/npm/node_modules/@npmcli/run-script/package.json +54 -54
  625. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/LICENSE +201 -201
  626. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/is-default-value.js +25 -25
  627. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +35 -35
  628. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/negate.js +43 -43
  629. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +31 -31
  630. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +41 -41
  631. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +26 -26
  632. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/index.js +396 -396
  633. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/errors.js +47 -47
  634. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -393
  635. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/util.js +14 -14
  636. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/validators.js +89 -89
  637. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/package.json +36 -36
  638. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/utils.js +198 -198
  639. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/LICENSE +202 -202
  640. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js +59 -59
  641. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js +174 -174
  642. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js +141 -141
  643. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js +35 -35
  644. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js +2042 -2042
  645. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js +29 -29
  646. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js +55 -55
  647. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js +81 -81
  648. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js +56 -56
  649. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js +74 -74
  650. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js +103 -103
  651. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js +596 -596
  652. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js +137 -137
  653. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js +284 -284
  654. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js +281 -281
  655. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/index.js +37 -37
  656. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/package.json +31 -31
  657. package/node/node_modules/npm/node_modules/@sigstore/tuf/LICENSE +202 -202
  658. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/appdata.js +43 -43
  659. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/client.js +111 -111
  660. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/error.js +12 -12
  661. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/index.js +56 -56
  662. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/target.js +79 -79
  663. package/node/node_modules/npm/node_modules/@sigstore/tuf/package.json +41 -41
  664. package/node/node_modules/npm/node_modules/@sigstore/tuf/seeds.json +1 -1
  665. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/LICENSE +21 -21
  666. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/lib/index.js +64 -64
  667. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/package.json +35 -35
  668. package/node/node_modules/npm/node_modules/abbrev/LICENSE +46 -46
  669. package/node/node_modules/npm/node_modules/abbrev/lib/index.js +53 -53
  670. package/node/node_modules/npm/node_modules/abbrev/package.json +45 -45
  671. package/node/node_modules/npm/node_modules/agent-base/LICENSE +21 -21
  672. package/node/node_modules/npm/node_modules/agent-base/dist/helpers.js +65 -65
  673. package/node/node_modules/npm/node_modules/agent-base/dist/index.js +179 -179
  674. package/node/node_modules/npm/node_modules/agent-base/package.json +45 -45
  675. package/node/node_modules/npm/node_modules/ansi-regex/index.js +10 -10
  676. package/node/node_modules/npm/node_modules/ansi-regex/license +9 -9
  677. package/node/node_modules/npm/node_modules/ansi-regex/package.json +55 -55
  678. package/node/node_modules/npm/node_modules/ansi-styles/index.js +223 -223
  679. package/node/node_modules/npm/node_modules/ansi-styles/license +9 -9
  680. package/node/node_modules/npm/node_modules/ansi-styles/package.json +54 -54
  681. package/node/node_modules/npm/node_modules/aproba/LICENSE +14 -14
  682. package/node/node_modules/npm/node_modules/aproba/index.js +105 -105
  683. package/node/node_modules/npm/node_modules/aproba/package.json +35 -35
  684. package/node/node_modules/npm/node_modules/archy/LICENSE +18 -18
  685. package/node/node_modules/npm/node_modules/archy/examples/beep.js +24 -24
  686. package/node/node_modules/npm/node_modules/archy/examples/multi_line.js +25 -25
  687. package/node/node_modules/npm/node_modules/archy/index.js +35 -35
  688. package/node/node_modules/npm/node_modules/archy/package.json +40 -40
  689. package/node/node_modules/npm/node_modules/balanced-match/LICENSE.md +21 -21
  690. package/node/node_modules/npm/node_modules/balanced-match/index.js +62 -62
  691. package/node/node_modules/npm/node_modules/balanced-match/package.json +48 -48
  692. package/node/node_modules/npm/node_modules/bin-links/LICENSE +15 -15
  693. package/node/node_modules/npm/node_modules/bin-links/lib/bin-target.js +9 -9
  694. package/node/node_modules/npm/node_modules/bin-links/lib/check-bin.js +74 -74
  695. package/node/node_modules/npm/node_modules/bin-links/lib/check-bins.js +18 -18
  696. package/node/node_modules/npm/node_modules/bin-links/lib/fix-bin.js +42 -42
  697. package/node/node_modules/npm/node_modules/bin-links/lib/get-node-modules.js +19 -19
  698. package/node/node_modules/npm/node_modules/bin-links/lib/get-paths.js +42 -42
  699. package/node/node_modules/npm/node_modules/bin-links/lib/get-prefix.js +3 -3
  700. package/node/node_modules/npm/node_modules/bin-links/lib/index.js +44 -44
  701. package/node/node_modules/npm/node_modules/bin-links/lib/is-windows.js +2 -2
  702. package/node/node_modules/npm/node_modules/bin-links/lib/link-bin.js +9 -9
  703. package/node/node_modules/npm/node_modules/bin-links/lib/link-bins.js +23 -23
  704. package/node/node_modules/npm/node_modules/bin-links/lib/link-gently.js +96 -96
  705. package/node/node_modules/npm/node_modules/bin-links/lib/link-mans.js +53 -53
  706. package/node/node_modules/npm/node_modules/bin-links/lib/man-target.js +6 -6
  707. package/node/node_modules/npm/node_modules/bin-links/lib/shim-bin.js +86 -86
  708. package/node/node_modules/npm/node_modules/bin-links/package.json +61 -61
  709. package/node/node_modules/npm/node_modules/binary-extensions/binary-extensions.json +263 -263
  710. package/node/node_modules/npm/node_modules/binary-extensions/index.js +1 -1
  711. package/node/node_modules/npm/node_modules/binary-extensions/license +10 -10
  712. package/node/node_modules/npm/node_modules/binary-extensions/package.json +40 -40
  713. package/node/node_modules/npm/node_modules/brace-expansion/LICENSE +21 -21
  714. package/node/node_modules/npm/node_modules/brace-expansion/index.js +203 -203
  715. package/node/node_modules/npm/node_modules/brace-expansion/package.json +49 -49
  716. package/node/node_modules/npm/node_modules/cacache/LICENSE.md +16 -16
  717. package/node/node_modules/npm/node_modules/cacache/lib/content/path.js +29 -29
  718. package/node/node_modules/npm/node_modules/cacache/lib/content/read.js +165 -165
  719. package/node/node_modules/npm/node_modules/cacache/lib/content/rm.js +18 -18
  720. package/node/node_modules/npm/node_modules/cacache/lib/content/write.js +206 -206
  721. package/node/node_modules/npm/node_modules/cacache/lib/entry-index.js +336 -336
  722. package/node/node_modules/npm/node_modules/cacache/lib/get.js +170 -170
  723. package/node/node_modules/npm/node_modules/cacache/lib/index.js +42 -42
  724. package/node/node_modules/npm/node_modules/cacache/lib/memoization.js +72 -72
  725. package/node/node_modules/npm/node_modules/cacache/lib/put.js +80 -80
  726. package/node/node_modules/npm/node_modules/cacache/lib/rm.js +31 -31
  727. package/node/node_modules/npm/node_modules/cacache/lib/util/glob.js +7 -7
  728. package/node/node_modules/npm/node_modules/cacache/lib/util/hash-to-segments.js +7 -7
  729. package/node/node_modules/npm/node_modules/cacache/lib/util/tmp.js +26 -26
  730. package/node/node_modules/npm/node_modules/cacache/lib/verify.js +258 -258
  731. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/LICENSE.md +63 -63
  732. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/dist/commonjs/index.js +92 -92
  733. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/dist/commonjs/package.json +3 -3
  734. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/dist/esm/index.js +84 -84
  735. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/dist/esm/package.json +3 -3
  736. package/node/node_modules/npm/node_modules/cacache/node_modules/chownr/package.json +69 -69
  737. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/LICENSE +21 -21
  738. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/package.json +91 -91
  739. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/bin.d.ts +2 -2
  740. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/bin.js +79 -79
  741. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/find-made.d.ts +3 -3
  742. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/find-made.js +34 -34
  743. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/index.d.ts +38 -38
  744. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/index.js +52 -52
  745. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.d.ts +5 -5
  746. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.js +78 -78
  747. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/mkdirp-native.d.ts +5 -5
  748. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/mkdirp-native.js +49 -49
  749. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/opts-arg.d.ts +41 -41
  750. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/opts-arg.js +37 -37
  751. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/path-arg.d.ts +1 -1
  752. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/path-arg.js +27 -27
  753. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/use-native.d.ts +5 -5
  754. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/cjs/src/use-native.js +16 -16
  755. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/find-made.d.ts +3 -3
  756. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/find-made.js +29 -29
  757. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/index.d.ts +38 -38
  758. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/index.js +42 -42
  759. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/mkdirp-manual.d.ts +5 -5
  760. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/mkdirp-manual.js +74 -74
  761. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/mkdirp-native.d.ts +5 -5
  762. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/mkdirp-native.js +45 -45
  763. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/opts-arg.d.ts +41 -41
  764. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/opts-arg.js +33 -33
  765. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/package.json +3 -3
  766. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/path-arg.d.ts +1 -1
  767. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/path-arg.js +23 -23
  768. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/use-native.d.ts +5 -5
  769. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/dist/mjs/use-native.js +13 -13
  770. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/package.json +91 -91
  771. package/node/node_modules/npm/node_modules/cacache/node_modules/mkdirp/readme.markdown +281 -281
  772. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/LICENSE +15 -15
  773. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/create.js +82 -82
  774. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/cwd-error.js +17 -17
  775. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/extract.js +77 -77
  776. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/get-write-flag.js +28 -28
  777. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/header.js +305 -305
  778. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/index.js +53 -53
  779. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/large-numbers.js +98 -98
  780. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/list.js +135 -135
  781. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/make-command.js +60 -60
  782. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/mkdir.js +208 -208
  783. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/mode-fix.js +28 -28
  784. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/normalize-unicode.js +16 -16
  785. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/normalize-windows-path.js +11 -11
  786. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/options.js +65 -65
  787. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/pack.js +476 -476
  788. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/package.json +3 -3
  789. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/parse.js +598 -598
  790. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/path-reservations.js +169 -169
  791. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/pax.js +157 -157
  792. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/read-entry.js +139 -139
  793. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/replace.js +230 -230
  794. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/strip-absolute-path.js +28 -28
  795. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +17 -17
  796. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/symlink-error.js +18 -18
  797. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/types.js +49 -49
  798. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/unpack.js +918 -918
  799. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/update.js +32 -32
  800. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/warn-method.js +30 -30
  801. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/winchars.js +13 -13
  802. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/commonjs/write-entry.js +688 -688
  803. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/create.js +76 -76
  804. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/cwd-error.js +13 -13
  805. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/extract.js +48 -48
  806. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/get-write-flag.js +22 -22
  807. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/header.js +278 -278
  808. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/index.js +19 -19
  809. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/large-numbers.js +93 -93
  810. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/list.js +105 -105
  811. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/make-command.js +56 -56
  812. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/mkdir.js +200 -200
  813. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/mode-fix.js +24 -24
  814. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/normalize-unicode.js +12 -12
  815. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/normalize-windows-path.js +8 -8
  816. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/options.js +53 -53
  817. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/pack.js +444 -444
  818. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/package.json +3 -3
  819. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/parse.js +594 -594
  820. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/path-reservations.js +165 -165
  821. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/pax.js +153 -153
  822. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/read-entry.js +135 -135
  823. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/replace.js +224 -224
  824. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/strip-absolute-path.js +24 -24
  825. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/strip-trailing-slashes.js +13 -13
  826. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/symlink-error.js +14 -14
  827. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/types.js +44 -44
  828. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/unpack.js +887 -887
  829. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/update.js +29 -29
  830. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/warn-method.js +26 -26
  831. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/winchars.js +8 -8
  832. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/dist/esm/write-entry.js +656 -656
  833. package/node/node_modules/npm/node_modules/cacache/node_modules/tar/package.json +325 -325
  834. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/LICENSE.md +63 -63
  835. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/dist/commonjs/index.js +383 -383
  836. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/dist/commonjs/package.json +3 -3
  837. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/dist/esm/index.js +378 -378
  838. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/dist/esm/package.json +3 -3
  839. package/node/node_modules/npm/node_modules/cacache/node_modules/yallist/package.json +68 -68
  840. package/node/node_modules/npm/node_modules/cacache/package.json +83 -83
  841. package/node/node_modules/npm/node_modules/chalk/license +9 -9
  842. package/node/node_modules/npm/node_modules/chalk/package.json +83 -83
  843. package/node/node_modules/npm/node_modules/chalk/source/index.js +225 -225
  844. package/node/node_modules/npm/node_modules/chalk/source/utilities.js +33 -33
  845. package/node/node_modules/npm/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -223
  846. package/node/node_modules/npm/node_modules/chalk/source/vendor/supports-color/browser.js +34 -34
  847. package/node/node_modules/npm/node_modules/chalk/source/vendor/supports-color/index.js +182 -182
  848. package/node/node_modules/npm/node_modules/chownr/LICENSE +15 -15
  849. package/node/node_modules/npm/node_modules/chownr/chownr.js +167 -167
  850. package/node/node_modules/npm/node_modules/chownr/package.json +32 -32
  851. package/node/node_modules/npm/node_modules/ci-info/LICENSE +21 -21
  852. package/node/node_modules/npm/node_modules/ci-info/index.js +102 -102
  853. package/node/node_modules/npm/node_modules/ci-info/package.json +53 -53
  854. package/node/node_modules/npm/node_modules/ci-info/vendors.json +353 -353
  855. package/node/node_modules/npm/node_modules/cidr-regex/LICENSE +22 -22
  856. package/node/node_modules/npm/node_modules/cidr-regex/dist/index.js +15 -15
  857. package/node/node_modules/npm/node_modules/cidr-regex/package.json +39 -39
  858. package/node/node_modules/npm/node_modules/cli-columns/color.js +16 -16
  859. package/node/node_modules/npm/node_modules/cli-columns/index.js +82 -82
  860. package/node/node_modules/npm/node_modules/cli-columns/license +20 -20
  861. package/node/node_modules/npm/node_modules/cli-columns/package.json +54 -54
  862. package/node/node_modules/npm/node_modules/cli-columns/test.js +101 -101
  863. package/node/node_modules/npm/node_modules/cmd-shim/LICENSE +15 -15
  864. package/node/node_modules/npm/node_modules/cmd-shim/lib/index.js +247 -247
  865. package/node/node_modules/npm/node_modules/cmd-shim/package.json +48 -48
  866. package/node/node_modules/npm/node_modules/color-convert/LICENSE +21 -21
  867. package/node/node_modules/npm/node_modules/color-convert/conversions.js +839 -839
  868. package/node/node_modules/npm/node_modules/color-convert/index.js +81 -81
  869. package/node/node_modules/npm/node_modules/color-convert/package.json +48 -48
  870. package/node/node_modules/npm/node_modules/color-convert/route.js +97 -97
  871. package/node/node_modules/npm/node_modules/common-ancestor-path/LICENSE +15 -15
  872. package/node/node_modules/npm/node_modules/common-ancestor-path/index.js +17 -17
  873. package/node/node_modules/npm/node_modules/common-ancestor-path/package.json +28 -28
  874. package/node/node_modules/npm/node_modules/cross-spawn/LICENSE +21 -21
  875. package/node/node_modules/npm/node_modules/cross-spawn/index.js +39 -39
  876. package/node/node_modules/npm/node_modules/cross-spawn/lib/enoent.js +59 -59
  877. package/node/node_modules/npm/node_modules/cross-spawn/lib/parse.js +91 -91
  878. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/escape.js +47 -47
  879. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/readShebang.js +23 -23
  880. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -52
  881. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/LICENSE +15 -15
  882. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/README.md +54 -54
  883. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/bin/node-which +52 -52
  884. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/package.json +43 -43
  885. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/which.js +125 -125
  886. package/node/node_modules/npm/node_modules/cross-spawn/package.json +73 -73
  887. package/node/node_modules/npm/node_modules/cssesc/LICENSE-MIT.txt +20 -20
  888. package/node/node_modules/npm/node_modules/cssesc/README.md +201 -201
  889. package/node/node_modules/npm/node_modules/cssesc/bin/cssesc +116 -116
  890. package/node/node_modules/npm/node_modules/cssesc/cssesc.js +110 -110
  891. package/node/node_modules/npm/node_modules/cssesc/man/cssesc.1 +70 -70
  892. package/node/node_modules/npm/node_modules/cssesc/package.json +51 -51
  893. package/node/node_modules/npm/node_modules/debug/LICENSE +20 -20
  894. package/node/node_modules/npm/node_modules/debug/package.json +64 -64
  895. package/node/node_modules/npm/node_modules/debug/src/browser.js +272 -272
  896. package/node/node_modules/npm/node_modules/debug/src/common.js +292 -292
  897. package/node/node_modules/npm/node_modules/debug/src/index.js +10 -10
  898. package/node/node_modules/npm/node_modules/debug/src/node.js +263 -263
  899. package/node/node_modules/npm/node_modules/diff/CONTRIBUTING.md +36 -36
  900. package/node/node_modules/npm/node_modules/diff/LICENSE +29 -29
  901. package/node/node_modules/npm/node_modules/diff/dist/diff.js +1730 -1730
  902. package/node/node_modules/npm/node_modules/diff/lib/convert/dmp.js +32 -32
  903. package/node/node_modules/npm/node_modules/diff/lib/convert/xml.js +42 -42
  904. package/node/node_modules/npm/node_modules/diff/lib/diff/array.js +45 -45
  905. package/node/node_modules/npm/node_modules/diff/lib/diff/base.js +358 -358
  906. package/node/node_modules/npm/node_modules/diff/lib/diff/character.js +37 -37
  907. package/node/node_modules/npm/node_modules/diff/lib/diff/css.js +41 -41
  908. package/node/node_modules/npm/node_modules/diff/lib/diff/json.js +163 -163
  909. package/node/node_modules/npm/node_modules/diff/lib/diff/line.js +94 -94
  910. package/node/node_modules/npm/node_modules/diff/lib/diff/sentence.js +41 -41
  911. package/node/node_modules/npm/node_modules/diff/lib/diff/word.js +108 -108
  912. package/node/node_modules/npm/node_modules/diff/lib/index.es6.js +1699 -1699
  913. package/node/node_modules/npm/node_modules/diff/lib/index.js +234 -234
  914. package/node/node_modules/npm/node_modules/diff/lib/index.mjs +1699 -1699
  915. package/node/node_modules/npm/node_modules/diff/lib/patch/apply.js +238 -238
  916. package/node/node_modules/npm/node_modules/diff/lib/patch/create.js +276 -276
  917. package/node/node_modules/npm/node_modules/diff/lib/patch/merge.js +613 -613
  918. package/node/node_modules/npm/node_modules/diff/lib/patch/parse.js +167 -167
  919. package/node/node_modules/npm/node_modules/diff/lib/patch/reverse.js +63 -63
  920. package/node/node_modules/npm/node_modules/diff/lib/util/array.js +32 -32
  921. package/node/node_modules/npm/node_modules/diff/lib/util/distance-iterator.js +57 -57
  922. package/node/node_modules/npm/node_modules/diff/lib/util/params.js +24 -24
  923. package/node/node_modules/npm/node_modules/diff/package.json +89 -89
  924. package/node/node_modules/npm/node_modules/diff/release-notes.md +317 -317
  925. package/node/node_modules/npm/node_modules/diff/runtime.js +3 -3
  926. package/node/node_modules/npm/node_modules/eastasianwidth/eastasianwidth.js +311 -311
  927. package/node/node_modules/npm/node_modules/eastasianwidth/package.json +18 -18
  928. package/node/node_modules/npm/node_modules/emoji-regex/LICENSE-MIT.txt +20 -20
  929. package/node/node_modules/npm/node_modules/emoji-regex/es2015/index.js +6 -6
  930. package/node/node_modules/npm/node_modules/emoji-regex/es2015/text.js +6 -6
  931. package/node/node_modules/npm/node_modules/emoji-regex/index.js +6 -6
  932. package/node/node_modules/npm/node_modules/emoji-regex/package.json +50 -50
  933. package/node/node_modules/npm/node_modules/emoji-regex/text.js +6 -6
  934. package/node/node_modules/npm/node_modules/encoding/LICENSE +16 -16
  935. package/node/node_modules/npm/node_modules/encoding/lib/encoding.js +83 -83
  936. package/node/node_modules/npm/node_modules/encoding/package.json +18 -18
  937. package/node/node_modules/npm/node_modules/env-paths/index.js +74 -74
  938. package/node/node_modules/npm/node_modules/env-paths/license +9 -9
  939. package/node/node_modules/npm/node_modules/env-paths/package.json +45 -45
  940. package/node/node_modules/npm/node_modules/err-code/bower.json +30 -30
  941. package/node/node_modules/npm/node_modules/err-code/index.js +47 -47
  942. package/node/node_modules/npm/node_modules/err-code/index.umd.js +51 -51
  943. package/node/node_modules/npm/node_modules/err-code/package.json +34 -34
  944. package/node/node_modules/npm/node_modules/exponential-backoff/LICENSE +202 -202
  945. package/node/node_modules/npm/node_modules/exponential-backoff/dist/backoff.js +123 -123
  946. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/always/always.delay.js +24 -24
  947. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.base.js +44 -44
  948. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.factory.js +16 -16
  949. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.interface.js +2 -2
  950. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +81 -81
  951. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +7 -7
  952. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +14 -14
  953. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +6 -6
  954. package/node/node_modules/npm/node_modules/exponential-backoff/dist/options.js +30 -30
  955. package/node/node_modules/npm/node_modules/exponential-backoff/package.json +62 -62
  956. package/node/node_modules/npm/node_modules/fastest-levenshtein/LICENSE.md +20 -20
  957. package/node/node_modules/npm/node_modules/fastest-levenshtein/bench.js +96 -96
  958. package/node/node_modules/npm/node_modules/fastest-levenshtein/esm/mod.js +138 -138
  959. package/node/node_modules/npm/node_modules/fastest-levenshtein/mod.js +142 -142
  960. package/node/node_modules/npm/node_modules/fastest-levenshtein/package.json +72 -72
  961. package/node/node_modules/npm/node_modules/fastest-levenshtein/test.js +55 -55
  962. package/node/node_modules/npm/node_modules/foreground-child/LICENSE +15 -15
  963. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/all-signals.js +57 -57
  964. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/index.js +122 -122
  965. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/package.json +3 -3
  966. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/proxy-signals.js +37 -37
  967. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/watchdog.js +49 -49
  968. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/all-signals.js +51 -51
  969. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/index.js +114 -114
  970. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/package.json +3 -3
  971. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/proxy-signals.js +33 -33
  972. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/watchdog.js +45 -45
  973. package/node/node_modules/npm/node_modules/foreground-child/package.json +106 -106
  974. package/node/node_modules/npm/node_modules/fs-minipass/LICENSE +15 -15
  975. package/node/node_modules/npm/node_modules/fs-minipass/lib/index.js +443 -443
  976. package/node/node_modules/npm/node_modules/fs-minipass/package.json +54 -54
  977. package/node/node_modules/npm/node_modules/glob/LICENSE +15 -15
  978. package/node/node_modules/npm/node_modules/glob/README.md +1265 -1265
  979. package/node/node_modules/npm/node_modules/glob/dist/commonjs/glob.d.ts +387 -387
  980. package/node/node_modules/npm/node_modules/glob/dist/commonjs/glob.js +246 -246
  981. package/node/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.d.ts +13 -13
  982. package/node/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.js +26 -26
  983. package/node/node_modules/npm/node_modules/glob/dist/commonjs/ignore.d.ts +23 -23
  984. package/node/node_modules/npm/node_modules/glob/dist/commonjs/ignore.js +118 -118
  985. package/node/node_modules/npm/node_modules/glob/dist/commonjs/index.d.ts +96 -96
  986. package/node/node_modules/npm/node_modules/glob/dist/commonjs/index.js +67 -67
  987. package/node/node_modules/npm/node_modules/glob/dist/commonjs/package.json +3 -3
  988. package/node/node_modules/npm/node_modules/glob/dist/commonjs/pattern.d.ts +75 -75
  989. package/node/node_modules/npm/node_modules/glob/dist/commonjs/pattern.js +218 -218
  990. package/node/node_modules/npm/node_modules/glob/dist/commonjs/processor.d.ts +58 -58
  991. package/node/node_modules/npm/node_modules/glob/dist/commonjs/processor.js +300 -300
  992. package/node/node_modules/npm/node_modules/glob/dist/commonjs/walker.d.ts +96 -96
  993. package/node/node_modules/npm/node_modules/glob/dist/commonjs/walker.js +386 -386
  994. package/node/node_modules/npm/node_modules/glob/dist/esm/bin.d.mts +2 -2
  995. package/node/node_modules/npm/node_modules/glob/dist/esm/bin.mjs +269 -269
  996. package/node/node_modules/npm/node_modules/glob/dist/esm/glob.d.ts +387 -387
  997. package/node/node_modules/npm/node_modules/glob/dist/esm/glob.js +242 -242
  998. package/node/node_modules/npm/node_modules/glob/dist/esm/has-magic.d.ts +13 -13
  999. package/node/node_modules/npm/node_modules/glob/dist/esm/has-magic.js +22 -22
  1000. package/node/node_modules/npm/node_modules/glob/dist/esm/ignore.d.ts +23 -23
  1001. package/node/node_modules/npm/node_modules/glob/dist/esm/ignore.js +114 -114
  1002. package/node/node_modules/npm/node_modules/glob/dist/esm/index.d.ts +96 -96
  1003. package/node/node_modules/npm/node_modules/glob/dist/esm/index.js +54 -54
  1004. package/node/node_modules/npm/node_modules/glob/dist/esm/package.json +3 -3
  1005. package/node/node_modules/npm/node_modules/glob/dist/esm/pattern.d.ts +75 -75
  1006. package/node/node_modules/npm/node_modules/glob/dist/esm/pattern.js +214 -214
  1007. package/node/node_modules/npm/node_modules/glob/dist/esm/processor.d.ts +58 -58
  1008. package/node/node_modules/npm/node_modules/glob/dist/esm/processor.js +293 -293
  1009. package/node/node_modules/npm/node_modules/glob/dist/esm/walker.d.ts +96 -96
  1010. package/node/node_modules/npm/node_modules/glob/dist/esm/walker.js +380 -380
  1011. package/node/node_modules/npm/node_modules/glob/package.json +99 -99
  1012. package/node/node_modules/npm/node_modules/graceful-fs/LICENSE +15 -15
  1013. package/node/node_modules/npm/node_modules/graceful-fs/clone.js +23 -23
  1014. package/node/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +448 -448
  1015. package/node/node_modules/npm/node_modules/graceful-fs/legacy-streams.js +118 -118
  1016. package/node/node_modules/npm/node_modules/graceful-fs/package.json +53 -53
  1017. package/node/node_modules/npm/node_modules/graceful-fs/polyfills.js +355 -355
  1018. package/node/node_modules/npm/node_modules/hosted-git-info/LICENSE +13 -13
  1019. package/node/node_modules/npm/node_modules/hosted-git-info/lib/from-url.js +122 -122
  1020. package/node/node_modules/npm/node_modules/hosted-git-info/lib/hosts.js +231 -231
  1021. package/node/node_modules/npm/node_modules/hosted-git-info/lib/index.js +227 -227
  1022. package/node/node_modules/npm/node_modules/hosted-git-info/lib/parse-url.js +78 -78
  1023. package/node/node_modules/npm/node_modules/hosted-git-info/package.json +61 -61
  1024. package/node/node_modules/npm/node_modules/http-cache-semantics/LICENSE +9 -9
  1025. package/node/node_modules/npm/node_modules/http-cache-semantics/index.js +928 -928
  1026. package/node/node_modules/npm/node_modules/http-cache-semantics/package.json +22 -22
  1027. package/node/node_modules/npm/node_modules/http-proxy-agent/LICENSE +22 -22
  1028. package/node/node_modules/npm/node_modules/http-proxy-agent/dist/index.js +147 -147
  1029. package/node/node_modules/npm/node_modules/http-proxy-agent/package.json +46 -46
  1030. package/node/node_modules/npm/node_modules/https-proxy-agent/LICENSE +21 -21
  1031. package/node/node_modules/npm/node_modules/https-proxy-agent/dist/index.js +179 -179
  1032. package/node/node_modules/npm/node_modules/https-proxy-agent/dist/parse-proxy-response.js +100 -100
  1033. package/node/node_modules/npm/node_modules/https-proxy-agent/package.json +49 -49
  1034. package/node/node_modules/npm/node_modules/iconv-lite/LICENSE +21 -21
  1035. package/node/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -597
  1036. package/node/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-data.js +188 -188
  1037. package/node/node_modules/npm/node_modules/iconv-lite/encodings/index.js +23 -23
  1038. package/node/node_modules/npm/node_modules/iconv-lite/encodings/internal.js +198 -198
  1039. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -72
  1040. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data-generated.js +450 -450
  1041. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data.js +179 -179
  1042. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -122
  1043. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp936.json +264 -264
  1044. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp949.json +273 -273
  1045. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp950.json +177 -177
  1046. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -182
  1047. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -56
  1048. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -125
  1049. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf16.js +197 -197
  1050. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf32.js +319 -319
  1051. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf7.js +290 -290
  1052. package/node/node_modules/npm/node_modules/iconv-lite/lib/bom-handling.js +52 -52
  1053. package/node/node_modules/npm/node_modules/iconv-lite/lib/index.js +180 -180
  1054. package/node/node_modules/npm/node_modules/iconv-lite/lib/streams.js +109 -109
  1055. package/node/node_modules/npm/node_modules/iconv-lite/package.json +44 -44
  1056. package/node/node_modules/npm/node_modules/ignore-walk/LICENSE +15 -15
  1057. package/node/node_modules/npm/node_modules/ignore-walk/lib/index.js +310 -310
  1058. package/node/node_modules/npm/node_modules/ignore-walk/package.json +64 -64
  1059. package/node/node_modules/npm/node_modules/imurmurhash/imurmurhash.js +138 -138
  1060. package/node/node_modules/npm/node_modules/imurmurhash/imurmurhash.min.js +11 -11
  1061. package/node/node_modules/npm/node_modules/imurmurhash/package.json +40 -40
  1062. package/node/node_modules/npm/node_modules/ini/LICENSE +15 -15
  1063. package/node/node_modules/npm/node_modules/ini/lib/ini.js +280 -280
  1064. package/node/node_modules/npm/node_modules/ini/package.json +45 -45
  1065. package/node/node_modules/npm/node_modules/init-package-json/LICENSE.md +18 -18
  1066. package/node/node_modules/npm/node_modules/init-package-json/lib/default-input.js +263 -263
  1067. package/node/node_modules/npm/node_modules/init-package-json/lib/init-package-json.js +147 -147
  1068. package/node/node_modules/npm/node_modules/init-package-json/package.json +67 -67
  1069. package/node/node_modules/npm/node_modules/ip-address/LICENSE +19 -19
  1070. package/node/node_modules/npm/node_modules/ip-address/dist/address-error.js +13 -13
  1071. package/node/node_modules/npm/node_modules/ip-address/dist/common.js +25 -25
  1072. package/node/node_modules/npm/node_modules/ip-address/dist/ip-address.js +34 -34
  1073. package/node/node_modules/npm/node_modules/ip-address/dist/ipv4.js +325 -325
  1074. package/node/node_modules/npm/node_modules/ip-address/dist/ipv6.js +997 -997
  1075. package/node/node_modules/npm/node_modules/ip-address/dist/v4/constants.js +7 -7
  1076. package/node/node_modules/npm/node_modules/ip-address/dist/v6/constants.js +75 -75
  1077. package/node/node_modules/npm/node_modules/ip-address/dist/v6/helpers.js +47 -47
  1078. package/node/node_modules/npm/node_modules/ip-address/dist/v6/regular-expressions.js +95 -95
  1079. package/node/node_modules/npm/node_modules/ip-address/package.json +87 -87
  1080. package/node/node_modules/npm/node_modules/ip-regex/index.js +36 -36
  1081. package/node/node_modules/npm/node_modules/ip-regex/license +9 -9
  1082. package/node/node_modules/npm/node_modules/ip-regex/package.json +47 -47
  1083. package/node/node_modules/npm/node_modules/is-cidr/LICENSE +22 -22
  1084. package/node/node_modules/npm/node_modules/is-cidr/dist/index.js +11 -11
  1085. package/node/node_modules/npm/node_modules/is-cidr/package.json +39 -39
  1086. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/index.js +50 -50
  1087. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/license +9 -9
  1088. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/package.json +42 -42
  1089. package/node/node_modules/npm/node_modules/isexe/LICENSE +15 -15
  1090. package/node/node_modules/npm/node_modules/isexe/index.js +57 -57
  1091. package/node/node_modules/npm/node_modules/isexe/mode.js +41 -41
  1092. package/node/node_modules/npm/node_modules/isexe/package.json +31 -31
  1093. package/node/node_modules/npm/node_modules/isexe/windows.js +42 -42
  1094. package/node/node_modules/npm/node_modules/jackspeak/LICENSE.md +55 -55
  1095. package/node/node_modules/npm/node_modules/jackspeak/dist/commonjs/index.js +1009 -1009
  1096. package/node/node_modules/npm/node_modules/jackspeak/dist/commonjs/package.json +3 -3
  1097. package/node/node_modules/npm/node_modules/jackspeak/dist/commonjs/parse-args.js +49 -49
  1098. package/node/node_modules/npm/node_modules/jackspeak/dist/esm/index.js +999 -999
  1099. package/node/node_modules/npm/node_modules/jackspeak/dist/esm/package.json +3 -3
  1100. package/node/node_modules/npm/node_modules/jackspeak/dist/esm/parse-args.js +25 -25
  1101. package/node/node_modules/npm/node_modules/jackspeak/package.json +95 -95
  1102. package/node/node_modules/npm/node_modules/jsbn/LICENSE +40 -40
  1103. package/node/node_modules/npm/node_modules/jsbn/example.html +11 -11
  1104. package/node/node_modules/npm/node_modules/jsbn/example.js +5 -5
  1105. package/node/node_modules/npm/node_modules/jsbn/index.js +1361 -1361
  1106. package/node/node_modules/npm/node_modules/jsbn/package.json +21 -21
  1107. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md +25 -25
  1108. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/lib/index.js +137 -137
  1109. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/package.json +50 -50
  1110. package/node/node_modules/npm/node_modules/json-stringify-nice/LICENSE +15 -15
  1111. package/node/node_modules/npm/node_modules/json-stringify-nice/index.js +38 -38
  1112. package/node/node_modules/npm/node_modules/json-stringify-nice/package.json +40 -40
  1113. package/node/node_modules/npm/node_modules/jsonparse/LICENSE +24 -24
  1114. package/node/node_modules/npm/node_modules/jsonparse/bench.js +26 -26
  1115. package/node/node_modules/npm/node_modules/jsonparse/examples/twitterfeed.js +30 -30
  1116. package/node/node_modules/npm/node_modules/jsonparse/jsonparse.js +413 -413
  1117. package/node/node_modules/npm/node_modules/jsonparse/package.json +22 -22
  1118. package/node/node_modules/npm/node_modules/jsonparse/samplejson/basic.json +167 -167
  1119. package/node/node_modules/npm/node_modules/jsonparse/samplejson/basic2.json +180 -180
  1120. package/node/node_modules/npm/node_modules/just-diff/LICENSE +21 -21
  1121. package/node/node_modules/npm/node_modules/just-diff/index.cjs +230 -230
  1122. package/node/node_modules/npm/node_modules/just-diff/index.mjs +227 -227
  1123. package/node/node_modules/npm/node_modules/just-diff/package.json +32 -32
  1124. package/node/node_modules/npm/node_modules/just-diff/rollup.config.js +3 -3
  1125. package/node/node_modules/npm/node_modules/just-diff-apply/LICENSE +21 -21
  1126. package/node/node_modules/npm/node_modules/just-diff-apply/index.cjs +161 -161
  1127. package/node/node_modules/npm/node_modules/just-diff-apply/index.mjs +158 -158
  1128. package/node/node_modules/npm/node_modules/just-diff-apply/package.json +33 -33
  1129. package/node/node_modules/npm/node_modules/just-diff-apply/rollup.config.js +3 -3
  1130. package/node/node_modules/npm/node_modules/libnpmaccess/LICENSE +13 -13
  1131. package/node/node_modules/npm/node_modules/libnpmaccess/README.md +93 -93
  1132. package/node/node_modules/npm/node_modules/libnpmaccess/lib/index.js +140 -140
  1133. package/node/node_modules/npm/node_modules/libnpmaccess/package.json +54 -54
  1134. package/node/node_modules/npm/node_modules/libnpmdiff/LICENSE +15 -15
  1135. package/node/node_modules/npm/node_modules/libnpmdiff/README.md +95 -95
  1136. package/node/node_modules/npm/node_modules/libnpmdiff/lib/format-diff.js +118 -118
  1137. package/node/node_modules/npm/node_modules/libnpmdiff/lib/index.js +62 -62
  1138. package/node/node_modules/npm/node_modules/libnpmdiff/lib/should-print-patch.js +22 -22
  1139. package/node/node_modules/npm/node_modules/libnpmdiff/lib/tarball.js +38 -38
  1140. package/node/node_modules/npm/node_modules/libnpmdiff/lib/untar.js +96 -96
  1141. package/node/node_modules/npm/node_modules/libnpmdiff/package.json +70 -70
  1142. package/node/node_modules/npm/node_modules/libnpmexec/LICENSE +15 -15
  1143. package/node/node_modules/npm/node_modules/libnpmexec/README.md +47 -47
  1144. package/node/node_modules/npm/node_modules/libnpmexec/lib/file-exists.js +33 -33
  1145. package/node/node_modules/npm/node_modules/libnpmexec/lib/get-bin-from-manifest.js +22 -22
  1146. package/node/node_modules/npm/node_modules/libnpmexec/lib/index.js +301 -301
  1147. package/node/node_modules/npm/node_modules/libnpmexec/lib/is-windows.js +1 -1
  1148. package/node/node_modules/npm/node_modules/libnpmexec/lib/no-tty.js +1 -1
  1149. package/node/node_modules/npm/node_modules/libnpmexec/lib/run-script.js +61 -61
  1150. package/node/node_modules/npm/node_modules/libnpmexec/package.json +79 -79
  1151. package/node/node_modules/npm/node_modules/libnpmfund/LICENSE +15 -15
  1152. package/node/node_modules/npm/node_modules/libnpmfund/README.md +131 -131
  1153. package/node/node_modules/npm/node_modules/libnpmfund/lib/index.js +210 -210
  1154. package/node/node_modules/npm/node_modules/libnpmfund/package.json +65 -65
  1155. package/node/node_modules/npm/node_modules/libnpmhook/LICENSE.md +16 -16
  1156. package/node/node_modules/npm/node_modules/libnpmhook/README.md +271 -271
  1157. package/node/node_modules/npm/node_modules/libnpmhook/lib/index.js +70 -70
  1158. package/node/node_modules/npm/node_modules/libnpmhook/package.json +57 -57
  1159. package/node/node_modules/npm/node_modules/libnpmorg/LICENSE +13 -13
  1160. package/node/node_modules/npm/node_modules/libnpmorg/README.md +148 -148
  1161. package/node/node_modules/npm/node_modules/libnpmorg/lib/index.js +64 -64
  1162. package/node/node_modules/npm/node_modules/libnpmorg/package.json +62 -62
  1163. package/node/node_modules/npm/node_modules/libnpmpack/LICENSE +13 -13
  1164. package/node/node_modules/npm/node_modules/libnpmpack/README.md +55 -55
  1165. package/node/node_modules/npm/node_modules/libnpmpack/lib/index.js +62 -62
  1166. package/node/node_modules/npm/node_modules/libnpmpack/package.json +59 -59
  1167. package/node/node_modules/npm/node_modules/libnpmpublish/LICENSE +13 -13
  1168. package/node/node_modules/npm/node_modules/libnpmpublish/README.md +120 -120
  1169. package/node/node_modules/npm/node_modules/libnpmpublish/lib/index.js +4 -4
  1170. package/node/node_modules/npm/node_modules/libnpmpublish/lib/provenance.js +245 -245
  1171. package/node/node_modules/npm/node_modules/libnpmpublish/lib/publish.js +225 -225
  1172. package/node/node_modules/npm/node_modules/libnpmpublish/lib/unpublish.js +119 -119
  1173. package/node/node_modules/npm/node_modules/libnpmpublish/package.json +65 -65
  1174. package/node/node_modules/npm/node_modules/libnpmsearch/LICENSE +13 -13
  1175. package/node/node_modules/npm/node_modules/libnpmsearch/README.md +173 -173
  1176. package/node/node_modules/npm/node_modules/libnpmsearch/lib/index.js +71 -71
  1177. package/node/node_modules/npm/node_modules/libnpmsearch/package.json +58 -58
  1178. package/node/node_modules/npm/node_modules/libnpmteam/LICENSE +13 -13
  1179. package/node/node_modules/npm/node_modules/libnpmteam/README.md +188 -188
  1180. package/node/node_modules/npm/node_modules/libnpmteam/lib/index.js +92 -92
  1181. package/node/node_modules/npm/node_modules/libnpmteam/package.json +52 -52
  1182. package/node/node_modules/npm/node_modules/libnpmversion/LICENSE +15 -15
  1183. package/node/node_modules/npm/node_modules/libnpmversion/README.md +163 -163
  1184. package/node/node_modules/npm/node_modules/libnpmversion/lib/commit.js +17 -17
  1185. package/node/node_modules/npm/node_modules/libnpmversion/lib/enforce-clean.js +32 -32
  1186. package/node/node_modules/npm/node_modules/libnpmversion/lib/index.js +38 -38
  1187. package/node/node_modules/npm/node_modules/libnpmversion/lib/read-json.js +6 -6
  1188. package/node/node_modules/npm/node_modules/libnpmversion/lib/retrieve-tag.js +13 -13
  1189. package/node/node_modules/npm/node_modules/libnpmversion/lib/tag.js +30 -30
  1190. package/node/node_modules/npm/node_modules/libnpmversion/lib/version.js +136 -136
  1191. package/node/node_modules/npm/node_modules/libnpmversion/lib/write-json.js +15 -15
  1192. package/node/node_modules/npm/node_modules/libnpmversion/package.json +55 -55
  1193. package/node/node_modules/npm/node_modules/lru-cache/LICENSE +15 -15
  1194. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.js +1545 -1545
  1195. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.min.js +2 -2
  1196. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/package.json +3 -3
  1197. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/index.js +1541 -1541
  1198. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/index.min.js +2 -2
  1199. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/package.json +3 -3
  1200. package/node/node_modules/npm/node_modules/lru-cache/package.json +116 -116
  1201. package/node/node_modules/npm/node_modules/make-fetch-happen/LICENSE +16 -16
  1202. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js +471 -471
  1203. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/errors.js +11 -11
  1204. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js +49 -49
  1205. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/key.js +17 -17
  1206. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/policy.js +161 -161
  1207. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js +118 -118
  1208. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/index.js +41 -41
  1209. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/options.js +59 -59
  1210. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js +41 -41
  1211. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js +132 -132
  1212. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/HISTORY.md +114 -114
  1213. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/LICENSE +24 -24
  1214. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/index.js +83 -83
  1215. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/lib/charset.js +169 -169
  1216. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/lib/encoding.js +205 -205
  1217. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/lib/language.js +179 -179
  1218. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/lib/mediaType.js +294 -294
  1219. package/node/node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator/package.json +43 -43
  1220. package/node/node_modules/npm/node_modules/make-fetch-happen/package.json +74 -74
  1221. package/node/node_modules/npm/node_modules/minimatch/LICENSE +15 -15
  1222. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +13 -13
  1223. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/ast.js +591 -591
  1224. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/brace-expressions.js +151 -151
  1225. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/escape.js +21 -21
  1226. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/index.js +1016 -1016
  1227. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/package.json +3 -3
  1228. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/unescape.js +23 -23
  1229. package/node/node_modules/npm/node_modules/minimatch/dist/esm/assert-valid-pattern.js +9 -9
  1230. package/node/node_modules/npm/node_modules/minimatch/dist/esm/ast.js +587 -587
  1231. package/node/node_modules/npm/node_modules/minimatch/dist/esm/brace-expressions.js +147 -147
  1232. package/node/node_modules/npm/node_modules/minimatch/dist/esm/escape.js +17 -17
  1233. package/node/node_modules/npm/node_modules/minimatch/dist/esm/index.js +1000 -1000
  1234. package/node/node_modules/npm/node_modules/minimatch/dist/esm/package.json +3 -3
  1235. package/node/node_modules/npm/node_modules/minimatch/dist/esm/unescape.js +19 -19
  1236. package/node/node_modules/npm/node_modules/minimatch/package.json +82 -82
  1237. package/node/node_modules/npm/node_modules/minipass/LICENSE +15 -15
  1238. package/node/node_modules/npm/node_modules/minipass/dist/commonjs/index.js +1027 -1027
  1239. package/node/node_modules/npm/node_modules/minipass/dist/commonjs/package.json +3 -3
  1240. package/node/node_modules/npm/node_modules/minipass/dist/esm/index.js +1017 -1017
  1241. package/node/node_modules/npm/node_modules/minipass/dist/esm/package.json +3 -3
  1242. package/node/node_modules/npm/node_modules/minipass/package.json +82 -82
  1243. package/node/node_modules/npm/node_modules/minipass-collect/LICENSE +15 -15
  1244. package/node/node_modules/npm/node_modules/minipass-collect/index.js +71 -71
  1245. package/node/node_modules/npm/node_modules/minipass-collect/package.json +30 -30
  1246. package/node/node_modules/npm/node_modules/minipass-fetch/LICENSE +28 -28
  1247. package/node/node_modules/npm/node_modules/minipass-fetch/lib/abort-error.js +17 -17
  1248. package/node/node_modules/npm/node_modules/minipass-fetch/lib/blob.js +97 -97
  1249. package/node/node_modules/npm/node_modules/minipass-fetch/lib/body.js +350 -350
  1250. package/node/node_modules/npm/node_modules/minipass-fetch/lib/fetch-error.js +32 -32
  1251. package/node/node_modules/npm/node_modules/minipass-fetch/lib/headers.js +267 -267
  1252. package/node/node_modules/npm/node_modules/minipass-fetch/lib/index.js +376 -376
  1253. package/node/node_modules/npm/node_modules/minipass-fetch/lib/request.js +282 -282
  1254. package/node/node_modules/npm/node_modules/minipass-fetch/lib/response.js +90 -90
  1255. package/node/node_modules/npm/node_modules/minipass-fetch/package.json +70 -70
  1256. package/node/node_modules/npm/node_modules/minipass-flush/LICENSE +15 -15
  1257. package/node/node_modules/npm/node_modules/minipass-flush/index.js +39 -39
  1258. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/LICENSE +15 -15
  1259. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/index.js +649 -649
  1260. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/package.json +56 -56
  1261. package/node/node_modules/npm/node_modules/minipass-flush/package.json +39 -39
  1262. package/node/node_modules/npm/node_modules/minipass-pipeline/LICENSE +15 -15
  1263. package/node/node_modules/npm/node_modules/minipass-pipeline/index.js +128 -128
  1264. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -15
  1265. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -649
  1266. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -56
  1267. package/node/node_modules/npm/node_modules/minipass-pipeline/package.json +29 -29
  1268. package/node/node_modules/npm/node_modules/minipass-sized/LICENSE +15 -15
  1269. package/node/node_modules/npm/node_modules/minipass-sized/index.js +67 -67
  1270. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/LICENSE +15 -15
  1271. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/index.js +649 -649
  1272. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/package.json +56 -56
  1273. package/node/node_modules/npm/node_modules/minipass-sized/package.json +39 -39
  1274. package/node/node_modules/npm/node_modules/minizlib/LICENSE +26 -26
  1275. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/constants.js +122 -122
  1276. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/index.js +391 -391
  1277. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/package.json +3 -3
  1278. package/node/node_modules/npm/node_modules/minizlib/dist/esm/constants.js +116 -116
  1279. package/node/node_modules/npm/node_modules/minizlib/dist/esm/index.js +339 -339
  1280. package/node/node_modules/npm/node_modules/minizlib/dist/esm/package.json +3 -3
  1281. package/node/node_modules/npm/node_modules/minizlib/package.json +80 -80
  1282. package/node/node_modules/npm/node_modules/mkdirp/LICENSE +21 -21
  1283. package/node/node_modules/npm/node_modules/mkdirp/bin/cmd.js +68 -68
  1284. package/node/node_modules/npm/node_modules/mkdirp/index.js +31 -31
  1285. package/node/node_modules/npm/node_modules/mkdirp/lib/find-made.js +29 -29
  1286. package/node/node_modules/npm/node_modules/mkdirp/lib/mkdirp-manual.js +64 -64
  1287. package/node/node_modules/npm/node_modules/mkdirp/lib/mkdirp-native.js +39 -39
  1288. package/node/node_modules/npm/node_modules/mkdirp/lib/opts-arg.js +23 -23
  1289. package/node/node_modules/npm/node_modules/mkdirp/lib/path-arg.js +29 -29
  1290. package/node/node_modules/npm/node_modules/mkdirp/lib/use-native.js +10 -10
  1291. package/node/node_modules/npm/node_modules/mkdirp/package.json +44 -44
  1292. package/node/node_modules/npm/node_modules/mkdirp/readme.markdown +266 -266
  1293. package/node/node_modules/npm/node_modules/ms/index.js +162 -162
  1294. package/node/node_modules/npm/node_modules/ms/license.md +21 -21
  1295. package/node/node_modules/npm/node_modules/ms/package.json +38 -38
  1296. package/node/node_modules/npm/node_modules/mute-stream/LICENSE +15 -15
  1297. package/node/node_modules/npm/node_modules/mute-stream/lib/index.js +142 -142
  1298. package/node/node_modules/npm/node_modules/mute-stream/package.json +54 -54
  1299. package/node/node_modules/npm/node_modules/node-gyp/.release-please-manifest.json +3 -3
  1300. package/node/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +1053 -1053
  1301. package/node/node_modules/npm/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -4
  1302. package/node/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +34 -34
  1303. package/node/node_modules/npm/node_modules/node-gyp/LICENSE +24 -24
  1304. package/node/node_modules/npm/node_modules/node-gyp/README.md +273 -273
  1305. package/node/node_modules/npm/node_modules/node-gyp/SECURITY.md +1 -1
  1306. package/node/node_modules/npm/node_modules/node-gyp/addon.gypi +204 -204
  1307. package/node/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +138 -138
  1308. package/node/node_modules/npm/node_modules/node-gyp/eslint.config.js +3 -3
  1309. package/node/node_modules/npm/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -3
  1310. package/node/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +28 -28
  1311. package/node/node_modules/npm/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -4
  1312. package/node/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -12
  1313. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/GypVsCMake.md +116 -116
  1314. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/Hacking.md +46 -46
  1315. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/InputFormatReference.md +1083 -1083
  1316. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +430 -430
  1317. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/README.md +27 -27
  1318. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/Testing.md +450 -450
  1319. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/UserDocumentation.md +965 -965
  1320. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp +8 -8
  1321. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -0
  1322. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +45 -45
  1323. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -365
  1324. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -206
  1325. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1272 -1272
  1326. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1547 -1547
  1327. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -59
  1328. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -152
  1329. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -270
  1330. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -574
  1331. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +704 -704
  1332. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +709 -709
  1333. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +173 -173
  1334. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +169 -169
  1335. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -113
  1336. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -55
  1337. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -805
  1338. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1172 -1172
  1339. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1319 -1319
  1340. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -128
  1341. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -104
  1342. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +462 -462
  1343. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +89 -89
  1344. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -56
  1345. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2745 -2745
  1346. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3976 -3976
  1347. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -44
  1348. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2965 -2965
  1349. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -67
  1350. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1391 -1391
  1351. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -26
  1352. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +3112 -3112
  1353. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -99
  1354. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +767 -767
  1355. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1260 -1260
  1356. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -174
  1357. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -61
  1358. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +373 -373
  1359. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1939 -1939
  1360. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -54
  1361. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +303 -303
  1362. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3196 -3196
  1363. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +65 -65
  1364. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -3
  1365. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -177
  1366. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -23
  1367. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -15
  1368. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +108 -108
  1369. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -252
  1370. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -83
  1371. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -359
  1372. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -61
  1373. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -192
  1374. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py +252 -252
  1375. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +825 -825
  1376. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -90
  1377. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -1030
  1378. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -553
  1379. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -172
  1380. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -563
  1381. package/node/node_modules/npm/node_modules/node-gyp/gyp/pyproject.toml +115 -115
  1382. package/node/node_modules/npm/node_modules/node-gyp/gyp/release-please-config.json +11 -11
  1383. package/node/node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py +261 -261
  1384. package/node/node_modules/npm/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -250
  1385. package/node/node_modules/npm/node_modules/node-gyp/lib/build.js +230 -230
  1386. package/node/node_modules/npm/node_modules/node-gyp/lib/clean.js +15 -15
  1387. package/node/node_modules/npm/node_modules/node-gyp/lib/configure.js +328 -328
  1388. package/node/node_modules/npm/node_modules/node-gyp/lib/create-config-gypi.js +153 -153
  1389. package/node/node_modules/npm/node_modules/node-gyp/lib/download.js +39 -39
  1390. package/node/node_modules/npm/node_modules/node-gyp/lib/find-node-directory.js +63 -63
  1391. package/node/node_modules/npm/node_modules/node-gyp/lib/find-python.js +310 -310
  1392. package/node/node_modules/npm/node_modules/node-gyp/lib/find-visualstudio.js +600 -600
  1393. package/node/node_modules/npm/node_modules/node-gyp/lib/install.js +415 -415
  1394. package/node/node_modules/npm/node_modules/node-gyp/lib/list.js +26 -26
  1395. package/node/node_modules/npm/node_modules/node-gyp/lib/log.js +168 -168
  1396. package/node/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +188 -188
  1397. package/node/node_modules/npm/node_modules/node-gyp/lib/process-release.js +146 -146
  1398. package/node/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +12 -12
  1399. package/node/node_modules/npm/node_modules/node-gyp/lib/remove.js +43 -43
  1400. package/node/node_modules/npm/node_modules/node-gyp/lib/util.js +81 -81
  1401. package/node/node_modules/npm/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -21
  1402. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/LICENSE.md +63 -63
  1403. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/dist/commonjs/index.js +92 -92
  1404. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/dist/commonjs/package.json +3 -3
  1405. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/dist/esm/index.js +84 -84
  1406. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/dist/esm/package.json +3 -3
  1407. package/node/node_modules/npm/node_modules/node-gyp/node_modules/chownr/package.json +69 -69
  1408. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/LICENSE +21 -21
  1409. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/package.json +91 -91
  1410. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/bin.d.ts +2 -2
  1411. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/bin.js +79 -79
  1412. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/find-made.d.ts +3 -3
  1413. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/find-made.js +34 -34
  1414. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/index.d.ts +38 -38
  1415. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/index.js +52 -52
  1416. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.d.ts +5 -5
  1417. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.js +78 -78
  1418. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/mkdirp-native.d.ts +5 -5
  1419. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/mkdirp-native.js +49 -49
  1420. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/opts-arg.d.ts +41 -41
  1421. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/opts-arg.js +37 -37
  1422. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/path-arg.d.ts +1 -1
  1423. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/path-arg.js +27 -27
  1424. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/use-native.d.ts +5 -5
  1425. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/cjs/src/use-native.js +16 -16
  1426. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/find-made.d.ts +3 -3
  1427. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/find-made.js +29 -29
  1428. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/index.d.ts +38 -38
  1429. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/index.js +42 -42
  1430. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/mkdirp-manual.d.ts +5 -5
  1431. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/mkdirp-manual.js +74 -74
  1432. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/mkdirp-native.d.ts +5 -5
  1433. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/mkdirp-native.js +45 -45
  1434. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/opts-arg.d.ts +41 -41
  1435. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/opts-arg.js +33 -33
  1436. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/package.json +3 -3
  1437. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/path-arg.d.ts +1 -1
  1438. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/path-arg.js +23 -23
  1439. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/use-native.d.ts +5 -5
  1440. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/dist/mjs/use-native.js +13 -13
  1441. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/package.json +91 -91
  1442. package/node/node_modules/npm/node_modules/node-gyp/node_modules/mkdirp/readme.markdown +281 -281
  1443. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/LICENSE +15 -15
  1444. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/create.js +82 -82
  1445. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/cwd-error.js +17 -17
  1446. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/extract.js +77 -77
  1447. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/get-write-flag.js +28 -28
  1448. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/header.js +305 -305
  1449. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/index.js +53 -53
  1450. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/large-numbers.js +98 -98
  1451. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/list.js +135 -135
  1452. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/make-command.js +60 -60
  1453. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/mkdir.js +208 -208
  1454. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/mode-fix.js +28 -28
  1455. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/normalize-unicode.js +16 -16
  1456. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/normalize-windows-path.js +11 -11
  1457. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/options.js +65 -65
  1458. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/pack.js +476 -476
  1459. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/package.json +3 -3
  1460. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/parse.js +598 -598
  1461. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/path-reservations.js +169 -169
  1462. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/pax.js +157 -157
  1463. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/read-entry.js +139 -139
  1464. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/replace.js +230 -230
  1465. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/strip-absolute-path.js +28 -28
  1466. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +17 -17
  1467. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/symlink-error.js +18 -18
  1468. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/types.js +49 -49
  1469. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/unpack.js +918 -918
  1470. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/update.js +32 -32
  1471. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/warn-method.js +30 -30
  1472. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/winchars.js +13 -13
  1473. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/commonjs/write-entry.js +688 -688
  1474. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/create.js +76 -76
  1475. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/cwd-error.js +13 -13
  1476. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/extract.js +48 -48
  1477. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/get-write-flag.js +22 -22
  1478. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/header.js +278 -278
  1479. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/index.js +19 -19
  1480. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/large-numbers.js +93 -93
  1481. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/list.js +105 -105
  1482. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/make-command.js +56 -56
  1483. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/mkdir.js +200 -200
  1484. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/mode-fix.js +24 -24
  1485. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/normalize-unicode.js +12 -12
  1486. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/normalize-windows-path.js +8 -8
  1487. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/options.js +53 -53
  1488. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/pack.js +444 -444
  1489. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/package.json +3 -3
  1490. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/parse.js +594 -594
  1491. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/path-reservations.js +165 -165
  1492. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/pax.js +153 -153
  1493. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/read-entry.js +135 -135
  1494. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/replace.js +224 -224
  1495. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/strip-absolute-path.js +24 -24
  1496. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/strip-trailing-slashes.js +13 -13
  1497. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/symlink-error.js +14 -14
  1498. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/types.js +44 -44
  1499. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/unpack.js +887 -887
  1500. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/update.js +29 -29
  1501. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/warn-method.js +26 -26
  1502. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/winchars.js +8 -8
  1503. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/dist/esm/write-entry.js +656 -656
  1504. package/node/node_modules/npm/node_modules/node-gyp/node_modules/tar/package.json +325 -325
  1505. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/LICENSE.md +63 -63
  1506. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/dist/commonjs/index.js +383 -383
  1507. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/dist/commonjs/package.json +3 -3
  1508. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/dist/esm/index.js +378 -378
  1509. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/dist/esm/package.json +3 -3
  1510. package/node/node_modules/npm/node_modules/node-gyp/node_modules/yallist/package.json +68 -68
  1511. package/node/node_modules/npm/node_modules/node-gyp/package.json +52 -52
  1512. package/node/node_modules/npm/node_modules/node-gyp/release-please-config.json +40 -40
  1513. package/node/node_modules/npm/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -41
  1514. package/node/node_modules/npm/node_modules/nopt/LICENSE +15 -15
  1515. package/node/node_modules/npm/node_modules/nopt/README.md +214 -214
  1516. package/node/node_modules/npm/node_modules/nopt/bin/nopt.js +29 -29
  1517. package/node/node_modules/npm/node_modules/nopt/lib/debug.js +5 -5
  1518. package/node/node_modules/npm/node_modules/nopt/lib/nopt-lib.js +514 -514
  1519. package/node/node_modules/npm/node_modules/nopt/lib/nopt.js +34 -34
  1520. package/node/node_modules/npm/node_modules/nopt/lib/type-defs.js +91 -91
  1521. package/node/node_modules/npm/node_modules/nopt/package.json +52 -52
  1522. package/node/node_modules/npm/node_modules/normalize-package-data/LICENSE +15 -15
  1523. package/node/node_modules/npm/node_modules/normalize-package-data/lib/extract_description.js +24 -24
  1524. package/node/node_modules/npm/node_modules/normalize-package-data/lib/fixer.js +475 -475
  1525. package/node/node_modules/npm/node_modules/normalize-package-data/lib/make_warning.js +22 -22
  1526. package/node/node_modules/npm/node_modules/normalize-package-data/lib/normalize.js +48 -48
  1527. package/node/node_modules/npm/node_modules/normalize-package-data/lib/safe_format.js +11 -11
  1528. package/node/node_modules/npm/node_modules/normalize-package-data/lib/typos.json +25 -25
  1529. package/node/node_modules/npm/node_modules/normalize-package-data/lib/warning_messages.json +30 -30
  1530. package/node/node_modules/npm/node_modules/normalize-package-data/package.json +56 -56
  1531. package/node/node_modules/npm/node_modules/npm-audit-report/LICENSE +16 -16
  1532. package/node/node_modules/npm/node_modules/npm-audit-report/lib/colors.js +22 -22
  1533. package/node/node_modules/npm/node_modules/npm-audit-report/lib/exit-code.js +14 -14
  1534. package/node/node_modules/npm/node_modules/npm-audit-report/lib/index.js +41 -41
  1535. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/detail.js +86 -86
  1536. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/install.js +75 -75
  1537. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/json.js +1 -1
  1538. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/quiet.js +1 -1
  1539. package/node/node_modules/npm/node_modules/npm-audit-report/package.json +62 -62
  1540. package/node/node_modules/npm/node_modules/npm-bundled/LICENSE +15 -15
  1541. package/node/node_modules/npm/node_modules/npm-bundled/lib/index.js +254 -254
  1542. package/node/node_modules/npm/node_modules/npm-bundled/package.json +49 -49
  1543. package/node/node_modules/npm/node_modules/npm-install-checks/LICENSE +27 -27
  1544. package/node/node_modules/npm/node_modules/npm-install-checks/lib/current-env.js +91 -91
  1545. package/node/node_modules/npm/node_modules/npm-install-checks/lib/dev-engines.js +145 -145
  1546. package/node/node_modules/npm/node_modules/npm-install-checks/lib/index.js +90 -90
  1547. package/node/node_modules/npm/node_modules/npm-install-checks/package.json +52 -52
  1548. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/LICENSE +15 -15
  1549. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/lib/index.js +64 -64
  1550. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/package.json +45 -45
  1551. package/node/node_modules/npm/node_modules/npm-package-arg/LICENSE +15 -15
  1552. package/node/node_modules/npm/node_modules/npm-package-arg/lib/npa.js +481 -481
  1553. package/node/node_modules/npm/node_modules/npm-package-arg/package.json +61 -61
  1554. package/node/node_modules/npm/node_modules/npm-packlist/LICENSE +15 -15
  1555. package/node/node_modules/npm/node_modules/npm-packlist/lib/index.js +456 -456
  1556. package/node/node_modules/npm/node_modules/npm-packlist/package.json +61 -61
  1557. package/node/node_modules/npm/node_modules/npm-pick-manifest/LICENSE.md +16 -16
  1558. package/node/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js +224 -224
  1559. package/node/node_modules/npm/node_modules/npm-pick-manifest/package.json +58 -58
  1560. package/node/node_modules/npm/node_modules/npm-profile/LICENSE.md +20 -20
  1561. package/node/node_modules/npm/node_modules/npm-profile/lib/index.js +278 -278
  1562. package/node/node_modules/npm/node_modules/npm-profile/package.json +52 -52
  1563. package/node/node_modules/npm/node_modules/npm-registry-fetch/LICENSE.md +20 -20
  1564. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/auth.js +181 -181
  1565. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js +108 -108
  1566. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/default-opts.js +19 -19
  1567. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/errors.js +80 -80
  1568. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/index.js +247 -247
  1569. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/json-stream.js +223 -223
  1570. package/node/node_modules/npm/node_modules/npm-registry-fetch/package.json +68 -68
  1571. package/node/node_modules/npm/node_modules/npm-user-validate/LICENSE +26 -26
  1572. package/node/node_modules/npm/node_modules/npm-user-validate/lib/index.js +61 -61
  1573. package/node/node_modules/npm/node_modules/npm-user-validate/package.json +50 -50
  1574. package/node/node_modules/npm/node_modules/p-map/index.js +281 -281
  1575. package/node/node_modules/npm/node_modules/p-map/license +9 -9
  1576. package/node/node_modules/npm/node_modules/p-map/package.json +57 -57
  1577. package/node/node_modules/npm/node_modules/package-json-from-dist/LICENSE.md +63 -63
  1578. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/index.js +133 -133
  1579. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -3
  1580. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/esm/index.js +128 -128
  1581. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/esm/package.json +3 -3
  1582. package/node/node_modules/npm/node_modules/package-json-from-dist/package.json +68 -68
  1583. package/node/node_modules/npm/node_modules/pacote/LICENSE +15 -15
  1584. package/node/node_modules/npm/node_modules/pacote/README.md +283 -283
  1585. package/node/node_modules/npm/node_modules/pacote/bin/index.js +158 -158
  1586. package/node/node_modules/npm/node_modules/pacote/lib/dir.js +102 -102
  1587. package/node/node_modules/npm/node_modules/pacote/lib/fetcher.js +497 -497
  1588. package/node/node_modules/npm/node_modules/pacote/lib/file.js +94 -94
  1589. package/node/node_modules/npm/node_modules/pacote/lib/git.js +317 -317
  1590. package/node/node_modules/npm/node_modules/pacote/lib/index.js +23 -23
  1591. package/node/node_modules/npm/node_modules/pacote/lib/registry.js +369 -369
  1592. package/node/node_modules/npm/node_modules/pacote/lib/remote.js +89 -89
  1593. package/node/node_modules/npm/node_modules/pacote/lib/util/add-git-sha.js +15 -15
  1594. package/node/node_modules/npm/node_modules/pacote/lib/util/cache-dir.js +15 -15
  1595. package/node/node_modules/npm/node_modules/pacote/lib/util/is-package-bin.js +25 -25
  1596. package/node/node_modules/npm/node_modules/pacote/lib/util/npm.js +14 -14
  1597. package/node/node_modules/npm/node_modules/pacote/lib/util/protected.js +5 -5
  1598. package/node/node_modules/npm/node_modules/pacote/lib/util/tar-create-options.js +31 -31
  1599. package/node/node_modules/npm/node_modules/pacote/lib/util/trailing-slashes.js +10 -10
  1600. package/node/node_modules/npm/node_modules/pacote/package.json +79 -79
  1601. package/node/node_modules/npm/node_modules/parse-conflict-json/LICENSE.md +20 -20
  1602. package/node/node_modules/npm/node_modules/parse-conflict-json/lib/index.js +104 -104
  1603. package/node/node_modules/npm/node_modules/parse-conflict-json/package.json +51 -51
  1604. package/node/node_modules/npm/node_modules/path-key/index.js +16 -16
  1605. package/node/node_modules/npm/node_modules/path-key/license +9 -9
  1606. package/node/node_modules/npm/node_modules/path-key/package.json +39 -39
  1607. package/node/node_modules/npm/node_modules/path-scurry/LICENSE.md +55 -55
  1608. package/node/node_modules/npm/node_modules/path-scurry/dist/commonjs/index.js +2013 -2013
  1609. package/node/node_modules/npm/node_modules/path-scurry/dist/commonjs/package.json +3 -3
  1610. package/node/node_modules/npm/node_modules/path-scurry/dist/esm/index.js +1978 -1978
  1611. package/node/node_modules/npm/node_modules/path-scurry/dist/esm/package.json +3 -3
  1612. package/node/node_modules/npm/node_modules/path-scurry/package.json +89 -89
  1613. package/node/node_modules/npm/node_modules/postcss-selector-parser/API.md +874 -874
  1614. package/node/node_modules/npm/node_modules/postcss-selector-parser/LICENSE-MIT +22 -22
  1615. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/index.js +16 -16
  1616. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/parser.js +1014 -1014
  1617. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/processor.js +169 -169
  1618. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/attribute.js +447 -447
  1619. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/className.js +49 -49
  1620. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/combinator.js +20 -20
  1621. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/comment.js +20 -20
  1622. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/constructors.js +64 -64
  1623. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/container.js +320 -320
  1624. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/guards.js +57 -57
  1625. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/id.js +24 -24
  1626. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/index.js +20 -20
  1627. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/namespace.js +79 -79
  1628. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/nesting.js +21 -21
  1629. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/node.js +191 -191
  1630. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/pseudo.js +25 -25
  1631. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/root.js +43 -43
  1632. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/selector.js +20 -20
  1633. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/string.js +20 -20
  1634. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/tag.js +20 -20
  1635. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/types.js +27 -27
  1636. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/universal.js +21 -21
  1637. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/sortAscending.js +10 -10
  1638. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenTypes.js +69 -69
  1639. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenize.js +238 -238
  1640. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/ensureObject.js +16 -16
  1641. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/getProp.js +17 -17
  1642. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/index.js +12 -12
  1643. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/stripComments.js +20 -20
  1644. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/unesc.js +75 -75
  1645. package/node/node_modules/npm/node_modules/postcss-selector-parser/package.json +80 -80
  1646. package/node/node_modules/npm/node_modules/proc-log/LICENSE +15 -15
  1647. package/node/node_modules/npm/node_modules/proc-log/lib/index.js +153 -153
  1648. package/node/node_modules/npm/node_modules/proc-log/package.json +46 -46
  1649. package/node/node_modules/npm/node_modules/proggy/LICENSE +15 -15
  1650. package/node/node_modules/npm/node_modules/proggy/lib/client.js +114 -114
  1651. package/node/node_modules/npm/node_modules/proggy/lib/index.js +15 -15
  1652. package/node/node_modules/npm/node_modules/proggy/lib/tracker.js +68 -68
  1653. package/node/node_modules/npm/node_modules/proggy/package.json +50 -50
  1654. package/node/node_modules/npm/node_modules/promise-all-reject-late/LICENSE +15 -15
  1655. package/node/node_modules/npm/node_modules/promise-all-reject-late/index.js +27 -27
  1656. package/node/node_modules/npm/node_modules/promise-all-reject-late/package.json +22 -22
  1657. package/node/node_modules/npm/node_modules/promise-call-limit/LICENSE +15 -15
  1658. package/node/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js +86 -86
  1659. package/node/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/package.json +3 -3
  1660. package/node/node_modules/npm/node_modules/promise-call-limit/dist/esm/index.js +59 -59
  1661. package/node/node_modules/npm/node_modules/promise-call-limit/dist/esm/package.json +3 -3
  1662. package/node/node_modules/npm/node_modules/promise-call-limit/package.json +68 -68
  1663. package/node/node_modules/npm/node_modules/promise-retry/LICENSE +19 -19
  1664. package/node/node_modules/npm/node_modules/promise-retry/index.js +52 -52
  1665. package/node/node_modules/npm/node_modules/promise-retry/package.json +37 -37
  1666. package/node/node_modules/npm/node_modules/promzard/LICENSE +15 -15
  1667. package/node/node_modules/npm/node_modules/promzard/lib/index.js +176 -176
  1668. package/node/node_modules/npm/node_modules/promzard/package.json +50 -50
  1669. package/node/node_modules/npm/node_modules/qrcode-terminal/.travis.yml +3 -3
  1670. package/node/node_modules/npm/node_modules/qrcode-terminal/LICENSE +222 -222
  1671. package/node/node_modules/npm/node_modules/qrcode-terminal/README.md +82 -82
  1672. package/node/node_modules/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js +101 -101
  1673. package/node/node_modules/npm/node_modules/qrcode-terminal/example/basic.js +2 -2
  1674. package/node/node_modules/npm/node_modules/qrcode-terminal/example/callback.js +4 -4
  1675. package/node/node_modules/npm/node_modules/qrcode-terminal/example/small-qrcode.js +6 -6
  1676. package/node/node_modules/npm/node_modules/qrcode-terminal/lib/main.js +100 -100
  1677. package/node/node_modules/npm/node_modules/qrcode-terminal/package.json +37 -37
  1678. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +22 -22
  1679. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +38 -38
  1680. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +7 -7
  1681. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +10 -10
  1682. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +44 -44
  1683. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +6 -6
  1684. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +66 -66
  1685. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +298 -298
  1686. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +272 -272
  1687. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/index.js +462 -462
  1688. package/node/node_modules/npm/node_modules/read/LICENSE +15 -15
  1689. package/node/node_modules/npm/node_modules/read/dist/commonjs/package.json +3 -3
  1690. package/node/node_modules/npm/node_modules/read/dist/commonjs/read.js +93 -93
  1691. package/node/node_modules/npm/node_modules/read/dist/esm/package.json +3 -3
  1692. package/node/node_modules/npm/node_modules/read/dist/esm/read.js +87 -87
  1693. package/node/node_modules/npm/node_modules/read/package.json +88 -88
  1694. package/node/node_modules/npm/node_modules/read-cmd-shim/LICENSE +14 -14
  1695. package/node/node_modules/npm/node_modules/read-cmd-shim/lib/index.js +75 -75
  1696. package/node/node_modules/npm/node_modules/read-cmd-shim/package.json +48 -48
  1697. package/node/node_modules/npm/node_modules/read-package-json-fast/LICENSE +15 -15
  1698. package/node/node_modules/npm/node_modules/read-package-json-fast/lib/index.js +141 -141
  1699. package/node/node_modules/npm/node_modules/read-package-json-fast/package.json +49 -49
  1700. package/node/node_modules/npm/node_modules/retry/License +21 -21
  1701. package/node/node_modules/npm/node_modules/retry/Makefile +18 -18
  1702. package/node/node_modules/npm/node_modules/retry/example/dns.js +30 -30
  1703. package/node/node_modules/npm/node_modules/retry/example/stop.js +40 -40
  1704. package/node/node_modules/npm/node_modules/retry/lib/retry.js +100 -100
  1705. package/node/node_modules/npm/node_modules/retry/lib/retry_operation.js +158 -158
  1706. package/node/node_modules/npm/node_modules/retry/package.json +32 -32
  1707. package/node/node_modules/npm/node_modules/safer-buffer/LICENSE +21 -21
  1708. package/node/node_modules/npm/node_modules/safer-buffer/Porting-Buffer.md +268 -268
  1709. package/node/node_modules/npm/node_modules/safer-buffer/dangerous.js +58 -58
  1710. package/node/node_modules/npm/node_modules/safer-buffer/package.json +34 -34
  1711. package/node/node_modules/npm/node_modules/safer-buffer/safer.js +77 -77
  1712. package/node/node_modules/npm/node_modules/safer-buffer/tests.js +406 -406
  1713. package/node/node_modules/npm/node_modules/semver/LICENSE +15 -15
  1714. package/node/node_modules/npm/node_modules/semver/README.md +663 -663
  1715. package/node/node_modules/npm/node_modules/semver/bin/semver.js +191 -191
  1716. package/node/node_modules/npm/node_modules/semver/classes/comparator.js +143 -143
  1717. package/node/node_modules/npm/node_modules/semver/classes/index.js +7 -7
  1718. package/node/node_modules/npm/node_modules/semver/classes/range.js +556 -556
  1719. package/node/node_modules/npm/node_modules/semver/classes/semver.js +319 -319
  1720. package/node/node_modules/npm/node_modules/semver/functions/clean.js +8 -8
  1721. package/node/node_modules/npm/node_modules/semver/functions/cmp.js +54 -54
  1722. package/node/node_modules/npm/node_modules/semver/functions/coerce.js +62 -62
  1723. package/node/node_modules/npm/node_modules/semver/functions/compare-build.js +9 -9
  1724. package/node/node_modules/npm/node_modules/semver/functions/compare-loose.js +5 -5
  1725. package/node/node_modules/npm/node_modules/semver/functions/compare.js +7 -7
  1726. package/node/node_modules/npm/node_modules/semver/functions/diff.js +60 -60
  1727. package/node/node_modules/npm/node_modules/semver/functions/eq.js +5 -5
  1728. package/node/node_modules/npm/node_modules/semver/functions/gt.js +5 -5
  1729. package/node/node_modules/npm/node_modules/semver/functions/gte.js +5 -5
  1730. package/node/node_modules/npm/node_modules/semver/functions/inc.js +21 -21
  1731. package/node/node_modules/npm/node_modules/semver/functions/lt.js +5 -5
  1732. package/node/node_modules/npm/node_modules/semver/functions/lte.js +5 -5
  1733. package/node/node_modules/npm/node_modules/semver/functions/major.js +5 -5
  1734. package/node/node_modules/npm/node_modules/semver/functions/minor.js +5 -5
  1735. package/node/node_modules/npm/node_modules/semver/functions/neq.js +5 -5
  1736. package/node/node_modules/npm/node_modules/semver/functions/parse.js +18 -18
  1737. package/node/node_modules/npm/node_modules/semver/functions/patch.js +5 -5
  1738. package/node/node_modules/npm/node_modules/semver/functions/prerelease.js +8 -8
  1739. package/node/node_modules/npm/node_modules/semver/functions/rcompare.js +5 -5
  1740. package/node/node_modules/npm/node_modules/semver/functions/rsort.js +5 -5
  1741. package/node/node_modules/npm/node_modules/semver/functions/satisfies.js +12 -12
  1742. package/node/node_modules/npm/node_modules/semver/functions/sort.js +5 -5
  1743. package/node/node_modules/npm/node_modules/semver/functions/valid.js +8 -8
  1744. package/node/node_modules/npm/node_modules/semver/index.js +91 -91
  1745. package/node/node_modules/npm/node_modules/semver/internal/constants.js +37 -37
  1746. package/node/node_modules/npm/node_modules/semver/internal/debug.js +11 -11
  1747. package/node/node_modules/npm/node_modules/semver/internal/identifiers.js +25 -25
  1748. package/node/node_modules/npm/node_modules/semver/internal/lrucache.js +42 -42
  1749. package/node/node_modules/npm/node_modules/semver/internal/parse-options.js +17 -17
  1750. package/node/node_modules/npm/node_modules/semver/internal/re.js +223 -223
  1751. package/node/node_modules/npm/node_modules/semver/package.json +78 -78
  1752. package/node/node_modules/npm/node_modules/semver/preload.js +4 -4
  1753. package/node/node_modules/npm/node_modules/semver/range.bnf +16 -16
  1754. package/node/node_modules/npm/node_modules/semver/ranges/gtr.js +6 -6
  1755. package/node/node_modules/npm/node_modules/semver/ranges/intersects.js +9 -9
  1756. package/node/node_modules/npm/node_modules/semver/ranges/ltr.js +6 -6
  1757. package/node/node_modules/npm/node_modules/semver/ranges/max-satisfying.js +27 -27
  1758. package/node/node_modules/npm/node_modules/semver/ranges/min-satisfying.js +26 -26
  1759. package/node/node_modules/npm/node_modules/semver/ranges/min-version.js +63 -63
  1760. package/node/node_modules/npm/node_modules/semver/ranges/outside.js +82 -82
  1761. package/node/node_modules/npm/node_modules/semver/ranges/simplify.js +49 -49
  1762. package/node/node_modules/npm/node_modules/semver/ranges/subset.js +249 -249
  1763. package/node/node_modules/npm/node_modules/semver/ranges/to-comparators.js +10 -10
  1764. package/node/node_modules/npm/node_modules/semver/ranges/valid.js +13 -13
  1765. package/node/node_modules/npm/node_modules/shebang-command/index.js +19 -19
  1766. package/node/node_modules/npm/node_modules/shebang-command/license +9 -9
  1767. package/node/node_modules/npm/node_modules/shebang-command/package.json +34 -34
  1768. package/node/node_modules/npm/node_modules/shebang-regex/index.js +2 -2
  1769. package/node/node_modules/npm/node_modules/shebang-regex/license +9 -9
  1770. package/node/node_modules/npm/node_modules/shebang-regex/package.json +35 -35
  1771. package/node/node_modules/npm/node_modules/signal-exit/LICENSE.txt +16 -16
  1772. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/browser.js +9 -9
  1773. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/index.js +278 -278
  1774. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/package.json +3 -3
  1775. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/signals.js +41 -41
  1776. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/browser.js +3 -3
  1777. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/index.js +274 -274
  1778. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/package.json +3 -3
  1779. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/signals.js +38 -38
  1780. package/node/node_modules/npm/node_modules/signal-exit/package.json +106 -106
  1781. package/node/node_modules/npm/node_modules/sigstore/LICENSE +202 -202
  1782. package/node/node_modules/npm/node_modules/sigstore/dist/config.js +120 -120
  1783. package/node/node_modules/npm/node_modules/sigstore/dist/index.js +34 -34
  1784. package/node/node_modules/npm/node_modules/sigstore/dist/sigstore.js +112 -112
  1785. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/LICENSE +202 -202
  1786. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/build.js +100 -100
  1787. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/bundle.js +24 -24
  1788. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/error.js +25 -25
  1789. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/index.js +43 -43
  1790. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/serialized.js +49 -49
  1791. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/utility.js +2 -2
  1792. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/dist/validate.js +199 -199
  1793. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle/package.json +35 -35
  1794. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/LICENSE +202 -202
  1795. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/error.js +24 -24
  1796. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/index.js +20 -20
  1797. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/length.js +62 -62
  1798. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/obj.js +152 -152
  1799. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/parse.js +124 -124
  1800. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/asn1/tag.js +86 -86
  1801. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/crypto.js +60 -60
  1802. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/dsse.js +30 -30
  1803. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/encoding.js +27 -27
  1804. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/index.js +56 -56
  1805. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/json.js +60 -60
  1806. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/oid.js +14 -14
  1807. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/pem.js +43 -43
  1808. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/rfc3161/error.js +21 -21
  1809. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/rfc3161/index.js +20 -20
  1810. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/rfc3161/timestamp.js +201 -201
  1811. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js +61 -61
  1812. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/stream.js +115 -115
  1813. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/x509/cert.js +230 -230
  1814. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/x509/ext.js +145 -145
  1815. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/x509/index.js +23 -23
  1816. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/dist/x509/sct.js +141 -141
  1817. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core/package.json +31 -31
  1818. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/LICENSE +202 -202
  1819. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/base.js +50 -50
  1820. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/bundle.js +81 -81
  1821. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/dsse.js +46 -46
  1822. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/index.js +7 -7
  1823. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/bundler/message.js +30 -30
  1824. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/error.js +39 -39
  1825. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/error.js +26 -26
  1826. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/fetch.js +98 -98
  1827. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/fulcio.js +41 -41
  1828. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/rekor.js +80 -80
  1829. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/external/tsa.js +38 -38
  1830. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/identity/ci.js +73 -73
  1831. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/identity/index.js +20 -20
  1832. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/identity/provider.js +2 -2
  1833. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/index.js +17 -17
  1834. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/fulcio/ca.js +59 -59
  1835. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js +45 -45
  1836. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/fulcio/index.js +87 -87
  1837. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/index.js +22 -22
  1838. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/signer/signer.js +17 -17
  1839. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/types/fetch.js +2 -2
  1840. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/util/index.js +59 -59
  1841. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/util/oidc.js +30 -30
  1842. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/util/ua.js +32 -32
  1843. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/index.js +24 -24
  1844. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tlog/client.js +61 -61
  1845. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tlog/entry.js +140 -140
  1846. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tlog/index.js +82 -82
  1847. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tsa/client.js +46 -46
  1848. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/tsa/index.js +44 -44
  1849. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/dist/witness/witness.js +2 -2
  1850. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign/package.json +46 -46
  1851. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/bundle/dsse.js +43 -43
  1852. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/bundle/index.js +57 -57
  1853. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/bundle/message.js +36 -36
  1854. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/error.js +32 -32
  1855. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/index.js +28 -28
  1856. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/key/certificate.js +211 -211
  1857. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/key/index.js +67 -67
  1858. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/key/sct.js +78 -78
  1859. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/policy.js +24 -24
  1860. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/shared.types.js +2 -2
  1861. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/checkpoint.js +157 -157
  1862. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/index.js +46 -46
  1863. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/merkle.js +104 -104
  1864. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/set.js +60 -60
  1865. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/timestamp/tsa.js +63 -63
  1866. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/tlog/dsse.js +57 -57
  1867. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/tlog/hashedrekord.js +51 -51
  1868. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/tlog/index.js +47 -47
  1869. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/tlog/intoto.js +62 -62
  1870. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/trust/filter.js +23 -23
  1871. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/trust/index.js +86 -86
  1872. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/trust/trust.types.js +2 -2
  1873. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/dist/verifier.js +141 -141
  1874. package/node/node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify/package.json +36 -36
  1875. package/node/node_modules/npm/node_modules/sigstore/package.json +47 -47
  1876. package/node/node_modules/npm/node_modules/smart-buffer/LICENSE +20 -20
  1877. package/node/node_modules/npm/node_modules/smart-buffer/build/smartbuffer.js +1232 -1232
  1878. package/node/node_modules/npm/node_modules/smart-buffer/build/utils.js +107 -107
  1879. package/node/node_modules/npm/node_modules/smart-buffer/package.json +79 -79
  1880. package/node/node_modules/npm/node_modules/socks/LICENSE +20 -20
  1881. package/node/node_modules/npm/node_modules/socks/build/client/socksclient.js +792 -792
  1882. package/node/node_modules/npm/node_modules/socks/build/common/constants.js +107 -107
  1883. package/node/node_modules/npm/node_modules/socks/build/common/helpers.js +165 -165
  1884. package/node/node_modules/npm/node_modules/socks/build/common/receivebuffer.js +42 -42
  1885. package/node/node_modules/npm/node_modules/socks/build/common/util.js +24 -24
  1886. package/node/node_modules/npm/node_modules/socks/build/index.js +17 -17
  1887. package/node/node_modules/npm/node_modules/socks/docs/examples/index.md +16 -16
  1888. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/associateExample.md +90 -90
  1889. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/bindExample.md +82 -82
  1890. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/connectExample.md +257 -257
  1891. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/associateExample.md +93 -93
  1892. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/bindExample.md +85 -85
  1893. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/connectExample.md +264 -264
  1894. package/node/node_modules/npm/node_modules/socks/docs/index.md +4 -4
  1895. package/node/node_modules/npm/node_modules/socks/docs/migratingFromV1.md +85 -85
  1896. package/node/node_modules/npm/node_modules/socks/package.json +58 -58
  1897. package/node/node_modules/npm/node_modules/socks-proxy-agent/LICENSE +21 -21
  1898. package/node/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js +194 -194
  1899. package/node/node_modules/npm/node_modules/socks-proxy-agent/package.json +141 -141
  1900. package/node/node_modules/npm/node_modules/spdx-correct/LICENSE +202 -202
  1901. package/node/node_modules/npm/node_modules/spdx-correct/index.js +386 -386
  1902. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/AUTHORS +4 -4
  1903. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/LICENSE +22 -22
  1904. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/index.js +8 -8
  1905. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/package.json +39 -39
  1906. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/parse.js +138 -138
  1907. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/scan.js +131 -131
  1908. package/node/node_modules/npm/node_modules/spdx-correct/package.json +32 -32
  1909. package/node/node_modules/npm/node_modules/spdx-exceptions/deprecated.json +3 -3
  1910. package/node/node_modules/npm/node_modules/spdx-exceptions/index.json +68 -68
  1911. package/node/node_modules/npm/node_modules/spdx-exceptions/package.json +19 -19
  1912. package/node/node_modules/npm/node_modules/spdx-expression-parse/AUTHORS +4 -4
  1913. package/node/node_modules/npm/node_modules/spdx-expression-parse/LICENSE +22 -22
  1914. package/node/node_modules/npm/node_modules/spdx-expression-parse/index.js +8 -8
  1915. package/node/node_modules/npm/node_modules/spdx-expression-parse/package.json +39 -39
  1916. package/node/node_modules/npm/node_modules/spdx-expression-parse/parse.js +138 -138
  1917. package/node/node_modules/npm/node_modules/spdx-expression-parse/scan.js +131 -131
  1918. package/node/node_modules/npm/node_modules/spdx-license-ids/deprecated.json +28 -28
  1919. package/node/node_modules/npm/node_modules/spdx-license-ids/index.json +650 -650
  1920. package/node/node_modules/npm/node_modules/spdx-license-ids/package.json +29 -29
  1921. package/node/node_modules/npm/node_modules/sprintf-js/CONTRIBUTORS.md +26 -26
  1922. package/node/node_modules/npm/node_modules/sprintf-js/LICENSE +24 -24
  1923. package/node/node_modules/npm/node_modules/sprintf-js/bower.json +14 -14
  1924. package/node/node_modules/npm/node_modules/sprintf-js/demo/angular.html +20 -20
  1925. package/node/node_modules/npm/node_modules/sprintf-js/dist/.gitattributes +4 -4
  1926. package/node/node_modules/npm/node_modules/sprintf-js/gruntfile.js +36 -36
  1927. package/node/node_modules/npm/node_modules/sprintf-js/package.json +35 -35
  1928. package/node/node_modules/npm/node_modules/sprintf-js/src/angular-sprintf.js +24 -24
  1929. package/node/node_modules/npm/node_modules/sprintf-js/src/sprintf.js +231 -231
  1930. package/node/node_modules/npm/node_modules/ssri/LICENSE.md +16 -16
  1931. package/node/node_modules/npm/node_modules/ssri/lib/index.js +580 -580
  1932. package/node/node_modules/npm/node_modules/ssri/package.json +66 -66
  1933. package/node/node_modules/npm/node_modules/string-width/index.js +47 -47
  1934. package/node/node_modules/npm/node_modules/string-width/license +9 -9
  1935. package/node/node_modules/npm/node_modules/string-width/package.json +56 -56
  1936. package/node/node_modules/npm/node_modules/string-width-cjs/index.js +47 -47
  1937. package/node/node_modules/npm/node_modules/string-width-cjs/license +9 -9
  1938. package/node/node_modules/npm/node_modules/string-width-cjs/package.json +56 -56
  1939. package/node/node_modules/npm/node_modules/strip-ansi/index.js +4 -4
  1940. package/node/node_modules/npm/node_modules/strip-ansi/license +9 -9
  1941. package/node/node_modules/npm/node_modules/strip-ansi/package.json +54 -54
  1942. package/node/node_modules/npm/node_modules/strip-ansi-cjs/index.js +4 -4
  1943. package/node/node_modules/npm/node_modules/strip-ansi-cjs/license +9 -9
  1944. package/node/node_modules/npm/node_modules/strip-ansi-cjs/package.json +54 -54
  1945. package/node/node_modules/npm/node_modules/supports-color/browser.js +30 -30
  1946. package/node/node_modules/npm/node_modules/supports-color/index.js +182 -182
  1947. package/node/node_modules/npm/node_modules/supports-color/license +9 -9
  1948. package/node/node_modules/npm/node_modules/supports-color/package.json +60 -60
  1949. package/node/node_modules/npm/node_modules/tar/LICENSE +15 -15
  1950. package/node/node_modules/npm/node_modules/tar/index.js +18 -18
  1951. package/node/node_modules/npm/node_modules/tar/lib/create.js +111 -111
  1952. package/node/node_modules/npm/node_modules/tar/lib/extract.js +113 -113
  1953. package/node/node_modules/npm/node_modules/tar/lib/get-write-flag.js +20 -20
  1954. package/node/node_modules/npm/node_modules/tar/lib/header.js +304 -304
  1955. package/node/node_modules/npm/node_modules/tar/lib/high-level-opt.js +29 -29
  1956. package/node/node_modules/npm/node_modules/tar/lib/large-numbers.js +104 -104
  1957. package/node/node_modules/npm/node_modules/tar/lib/list.js +139 -139
  1958. package/node/node_modules/npm/node_modules/tar/lib/mkdir.js +229 -229
  1959. package/node/node_modules/npm/node_modules/tar/lib/mode-fix.js +27 -27
  1960. package/node/node_modules/npm/node_modules/tar/lib/normalize-unicode.js +12 -12
  1961. package/node/node_modules/npm/node_modules/tar/lib/normalize-windows-path.js +8 -8
  1962. package/node/node_modules/npm/node_modules/tar/lib/pack.js +432 -432
  1963. package/node/node_modules/npm/node_modules/tar/lib/parse.js +552 -552
  1964. package/node/node_modules/npm/node_modules/tar/lib/path-reservations.js +156 -156
  1965. package/node/node_modules/npm/node_modules/tar/lib/pax.js +150 -150
  1966. package/node/node_modules/npm/node_modules/tar/lib/read-entry.js +107 -107
  1967. package/node/node_modules/npm/node_modules/tar/lib/replace.js +246 -246
  1968. package/node/node_modules/npm/node_modules/tar/lib/strip-absolute-path.js +24 -24
  1969. package/node/node_modules/npm/node_modules/tar/lib/strip-trailing-slashes.js +13 -13
  1970. package/node/node_modules/npm/node_modules/tar/lib/types.js +44 -44
  1971. package/node/node_modules/npm/node_modules/tar/lib/unpack.js +923 -923
  1972. package/node/node_modules/npm/node_modules/tar/lib/update.js +40 -40
  1973. package/node/node_modules/npm/node_modules/tar/lib/warn-mixin.js +24 -24
  1974. package/node/node_modules/npm/node_modules/tar/lib/winchars.js +23 -23
  1975. package/node/node_modules/npm/node_modules/tar/lib/write-entry.js +546 -546
  1976. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/LICENSE +15 -15
  1977. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/index.js +422 -422
  1978. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/LICENSE +15 -15
  1979. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/index.js +649 -649
  1980. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/package.json +56 -56
  1981. package/node/node_modules/npm/node_modules/tar/node_modules/fs-minipass/package.json +39 -39
  1982. package/node/node_modules/npm/node_modules/tar/node_modules/minipass/LICENSE +15 -15
  1983. package/node/node_modules/npm/node_modules/tar/node_modules/minipass/index.js +702 -702
  1984. package/node/node_modules/npm/node_modules/tar/node_modules/minipass/index.mjs +700 -700
  1985. package/node/node_modules/npm/node_modules/tar/node_modules/minipass/package.json +76 -76
  1986. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/LICENSE +26 -26
  1987. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/constants.js +115 -115
  1988. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/index.js +348 -348
  1989. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass/LICENSE +15 -15
  1990. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass/index.js +649 -649
  1991. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass/package.json +56 -56
  1992. package/node/node_modules/npm/node_modules/tar/node_modules/minizlib/package.json +42 -42
  1993. package/node/node_modules/npm/node_modules/tar/package.json +70 -70
  1994. package/node/node_modules/npm/node_modules/text-table/LICENSE +18 -18
  1995. package/node/node_modules/npm/node_modules/text-table/example/align.js +8 -8
  1996. package/node/node_modules/npm/node_modules/text-table/example/center.js +8 -8
  1997. package/node/node_modules/npm/node_modules/text-table/example/dotalign.js +9 -9
  1998. package/node/node_modules/npm/node_modules/text-table/example/doubledot.js +11 -11
  1999. package/node/node_modules/npm/node_modules/text-table/example/table.js +6 -6
  2000. package/node/node_modules/npm/node_modules/text-table/index.js +86 -86
  2001. package/node/node_modules/npm/node_modules/text-table/package.json +44 -44
  2002. package/node/node_modules/npm/node_modules/tiny-relative-date/LICENSE.md +21 -21
  2003. package/node/node_modules/npm/node_modules/tiny-relative-date/lib/factory.js +99 -99
  2004. package/node/node_modules/npm/node_modules/tiny-relative-date/lib/index.js +17 -17
  2005. package/node/node_modules/npm/node_modules/tiny-relative-date/package.json +39 -39
  2006. package/node/node_modules/npm/node_modules/tiny-relative-date/src/factory.js +89 -89
  2007. package/node/node_modules/npm/node_modules/tiny-relative-date/src/index.js +4 -4
  2008. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/da.js +31 -31
  2009. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/de.js +31 -31
  2010. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/en-short.js +31 -31
  2011. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/en.js +31 -31
  2012. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/es.js +31 -31
  2013. package/node/node_modules/npm/node_modules/tinyglobby/LICENSE +21 -21
  2014. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.d.mts +45 -45
  2015. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.js +266 -266
  2016. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.mjs +239 -239
  2017. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/LICENSE +7 -7
  2018. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/async.js +19 -19
  2019. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/counter.js +27 -27
  2020. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/get-array.js +13 -13
  2021. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/group-files.js +11 -11
  2022. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/invoke-callback.js +57 -57
  2023. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/join-path.js +36 -36
  2024. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/push-directory.js +37 -37
  2025. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/push-file.js +33 -33
  2026. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/resolve-symlink.js +67 -67
  2027. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/functions/walk-directory.js +40 -40
  2028. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/queue.js +29 -29
  2029. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/sync.js +9 -9
  2030. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/api/walker.js +129 -129
  2031. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/builder/api-builder.js +23 -23
  2032. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/builder/index.js +136 -136
  2033. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.cjs +571 -571
  2034. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.cts +133 -133
  2035. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.mts +133 -133
  2036. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.js +20 -20
  2037. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.mjs +553 -553
  2038. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/types.js +2 -2
  2039. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/utils.js +37 -37
  2040. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/package.json +90 -90
  2041. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/LICENSE +21 -21
  2042. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/index.js +17 -17
  2043. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/constants.js +179 -179
  2044. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/parse.js +1085 -1085
  2045. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/picomatch.js +341 -341
  2046. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/scan.js +391 -391
  2047. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/utils.js +72 -72
  2048. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/package.json +83 -83
  2049. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/posix.js +3 -3
  2050. package/node/node_modules/npm/node_modules/tinyglobby/package.json +64 -64
  2051. package/node/node_modules/npm/node_modules/treeverse/LICENSE +15 -15
  2052. package/node/node_modules/npm/node_modules/treeverse/lib/breadth.js +67 -67
  2053. package/node/node_modules/npm/node_modules/treeverse/lib/depth-descent.js +88 -88
  2054. package/node/node_modules/npm/node_modules/treeverse/lib/depth.js +76 -76
  2055. package/node/node_modules/npm/node_modules/treeverse/lib/index.js +4 -4
  2056. package/node/node_modules/npm/node_modules/treeverse/package.json +51 -51
  2057. package/node/node_modules/npm/node_modules/tuf-js/LICENSE +21 -21
  2058. package/node/node_modules/npm/node_modules/tuf-js/dist/config.js +15 -15
  2059. package/node/node_modules/npm/node_modules/tuf-js/dist/error.js +48 -48
  2060. package/node/node_modules/npm/node_modules/tuf-js/dist/fetcher.js +84 -84
  2061. package/node/node_modules/npm/node_modules/tuf-js/dist/index.js +9 -9
  2062. package/node/node_modules/npm/node_modules/tuf-js/dist/store.js +208 -208
  2063. package/node/node_modules/npm/node_modules/tuf-js/dist/updater.js +350 -350
  2064. package/node/node_modules/npm/node_modules/tuf-js/dist/utils/tmpfile.js +25 -25
  2065. package/node/node_modules/npm/node_modules/tuf-js/dist/utils/url.js +13 -13
  2066. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/LICENSE +21 -21
  2067. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/base.js +92 -92
  2068. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/delegations.js +115 -115
  2069. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/error.js +27 -27
  2070. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/file.js +183 -183
  2071. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/index.js +24 -24
  2072. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/key.js +85 -85
  2073. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/metadata.js +160 -160
  2074. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/role.js +299 -299
  2075. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/root.js +116 -116
  2076. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/signature.js +38 -38
  2077. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/snapshot.js +71 -71
  2078. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/targets.js +92 -92
  2079. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/timestamp.js +58 -58
  2080. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/guard.js +32 -32
  2081. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/index.js +28 -28
  2082. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/key.js +142 -142
  2083. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/oid.js +26 -26
  2084. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/types.js +2 -2
  2085. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/dist/utils/verify.js +13 -13
  2086. package/node/node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models/package.json +37 -37
  2087. package/node/node_modules/npm/node_modules/tuf-js/package.json +43 -43
  2088. package/node/node_modules/npm/node_modules/unique-filename/LICENSE +5 -5
  2089. package/node/node_modules/npm/node_modules/unique-filename/lib/index.js +7 -7
  2090. package/node/node_modules/npm/node_modules/unique-filename/package.json +53 -53
  2091. package/node/node_modules/npm/node_modules/unique-slug/LICENSE +15 -15
  2092. package/node/node_modules/npm/node_modules/unique-slug/lib/index.js +11 -11
  2093. package/node/node_modules/npm/node_modules/unique-slug/package.json +49 -49
  2094. package/node/node_modules/npm/node_modules/util-deprecate/History.md +16 -16
  2095. package/node/node_modules/npm/node_modules/util-deprecate/LICENSE +24 -24
  2096. package/node/node_modules/npm/node_modules/util-deprecate/browser.js +67 -67
  2097. package/node/node_modules/npm/node_modules/util-deprecate/node.js +6 -6
  2098. package/node/node_modules/npm/node_modules/util-deprecate/package.json +27 -27
  2099. package/node/node_modules/npm/node_modules/validate-npm-package-license/LICENSE +202 -202
  2100. package/node/node_modules/npm/node_modules/validate-npm-package-license/index.js +86 -86
  2101. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/AUTHORS +4 -4
  2102. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/LICENSE +22 -22
  2103. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js +8 -8
  2104. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/package.json +39 -39
  2105. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/parse.js +138 -138
  2106. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js +131 -131
  2107. package/node/node_modules/npm/node_modules/validate-npm-package-license/package.json +28 -28
  2108. package/node/node_modules/npm/node_modules/validate-npm-package-name/LICENSE +6 -6
  2109. package/node/node_modules/npm/node_modules/validate-npm-package-name/lib/index.js +110 -110
  2110. package/node/node_modules/npm/node_modules/validate-npm-package-name/package.json +61 -61
  2111. package/node/node_modules/npm/node_modules/walk-up-path/LICENSE +15 -15
  2112. package/node/node_modules/npm/node_modules/walk-up-path/dist/cjs/index.js +17 -17
  2113. package/node/node_modules/npm/node_modules/walk-up-path/dist/cjs/package.json +3 -3
  2114. package/node/node_modules/npm/node_modules/walk-up-path/dist/mjs/index.js +13 -13
  2115. package/node/node_modules/npm/node_modules/walk-up-path/dist/mjs/package.json +3 -3
  2116. package/node/node_modules/npm/node_modules/walk-up-path/package.json +72 -72
  2117. package/node/node_modules/npm/node_modules/which/LICENSE +15 -15
  2118. package/node/node_modules/npm/node_modules/which/README.md +51 -51
  2119. package/node/node_modules/npm/node_modules/which/bin/which.js +52 -52
  2120. package/node/node_modules/npm/node_modules/which/lib/index.js +111 -111
  2121. package/node/node_modules/npm/node_modules/which/node_modules/isexe/LICENSE +15 -15
  2122. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/index.js +45 -45
  2123. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/options.js +2 -2
  2124. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/package.json +3 -3
  2125. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/posix.js +66 -66
  2126. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/cjs/win32.js +61 -61
  2127. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/index.js +15 -15
  2128. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/options.js +1 -1
  2129. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/package.json +3 -3
  2130. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/posix.js +61 -61
  2131. package/node/node_modules/npm/node_modules/which/node_modules/isexe/dist/mjs/win32.js +56 -56
  2132. package/node/node_modules/npm/node_modules/which/node_modules/isexe/package.json +96 -96
  2133. package/node/node_modules/npm/node_modules/which/package.json +52 -52
  2134. package/node/node_modules/npm/node_modules/wrap-ansi/index.js +214 -214
  2135. package/node/node_modules/npm/node_modules/wrap-ansi/license +9 -9
  2136. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +10 -10
  2137. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/license +9 -9
  2138. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +61 -61
  2139. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/LICENSE-MIT.txt +20 -20
  2140. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/RGI_Emoji.js +6 -6
  2141. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -6
  2142. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/index.js +6 -6
  2143. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/text.js +6 -6
  2144. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/index.js +6 -6
  2145. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/package.json +52 -52
  2146. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/text.js +6 -6
  2147. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/index.js +54 -54
  2148. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/license +9 -9
  2149. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/package.json +59 -59
  2150. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +14 -14
  2151. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/license +9 -9
  2152. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +57 -57
  2153. package/node/node_modules/npm/node_modules/wrap-ansi/package.json +69 -69
  2154. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/index.js +216 -216
  2155. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/license +9 -9
  2156. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +163 -163
  2157. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +9 -9
  2158. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +56 -56
  2159. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/package.json +62 -62
  2160. package/node/node_modules/npm/node_modules/write-file-atomic/LICENSE.md +5 -5
  2161. package/node/node_modules/npm/node_modules/write-file-atomic/lib/index.js +267 -267
  2162. package/node/node_modules/npm/node_modules/write-file-atomic/package.json +58 -58
  2163. package/node/node_modules/npm/node_modules/yallist/LICENSE +15 -15
  2164. package/node/node_modules/npm/node_modules/yallist/iterator.js +8 -8
  2165. package/node/node_modules/npm/node_modules/yallist/package.json +29 -29
  2166. package/node/node_modules/npm/node_modules/yallist/yallist.js +426 -426
  2167. package/node/node_modules/npm/package.json +264 -264
  2168. package/node/node_modules/pnpm/bin/pnpm.mjs +0 -0
  2169. package/node/node_modules/pnpm/bin/pnpx.mjs +0 -0
  2170. package/node/node_modules/pnpm/dist/node-gyp-bin/node-gyp +0 -0
  2171. package/node/node_modules/pnpm/dist/node-gyp-bin/node-gyp.cmd +0 -0
  2172. package/node/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js +0 -0
  2173. package/node/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp +0 -0
  2174. package/node/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp_main.py +0 -0
  2175. package/node/npm +0 -0
  2176. package/node/npx +0 -0
  2177. package/node/pnpm +0 -0
  2178. package/node/pnpx +0 -0
  2179. package/optional-analytics-proof.js +98 -98
  2180. package/pack-market.js +49 -49
  2181. package/package.json +1 -1
  2182. package/packs/dsh-x-recommended/README.md +34 -34
  2183. package/packs/dsh-x-recommended/dspack.json +4 -4
  2184. package/packs/dsh-x-recommended/manifest.json +31 -31
  2185. package/packs/dsh-x-workbench/README.md +61 -0
  2186. package/packs/dsh-x-workbench/dspack.json +4 -0
  2187. package/packs/dsh-x-workbench/home/skills/agent-browser/LICENSE-APACHE-2.0.txt +202 -0
  2188. package/packs/dsh-x-workbench/home/skills/agent-browser/NOTICE.md +6 -0
  2189. package/packs/dsh-x-workbench/home/skills/agent-browser/SKILL.md +697 -0
  2190. package/packs/dsh-x-workbench/home/skills/agent-browser/references/authentication.md +313 -0
  2191. package/packs/dsh-x-workbench/home/skills/agent-browser/references/commands.md +300 -0
  2192. package/packs/dsh-x-workbench/home/skills/agent-browser/references/profiling.md +120 -0
  2193. package/packs/dsh-x-workbench/home/skills/agent-browser/references/proxy-support.md +194 -0
  2194. package/packs/dsh-x-workbench/home/skills/agent-browser/references/session-management.md +201 -0
  2195. package/packs/dsh-x-workbench/home/skills/agent-browser/references/snapshot-refs.md +229 -0
  2196. package/packs/dsh-x-workbench/home/skills/agent-browser/references/video-recording.md +173 -0
  2197. package/packs/dsh-x-workbench/home/skills/agent-browser/templates/authenticated-session.sh +105 -0
  2198. package/packs/dsh-x-workbench/home/skills/agent-browser/templates/capture-workflow.sh +69 -0
  2199. package/packs/dsh-x-workbench/home/skills/agent-browser/templates/form-automation.sh +62 -0
  2200. package/packs/dsh-x-workbench/home/skills/electron/LICENSE-APACHE-2.0.txt +202 -0
  2201. package/packs/dsh-x-workbench/home/skills/electron/NOTICE.md +6 -0
  2202. package/packs/dsh-x-workbench/home/skills/electron/SKILL.md +243 -0
  2203. package/packs/dsh-x-workbench/manifest.json +35 -0
  2204. package/packs.js +958 -958
  2205. package/perf/patch-hooks.mjs +68 -52
  2206. package/perf/plugin-profile.mjs +204 -0
  2207. package/perf/register.mjs +18 -14
  2208. package/perf/startup-resolver.mjs +73 -73
  2209. package/platform.js +70 -70
  2210. package/plugin-tool.js +81 -81
  2211. package/plugins.js +458 -433
  2212. package/pre-update.js +62 -0
  2213. package/proxy.js +499 -499
  2214. package/public/booting.html +390 -0
  2215. package/public/favicon.ico +0 -0
  2216. package/public/favicon.png +0 -0
  2217. package/public/icon.png +0 -0
  2218. package/public/idle.js +28 -28
  2219. package/public/index.html +9978 -8176
  2220. package/public/internal-tabs.js +305 -301
  2221. package/public/launch-list.js +271 -271
  2222. package/public/launcher-boot.css +64 -62
  2223. package/public/launcher-boot.js +92 -92
  2224. package/public/launcher.css +2493 -2186
  2225. package/public/log-view.js +32 -32
  2226. package/public/market-layout.js +33 -33
  2227. package/public/mascot-preview.html +33 -33
  2228. package/public/mascot.css +43 -43
  2229. package/public/mascot.js +269 -269
  2230. package/public/theme.css +200 -170
  2231. package/public/water.js +128 -128
  2232. package/recovery.js +185 -185
  2233. package/registry.js +547 -512
  2234. package/repair-actions.js +659 -659
  2235. package/repair-dependencies.js +380 -380
  2236. package/repair-evidence.js +199 -199
  2237. package/repair-plan.js +159 -159
  2238. package/repair-probe.mjs +347 -347
  2239. package/repair-uninstall.mjs +21 -21
  2240. package/reserved-profile-boot.mjs +45 -45
  2241. package/runtime-diagnostics.mjs +665 -665
  2242. package/server.js +7722 -6610
  2243. package/settings.js +844 -831
  2244. package/skills.js +493 -493
  2245. package/start.js +114 -114
  2246. package/startup-diagnosis.js +439 -439
  2247. package/stdio-unblock.cjs +6 -6
  2248. package/sync.js +2051 -2051
  2249. package/version.js +106 -106
  2250. package/zip.js +185 -185
  2251. package/zipfile.js +383 -383
  2252. package/assets/dsh-preview.png +0 -0
@@ -1,2282 +1,2282 @@
1
- const Definition = require('./definition.js')
2
-
3
- const ciInfo = require('ci-info')
4
- const querystring = require('node:querystring')
5
- const { join } = require('node:path')
6
-
7
- const isWindows = process.platform === 'win32'
8
-
9
- // used by cafile flattening to flatOptions.ca
10
- const { readFileSync } = require('node:fs')
11
- const maybeReadFile = file => {
12
- try {
13
- return readFileSync(file, 'utf8')
14
- } catch (er) {
15
- if (er.code !== 'ENOENT') {
16
- throw er
17
- }
18
- return null
19
- }
20
- }
21
-
22
- const buildOmitList = obj => {
23
- const include = obj.include || []
24
- const omit = obj.omit || []
25
-
26
- const only = obj.only
27
- if (/^prod(uction)?$/.test(only) || obj.production) {
28
- omit.push('dev')
29
- } else if (obj.production === false) {
30
- include.push('dev')
31
- }
32
-
33
- if (/^dev/.test(obj.also)) {
34
- include.push('dev')
35
- }
36
-
37
- if (obj.dev) {
38
- include.push('dev')
39
- }
40
-
41
- if (obj.optional === false) {
42
- omit.push('optional')
43
- } else if (obj.optional === true) {
44
- include.push('optional')
45
- }
46
-
47
- obj.omit = [...new Set(omit)].filter(type => !include.includes(type))
48
- obj.include = [...new Set(include)]
49
-
50
- if (obj.omit.includes('dev')) {
51
- process.env.NODE_ENV = 'production'
52
- }
53
-
54
- return obj.omit
55
- }
56
-
57
- const editor = process.env.EDITOR ||
58
- process.env.VISUAL ||
59
- (isWindows ? `${process.env.SYSTEMROOT}\\notepad.exe` : 'vi')
60
-
61
- const shell = isWindows ? process.env.ComSpec || 'cmd'
62
- : process.env.SHELL || 'sh'
63
-
64
- const { networkInterfaces } = require('node:os')
65
- const getLocalAddresses = () => {
66
- try {
67
- return Object.values(networkInterfaces()).map(
68
- int => int.map(({ address }) => address)
69
- ).reduce((set, addrs) => set.concat(addrs), [null])
70
- } catch (e) {
71
- return [null]
72
- }
73
- }
74
-
75
- const unicode = /UTF-?8$/i.test(
76
- process.env.LC_ALL ||
77
- process.env.LC_CTYPE ||
78
- process.env.LANG
79
- )
80
-
81
- // use LOCALAPPDATA on Windows, if set
82
- // https://github.com/npm/cli/pull/899
83
- const cacheRoot = (isWindows && process.env.LOCALAPPDATA) || '~'
84
- const cacheExtra = isWindows ? 'npm-cache' : '.npm'
85
- const cache = `${cacheRoot}/${cacheExtra}`
86
-
87
- // TODO: refactor these type definitions so that they are less
88
- // weird to pull out of the config module.
89
- // TODO: use better type definition/validation API, nopt's is so weird.
90
- const {
91
- semver: { type: Semver },
92
- Umask: { type: Umask },
93
- url: { type: url },
94
- path: { type: path },
95
- } = require('../type-defs.js')
96
-
97
- // basic flattening function, just copy it over camelCase
98
- const flatten = (key, obj, flatOptions) => {
99
- const camel = key.replace(/-([a-z])/g, (_0, _1) => _1.toUpperCase())
100
- flatOptions[camel] = obj[key]
101
- }
102
-
103
- // TODO:
104
- // Instead of having each definition provide a flatten method,
105
- // provide the (?list of?) flat option field(s?) that it impacts.
106
- // When that config is set, we mark the relevant flatOption fields
107
- // dirty. Then, a getter for that field defines how we actually
108
- // set it.
109
- //
110
- // So, `save-dev`, `save-optional`, `save-prod`, et al would indicate
111
- // that they affect the `saveType` flat option. Then the config.flat
112
- // object has a `get saveType () { ... }` that looks at the "real"
113
- // config settings from files etc and returns the appropriate value.
114
- //
115
- // Getters will also (maybe?) give us a hook to audit flat option
116
- // usage, so we can document and group these more appropriately.
117
- //
118
- // This will be a problem with cases where we currently do:
119
- // const opts = { ...npm.flatOptions, foo: 'bar' }, but we can maybe
120
- // instead do `npm.config.set('foo', 'bar')` prior to passing the
121
- // config object down where it needs to go.
122
- //
123
- // This way, when we go hunting for "where does saveType come from anyway!?"
124
- // while fixing some Arborist bug, we won't have to hunt through too
125
- // many places.
126
-
127
- // XXX: We should really deprecate all these `--save-blah` switches
128
- // in favor of a single `--save-type` option. The unfortunate shortcut
129
- // we took for `--save-peer --save-optional` being `--save-type=peerOptional`
130
- // makes this tricky, and likely a breaking change.
131
-
132
- // Define all config keys we know about. They are indexed by their own key for
133
- // ease of lookup later. This duplication is an optimization so that we don't
134
- // have to do an extra function call just to "reuse" the key in both places.
135
-
136
- const definitions = {
137
- _auth: new Definition('_auth', {
138
- default: null,
139
- type: [null, String],
140
- description: `
141
- A basic-auth string to use when authenticating against the npm registry.
142
- This will ONLY be used to authenticate against the npm registry. For other
143
- registries you will need to scope it like "//other-registry.tld/:_auth"
144
-
145
- Warning: This should generally not be set via a command-line option. It
146
- is safer to use a registry-provided authentication bearer token stored in
147
- the ~/.npmrc file by running \`npm login\`.
148
- `,
149
- flatten,
150
- }),
151
- access: new Definition('access', {
152
- default: null,
153
- defaultDescription: `
154
- 'public' for new packages, existing packages it will not change the current level
155
- `,
156
- type: [null, 'restricted', 'public'],
157
- description: `
158
- If you do not want your scoped package to be publicly viewable (and
159
- installable) set \`--access=restricted\`.
160
-
161
- Unscoped packages can not be set to \`restricted\`.
162
-
163
- Note: This defaults to not changing the current access level for existing
164
- packages. Specifying a value of \`restricted\` or \`public\` during
165
- publish will change the access for an existing package the same way that
166
- \`npm access set status\` would.
167
- `,
168
- flatten,
169
- }),
170
- all: new Definition('all', {
171
- default: false,
172
- type: Boolean,
173
- short: 'a',
174
- description: `
175
- When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show
176
- all outdated or installed packages, rather than only those directly
177
- depended upon by the current project.
178
- `,
179
- flatten,
180
- }),
181
- 'allow-same-version': new Definition('allow-same-version', {
182
- default: false,
183
- type: Boolean,
184
- description: `
185
- Prevents throwing an error when \`npm version\` is used to set the new
186
- version to the same value as the current version.
187
- `,
188
- flatten,
189
- }),
190
- also: new Definition('also', {
191
- default: null,
192
- type: [null, 'dev', 'development'],
193
- description: `
194
- When set to \`dev\` or \`development\`, this is an alias for
195
- \`--include=dev\`.
196
- `,
197
- deprecated: 'Please use --include=dev instead.',
198
- flatten (key, obj, flatOptions) {
199
- definitions.omit.flatten('omit', obj, flatOptions)
200
- },
201
- }),
202
- audit: new Definition('audit', {
203
- default: true,
204
- type: Boolean,
205
- description: `
206
- When "true" submit audit reports alongside the current npm command to the
207
- default registry and all registries configured for scopes. See the
208
- documentation for [\`npm audit\`](/commands/npm-audit) for details on what
209
- is submitted.
210
- `,
211
- flatten,
212
- }),
213
- 'audit-level': new Definition('audit-level', {
214
- default: null,
215
- type: [null, 'info', 'low', 'moderate', 'high', 'critical', 'none'],
216
- description: `
217
- The minimum level of vulnerability for \`npm audit\` to exit with
218
- a non-zero exit code.
219
- `,
220
- flatten,
221
- }),
222
- 'auth-type': new Definition('auth-type', {
223
- default: 'web',
224
- type: ['legacy', 'web'],
225
- description: `
226
- What authentication strategy to use with \`login\`.
227
- Note that if an \`otp\` config is given, this value will always be set to \`legacy\`.
228
- `,
229
- flatten,
230
- }),
231
- before: new Definition('before', {
232
- default: null,
233
- type: [null, Date],
234
- description: `
235
- If passed to \`npm install\`, will rebuild the npm tree such that only
236
- versions that were available **on or before** the \`--before\` time get
237
- installed. If there's no versions available for the current set of
238
- direct dependencies, the command will error.
239
-
240
- If the requested version is a \`dist-tag\` and the given tag does not
241
- pass the \`--before\` filter, the most recent version less than or equal
242
- to that tag will be used. For example, \`foo@latest\` might install
243
- \`foo@1.2\` even though \`latest\` is \`2.0\`.
244
- `,
245
- flatten,
246
- }),
247
- 'bin-links': new Definition('bin-links', {
248
- default: true,
249
- type: Boolean,
250
- description: `
251
- Tells npm to create symlinks (or \`.cmd\` shims on Windows) for package
252
- executables.
253
-
254
- Set to false to have it not do this. This can be used to work around the
255
- fact that some file systems don't support symlinks, even on ostensibly
256
- Unix systems.
257
- `,
258
- flatten,
259
- }),
260
- browser: new Definition('browser', {
261
- default: null,
262
- defaultDescription: `
263
- OS X: \`"open"\`, Windows: \`"start"\`, Others: \`"xdg-open"\`
264
- `,
265
- type: [null, Boolean, String],
266
- description: `
267
- The browser that is called by npm commands to open websites.
268
-
269
- Set to \`false\` to suppress browser behavior and instead print urls to
270
- terminal.
271
-
272
- Set to \`true\` to use default system URL opener.
273
- `,
274
- flatten,
275
- }),
276
- ca: new Definition('ca', {
277
- default: null,
278
- type: [null, String, Array],
279
- description: `
280
- The Certificate Authority signing certificate that is trusted for SSL
281
- connections to the registry. Values should be in PEM format (Windows
282
- calls it "Base-64 encoded X.509 (.CER)") with newlines replaced by the
283
- string "\\n". For example:
284
-
285
- \`\`\`ini
286
- ca="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"
287
- \`\`\`
288
-
289
- Set to \`null\` to only allow "known" registrars, or to a specific CA
290
- cert to trust only that specific signing authority.
291
-
292
- Multiple CAs can be trusted by specifying an array of certificates:
293
-
294
- \`\`\`ini
295
- ca[]="..."
296
- ca[]="..."
297
- \`\`\`
298
-
299
- See also the \`strict-ssl\` config.
300
- `,
301
- flatten,
302
- }),
303
- cache: new Definition('cache', {
304
- default: cache,
305
- defaultDescription: `
306
- Windows: \`%LocalAppData%\\npm-cache\`, Posix: \`~/.npm\`
307
- `,
308
- type: path,
309
- description: `
310
- The location of npm's cache directory.
311
- `,
312
- flatten (key, obj, flatOptions) {
313
- flatOptions.cache = join(obj.cache, '_cacache')
314
- flatOptions.npxCache = join(obj.cache, '_npx')
315
- flatOptions.tufCache = join(obj.cache, '_tuf')
316
- },
317
- }),
318
- 'cache-max': new Definition('cache-max', {
319
- default: Infinity,
320
- type: Number,
321
- description: `
322
- \`--cache-max=0\` is an alias for \`--prefer-online\`
323
- `,
324
- deprecated: `
325
- This option has been deprecated in favor of \`--prefer-online\`
326
- `,
327
- flatten (key, obj, flatOptions) {
328
- if (obj[key] <= 0) {
329
- flatOptions.preferOnline = true
330
- }
331
- },
332
- }),
333
- 'cache-min': new Definition('cache-min', {
334
- default: 0,
335
- type: Number,
336
- description: `
337
- \`--cache-min=9999 (or bigger)\` is an alias for \`--prefer-offline\`.
338
- `,
339
- deprecated: `
340
- This option has been deprecated in favor of \`--prefer-offline\`.
341
- `,
342
- flatten (key, obj, flatOptions) {
343
- if (obj[key] >= 9999) {
344
- flatOptions.preferOffline = true
345
- }
346
- },
347
- }),
348
- cafile: new Definition('cafile', {
349
- default: null,
350
- type: path,
351
- description: `
352
- A path to a file containing one or multiple Certificate Authority signing
353
- certificates. Similar to the \`ca\` setting, but allows for multiple
354
- CA's, as well as for the CA information to be stored in a file on disk.
355
- `,
356
- flatten (key, obj, flatOptions) {
357
- // always set to null in defaults
358
- if (!obj.cafile) {
359
- return
360
- }
361
-
362
- const raw = maybeReadFile(obj.cafile)
363
- if (!raw) {
364
- return
365
- }
366
-
367
- const delim = '-----END CERTIFICATE-----'
368
- flatOptions.ca = raw.replace(/\r\n/g, '\n').split(delim)
369
- .filter(section => section.trim())
370
- .map(section => section.trimLeft() + delim)
371
- },
372
- }),
373
- call: new Definition('call', {
374
- default: '',
375
- type: String,
376
- short: 'c',
377
- description: `
378
- Optional companion option for \`npm exec\`, \`npx\` that allows for
379
- specifying a custom command to be run along with the installed packages.
380
-
381
- \`\`\`bash
382
- npm exec --package yo --package generator-node --call "yo node"
383
- \`\`\`
384
- `,
385
- flatten,
386
- }),
387
- cert: new Definition('cert', {
388
- default: null,
389
- type: [null, String],
390
- description: `
391
- A client certificate to pass when accessing the registry. Values should
392
- be in PEM format (Windows calls it "Base-64 encoded X.509 (.CER)") with
393
- newlines replaced by the string "\\n". For example:
394
-
395
- \`\`\`ini
396
- cert="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"
397
- \`\`\`
398
-
399
- It is _not_ the path to a certificate file, though you can set a registry-scoped
400
- "certfile" path like "//other-registry.tld/:certfile=/path/to/cert.pem".
401
- `,
402
- deprecated: `
403
- \`key\` and \`cert\` are no longer used for most registry operations.
404
- Use registry scoped \`keyfile\` and \`certfile\` instead.
405
- Example:
406
- //other-registry.tld/:keyfile=/path/to/key.pem
407
- //other-registry.tld/:certfile=/path/to/cert.crt
408
- `,
409
- flatten,
410
- }),
411
- cidr: new Definition('cidr', {
412
- default: null,
413
- type: [null, String, Array],
414
- description: `
415
- This is a list of CIDR address to be used when configuring limited access
416
- tokens with the \`npm token create\` command.
417
- `,
418
- flatten,
419
- }),
420
- // This should never be directly used, the flattened value is the derived value
421
- // and is sent to other modules, and is also exposed as `npm.color` for use
422
- // inside npm itself.
423
- color: new Definition('color', {
424
- default: !process.env.NO_COLOR || process.env.NO_COLOR === '0',
425
- usage: '--color|--no-color|--color always',
426
- defaultDescription: `
427
- true unless the NO_COLOR environ is set to something other than '0'
428
- `,
429
- type: ['always', Boolean],
430
- description: `
431
- If false, never shows colors. If \`"always"\` then always shows colors.
432
- If true, then only prints color codes for tty file descriptors.
433
- `,
434
- flatten (key, obj, flatOptions) {
435
- flatOptions.color = !obj.color ? false
436
- : obj.color === 'always' ? true
437
- : !!process.stdout.isTTY
438
- flatOptions.logColor = !obj.color ? false
439
- : obj.color === 'always' ? true
440
- : !!process.stderr.isTTY
441
- },
442
- }),
443
- 'commit-hooks': new Definition('commit-hooks', {
444
- default: true,
445
- type: Boolean,
446
- description: `
447
- Run git commit hooks when using the \`npm version\` command.
448
- `,
449
- flatten,
450
- }),
451
- cpu: new Definition('cpu', {
452
- default: null,
453
- type: [null, String],
454
- description: `
455
- Override CPU architecture of native modules to install.
456
- Acceptable values are same as \`cpu\` field of package.json,
457
- which comes from \`process.arch\`.
458
- `,
459
- flatten,
460
- }),
461
- depth: new Definition('depth', {
462
- default: null,
463
- defaultDescription: `
464
- \`Infinity\` if \`--all\` is set, otherwise \`1\`
465
- `,
466
- type: [null, Number],
467
- description: `
468
- The depth to go when recursing packages for \`npm ls\`.
469
-
470
- If not set, \`npm ls\` will show only the immediate dependencies of the
471
- root project. If \`--all\` is set, then npm will show all dependencies
472
- by default.
473
- `,
474
- flatten,
475
- }),
476
- description: new Definition('description', {
477
- default: true,
478
- type: Boolean,
479
- usage: '--no-description',
480
- description: `
481
- Show the description in \`npm search\`
482
- `,
483
- flatten (key, obj, flatOptions) {
484
- flatOptions.search = flatOptions.search || { limit: 20 }
485
- flatOptions.search[key] = obj[key]
486
- },
487
- }),
488
- dev: new Definition('dev', {
489
- default: false,
490
- type: Boolean,
491
- description: `
492
- Alias for \`--include=dev\`.
493
- `,
494
- deprecated: 'Please use --include=dev instead.',
495
- flatten (key, obj, flatOptions) {
496
- definitions.omit.flatten('omit', obj, flatOptions)
497
- },
498
- }),
499
- diff: new Definition('diff', {
500
- default: [],
501
- hint: '<package-spec>',
502
- type: [String, Array],
503
- description: `
504
- Define arguments to compare in \`npm diff\`.
505
- `,
506
- flatten,
507
- }),
508
- 'diff-ignore-all-space': new Definition('diff-ignore-all-space', {
509
- default: false,
510
- type: Boolean,
511
- description: `
512
- Ignore whitespace when comparing lines in \`npm diff\`.
513
- `,
514
- flatten,
515
- }),
516
- 'diff-name-only': new Definition('diff-name-only', {
517
- default: false,
518
- type: Boolean,
519
- description: `
520
- Prints only filenames when using \`npm diff\`.
521
- `,
522
- flatten,
523
- }),
524
- 'diff-no-prefix': new Definition('diff-no-prefix', {
525
- default: false,
526
- type: Boolean,
527
- description: `
528
- Do not show any source or destination prefix in \`npm diff\` output.
529
-
530
- Note: this causes \`npm diff\` to ignore the \`--diff-src-prefix\` and
531
- \`--diff-dst-prefix\` configs.
532
- `,
533
- flatten,
534
- }),
535
- 'diff-dst-prefix': new Definition('diff-dst-prefix', {
536
- default: 'b/',
537
- hint: '<path>',
538
- type: String,
539
- description: `
540
- Destination prefix to be used in \`npm diff\` output.
541
- `,
542
- flatten,
543
- }),
544
- 'diff-src-prefix': new Definition('diff-src-prefix', {
545
- default: 'a/',
546
- hint: '<path>',
547
- type: String,
548
- description: `
549
- Source prefix to be used in \`npm diff\` output.
550
- `,
551
- flatten,
552
- }),
553
- 'diff-text': new Definition('diff-text', {
554
- default: false,
555
- type: Boolean,
556
- description: `
557
- Treat all files as text in \`npm diff\`.
558
- `,
559
- flatten,
560
- }),
561
- 'diff-unified': new Definition('diff-unified', {
562
- default: 3,
563
- type: Number,
564
- description: `
565
- The number of lines of context to print in \`npm diff\`.
566
- `,
567
- flatten,
568
- }),
569
- 'dry-run': new Definition('dry-run', {
570
- default: false,
571
- type: Boolean,
572
- description: `
573
- Indicates that you don't want npm to make any changes and that it should
574
- only report what it would have done. This can be passed into any of the
575
- commands that modify your local installation, eg, \`install\`,
576
- \`update\`, \`dedupe\`, \`uninstall\`, as well as \`pack\` and
577
- \`publish\`.
578
-
579
- Note: This is NOT honored by other network related commands, eg
580
- \`dist-tags\`, \`owner\`, etc.
581
- `,
582
- flatten,
583
- }),
584
- editor: new Definition('editor', {
585
- default: editor,
586
- defaultDescription: `
587
- The EDITOR or VISUAL environment variables, or '%SYSTEMROOT%\\notepad.exe' on Windows,
588
- or 'vi' on Unix systems
589
- `,
590
- type: String,
591
- description: `
592
- The command to run for \`npm edit\` and \`npm config edit\`.
593
- `,
594
- flatten,
595
- }),
596
- 'engine-strict': new Definition('engine-strict', {
597
- default: false,
598
- type: Boolean,
599
- description: `
600
- If set to true, then npm will stubbornly refuse to install (or even
601
- consider installing) any package that claims to not be compatible with
602
- the current Node.js version.
603
-
604
- This can be overridden by setting the \`--force\` flag.
605
- `,
606
- flatten,
607
- }),
608
- 'expect-result-count': new Definition('expect-result-count', {
609
- default: null,
610
- type: [null, Number],
611
- hint: '<count>',
612
- exclusive: ['expect-results'],
613
- description: `
614
- Tells to expect a specific number of results from the command.
615
- `,
616
- }),
617
- 'expect-results': new Definition('expect-results', {
618
- default: null,
619
- type: [null, Boolean],
620
- exclusive: ['expect-result-count'],
621
- description: `
622
- Tells npm whether or not to expect results from the command.
623
- Can be either true (expect some results) or false (expect no results).
624
- `,
625
- }),
626
- 'fetch-retries': new Definition('fetch-retries', {
627
- default: 2,
628
- type: Number,
629
- description: `
630
- The "retries" config for the \`retry\` module to use when fetching
631
- packages from the registry.
632
-
633
- npm will retry idempotent read requests to the registry in the case
634
- of network failures or 5xx HTTP errors.
635
- `,
636
- flatten (key, obj, flatOptions) {
637
- flatOptions.retry = flatOptions.retry || {}
638
- flatOptions.retry.retries = obj[key]
639
- },
640
- }),
641
- 'fetch-retry-factor': new Definition('fetch-retry-factor', {
642
- default: 10,
643
- type: Number,
644
- description: `
645
- The "factor" config for the \`retry\` module to use when fetching
646
- packages.
647
- `,
648
- flatten (key, obj, flatOptions) {
649
- flatOptions.retry = flatOptions.retry || {}
650
- flatOptions.retry.factor = obj[key]
651
- },
652
- }),
653
- 'fetch-retry-maxtimeout': new Definition('fetch-retry-maxtimeout', {
654
- default: 60000,
655
- defaultDescription: '60000 (1 minute)',
656
- type: Number,
657
- description: `
658
- The "maxTimeout" config for the \`retry\` module to use when fetching
659
- packages.
660
- `,
661
- flatten (key, obj, flatOptions) {
662
- flatOptions.retry = flatOptions.retry || {}
663
- flatOptions.retry.maxTimeout = obj[key]
664
- },
665
- }),
666
- 'fetch-retry-mintimeout': new Definition('fetch-retry-mintimeout', {
667
- default: 10000,
668
- defaultDescription: '10000 (10 seconds)',
669
- type: Number,
670
- description: `
671
- The "minTimeout" config for the \`retry\` module to use when fetching
672
- packages.
673
- `,
674
- flatten (key, obj, flatOptions) {
675
- flatOptions.retry = flatOptions.retry || {}
676
- flatOptions.retry.minTimeout = obj[key]
677
- },
678
- }),
679
- 'fetch-timeout': new Definition('fetch-timeout', {
680
- default: 5 * 60 * 1000,
681
- defaultDescription: `${5 * 60 * 1000} (5 minutes)`,
682
- type: Number,
683
- description: `
684
- The maximum amount of time to wait for HTTP requests to complete.
685
- `,
686
- flatten (key, obj, flatOptions) {
687
- flatOptions.timeout = obj[key]
688
- },
689
- }),
690
- force: new Definition('force', {
691
- default: false,
692
- type: Boolean,
693
- short: 'f',
694
- description: `
695
- Removes various protections against unfortunate side effects, common
696
- mistakes, unnecessary performance degradation, and malicious input.
697
-
698
- * Allow clobbering non-npm files in global installs.
699
- * Allow the \`npm version\` command to work on an unclean git repository.
700
- * Allow deleting the cache folder with \`npm cache clean\`.
701
- * Allow installing packages that have an \`engines\` declaration
702
- requiring a different version of npm.
703
- * Allow installing packages that have an \`engines\` declaration
704
- requiring a different version of \`node\`, even if \`--engine-strict\`
705
- is enabled.
706
- * Allow \`npm audit fix\` to install modules outside your stated
707
- dependency range (including SemVer-major changes).
708
- * Allow unpublishing all versions of a published package.
709
- * Allow conflicting peerDependencies to be installed in the root project.
710
- * Implicitly set \`--yes\` during \`npm init\`.
711
- * Allow clobbering existing values in \`npm pkg\`
712
- * Allow unpublishing of entire packages (not just a single version).
713
-
714
- If you don't have a clear idea of what you want to do, it is strongly
715
- recommended that you do not use this option!
716
- `,
717
- flatten,
718
- }),
719
- 'foreground-scripts': new Definition('foreground-scripts', {
720
- default: false,
721
- defaultDescription: `\`false\` unless when using \`npm pack\` or \`npm publish\` where it
722
- defaults to \`true\``,
723
- type: Boolean,
724
- description: `
725
- Run all build scripts (ie, \`preinstall\`, \`install\`, and
726
- \`postinstall\`) scripts for installed packages in the foreground
727
- process, sharing standard input, output, and error with the main npm
728
- process.
729
-
730
- Note that this will generally make installs run slower, and be much
731
- noisier, but can be useful for debugging.
732
- `,
733
- flatten,
734
- }),
735
- 'format-package-lock': new Definition('format-package-lock', {
736
- default: true,
737
- type: Boolean,
738
- description: `
739
- Format \`package-lock.json\` or \`npm-shrinkwrap.json\` as a human
740
- readable file.
741
- `,
742
- flatten,
743
- }),
744
- fund: new Definition('fund', {
745
- default: true,
746
- type: Boolean,
747
- description: `
748
- When "true" displays the message at the end of each \`npm install\`
749
- acknowledging the number of dependencies looking for funding.
750
- See [\`npm fund\`](/commands/npm-fund) for details.
751
- `,
752
- flatten,
753
- }),
754
- git: new Definition('git', {
755
- default: 'git',
756
- type: String,
757
- description: `
758
- The command to use for git commands. If git is installed on the
759
- computer, but is not in the \`PATH\`, then set this to the full path to
760
- the git binary.
761
- `,
762
- flatten,
763
- }),
764
- 'git-tag-version': new Definition('git-tag-version', {
765
- default: true,
766
- type: Boolean,
767
- description: `
768
- Tag the commit when using the \`npm version\` command. Setting this to
769
- false results in no commit being made at all.
770
- `,
771
- flatten,
772
- }),
773
- global: new Definition('global', {
774
- default: false,
775
- type: Boolean,
776
- short: 'g',
777
- description: `
778
- Operates in "global" mode, so that packages are installed into the
779
- \`prefix\` folder instead of the current working directory. See
780
- [folders](/configuring-npm/folders) for more on the differences in
781
- behavior.
782
-
783
- * packages are installed into the \`{prefix}/lib/node_modules\` folder,
784
- instead of the current working directory.
785
- * bin files are linked to \`{prefix}/bin\`
786
- * man pages are linked to \`{prefix}/share/man\`
787
- `,
788
- flatten: (key, obj, flatOptions) => {
789
- flatten(key, obj, flatOptions)
790
- if (flatOptions.global) {
791
- flatOptions.location = 'global'
792
- }
793
- },
794
- }),
795
- // the globalconfig has its default defined outside of this module
796
- globalconfig: new Definition('globalconfig', {
797
- type: path,
798
- default: '',
799
- defaultDescription: `
800
- The global --prefix setting plus 'etc/npmrc'. For example,
801
- '/usr/local/etc/npmrc'
802
- `,
803
- description: `
804
- The config file to read for global config options.
805
- `,
806
- flatten,
807
- }),
808
- 'global-style': new Definition('global-style', {
809
- default: false,
810
- type: Boolean,
811
- description: `
812
- Only install direct dependencies in the top level \`node_modules\`,
813
- but hoist on deeper dependencies.
814
- Sets \`--install-strategy=shallow\`.
815
- `,
816
- deprecated: `
817
- This option has been deprecated in favor of \`--install-strategy=shallow\`
818
- `,
819
- flatten (key, obj, flatOptions) {
820
- if (obj[key]) {
821
- obj['install-strategy'] = 'shallow'
822
- flatOptions.installStrategy = 'shallow'
823
- }
824
- },
825
- }),
826
- heading: new Definition('heading', {
827
- default: 'npm',
828
- type: String,
829
- description: `
830
- The string that starts all the debugging log output.
831
- `,
832
- flatten,
833
- }),
834
- 'https-proxy': new Definition('https-proxy', {
835
- default: null,
836
- type: [null, url],
837
- description: `
838
- A proxy to use for outgoing https requests. If the \`HTTPS_PROXY\` or
839
- \`https_proxy\` or \`HTTP_PROXY\` or \`http_proxy\` environment variables
840
- are set, proxy settings will be honored by the underlying
841
- \`make-fetch-happen\` library.
842
- `,
843
- flatten,
844
- }),
845
- 'if-present': new Definition('if-present', {
846
- default: false,
847
- type: Boolean,
848
- envExport: false,
849
- description: `
850
- If true, npm will not exit with an error code when \`run-script\` is
851
- invoked for a script that isn't defined in the \`scripts\` section of
852
- \`package.json\`. This option can be used when it's desirable to
853
- optionally run a script when it's present and fail if the script fails.
854
- This is useful, for example, when running scripts that may only apply for
855
- some builds in an otherwise generic CI setup.
856
- `,
857
- flatten,
858
- }),
859
- 'ignore-scripts': new Definition('ignore-scripts', {
860
- default: false,
861
- type: Boolean,
862
- description: `
863
- If true, npm does not run scripts specified in package.json files.
864
-
865
- Note that commands explicitly intended to run a particular script, such
866
- as \`npm start\`, \`npm stop\`, \`npm restart\`, \`npm test\`, and \`npm
867
- run-script\` will still run their intended script if \`ignore-scripts\` is
868
- set, but they will *not* run any pre- or post-scripts.
869
- `,
870
- flatten,
871
- }),
872
- include: new Definition('include', {
873
- default: [],
874
- type: [Array, 'prod', 'dev', 'optional', 'peer'],
875
- description: `
876
- Option that allows for defining which types of dependencies to install.
877
-
878
- This is the inverse of \`--omit=<type>\`.
879
-
880
- Dependency types specified in \`--include\` will not be omitted,
881
- regardless of the order in which omit/include are specified on the
882
- command-line.
883
- `,
884
- flatten (key, obj, flatOptions) {
885
- // just call the omit flattener, it reads from obj.include
886
- definitions.omit.flatten('omit', obj, flatOptions)
887
- },
888
- }),
889
- 'include-staged': new Definition('include-staged', {
890
- default: false,
891
- type: Boolean,
892
- description: `
893
- Allow installing "staged" published packages, as defined by [npm RFC PR
894
- #92](https://github.com/npm/rfcs/pull/92).
895
-
896
- This is experimental, and not implemented by the npm public registry.
897
- `,
898
- flatten,
899
- }),
900
- 'include-workspace-root': new Definition('include-workspace-root', {
901
- default: false,
902
- type: Boolean,
903
- envExport: false,
904
- description: `
905
- Include the workspace root when workspaces are enabled for a command.
906
-
907
- When false, specifying individual workspaces via the \`workspace\` config,
908
- or all workspaces via the \`workspaces\` flag, will cause npm to operate only
909
- on the specified workspaces, and not on the root project.
910
- `,
911
- flatten,
912
- }),
913
- 'init-author-email': new Definition('init-author-email', {
914
- default: '',
915
- hint: '<email>',
916
- type: String,
917
- description: `
918
- The value \`npm init\` should use by default for the package author's
919
- email.
920
- `,
921
- }),
922
- 'init-author-name': new Definition('init-author-name', {
923
- default: '',
924
- hint: '<name>',
925
- type: String,
926
- description: `
927
- The value \`npm init\` should use by default for the package author's name.
928
- `,
929
- }),
930
- 'init-author-url': new Definition('init-author-url', {
931
- default: '',
932
- type: ['', url],
933
- hint: '<url>',
934
- description: `
935
- The value \`npm init\` should use by default for the package author's homepage.
936
- `,
937
- }),
938
- 'init-license': new Definition('init-license', {
939
- default: 'ISC',
940
- hint: '<license>',
941
- type: String,
942
- description: `
943
- The value \`npm init\` should use by default for the package license.
944
- `,
945
- }),
946
- 'init-module': new Definition('init-module', {
947
- default: '~/.npm-init.js',
948
- type: path,
949
- hint: '<module>',
950
- description: `
951
- A module that will be loaded by the \`npm init\` command. See the
952
- documentation for the
953
- [init-package-json](https://github.com/npm/init-package-json) module for
954
- more information, or [npm init](/commands/npm-init).
955
- `,
956
- }),
957
- 'init-version': new Definition('init-version', {
958
- default: '1.0.0',
959
- type: Semver,
960
- hint: '<version>',
961
- description: `
962
- The value that \`npm init\` should use by default for the package
963
- version number, if not already set in package.json.
964
- `,
965
- }),
966
- // these "aliases" are historically supported in .npmrc files, unfortunately
967
- // They should be removed in a future npm version.
968
- 'init.author.email': new Definition('init.author.email', {
969
- default: '',
970
- type: String,
971
- deprecated: `
972
- Use \`--init-author-email\` instead.`,
973
- description: `
974
- Alias for \`--init-author-email\`
975
- `,
976
- }),
977
- 'init.author.name': new Definition('init.author.name', {
978
- default: '',
979
- type: String,
980
- deprecated: `
981
- Use \`--init-author-name\` instead.
982
- `,
983
- description: `
984
- Alias for \`--init-author-name\`
985
- `,
986
- }),
987
- 'init.author.url': new Definition('init.author.url', {
988
- default: '',
989
- type: ['', url],
990
- deprecated: `
991
- Use \`--init-author-url\` instead.
992
- `,
993
- description: `
994
- Alias for \`--init-author-url\`
995
- `,
996
- }),
997
- 'init.license': new Definition('init.license', {
998
- default: 'ISC',
999
- type: String,
1000
- deprecated: `
1001
- Use \`--init-license\` instead.
1002
- `,
1003
- description: `
1004
- Alias for \`--init-license\`
1005
- `,
1006
- }),
1007
- 'init.module': new Definition('init.module', {
1008
- default: '~/.npm-init.js',
1009
- type: path,
1010
- deprecated: `
1011
- Use \`--init-module\` instead.
1012
- `,
1013
- description: `
1014
- Alias for \`--init-module\`
1015
- `,
1016
- }),
1017
- 'init.version': new Definition('init.version', {
1018
- default: '1.0.0',
1019
- type: Semver,
1020
- deprecated: `
1021
- Use \`--init-version\` instead.
1022
- `,
1023
- description: `
1024
- Alias for \`--init-version\`
1025
- `,
1026
- }),
1027
- 'install-links': new Definition('install-links', {
1028
- default: false,
1029
- type: Boolean,
1030
- description: `
1031
- When set file: protocol dependencies will be packed and installed as
1032
- regular dependencies instead of creating a symlink. This option has
1033
- no effect on workspaces.
1034
- `,
1035
- flatten,
1036
- }),
1037
- 'install-strategy': new Definition('install-strategy', {
1038
- default: 'hoisted',
1039
- type: ['hoisted', 'nested', 'shallow', 'linked'],
1040
- description: `
1041
- Sets the strategy for installing packages in node_modules.
1042
- hoisted (default): Install non-duplicated in top-level, and duplicated as
1043
- necessary within directory structure.
1044
- nested: (formerly --legacy-bundling) install in place, no hoisting.
1045
- shallow (formerly --global-style) only install direct deps at top-level.
1046
- linked: (experimental) install in node_modules/.store, link in place,
1047
- unhoisted.
1048
- `,
1049
- flatten,
1050
- }),
1051
- json: new Definition('json', {
1052
- default: false,
1053
- type: Boolean,
1054
- description: `
1055
- Whether or not to output JSON data, rather than the normal output.
1056
-
1057
- * In \`npm pkg set\` it enables parsing set values with JSON.parse()
1058
- before saving them to your \`package.json\`.
1059
-
1060
- Not supported by all npm commands.
1061
- `,
1062
- flatten,
1063
- }),
1064
- key: new Definition('key', {
1065
- default: null,
1066
- type: [null, String],
1067
- description: `
1068
- A client key to pass when accessing the registry. Values should be in
1069
- PEM format with newlines replaced by the string "\\n". For example:
1070
-
1071
- \`\`\`ini
1072
- key="-----BEGIN PRIVATE KEY-----\\nXXXX\\nXXXX\\n-----END PRIVATE KEY-----"
1073
- \`\`\`
1074
-
1075
- It is _not_ the path to a key file, though you can set a registry-scoped
1076
- "keyfile" path like "//other-registry.tld/:keyfile=/path/to/key.pem".
1077
- `,
1078
- deprecated: `
1079
- \`key\` and \`cert\` are no longer used for most registry operations.
1080
- Use registry scoped \`keyfile\` and \`certfile\` instead.
1081
- Example:
1082
- //other-registry.tld/:keyfile=/path/to/key.pem
1083
- //other-registry.tld/:certfile=/path/to/cert.crt
1084
- `,
1085
- flatten,
1086
- }),
1087
- 'legacy-bundling': new Definition('legacy-bundling', {
1088
- default: false,
1089
- type: Boolean,
1090
- description: `
1091
- Instead of hoisting package installs in \`node_modules\`, install packages
1092
- in the same manner that they are depended on. This may cause very deep
1093
- directory structures and duplicate package installs as there is no
1094
- de-duplicating.
1095
- Sets \`--install-strategy=nested\`.
1096
- `,
1097
- deprecated: `
1098
- This option has been deprecated in favor of \`--install-strategy=nested\`
1099
- `,
1100
- flatten (key, obj, flatOptions) {
1101
- if (obj[key]) {
1102
- obj['install-strategy'] = 'nested'
1103
- flatOptions.installStrategy = 'nested'
1104
- }
1105
- },
1106
- }),
1107
- 'legacy-peer-deps': new Definition('legacy-peer-deps', {
1108
- default: false,
1109
- type: Boolean,
1110
- description: `
1111
- Causes npm to completely ignore \`peerDependencies\` when building a
1112
- package tree, as in npm versions 3 through 6.
1113
-
1114
- If a package cannot be installed because of overly strict
1115
- \`peerDependencies\` that collide, it provides a way to move forward
1116
- resolving the situation.
1117
-
1118
- This differs from \`--omit=peer\`, in that \`--omit=peer\` will avoid
1119
- unpacking \`peerDependencies\` on disk, but will still design a tree such
1120
- that \`peerDependencies\` _could_ be unpacked in a correct place.
1121
-
1122
- Use of \`legacy-peer-deps\` is not recommended, as it will not enforce
1123
- the \`peerDependencies\` contract that meta-dependencies may rely on.
1124
- `,
1125
- flatten,
1126
- }),
1127
- libc: new Definition('libc', {
1128
- default: null,
1129
- type: [null, String],
1130
- description: `
1131
- Override libc of native modules to install.
1132
- Acceptable values are same as \`libc\` field of package.json
1133
- `,
1134
- flatten,
1135
- }),
1136
- link: new Definition('link', {
1137
- default: false,
1138
- type: Boolean,
1139
- description: `
1140
- Used with \`npm ls\`, limiting output to only those packages that are
1141
- linked.
1142
- `,
1143
- }),
1144
- 'local-address': new Definition('local-address', {
1145
- default: null,
1146
- type: getLocalAddresses(),
1147
- typeDescription: 'IP Address',
1148
- description: `
1149
- The IP address of the local interface to use when making connections to
1150
- the npm registry. Must be IPv4 in versions of Node prior to 0.12.
1151
- `,
1152
- flatten,
1153
- }),
1154
- location: new Definition('location', {
1155
- default: 'user',
1156
- short: 'L',
1157
- type: [
1158
- 'global',
1159
- 'user',
1160
- 'project',
1161
- ],
1162
- defaultDescription: `
1163
- "user" unless \`--global\` is passed, which will also set this value to "global"
1164
- `,
1165
- description: `
1166
- When passed to \`npm config\` this refers to which config file to use.
1167
-
1168
- When set to "global" mode, packages are installed into the \`prefix\` folder
1169
- instead of the current working directory. See
1170
- [folders](/configuring-npm/folders) for more on the differences in behavior.
1171
-
1172
- * packages are installed into the \`{prefix}/lib/node_modules\` folder,
1173
- instead of the current working directory.
1174
- * bin files are linked to \`{prefix}/bin\`
1175
- * man pages are linked to \`{prefix}/share/man\`
1176
- `,
1177
- flatten: (key, obj, flatOptions) => {
1178
- flatten(key, obj, flatOptions)
1179
- if (flatOptions.global) {
1180
- flatOptions.location = 'global'
1181
- }
1182
- if (obj.location === 'global') {
1183
- flatOptions.global = true
1184
- }
1185
- },
1186
- }),
1187
- 'lockfile-version': new Definition('lockfile-version', {
1188
- default: null,
1189
- type: [null, 1, 2, 3, '1', '2', '3'],
1190
- defaultDescription: `
1191
- Version 3 if no lockfile, auto-converting v1 lockfiles to v3, otherwise
1192
- maintain current lockfile version.`,
1193
- description: `
1194
- Set the lockfile format version to be used in package-lock.json and
1195
- npm-shrinkwrap-json files. Possible options are:
1196
-
1197
- 1: The lockfile version used by npm versions 5 and 6. Lacks some data that
1198
- is used during the install, resulting in slower and possibly less
1199
- deterministic installs. Prevents lockfile churn when interoperating with
1200
- older npm versions.
1201
-
1202
- 2: The default lockfile version used by npm version 7 and 8. Includes both
1203
- the version 1 lockfile data and version 3 lockfile data, for maximum
1204
- determinism and interoperability, at the expense of more bytes on disk.
1205
-
1206
- 3: Only the new lockfile information introduced in npm version 7. Smaller
1207
- on disk than lockfile version 2, but not interoperable with older npm
1208
- versions. Ideal if all users are on npm version 7 and higher.
1209
- `,
1210
- flatten: (key, obj, flatOptions) => {
1211
- flatOptions.lockfileVersion = obj[key] && parseInt(obj[key], 10)
1212
- },
1213
- }),
1214
- loglevel: new Definition('loglevel', {
1215
- default: 'notice',
1216
- type: [
1217
- 'silent',
1218
- 'error',
1219
- 'warn',
1220
- 'notice',
1221
- 'http',
1222
- 'info',
1223
- 'verbose',
1224
- 'silly',
1225
- ],
1226
- description: `
1227
- What level of logs to report. All logs are written to a debug log,
1228
- with the path to that file printed if the execution of a command fails.
1229
-
1230
- Any logs of a higher level than the setting are shown. The default is
1231
- "notice".
1232
-
1233
- See also the \`foreground-scripts\` config.
1234
- `,
1235
- flatten (key, obj, flatOptions) {
1236
- flatOptions.silent = obj[key] === 'silent'
1237
- },
1238
- }),
1239
- 'logs-dir': new Definition('logs-dir', {
1240
- default: null,
1241
- type: [null, path],
1242
- defaultDescription: `
1243
- A directory named \`_logs\` inside the cache
1244
- `,
1245
- description: `
1246
- The location of npm's log directory. See [\`npm
1247
- logging\`](/using-npm/logging) for more information.
1248
- `,
1249
- }),
1250
- 'logs-max': new Definition('logs-max', {
1251
- default: 10,
1252
- type: Number,
1253
- description: `
1254
- The maximum number of log files to store.
1255
-
1256
- If set to 0, no log files will be written for the current run.
1257
- `,
1258
- }),
1259
- long: new Definition('long', {
1260
- default: false,
1261
- type: Boolean,
1262
- short: 'l',
1263
- description: `
1264
- Show extended information in \`ls\`, \`search\`, and \`help-search\`.
1265
- `,
1266
- }),
1267
- maxsockets: new Definition('maxsockets', {
1268
- default: 15,
1269
- type: Number,
1270
- description: `
1271
- The maximum number of connections to use per origin (protocol/host/port
1272
- combination).
1273
- `,
1274
- flatten (key, obj, flatOptions) {
1275
- flatOptions.maxSockets = obj[key]
1276
- },
1277
- }),
1278
- message: new Definition('message', {
1279
- default: '%s',
1280
- type: String,
1281
- short: 'm',
1282
- description: `
1283
- Commit message which is used by \`npm version\` when creating version commit.
1284
-
1285
- Any "%s" in the message will be replaced with the version number.
1286
- `,
1287
- flatten,
1288
- }),
1289
- 'node-options': new Definition('node-options', {
1290
- default: null,
1291
- type: [null, String],
1292
- description: `
1293
- Options to pass through to Node.js via the \`NODE_OPTIONS\` environment
1294
- variable. This does not impact how npm itself is executed but it does
1295
- impact how lifecycle scripts are called.
1296
- `,
1297
- }),
1298
- noproxy: new Definition('noproxy', {
1299
- default: '',
1300
- defaultDescription: `
1301
- The value of the NO_PROXY environment variable
1302
- `,
1303
- type: [String, Array],
1304
- description: `
1305
- Domain extensions that should bypass any proxies.
1306
-
1307
- Also accepts a comma-delimited string.
1308
- `,
1309
- flatten (key, obj, flatOptions) {
1310
- if (Array.isArray(obj[key])) {
1311
- flatOptions.noProxy = obj[key].join(',')
1312
- } else {
1313
- flatOptions.noProxy = obj[key]
1314
- }
1315
- },
1316
- }),
1317
- offline: new Definition('offline', {
1318
- default: false,
1319
- type: Boolean,
1320
- description: `
1321
- Force offline mode: no network requests will be done during install. To allow
1322
- the CLI to fill in missing cache data, see \`--prefer-offline\`.
1323
- `,
1324
- flatten,
1325
- }),
1326
- omit: new Definition('omit', {
1327
- default: process.env.NODE_ENV === 'production' ? ['dev'] : [],
1328
- defaultDescription: `
1329
- 'dev' if the \`NODE_ENV\` environment variable is set to 'production',
1330
- otherwise empty.
1331
- `,
1332
- type: [Array, 'dev', 'optional', 'peer'],
1333
- description: `
1334
- Dependency types to omit from the installation tree on disk.
1335
-
1336
- Note that these dependencies _are_ still resolved and added to the
1337
- \`package-lock.json\` or \`npm-shrinkwrap.json\` file. They are just
1338
- not physically installed on disk.
1339
-
1340
- If a package type appears in both the \`--include\` and \`--omit\`
1341
- lists, then it will be included.
1342
-
1343
- If the resulting omit list includes \`'dev'\`, then the \`NODE_ENV\`
1344
- environment variable will be set to \`'production'\` for all lifecycle
1345
- scripts.
1346
- `,
1347
- flatten (key, obj, flatOptions) {
1348
- flatOptions.omit = buildOmitList(obj)
1349
- },
1350
- }),
1351
- 'omit-lockfile-registry-resolved': new Definition('omit-lockfile-registry-resolved', {
1352
- default: false,
1353
- type: Boolean,
1354
- description: `
1355
- This option causes npm to create lock files without a \`resolved\` key for
1356
- registry dependencies. Subsequent installs will need to resolve tarball
1357
- endpoints with the configured registry, likely resulting in a longer install
1358
- time.
1359
- `,
1360
- flatten,
1361
- }),
1362
- only: new Definition('only', {
1363
- default: null,
1364
- type: [null, 'prod', 'production'],
1365
- deprecated: `
1366
- Use \`--omit=dev\` to omit dev dependencies from the install.
1367
- `,
1368
- description: `
1369
- When set to \`prod\` or \`production\`, this is an alias for
1370
- \`--omit=dev\`.
1371
- `,
1372
- flatten (key, obj, flatOptions) {
1373
- definitions.omit.flatten('omit', obj, flatOptions)
1374
- },
1375
- }),
1376
- optional: new Definition('optional', {
1377
- default: null,
1378
- type: [null, Boolean],
1379
- deprecated: `
1380
- Use \`--omit=optional\` to exclude optional dependencies, or
1381
- \`--include=optional\` to include them.
1382
-
1383
- Default value does install optional deps unless otherwise omitted.
1384
- `,
1385
- description: `
1386
- Alias for --include=optional or --omit=optional
1387
- `,
1388
- flatten (key, obj, flatOptions) {
1389
- definitions.omit.flatten('omit', obj, flatOptions)
1390
- },
1391
- }),
1392
- os: new Definition('os', {
1393
- default: null,
1394
- type: [null, String],
1395
- description: `
1396
- Override OS of native modules to install.
1397
- Acceptable values are same as \`os\` field of package.json,
1398
- which comes from \`process.platform\`.
1399
- `,
1400
- flatten,
1401
- }),
1402
- otp: new Definition('otp', {
1403
- default: null,
1404
- type: [null, String],
1405
- description: `
1406
- This is a one-time password from a two-factor authenticator. It's needed
1407
- when publishing or changing package permissions with \`npm access\`.
1408
-
1409
- If not set, and a registry response fails with a challenge for a one-time
1410
- password, npm will prompt on the command line for one.
1411
- `,
1412
- flatten (key, obj, flatOptions) {
1413
- flatten(key, obj, flatOptions)
1414
- if (obj.otp) {
1415
- obj['auth-type'] = 'legacy'
1416
- flatten('auth-type', obj, flatOptions)
1417
- }
1418
- },
1419
- }),
1420
- package: new Definition('package', {
1421
- default: [],
1422
- hint: '<package-spec>',
1423
- type: [String, Array],
1424
- description: `
1425
- The package or packages to install for [\`npm exec\`](/commands/npm-exec)
1426
- `,
1427
- flatten,
1428
- }),
1429
- 'package-lock': new Definition('package-lock', {
1430
- default: true,
1431
- type: Boolean,
1432
- description: `
1433
- If set to false, then ignore \`package-lock.json\` files when installing.
1434
- This will also prevent _writing_ \`package-lock.json\` if \`save\` is
1435
- true.
1436
- `,
1437
- flatten: (key, obj, flatOptions) => {
1438
- flatten(key, obj, flatOptions)
1439
- if (flatOptions.packageLockOnly) {
1440
- flatOptions.packageLock = true
1441
- }
1442
- },
1443
- }),
1444
- 'package-lock-only': new Definition('package-lock-only', {
1445
- default: false,
1446
- type: Boolean,
1447
- description: `
1448
- If set to true, the current operation will only use the \`package-lock.json\`,
1449
- ignoring \`node_modules\`.
1450
-
1451
- For \`update\` this means only the \`package-lock.json\` will be updated,
1452
- instead of checking \`node_modules\` and downloading dependencies.
1453
-
1454
- For \`list\` this means the output will be based on the tree described by the
1455
- \`package-lock.json\`, rather than the contents of \`node_modules\`.
1456
- `,
1457
- flatten: (key, obj, flatOptions) => {
1458
- flatten(key, obj, flatOptions)
1459
- if (flatOptions.packageLockOnly) {
1460
- flatOptions.packageLock = true
1461
- }
1462
- },
1463
- }),
1464
- 'pack-destination': new Definition('pack-destination', {
1465
- default: '.',
1466
- type: String,
1467
- description: `
1468
- Directory in which \`npm pack\` will save tarballs.
1469
- `,
1470
- flatten,
1471
- }),
1472
- parseable: new Definition('parseable', {
1473
- default: false,
1474
- type: Boolean,
1475
- short: 'p',
1476
- description: `
1477
- Output parseable results from commands that write to standard output. For
1478
- \`npm search\`, this will be tab-separated table format.
1479
- `,
1480
- flatten,
1481
- }),
1482
- 'prefer-dedupe': new Definition('prefer-dedupe', {
1483
- default: false,
1484
- type: Boolean,
1485
- description: `
1486
- Prefer to deduplicate packages if possible, rather than
1487
- choosing a newer version of a dependency.
1488
- `,
1489
- flatten,
1490
- }),
1491
- 'prefer-offline': new Definition('prefer-offline', {
1492
- default: false,
1493
- type: Boolean,
1494
- description: `
1495
- If true, staleness checks for cached data will be bypassed, but missing
1496
- data will be requested from the server. To force full offline mode, use
1497
- \`--offline\`.
1498
- `,
1499
- flatten,
1500
- }),
1501
- 'prefer-online': new Definition('prefer-online', {
1502
- default: false,
1503
- type: Boolean,
1504
- description: `
1505
- If true, staleness checks for cached data will be forced, making the CLI
1506
- look for updates immediately even for fresh package data.
1507
- `,
1508
- flatten,
1509
- }),
1510
- // `prefix` has its default defined outside of this module
1511
- prefix: new Definition('prefix', {
1512
- type: path,
1513
- short: 'C',
1514
- default: '',
1515
- defaultDescription: `
1516
- In global mode, the folder where the node executable is installed.
1517
- Otherwise, the nearest parent folder containing either a package.json
1518
- file or a node_modules folder.
1519
- `,
1520
- description: `
1521
- The location to install global items. If set on the command line, then
1522
- it forces non-global commands to run in the specified folder.
1523
- `,
1524
- }),
1525
- preid: new Definition('preid', {
1526
- default: '',
1527
- hint: 'prerelease-id',
1528
- type: String,
1529
- description: `
1530
- The "prerelease identifier" to use as a prefix for the "prerelease" part
1531
- of a semver. Like the \`rc\` in \`1.2.0-rc.8\`.
1532
- `,
1533
- flatten,
1534
- }),
1535
- production: new Definition('production', {
1536
- default: null,
1537
- type: [null, Boolean],
1538
- deprecated: 'Use `--omit=dev` instead.',
1539
- description: 'Alias for `--omit=dev`',
1540
- flatten (key, obj, flatOptions) {
1541
- definitions.omit.flatten('omit', obj, flatOptions)
1542
- },
1543
- }),
1544
- progress: new Definition('progress', {
1545
- default: !ciInfo.isCI,
1546
- defaultDescription: `
1547
- \`true\` unless running in a known CI system
1548
- `,
1549
- type: Boolean,
1550
- description: `
1551
- When set to \`true\`, npm will display a progress bar during time
1552
- intensive operations, if \`process.stderr\` and \`process.stdout\` are a TTY.
1553
-
1554
- Set to \`false\` to suppress the progress bar.
1555
- `,
1556
- flatten (key, obj, flatOptions) {
1557
- flatOptions.progress = !obj.progress ? false
1558
- // progress is only written to stderr but we disable it unless stdout is a tty
1559
- // also. This prevents the progress from appearing when piping output to another
1560
- // command which doesn't break anything, but does look very odd to users.
1561
- : !!process.stderr.isTTY && !!process.stdout.isTTY && process.env.TERM !== 'dumb'
1562
- },
1563
- }),
1564
- provenance: new Definition('provenance', {
1565
- default: false,
1566
- type: Boolean,
1567
- exclusive: ['provenance-file'],
1568
- description: `
1569
- When publishing from a supported cloud CI/CD system, the package will be
1570
- publicly linked to where it was built and published from.
1571
- `,
1572
- flatten,
1573
- }),
1574
- 'provenance-file': new Definition('provenance-file', {
1575
- default: null,
1576
- type: path,
1577
- hint: '<file>',
1578
- exclusive: ['provenance'],
1579
- description: `
1580
- When publishing, the provenance bundle at the given path will be used.
1581
- `,
1582
- flatten,
1583
- }),
1584
- proxy: new Definition('proxy', {
1585
- default: null,
1586
- type: [null, false, url], // allow proxy to be disabled explicitly
1587
- description: `
1588
- A proxy to use for outgoing http requests. If the \`HTTP_PROXY\` or
1589
- \`http_proxy\` environment variables are set, proxy settings will be
1590
- honored by the underlying \`request\` library.
1591
- `,
1592
- flatten,
1593
- }),
1594
- 'read-only': new Definition('read-only', {
1595
- default: false,
1596
- type: Boolean,
1597
- description: `
1598
- This is used to mark a token as unable to publish when configuring
1599
- limited access tokens with the \`npm token create\` command.
1600
- `,
1601
- flatten,
1602
- }),
1603
- 'rebuild-bundle': new Definition('rebuild-bundle', {
1604
- default: true,
1605
- type: Boolean,
1606
- description: `
1607
- Rebuild bundled dependencies after installation.
1608
- `,
1609
- flatten,
1610
- }),
1611
- registry: new Definition('registry', {
1612
- default: 'https://registry.npmjs.org/',
1613
- type: url,
1614
- description: `
1615
- The base URL of the npm registry.
1616
- `,
1617
- flatten,
1618
- }),
1619
- 'replace-registry-host': new Definition('replace-registry-host', {
1620
- default: 'npmjs',
1621
- hint: '<npmjs|never|always> | hostname',
1622
- type: ['npmjs', 'never', 'always', String],
1623
- description: `
1624
- Defines behavior for replacing the registry host in a lockfile with the
1625
- configured registry.
1626
-
1627
- The default behavior is to replace package dist URLs from the default
1628
- registry (https://registry.npmjs.org) to the configured registry. If set to
1629
- "never", then use the registry value. If set to "always", then replace the
1630
- registry host with the configured host every time.
1631
-
1632
- You may also specify a bare hostname (e.g., "registry.npmjs.org").
1633
- `,
1634
- flatten,
1635
- }),
1636
- save: new Definition('save', {
1637
- default: true,
1638
- defaultDescription: `\`true\` unless when using \`npm update\` where it
1639
- defaults to \`false\``,
1640
- usage: '-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle',
1641
- type: Boolean,
1642
- short: 'S',
1643
- description: `
1644
- Save installed packages to a \`package.json\` file as dependencies.
1645
-
1646
- When used with the \`npm rm\` command, removes the dependency from
1647
- \`package.json\`.
1648
-
1649
- Will also prevent writing to \`package-lock.json\` if set to \`false\`.
1650
- `,
1651
- flatten,
1652
- }),
1653
- 'save-bundle': new Definition('save-bundle', {
1654
- default: false,
1655
- type: Boolean,
1656
- short: 'B',
1657
- description: `
1658
- If a package would be saved at install time by the use of \`--save\`,
1659
- \`--save-dev\`, or \`--save-optional\`, then also put it in the
1660
- \`bundleDependencies\` list.
1661
-
1662
- Ignored if \`--save-peer\` is set, since peerDependencies cannot be bundled.
1663
- `,
1664
- flatten (key, obj, flatOptions) {
1665
- // XXX update arborist to just ignore it if resulting saveType is peer
1666
- // otherwise this won't have the expected effect:
1667
- //
1668
- // npm config set save-peer true
1669
- // npm i foo --save-bundle --save-prod <-- should bundle
1670
- flatOptions.saveBundle = obj['save-bundle'] && !obj['save-peer']
1671
- },
1672
- }),
1673
- 'save-dev': new Definition('save-dev', {
1674
- default: false,
1675
- type: Boolean,
1676
- short: 'D',
1677
- description: `
1678
- Save installed packages to a package.json file as \`devDependencies\`.
1679
- `,
1680
- flatten (key, obj, flatOptions) {
1681
- if (!obj[key]) {
1682
- if (flatOptions.saveType === 'dev') {
1683
- delete flatOptions.saveType
1684
- }
1685
- return
1686
- }
1687
-
1688
- flatOptions.saveType = 'dev'
1689
- },
1690
- }),
1691
- 'save-exact': new Definition('save-exact', {
1692
- default: false,
1693
- type: Boolean,
1694
- short: 'E',
1695
- description: `
1696
- Dependencies saved to package.json will be configured with an exact
1697
- version rather than using npm's default semver range operator.
1698
- `,
1699
- flatten (key, obj, flatOptions) {
1700
- // just call the save-prefix flattener, it reads from obj['save-exact']
1701
- definitions['save-prefix'].flatten('save-prefix', obj, flatOptions)
1702
- },
1703
- }),
1704
- 'save-optional': new Definition('save-optional', {
1705
- default: false,
1706
- type: Boolean,
1707
- short: 'O',
1708
- description: `
1709
- Save installed packages to a package.json file as
1710
- \`optionalDependencies\`.
1711
- `,
1712
- flatten (key, obj, flatOptions) {
1713
- if (!obj[key]) {
1714
- if (flatOptions.saveType === 'optional') {
1715
- delete flatOptions.saveType
1716
- } else if (flatOptions.saveType === 'peerOptional') {
1717
- flatOptions.saveType = 'peer'
1718
- }
1719
- return
1720
- }
1721
-
1722
- if (flatOptions.saveType === 'peerOptional') {
1723
- return
1724
- }
1725
-
1726
- if (flatOptions.saveType === 'peer') {
1727
- flatOptions.saveType = 'peerOptional'
1728
- } else {
1729
- flatOptions.saveType = 'optional'
1730
- }
1731
- },
1732
- }),
1733
- 'save-peer': new Definition('save-peer', {
1734
- default: false,
1735
- type: Boolean,
1736
- description: `
1737
- Save installed packages to a package.json file as \`peerDependencies\`
1738
- `,
1739
- flatten (key, obj, flatOptions) {
1740
- if (!obj[key]) {
1741
- if (flatOptions.saveType === 'peer') {
1742
- delete flatOptions.saveType
1743
- } else if (flatOptions.saveType === 'peerOptional') {
1744
- flatOptions.saveType = 'optional'
1745
- }
1746
- return
1747
- }
1748
-
1749
- if (flatOptions.saveType === 'peerOptional') {
1750
- return
1751
- }
1752
-
1753
- if (flatOptions.saveType === 'optional') {
1754
- flatOptions.saveType = 'peerOptional'
1755
- } else {
1756
- flatOptions.saveType = 'peer'
1757
- }
1758
- },
1759
- }),
1760
- 'save-prefix': new Definition('save-prefix', {
1761
- default: '^',
1762
- type: String,
1763
- description: `
1764
- Configure how versions of packages installed to a package.json file via
1765
- \`--save\` or \`--save-dev\` get prefixed.
1766
-
1767
- For example if a package has version \`1.2.3\`, by default its version is
1768
- set to \`^1.2.3\` which allows minor upgrades for that package, but after
1769
- \`npm config set save-prefix='~'\` it would be set to \`~1.2.3\` which
1770
- only allows patch upgrades.
1771
- `,
1772
- flatten (key, obj, flatOptions) {
1773
- flatOptions.savePrefix = obj['save-exact'] ? '' : obj['save-prefix']
1774
- obj['save-prefix'] = flatOptions.savePrefix
1775
- },
1776
- }),
1777
- 'save-prod': new Definition('save-prod', {
1778
- default: false,
1779
- type: Boolean,
1780
- short: 'P',
1781
- description: `
1782
- Save installed packages into \`dependencies\` specifically. This is
1783
- useful if a package already exists in \`devDependencies\` or
1784
- \`optionalDependencies\`, but you want to move it to be a non-optional
1785
- production dependency.
1786
-
1787
- This is the default behavior if \`--save\` is true, and neither
1788
- \`--save-dev\` or \`--save-optional\` are true.
1789
- `,
1790
- flatten (key, obj, flatOptions) {
1791
- if (!obj[key]) {
1792
- if (flatOptions.saveType === 'prod') {
1793
- delete flatOptions.saveType
1794
- }
1795
- return
1796
- }
1797
-
1798
- flatOptions.saveType = 'prod'
1799
- },
1800
- }),
1801
- 'sbom-format': new Definition('sbom-format', {
1802
- default: null,
1803
- type: [
1804
- 'cyclonedx',
1805
- 'spdx',
1806
- ],
1807
- description: `
1808
- SBOM format to use when generating SBOMs.
1809
- `,
1810
- flatten,
1811
- }),
1812
- 'sbom-type': new Definition('sbom-type', {
1813
- default: 'library',
1814
- type: [
1815
- 'library',
1816
- 'application',
1817
- 'framework',
1818
- ],
1819
- description: `
1820
- The type of package described by the generated SBOM. For SPDX, this is the
1821
- value for the \`primaryPackagePurpose\` field. For CycloneDX, this is the
1822
- value for the \`type\` field.
1823
- `,
1824
- flatten,
1825
- }),
1826
- scope: new Definition('scope', {
1827
- default: '',
1828
- defaultDescription: `
1829
- the scope of the current project, if any, or ""
1830
- `,
1831
- type: String,
1832
- hint: '<@scope>',
1833
- description: `
1834
- Associate an operation with a scope for a scoped registry.
1835
-
1836
- Useful when logging in to or out of a private registry:
1837
-
1838
- \`\`\`
1839
- # log in, linking the scope to the custom registry
1840
- npm login --scope=@mycorp --registry=https://registry.mycorp.com
1841
-
1842
- # log out, removing the link and the auth token
1843
- npm logout --scope=@mycorp
1844
- \`\`\`
1845
-
1846
- This will cause \`@mycorp\` to be mapped to the registry for future
1847
- installation of packages specified according to the pattern
1848
- \`@mycorp/package\`.
1849
-
1850
- This will also cause \`npm init\` to create a scoped package.
1851
-
1852
- \`\`\`
1853
- # accept all defaults, and create a package named "@foo/whatever",
1854
- # instead of just named "whatever"
1855
- npm init --scope=@foo --yes
1856
- \`\`\`
1857
- `,
1858
- flatten (key, obj, flatOptions) {
1859
- const value = obj[key]
1860
- const scope = value && !/^@/.test(value) ? `@${value}` : value
1861
- flatOptions.scope = scope
1862
- // projectScope is kept for compatibility with npm-registry-fetch
1863
- flatOptions.projectScope = scope
1864
- },
1865
- }),
1866
- 'script-shell': new Definition('script-shell', {
1867
- default: null,
1868
- defaultDescription: `
1869
- '/bin/sh' on POSIX systems, 'cmd.exe' on Windows
1870
- `,
1871
- type: [null, String],
1872
- description: `
1873
- The shell to use for scripts run with the \`npm exec\`,
1874
- \`npm run\` and \`npm init <package-spec>\` commands.
1875
- `,
1876
- flatten (key, obj, flatOptions) {
1877
- flatOptions.scriptShell = obj[key] || undefined
1878
- },
1879
- }),
1880
- searchexclude: new Definition('searchexclude', {
1881
- default: '',
1882
- type: String,
1883
- description: `
1884
- Space-separated options that limit the results from search.
1885
- `,
1886
- flatten (key, obj, flatOptions) {
1887
- flatOptions.search = flatOptions.search || { limit: 20 }
1888
- flatOptions.search.exclude = obj[key].toLowerCase()
1889
- },
1890
- }),
1891
- searchlimit: new Definition('searchlimit', {
1892
- default: 20,
1893
- type: Number,
1894
- description: `
1895
- Number of items to limit search results to. Will not apply at all to
1896
- legacy searches.
1897
- `,
1898
- flatten (key, obj, flatOptions) {
1899
- flatOptions.search = flatOptions.search || {}
1900
- flatOptions.search.limit = obj[key]
1901
- },
1902
- }),
1903
- searchopts: new Definition('searchopts', {
1904
- default: '',
1905
- type: String,
1906
- description: `
1907
- Space-separated options that are always passed to search.
1908
- `,
1909
- flatten (key, obj, flatOptions) {
1910
- flatOptions.search = flatOptions.search || { limit: 20 }
1911
- flatOptions.search.opts = querystring.parse(obj[key])
1912
- },
1913
- }),
1914
- searchstaleness: new Definition('searchstaleness', {
1915
- default: 15 * 60,
1916
- type: Number,
1917
- description: `
1918
- The age of the cache, in seconds, before another registry request is made
1919
- if using legacy search endpoint.
1920
- `,
1921
- flatten (key, obj, flatOptions) {
1922
- flatOptions.search = flatOptions.search || { limit: 20 }
1923
- flatOptions.search.staleness = obj[key]
1924
- },
1925
- }),
1926
- shell: new Definition('shell', {
1927
- default: shell,
1928
- defaultDescription: `
1929
- SHELL environment variable, or "bash" on Posix, or "cmd.exe" on Windows
1930
- `,
1931
- type: String,
1932
- description: `
1933
- The shell to run for the \`npm explore\` command.
1934
- `,
1935
- flatten,
1936
- }),
1937
- shrinkwrap: new Definition('shrinkwrap', {
1938
- default: true,
1939
- type: Boolean,
1940
- deprecated: `
1941
- Use the --package-lock setting instead.
1942
- `,
1943
- description: `
1944
- Alias for --package-lock
1945
- `,
1946
- flatten (key, obj, flatOptions) {
1947
- obj['package-lock'] = obj.shrinkwrap
1948
- definitions['package-lock'].flatten('package-lock', obj, flatOptions)
1949
- },
1950
- }),
1951
- 'sign-git-commit': new Definition('sign-git-commit', {
1952
- default: false,
1953
- type: Boolean,
1954
- description: `
1955
- If set to true, then the \`npm version\` command will commit the new
1956
- package version using \`-S\` to add a signature.
1957
-
1958
- Note that git requires you to have set up GPG keys in your git configs
1959
- for this to work properly.
1960
- `,
1961
- flatten,
1962
- }),
1963
- 'sign-git-tag': new Definition('sign-git-tag', {
1964
- default: false,
1965
- type: Boolean,
1966
- description: `
1967
- If set to true, then the \`npm version\` command will tag the version
1968
- using \`-s\` to add a signature.
1969
-
1970
- Note that git requires you to have set up GPG keys in your git configs
1971
- for this to work properly.
1972
- `,
1973
- flatten,
1974
- }),
1975
- 'strict-peer-deps': new Definition('strict-peer-deps', {
1976
- default: false,
1977
- type: Boolean,
1978
- description: `
1979
- If set to \`true\`, and \`--legacy-peer-deps\` is not set, then _any_
1980
- conflicting \`peerDependencies\` will be treated as an install failure,
1981
- even if npm could reasonably guess the appropriate resolution based on
1982
- non-peer dependency relationships.
1983
-
1984
- By default, conflicting \`peerDependencies\` deep in the dependency graph
1985
- will be resolved using the nearest non-peer dependency specification,
1986
- even if doing so will result in some packages receiving a peer dependency
1987
- outside the range set in their package's \`peerDependencies\` object.
1988
-
1989
- When such an override is performed, a warning is printed, explaining the
1990
- conflict and the packages involved. If \`--strict-peer-deps\` is set,
1991
- then this warning is treated as a failure.
1992
- `,
1993
- flatten,
1994
- }),
1995
- 'strict-ssl': new Definition('strict-ssl', {
1996
- default: true,
1997
- type: Boolean,
1998
- description: `
1999
- Whether or not to do SSL key validation when making requests to the
2000
- registry via https.
2001
-
2002
- See also the \`ca\` config.
2003
- `,
2004
- flatten (key, obj, flatOptions) {
2005
- flatOptions.strictSSL = obj[key]
2006
- },
2007
- }),
2008
- tag: new Definition('tag', {
2009
- default: 'latest',
2010
- type: String,
2011
- description: `
2012
- If you ask npm to install a package and don't tell it a specific version,
2013
- then it will install the specified tag.
2014
-
2015
- It is the tag added to the package@version specified in the
2016
- \`npm dist-tag add\` command, if no explicit tag is given.
2017
-
2018
- When used by the \`npm diff\` command, this is the tag used to fetch the
2019
- tarball that will be compared with the local files by default.
2020
-
2021
- If used in the \`npm publish\` command, this is the tag that will be
2022
- added to the package submitted to the registry.
2023
- `,
2024
- flatten (key, obj, flatOptions) {
2025
- flatOptions.defaultTag = obj[key]
2026
- },
2027
- }),
2028
- 'tag-version-prefix': new Definition('tag-version-prefix', {
2029
- default: 'v',
2030
- type: String,
2031
- description: `
2032
- If set, alters the prefix used when tagging a new version when performing
2033
- a version increment using \`npm version\`. To remove the prefix
2034
- altogether, set it to the empty string: \`""\`.
2035
-
2036
- Because other tools may rely on the convention that npm version tags look
2037
- like \`v1.0.0\`, _only use this property if it is absolutely necessary_.
2038
- In particular, use care when overriding this setting for public packages.
2039
- `,
2040
- flatten,
2041
- }),
2042
- timing: new Definition('timing', {
2043
- default: false,
2044
- type: Boolean,
2045
- description: `
2046
- If true, writes timing information to a process specific json file in
2047
- the cache or \`logs-dir\`. The file name ends with \`-timing.json\`.
2048
-
2049
- You can quickly view it with this [json](https://npm.im/json) command
2050
- line: \`cat ~/.npm/_logs/*-timing.json | npm exec -- json -g\`.
2051
-
2052
- Timing information will also be reported in the terminal. To suppress this
2053
- while still writing the timing file, use \`--silent\`.
2054
- `,
2055
- }),
2056
- umask: new Definition('umask', {
2057
- default: 0,
2058
- type: Umask,
2059
- description: `
2060
- The "umask" value to use when setting the file creation mode on files and
2061
- folders.
2062
-
2063
- Folders and executables are given a mode which is \`0o777\` masked
2064
- against this value. Other files are given a mode which is \`0o666\`
2065
- masked against this value.
2066
-
2067
- Note that the underlying system will _also_ apply its own umask value to
2068
- files and folders that are created, and npm does not circumvent this, but
2069
- rather adds the \`--umask\` config to it.
2070
-
2071
- Thus, the effective default umask value on most POSIX systems is 0o22,
2072
- meaning that folders and executables are created with a mode of 0o755 and
2073
- other files are created with a mode of 0o644.
2074
- `,
2075
- flatten,
2076
- }),
2077
- unicode: new Definition('unicode', {
2078
- default: unicode,
2079
- defaultDescription: `
2080
- false on windows, true on mac/unix systems with a unicode locale, as
2081
- defined by the \`LC_ALL\`, \`LC_CTYPE\`, or \`LANG\` environment variables.
2082
- `,
2083
- type: Boolean,
2084
- description: `
2085
- When set to true, npm uses unicode characters in the tree output. When
2086
- false, it uses ascii characters instead of unicode glyphs.
2087
- `,
2088
- flatten,
2089
- }),
2090
- 'update-notifier': new Definition('update-notifier', {
2091
- default: true,
2092
- type: Boolean,
2093
- description: `
2094
- Set to false to suppress the update notification when using an older
2095
- version of npm than the latest.
2096
- `,
2097
- }),
2098
- usage: new Definition('usage', {
2099
- default: false,
2100
- type: Boolean,
2101
- short: ['?', 'H', 'h'],
2102
- description: `
2103
- Show short usage output about the command specified.
2104
- `,
2105
- }),
2106
- 'user-agent': new Definition('user-agent', {
2107
- default: 'npm/{npm-version} ' +
2108
- 'node/{node-version} ' +
2109
- '{platform} ' +
2110
- '{arch} ' +
2111
- 'workspaces/{workspaces} ' +
2112
- '{ci}',
2113
- type: String,
2114
- description: `
2115
- Sets the User-Agent request header. The following fields are replaced
2116
- with their actual counterparts:
2117
-
2118
- * \`{npm-version}\` - The npm version in use
2119
- * \`{node-version}\` - The Node.js version in use
2120
- * \`{platform}\` - The value of \`process.platform\`
2121
- * \`{arch}\` - The value of \`process.arch\`
2122
- * \`{workspaces}\` - Set to \`true\` if the \`workspaces\` or \`workspace\`
2123
- options are set.
2124
- * \`{ci}\` - The value of the \`ci-name\` config, if set, prefixed with
2125
- \`ci/\`, or an empty string if \`ci-name\` is empty.
2126
- `,
2127
- flatten (key, obj, flatOptions) {
2128
- const value = obj[key]
2129
- const ciName = ciInfo.name?.toLowerCase().split(' ').join('-') || null
2130
- let inWorkspaces = false
2131
- if (obj.workspaces || obj.workspace && obj.workspace.length) {
2132
- inWorkspaces = true
2133
- }
2134
- flatOptions.userAgent =
2135
- value.replace(/\{node-version\}/gi, process.version)
2136
- .replace(/\{npm-version\}/gi, obj['npm-version'])
2137
- .replace(/\{platform\}/gi, process.platform)
2138
- .replace(/\{arch\}/gi, process.arch)
2139
- .replace(/\{workspaces\}/gi, inWorkspaces)
2140
- .replace(/\{ci\}/gi, ciName ? `ci/${ciName}` : '')
2141
- .trim()
2142
-
2143
- // We can't clobber the original or else subsequent flattening will fail
2144
- // (i.e. when we change the underlying config values)
2145
- // obj[key] = flatOptions.userAgent
2146
-
2147
- // user-agent is a unique kind of config item that gets set from a template
2148
- // and ends up translated. Because of this, the normal "should we set this
2149
- // to process.env also doesn't work
2150
- process.env.npm_config_user_agent = flatOptions.userAgent
2151
- },
2152
- }),
2153
- userconfig: new Definition('userconfig', {
2154
- default: '~/.npmrc',
2155
- type: path,
2156
- description: `
2157
- The location of user-level configuration settings.
2158
-
2159
- This may be overridden by the \`npm_config_userconfig\` environment
2160
- variable or the \`--userconfig\` command line option, but may _not_
2161
- be overridden by settings in the \`globalconfig\` file.
2162
- `,
2163
- }),
2164
- version: new Definition('version', {
2165
- default: false,
2166
- type: Boolean,
2167
- short: 'v',
2168
- description: `
2169
- If true, output the npm version and exit successfully.
2170
-
2171
- Only relevant when specified explicitly on the command line.
2172
- `,
2173
- }),
2174
- versions: new Definition('versions', {
2175
- default: false,
2176
- type: Boolean,
2177
- description: `
2178
- If true, output the npm version as well as node's \`process.versions\`
2179
- map and the version in the current working directory's \`package.json\`
2180
- file if one exists, and exit successfully.
2181
-
2182
- Only relevant when specified explicitly on the command line.
2183
- `,
2184
- }),
2185
- viewer: new Definition('viewer', {
2186
- default: isWindows ? 'browser' : 'man',
2187
- defaultDescription: `
2188
- "man" on Posix, "browser" on Windows
2189
- `,
2190
- type: String,
2191
- description: `
2192
- The program to use to view help content.
2193
-
2194
- Set to \`"browser"\` to view html help content in the default web browser.
2195
- `,
2196
- }),
2197
- which: new Definition('which', {
2198
- default: null,
2199
- hint: '<fundingSourceNumber>',
2200
- type: [null, Number],
2201
- description: `
2202
- If there are multiple funding sources, which 1-indexed source URL to open.
2203
- `,
2204
- }),
2205
- workspace: new Definition('workspace', {
2206
- default: [],
2207
- type: [String, Array],
2208
- hint: '<workspace-name>',
2209
- short: 'w',
2210
- envExport: false,
2211
- description: `
2212
- Enable running a command in the context of the configured workspaces of the
2213
- current project while filtering by running only the workspaces defined by
2214
- this configuration option.
2215
-
2216
- Valid values for the \`workspace\` config are either:
2217
-
2218
- * Workspace names
2219
- * Path to a workspace directory
2220
- * Path to a parent workspace directory (will result in selecting all
2221
- workspaces within that folder)
2222
-
2223
- When set for the \`npm init\` command, this may be set to the folder of
2224
- a workspace which does not yet exist, to create the folder and set it
2225
- up as a brand new workspace within the project.
2226
- `,
2227
- flatten: (key, obj, flatOptions) => {
2228
- definitions['user-agent'].flatten('user-agent', obj, flatOptions)
2229
- },
2230
- }),
2231
- workspaces: new Definition('workspaces', {
2232
- default: null,
2233
- type: [null, Boolean],
2234
- short: 'ws',
2235
- envExport: false,
2236
- description: `
2237
- Set to true to run the command in the context of **all** configured
2238
- workspaces.
2239
-
2240
- Explicitly setting this to false will cause commands like \`install\` to
2241
- ignore workspaces altogether.
2242
- When not set explicitly:
2243
-
2244
- - Commands that operate on the \`node_modules\` tree (install, update,
2245
- etc.) will link workspaces into the \`node_modules\` folder.
2246
- - Commands that do other things (test, exec, publish, etc.) will operate
2247
- on the root project, _unless_ one or more workspaces are specified in
2248
- the \`workspace\` config.
2249
- `,
2250
- flatten: (key, obj, flatOptions) => {
2251
- definitions['user-agent'].flatten('user-agent', obj, flatOptions)
2252
-
2253
- // TODO: this is a derived value, and should be reworked when we have a
2254
- // pattern for derived value
2255
-
2256
- // workspacesEnabled is true whether workspaces is null or true
2257
- // commands contextually work with workspaces or not regardless of
2258
- // configuration, so we need an option specifically to disable workspaces
2259
- flatOptions.workspacesEnabled = obj[key] !== false
2260
- },
2261
- }),
2262
- 'workspaces-update': new Definition('workspaces-update', {
2263
- default: true,
2264
- type: Boolean,
2265
- description: `
2266
- If set to true, the npm cli will run an update after operations that may
2267
- possibly change the workspaces installed to the \`node_modules\` folder.
2268
- `,
2269
- flatten,
2270
- }),
2271
- yes: new Definition('yes', {
2272
- default: null,
2273
- type: [null, Boolean],
2274
- short: 'y',
2275
- description: `
2276
- Automatically answer "yes" to any prompts that npm might print on
2277
- the command line.
2278
- `,
2279
- }),
2280
- }
2281
-
2282
- module.exports = definitions
1
+ const Definition = require('./definition.js')
2
+
3
+ const ciInfo = require('ci-info')
4
+ const querystring = require('node:querystring')
5
+ const { join } = require('node:path')
6
+
7
+ const isWindows = process.platform === 'win32'
8
+
9
+ // used by cafile flattening to flatOptions.ca
10
+ const { readFileSync } = require('node:fs')
11
+ const maybeReadFile = file => {
12
+ try {
13
+ return readFileSync(file, 'utf8')
14
+ } catch (er) {
15
+ if (er.code !== 'ENOENT') {
16
+ throw er
17
+ }
18
+ return null
19
+ }
20
+ }
21
+
22
+ const buildOmitList = obj => {
23
+ const include = obj.include || []
24
+ const omit = obj.omit || []
25
+
26
+ const only = obj.only
27
+ if (/^prod(uction)?$/.test(only) || obj.production) {
28
+ omit.push('dev')
29
+ } else if (obj.production === false) {
30
+ include.push('dev')
31
+ }
32
+
33
+ if (/^dev/.test(obj.also)) {
34
+ include.push('dev')
35
+ }
36
+
37
+ if (obj.dev) {
38
+ include.push('dev')
39
+ }
40
+
41
+ if (obj.optional === false) {
42
+ omit.push('optional')
43
+ } else if (obj.optional === true) {
44
+ include.push('optional')
45
+ }
46
+
47
+ obj.omit = [...new Set(omit)].filter(type => !include.includes(type))
48
+ obj.include = [...new Set(include)]
49
+
50
+ if (obj.omit.includes('dev')) {
51
+ process.env.NODE_ENV = 'production'
52
+ }
53
+
54
+ return obj.omit
55
+ }
56
+
57
+ const editor = process.env.EDITOR ||
58
+ process.env.VISUAL ||
59
+ (isWindows ? `${process.env.SYSTEMROOT}\\notepad.exe` : 'vi')
60
+
61
+ const shell = isWindows ? process.env.ComSpec || 'cmd'
62
+ : process.env.SHELL || 'sh'
63
+
64
+ const { networkInterfaces } = require('node:os')
65
+ const getLocalAddresses = () => {
66
+ try {
67
+ return Object.values(networkInterfaces()).map(
68
+ int => int.map(({ address }) => address)
69
+ ).reduce((set, addrs) => set.concat(addrs), [null])
70
+ } catch (e) {
71
+ return [null]
72
+ }
73
+ }
74
+
75
+ const unicode = /UTF-?8$/i.test(
76
+ process.env.LC_ALL ||
77
+ process.env.LC_CTYPE ||
78
+ process.env.LANG
79
+ )
80
+
81
+ // use LOCALAPPDATA on Windows, if set
82
+ // https://github.com/npm/cli/pull/899
83
+ const cacheRoot = (isWindows && process.env.LOCALAPPDATA) || '~'
84
+ const cacheExtra = isWindows ? 'npm-cache' : '.npm'
85
+ const cache = `${cacheRoot}/${cacheExtra}`
86
+
87
+ // TODO: refactor these type definitions so that they are less
88
+ // weird to pull out of the config module.
89
+ // TODO: use better type definition/validation API, nopt's is so weird.
90
+ const {
91
+ semver: { type: Semver },
92
+ Umask: { type: Umask },
93
+ url: { type: url },
94
+ path: { type: path },
95
+ } = require('../type-defs.js')
96
+
97
+ // basic flattening function, just copy it over camelCase
98
+ const flatten = (key, obj, flatOptions) => {
99
+ const camel = key.replace(/-([a-z])/g, (_0, _1) => _1.toUpperCase())
100
+ flatOptions[camel] = obj[key]
101
+ }
102
+
103
+ // TODO:
104
+ // Instead of having each definition provide a flatten method,
105
+ // provide the (?list of?) flat option field(s?) that it impacts.
106
+ // When that config is set, we mark the relevant flatOption fields
107
+ // dirty. Then, a getter for that field defines how we actually
108
+ // set it.
109
+ //
110
+ // So, `save-dev`, `save-optional`, `save-prod`, et al would indicate
111
+ // that they affect the `saveType` flat option. Then the config.flat
112
+ // object has a `get saveType () { ... }` that looks at the "real"
113
+ // config settings from files etc and returns the appropriate value.
114
+ //
115
+ // Getters will also (maybe?) give us a hook to audit flat option
116
+ // usage, so we can document and group these more appropriately.
117
+ //
118
+ // This will be a problem with cases where we currently do:
119
+ // const opts = { ...npm.flatOptions, foo: 'bar' }, but we can maybe
120
+ // instead do `npm.config.set('foo', 'bar')` prior to passing the
121
+ // config object down where it needs to go.
122
+ //
123
+ // This way, when we go hunting for "where does saveType come from anyway!?"
124
+ // while fixing some Arborist bug, we won't have to hunt through too
125
+ // many places.
126
+
127
+ // XXX: We should really deprecate all these `--save-blah` switches
128
+ // in favor of a single `--save-type` option. The unfortunate shortcut
129
+ // we took for `--save-peer --save-optional` being `--save-type=peerOptional`
130
+ // makes this tricky, and likely a breaking change.
131
+
132
+ // Define all config keys we know about. They are indexed by their own key for
133
+ // ease of lookup later. This duplication is an optimization so that we don't
134
+ // have to do an extra function call just to "reuse" the key in both places.
135
+
136
+ const definitions = {
137
+ _auth: new Definition('_auth', {
138
+ default: null,
139
+ type: [null, String],
140
+ description: `
141
+ A basic-auth string to use when authenticating against the npm registry.
142
+ This will ONLY be used to authenticate against the npm registry. For other
143
+ registries you will need to scope it like "//other-registry.tld/:_auth"
144
+
145
+ Warning: This should generally not be set via a command-line option. It
146
+ is safer to use a registry-provided authentication bearer token stored in
147
+ the ~/.npmrc file by running \`npm login\`.
148
+ `,
149
+ flatten,
150
+ }),
151
+ access: new Definition('access', {
152
+ default: null,
153
+ defaultDescription: `
154
+ 'public' for new packages, existing packages it will not change the current level
155
+ `,
156
+ type: [null, 'restricted', 'public'],
157
+ description: `
158
+ If you do not want your scoped package to be publicly viewable (and
159
+ installable) set \`--access=restricted\`.
160
+
161
+ Unscoped packages can not be set to \`restricted\`.
162
+
163
+ Note: This defaults to not changing the current access level for existing
164
+ packages. Specifying a value of \`restricted\` or \`public\` during
165
+ publish will change the access for an existing package the same way that
166
+ \`npm access set status\` would.
167
+ `,
168
+ flatten,
169
+ }),
170
+ all: new Definition('all', {
171
+ default: false,
172
+ type: Boolean,
173
+ short: 'a',
174
+ description: `
175
+ When running \`npm outdated\` and \`npm ls\`, setting \`--all\` will show
176
+ all outdated or installed packages, rather than only those directly
177
+ depended upon by the current project.
178
+ `,
179
+ flatten,
180
+ }),
181
+ 'allow-same-version': new Definition('allow-same-version', {
182
+ default: false,
183
+ type: Boolean,
184
+ description: `
185
+ Prevents throwing an error when \`npm version\` is used to set the new
186
+ version to the same value as the current version.
187
+ `,
188
+ flatten,
189
+ }),
190
+ also: new Definition('also', {
191
+ default: null,
192
+ type: [null, 'dev', 'development'],
193
+ description: `
194
+ When set to \`dev\` or \`development\`, this is an alias for
195
+ \`--include=dev\`.
196
+ `,
197
+ deprecated: 'Please use --include=dev instead.',
198
+ flatten (key, obj, flatOptions) {
199
+ definitions.omit.flatten('omit', obj, flatOptions)
200
+ },
201
+ }),
202
+ audit: new Definition('audit', {
203
+ default: true,
204
+ type: Boolean,
205
+ description: `
206
+ When "true" submit audit reports alongside the current npm command to the
207
+ default registry and all registries configured for scopes. See the
208
+ documentation for [\`npm audit\`](/commands/npm-audit) for details on what
209
+ is submitted.
210
+ `,
211
+ flatten,
212
+ }),
213
+ 'audit-level': new Definition('audit-level', {
214
+ default: null,
215
+ type: [null, 'info', 'low', 'moderate', 'high', 'critical', 'none'],
216
+ description: `
217
+ The minimum level of vulnerability for \`npm audit\` to exit with
218
+ a non-zero exit code.
219
+ `,
220
+ flatten,
221
+ }),
222
+ 'auth-type': new Definition('auth-type', {
223
+ default: 'web',
224
+ type: ['legacy', 'web'],
225
+ description: `
226
+ What authentication strategy to use with \`login\`.
227
+ Note that if an \`otp\` config is given, this value will always be set to \`legacy\`.
228
+ `,
229
+ flatten,
230
+ }),
231
+ before: new Definition('before', {
232
+ default: null,
233
+ type: [null, Date],
234
+ description: `
235
+ If passed to \`npm install\`, will rebuild the npm tree such that only
236
+ versions that were available **on or before** the \`--before\` time get
237
+ installed. If there's no versions available for the current set of
238
+ direct dependencies, the command will error.
239
+
240
+ If the requested version is a \`dist-tag\` and the given tag does not
241
+ pass the \`--before\` filter, the most recent version less than or equal
242
+ to that tag will be used. For example, \`foo@latest\` might install
243
+ \`foo@1.2\` even though \`latest\` is \`2.0\`.
244
+ `,
245
+ flatten,
246
+ }),
247
+ 'bin-links': new Definition('bin-links', {
248
+ default: true,
249
+ type: Boolean,
250
+ description: `
251
+ Tells npm to create symlinks (or \`.cmd\` shims on Windows) for package
252
+ executables.
253
+
254
+ Set to false to have it not do this. This can be used to work around the
255
+ fact that some file systems don't support symlinks, even on ostensibly
256
+ Unix systems.
257
+ `,
258
+ flatten,
259
+ }),
260
+ browser: new Definition('browser', {
261
+ default: null,
262
+ defaultDescription: `
263
+ OS X: \`"open"\`, Windows: \`"start"\`, Others: \`"xdg-open"\`
264
+ `,
265
+ type: [null, Boolean, String],
266
+ description: `
267
+ The browser that is called by npm commands to open websites.
268
+
269
+ Set to \`false\` to suppress browser behavior and instead print urls to
270
+ terminal.
271
+
272
+ Set to \`true\` to use default system URL opener.
273
+ `,
274
+ flatten,
275
+ }),
276
+ ca: new Definition('ca', {
277
+ default: null,
278
+ type: [null, String, Array],
279
+ description: `
280
+ The Certificate Authority signing certificate that is trusted for SSL
281
+ connections to the registry. Values should be in PEM format (Windows
282
+ calls it "Base-64 encoded X.509 (.CER)") with newlines replaced by the
283
+ string "\\n". For example:
284
+
285
+ \`\`\`ini
286
+ ca="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"
287
+ \`\`\`
288
+
289
+ Set to \`null\` to only allow "known" registrars, or to a specific CA
290
+ cert to trust only that specific signing authority.
291
+
292
+ Multiple CAs can be trusted by specifying an array of certificates:
293
+
294
+ \`\`\`ini
295
+ ca[]="..."
296
+ ca[]="..."
297
+ \`\`\`
298
+
299
+ See also the \`strict-ssl\` config.
300
+ `,
301
+ flatten,
302
+ }),
303
+ cache: new Definition('cache', {
304
+ default: cache,
305
+ defaultDescription: `
306
+ Windows: \`%LocalAppData%\\npm-cache\`, Posix: \`~/.npm\`
307
+ `,
308
+ type: path,
309
+ description: `
310
+ The location of npm's cache directory.
311
+ `,
312
+ flatten (key, obj, flatOptions) {
313
+ flatOptions.cache = join(obj.cache, '_cacache')
314
+ flatOptions.npxCache = join(obj.cache, '_npx')
315
+ flatOptions.tufCache = join(obj.cache, '_tuf')
316
+ },
317
+ }),
318
+ 'cache-max': new Definition('cache-max', {
319
+ default: Infinity,
320
+ type: Number,
321
+ description: `
322
+ \`--cache-max=0\` is an alias for \`--prefer-online\`
323
+ `,
324
+ deprecated: `
325
+ This option has been deprecated in favor of \`--prefer-online\`
326
+ `,
327
+ flatten (key, obj, flatOptions) {
328
+ if (obj[key] <= 0) {
329
+ flatOptions.preferOnline = true
330
+ }
331
+ },
332
+ }),
333
+ 'cache-min': new Definition('cache-min', {
334
+ default: 0,
335
+ type: Number,
336
+ description: `
337
+ \`--cache-min=9999 (or bigger)\` is an alias for \`--prefer-offline\`.
338
+ `,
339
+ deprecated: `
340
+ This option has been deprecated in favor of \`--prefer-offline\`.
341
+ `,
342
+ flatten (key, obj, flatOptions) {
343
+ if (obj[key] >= 9999) {
344
+ flatOptions.preferOffline = true
345
+ }
346
+ },
347
+ }),
348
+ cafile: new Definition('cafile', {
349
+ default: null,
350
+ type: path,
351
+ description: `
352
+ A path to a file containing one or multiple Certificate Authority signing
353
+ certificates. Similar to the \`ca\` setting, but allows for multiple
354
+ CA's, as well as for the CA information to be stored in a file on disk.
355
+ `,
356
+ flatten (key, obj, flatOptions) {
357
+ // always set to null in defaults
358
+ if (!obj.cafile) {
359
+ return
360
+ }
361
+
362
+ const raw = maybeReadFile(obj.cafile)
363
+ if (!raw) {
364
+ return
365
+ }
366
+
367
+ const delim = '-----END CERTIFICATE-----'
368
+ flatOptions.ca = raw.replace(/\r\n/g, '\n').split(delim)
369
+ .filter(section => section.trim())
370
+ .map(section => section.trimLeft() + delim)
371
+ },
372
+ }),
373
+ call: new Definition('call', {
374
+ default: '',
375
+ type: String,
376
+ short: 'c',
377
+ description: `
378
+ Optional companion option for \`npm exec\`, \`npx\` that allows for
379
+ specifying a custom command to be run along with the installed packages.
380
+
381
+ \`\`\`bash
382
+ npm exec --package yo --package generator-node --call "yo node"
383
+ \`\`\`
384
+ `,
385
+ flatten,
386
+ }),
387
+ cert: new Definition('cert', {
388
+ default: null,
389
+ type: [null, String],
390
+ description: `
391
+ A client certificate to pass when accessing the registry. Values should
392
+ be in PEM format (Windows calls it "Base-64 encoded X.509 (.CER)") with
393
+ newlines replaced by the string "\\n". For example:
394
+
395
+ \`\`\`ini
396
+ cert="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"
397
+ \`\`\`
398
+
399
+ It is _not_ the path to a certificate file, though you can set a registry-scoped
400
+ "certfile" path like "//other-registry.tld/:certfile=/path/to/cert.pem".
401
+ `,
402
+ deprecated: `
403
+ \`key\` and \`cert\` are no longer used for most registry operations.
404
+ Use registry scoped \`keyfile\` and \`certfile\` instead.
405
+ Example:
406
+ //other-registry.tld/:keyfile=/path/to/key.pem
407
+ //other-registry.tld/:certfile=/path/to/cert.crt
408
+ `,
409
+ flatten,
410
+ }),
411
+ cidr: new Definition('cidr', {
412
+ default: null,
413
+ type: [null, String, Array],
414
+ description: `
415
+ This is a list of CIDR address to be used when configuring limited access
416
+ tokens with the \`npm token create\` command.
417
+ `,
418
+ flatten,
419
+ }),
420
+ // This should never be directly used, the flattened value is the derived value
421
+ // and is sent to other modules, and is also exposed as `npm.color` for use
422
+ // inside npm itself.
423
+ color: new Definition('color', {
424
+ default: !process.env.NO_COLOR || process.env.NO_COLOR === '0',
425
+ usage: '--color|--no-color|--color always',
426
+ defaultDescription: `
427
+ true unless the NO_COLOR environ is set to something other than '0'
428
+ `,
429
+ type: ['always', Boolean],
430
+ description: `
431
+ If false, never shows colors. If \`"always"\` then always shows colors.
432
+ If true, then only prints color codes for tty file descriptors.
433
+ `,
434
+ flatten (key, obj, flatOptions) {
435
+ flatOptions.color = !obj.color ? false
436
+ : obj.color === 'always' ? true
437
+ : !!process.stdout.isTTY
438
+ flatOptions.logColor = !obj.color ? false
439
+ : obj.color === 'always' ? true
440
+ : !!process.stderr.isTTY
441
+ },
442
+ }),
443
+ 'commit-hooks': new Definition('commit-hooks', {
444
+ default: true,
445
+ type: Boolean,
446
+ description: `
447
+ Run git commit hooks when using the \`npm version\` command.
448
+ `,
449
+ flatten,
450
+ }),
451
+ cpu: new Definition('cpu', {
452
+ default: null,
453
+ type: [null, String],
454
+ description: `
455
+ Override CPU architecture of native modules to install.
456
+ Acceptable values are same as \`cpu\` field of package.json,
457
+ which comes from \`process.arch\`.
458
+ `,
459
+ flatten,
460
+ }),
461
+ depth: new Definition('depth', {
462
+ default: null,
463
+ defaultDescription: `
464
+ \`Infinity\` if \`--all\` is set, otherwise \`1\`
465
+ `,
466
+ type: [null, Number],
467
+ description: `
468
+ The depth to go when recursing packages for \`npm ls\`.
469
+
470
+ If not set, \`npm ls\` will show only the immediate dependencies of the
471
+ root project. If \`--all\` is set, then npm will show all dependencies
472
+ by default.
473
+ `,
474
+ flatten,
475
+ }),
476
+ description: new Definition('description', {
477
+ default: true,
478
+ type: Boolean,
479
+ usage: '--no-description',
480
+ description: `
481
+ Show the description in \`npm search\`
482
+ `,
483
+ flatten (key, obj, flatOptions) {
484
+ flatOptions.search = flatOptions.search || { limit: 20 }
485
+ flatOptions.search[key] = obj[key]
486
+ },
487
+ }),
488
+ dev: new Definition('dev', {
489
+ default: false,
490
+ type: Boolean,
491
+ description: `
492
+ Alias for \`--include=dev\`.
493
+ `,
494
+ deprecated: 'Please use --include=dev instead.',
495
+ flatten (key, obj, flatOptions) {
496
+ definitions.omit.flatten('omit', obj, flatOptions)
497
+ },
498
+ }),
499
+ diff: new Definition('diff', {
500
+ default: [],
501
+ hint: '<package-spec>',
502
+ type: [String, Array],
503
+ description: `
504
+ Define arguments to compare in \`npm diff\`.
505
+ `,
506
+ flatten,
507
+ }),
508
+ 'diff-ignore-all-space': new Definition('diff-ignore-all-space', {
509
+ default: false,
510
+ type: Boolean,
511
+ description: `
512
+ Ignore whitespace when comparing lines in \`npm diff\`.
513
+ `,
514
+ flatten,
515
+ }),
516
+ 'diff-name-only': new Definition('diff-name-only', {
517
+ default: false,
518
+ type: Boolean,
519
+ description: `
520
+ Prints only filenames when using \`npm diff\`.
521
+ `,
522
+ flatten,
523
+ }),
524
+ 'diff-no-prefix': new Definition('diff-no-prefix', {
525
+ default: false,
526
+ type: Boolean,
527
+ description: `
528
+ Do not show any source or destination prefix in \`npm diff\` output.
529
+
530
+ Note: this causes \`npm diff\` to ignore the \`--diff-src-prefix\` and
531
+ \`--diff-dst-prefix\` configs.
532
+ `,
533
+ flatten,
534
+ }),
535
+ 'diff-dst-prefix': new Definition('diff-dst-prefix', {
536
+ default: 'b/',
537
+ hint: '<path>',
538
+ type: String,
539
+ description: `
540
+ Destination prefix to be used in \`npm diff\` output.
541
+ `,
542
+ flatten,
543
+ }),
544
+ 'diff-src-prefix': new Definition('diff-src-prefix', {
545
+ default: 'a/',
546
+ hint: '<path>',
547
+ type: String,
548
+ description: `
549
+ Source prefix to be used in \`npm diff\` output.
550
+ `,
551
+ flatten,
552
+ }),
553
+ 'diff-text': new Definition('diff-text', {
554
+ default: false,
555
+ type: Boolean,
556
+ description: `
557
+ Treat all files as text in \`npm diff\`.
558
+ `,
559
+ flatten,
560
+ }),
561
+ 'diff-unified': new Definition('diff-unified', {
562
+ default: 3,
563
+ type: Number,
564
+ description: `
565
+ The number of lines of context to print in \`npm diff\`.
566
+ `,
567
+ flatten,
568
+ }),
569
+ 'dry-run': new Definition('dry-run', {
570
+ default: false,
571
+ type: Boolean,
572
+ description: `
573
+ Indicates that you don't want npm to make any changes and that it should
574
+ only report what it would have done. This can be passed into any of the
575
+ commands that modify your local installation, eg, \`install\`,
576
+ \`update\`, \`dedupe\`, \`uninstall\`, as well as \`pack\` and
577
+ \`publish\`.
578
+
579
+ Note: This is NOT honored by other network related commands, eg
580
+ \`dist-tags\`, \`owner\`, etc.
581
+ `,
582
+ flatten,
583
+ }),
584
+ editor: new Definition('editor', {
585
+ default: editor,
586
+ defaultDescription: `
587
+ The EDITOR or VISUAL environment variables, or '%SYSTEMROOT%\\notepad.exe' on Windows,
588
+ or 'vi' on Unix systems
589
+ `,
590
+ type: String,
591
+ description: `
592
+ The command to run for \`npm edit\` and \`npm config edit\`.
593
+ `,
594
+ flatten,
595
+ }),
596
+ 'engine-strict': new Definition('engine-strict', {
597
+ default: false,
598
+ type: Boolean,
599
+ description: `
600
+ If set to true, then npm will stubbornly refuse to install (or even
601
+ consider installing) any package that claims to not be compatible with
602
+ the current Node.js version.
603
+
604
+ This can be overridden by setting the \`--force\` flag.
605
+ `,
606
+ flatten,
607
+ }),
608
+ 'expect-result-count': new Definition('expect-result-count', {
609
+ default: null,
610
+ type: [null, Number],
611
+ hint: '<count>',
612
+ exclusive: ['expect-results'],
613
+ description: `
614
+ Tells to expect a specific number of results from the command.
615
+ `,
616
+ }),
617
+ 'expect-results': new Definition('expect-results', {
618
+ default: null,
619
+ type: [null, Boolean],
620
+ exclusive: ['expect-result-count'],
621
+ description: `
622
+ Tells npm whether or not to expect results from the command.
623
+ Can be either true (expect some results) or false (expect no results).
624
+ `,
625
+ }),
626
+ 'fetch-retries': new Definition('fetch-retries', {
627
+ default: 2,
628
+ type: Number,
629
+ description: `
630
+ The "retries" config for the \`retry\` module to use when fetching
631
+ packages from the registry.
632
+
633
+ npm will retry idempotent read requests to the registry in the case
634
+ of network failures or 5xx HTTP errors.
635
+ `,
636
+ flatten (key, obj, flatOptions) {
637
+ flatOptions.retry = flatOptions.retry || {}
638
+ flatOptions.retry.retries = obj[key]
639
+ },
640
+ }),
641
+ 'fetch-retry-factor': new Definition('fetch-retry-factor', {
642
+ default: 10,
643
+ type: Number,
644
+ description: `
645
+ The "factor" config for the \`retry\` module to use when fetching
646
+ packages.
647
+ `,
648
+ flatten (key, obj, flatOptions) {
649
+ flatOptions.retry = flatOptions.retry || {}
650
+ flatOptions.retry.factor = obj[key]
651
+ },
652
+ }),
653
+ 'fetch-retry-maxtimeout': new Definition('fetch-retry-maxtimeout', {
654
+ default: 60000,
655
+ defaultDescription: '60000 (1 minute)',
656
+ type: Number,
657
+ description: `
658
+ The "maxTimeout" config for the \`retry\` module to use when fetching
659
+ packages.
660
+ `,
661
+ flatten (key, obj, flatOptions) {
662
+ flatOptions.retry = flatOptions.retry || {}
663
+ flatOptions.retry.maxTimeout = obj[key]
664
+ },
665
+ }),
666
+ 'fetch-retry-mintimeout': new Definition('fetch-retry-mintimeout', {
667
+ default: 10000,
668
+ defaultDescription: '10000 (10 seconds)',
669
+ type: Number,
670
+ description: `
671
+ The "minTimeout" config for the \`retry\` module to use when fetching
672
+ packages.
673
+ `,
674
+ flatten (key, obj, flatOptions) {
675
+ flatOptions.retry = flatOptions.retry || {}
676
+ flatOptions.retry.minTimeout = obj[key]
677
+ },
678
+ }),
679
+ 'fetch-timeout': new Definition('fetch-timeout', {
680
+ default: 5 * 60 * 1000,
681
+ defaultDescription: `${5 * 60 * 1000} (5 minutes)`,
682
+ type: Number,
683
+ description: `
684
+ The maximum amount of time to wait for HTTP requests to complete.
685
+ `,
686
+ flatten (key, obj, flatOptions) {
687
+ flatOptions.timeout = obj[key]
688
+ },
689
+ }),
690
+ force: new Definition('force', {
691
+ default: false,
692
+ type: Boolean,
693
+ short: 'f',
694
+ description: `
695
+ Removes various protections against unfortunate side effects, common
696
+ mistakes, unnecessary performance degradation, and malicious input.
697
+
698
+ * Allow clobbering non-npm files in global installs.
699
+ * Allow the \`npm version\` command to work on an unclean git repository.
700
+ * Allow deleting the cache folder with \`npm cache clean\`.
701
+ * Allow installing packages that have an \`engines\` declaration
702
+ requiring a different version of npm.
703
+ * Allow installing packages that have an \`engines\` declaration
704
+ requiring a different version of \`node\`, even if \`--engine-strict\`
705
+ is enabled.
706
+ * Allow \`npm audit fix\` to install modules outside your stated
707
+ dependency range (including SemVer-major changes).
708
+ * Allow unpublishing all versions of a published package.
709
+ * Allow conflicting peerDependencies to be installed in the root project.
710
+ * Implicitly set \`--yes\` during \`npm init\`.
711
+ * Allow clobbering existing values in \`npm pkg\`
712
+ * Allow unpublishing of entire packages (not just a single version).
713
+
714
+ If you don't have a clear idea of what you want to do, it is strongly
715
+ recommended that you do not use this option!
716
+ `,
717
+ flatten,
718
+ }),
719
+ 'foreground-scripts': new Definition('foreground-scripts', {
720
+ default: false,
721
+ defaultDescription: `\`false\` unless when using \`npm pack\` or \`npm publish\` where it
722
+ defaults to \`true\``,
723
+ type: Boolean,
724
+ description: `
725
+ Run all build scripts (ie, \`preinstall\`, \`install\`, and
726
+ \`postinstall\`) scripts for installed packages in the foreground
727
+ process, sharing standard input, output, and error with the main npm
728
+ process.
729
+
730
+ Note that this will generally make installs run slower, and be much
731
+ noisier, but can be useful for debugging.
732
+ `,
733
+ flatten,
734
+ }),
735
+ 'format-package-lock': new Definition('format-package-lock', {
736
+ default: true,
737
+ type: Boolean,
738
+ description: `
739
+ Format \`package-lock.json\` or \`npm-shrinkwrap.json\` as a human
740
+ readable file.
741
+ `,
742
+ flatten,
743
+ }),
744
+ fund: new Definition('fund', {
745
+ default: true,
746
+ type: Boolean,
747
+ description: `
748
+ When "true" displays the message at the end of each \`npm install\`
749
+ acknowledging the number of dependencies looking for funding.
750
+ See [\`npm fund\`](/commands/npm-fund) for details.
751
+ `,
752
+ flatten,
753
+ }),
754
+ git: new Definition('git', {
755
+ default: 'git',
756
+ type: String,
757
+ description: `
758
+ The command to use for git commands. If git is installed on the
759
+ computer, but is not in the \`PATH\`, then set this to the full path to
760
+ the git binary.
761
+ `,
762
+ flatten,
763
+ }),
764
+ 'git-tag-version': new Definition('git-tag-version', {
765
+ default: true,
766
+ type: Boolean,
767
+ description: `
768
+ Tag the commit when using the \`npm version\` command. Setting this to
769
+ false results in no commit being made at all.
770
+ `,
771
+ flatten,
772
+ }),
773
+ global: new Definition('global', {
774
+ default: false,
775
+ type: Boolean,
776
+ short: 'g',
777
+ description: `
778
+ Operates in "global" mode, so that packages are installed into the
779
+ \`prefix\` folder instead of the current working directory. See
780
+ [folders](/configuring-npm/folders) for more on the differences in
781
+ behavior.
782
+
783
+ * packages are installed into the \`{prefix}/lib/node_modules\` folder,
784
+ instead of the current working directory.
785
+ * bin files are linked to \`{prefix}/bin\`
786
+ * man pages are linked to \`{prefix}/share/man\`
787
+ `,
788
+ flatten: (key, obj, flatOptions) => {
789
+ flatten(key, obj, flatOptions)
790
+ if (flatOptions.global) {
791
+ flatOptions.location = 'global'
792
+ }
793
+ },
794
+ }),
795
+ // the globalconfig has its default defined outside of this module
796
+ globalconfig: new Definition('globalconfig', {
797
+ type: path,
798
+ default: '',
799
+ defaultDescription: `
800
+ The global --prefix setting plus 'etc/npmrc'. For example,
801
+ '/usr/local/etc/npmrc'
802
+ `,
803
+ description: `
804
+ The config file to read for global config options.
805
+ `,
806
+ flatten,
807
+ }),
808
+ 'global-style': new Definition('global-style', {
809
+ default: false,
810
+ type: Boolean,
811
+ description: `
812
+ Only install direct dependencies in the top level \`node_modules\`,
813
+ but hoist on deeper dependencies.
814
+ Sets \`--install-strategy=shallow\`.
815
+ `,
816
+ deprecated: `
817
+ This option has been deprecated in favor of \`--install-strategy=shallow\`
818
+ `,
819
+ flatten (key, obj, flatOptions) {
820
+ if (obj[key]) {
821
+ obj['install-strategy'] = 'shallow'
822
+ flatOptions.installStrategy = 'shallow'
823
+ }
824
+ },
825
+ }),
826
+ heading: new Definition('heading', {
827
+ default: 'npm',
828
+ type: String,
829
+ description: `
830
+ The string that starts all the debugging log output.
831
+ `,
832
+ flatten,
833
+ }),
834
+ 'https-proxy': new Definition('https-proxy', {
835
+ default: null,
836
+ type: [null, url],
837
+ description: `
838
+ A proxy to use for outgoing https requests. If the \`HTTPS_PROXY\` or
839
+ \`https_proxy\` or \`HTTP_PROXY\` or \`http_proxy\` environment variables
840
+ are set, proxy settings will be honored by the underlying
841
+ \`make-fetch-happen\` library.
842
+ `,
843
+ flatten,
844
+ }),
845
+ 'if-present': new Definition('if-present', {
846
+ default: false,
847
+ type: Boolean,
848
+ envExport: false,
849
+ description: `
850
+ If true, npm will not exit with an error code when \`run-script\` is
851
+ invoked for a script that isn't defined in the \`scripts\` section of
852
+ \`package.json\`. This option can be used when it's desirable to
853
+ optionally run a script when it's present and fail if the script fails.
854
+ This is useful, for example, when running scripts that may only apply for
855
+ some builds in an otherwise generic CI setup.
856
+ `,
857
+ flatten,
858
+ }),
859
+ 'ignore-scripts': new Definition('ignore-scripts', {
860
+ default: false,
861
+ type: Boolean,
862
+ description: `
863
+ If true, npm does not run scripts specified in package.json files.
864
+
865
+ Note that commands explicitly intended to run a particular script, such
866
+ as \`npm start\`, \`npm stop\`, \`npm restart\`, \`npm test\`, and \`npm
867
+ run-script\` will still run their intended script if \`ignore-scripts\` is
868
+ set, but they will *not* run any pre- or post-scripts.
869
+ `,
870
+ flatten,
871
+ }),
872
+ include: new Definition('include', {
873
+ default: [],
874
+ type: [Array, 'prod', 'dev', 'optional', 'peer'],
875
+ description: `
876
+ Option that allows for defining which types of dependencies to install.
877
+
878
+ This is the inverse of \`--omit=<type>\`.
879
+
880
+ Dependency types specified in \`--include\` will not be omitted,
881
+ regardless of the order in which omit/include are specified on the
882
+ command-line.
883
+ `,
884
+ flatten (key, obj, flatOptions) {
885
+ // just call the omit flattener, it reads from obj.include
886
+ definitions.omit.flatten('omit', obj, flatOptions)
887
+ },
888
+ }),
889
+ 'include-staged': new Definition('include-staged', {
890
+ default: false,
891
+ type: Boolean,
892
+ description: `
893
+ Allow installing "staged" published packages, as defined by [npm RFC PR
894
+ #92](https://github.com/npm/rfcs/pull/92).
895
+
896
+ This is experimental, and not implemented by the npm public registry.
897
+ `,
898
+ flatten,
899
+ }),
900
+ 'include-workspace-root': new Definition('include-workspace-root', {
901
+ default: false,
902
+ type: Boolean,
903
+ envExport: false,
904
+ description: `
905
+ Include the workspace root when workspaces are enabled for a command.
906
+
907
+ When false, specifying individual workspaces via the \`workspace\` config,
908
+ or all workspaces via the \`workspaces\` flag, will cause npm to operate only
909
+ on the specified workspaces, and not on the root project.
910
+ `,
911
+ flatten,
912
+ }),
913
+ 'init-author-email': new Definition('init-author-email', {
914
+ default: '',
915
+ hint: '<email>',
916
+ type: String,
917
+ description: `
918
+ The value \`npm init\` should use by default for the package author's
919
+ email.
920
+ `,
921
+ }),
922
+ 'init-author-name': new Definition('init-author-name', {
923
+ default: '',
924
+ hint: '<name>',
925
+ type: String,
926
+ description: `
927
+ The value \`npm init\` should use by default for the package author's name.
928
+ `,
929
+ }),
930
+ 'init-author-url': new Definition('init-author-url', {
931
+ default: '',
932
+ type: ['', url],
933
+ hint: '<url>',
934
+ description: `
935
+ The value \`npm init\` should use by default for the package author's homepage.
936
+ `,
937
+ }),
938
+ 'init-license': new Definition('init-license', {
939
+ default: 'ISC',
940
+ hint: '<license>',
941
+ type: String,
942
+ description: `
943
+ The value \`npm init\` should use by default for the package license.
944
+ `,
945
+ }),
946
+ 'init-module': new Definition('init-module', {
947
+ default: '~/.npm-init.js',
948
+ type: path,
949
+ hint: '<module>',
950
+ description: `
951
+ A module that will be loaded by the \`npm init\` command. See the
952
+ documentation for the
953
+ [init-package-json](https://github.com/npm/init-package-json) module for
954
+ more information, or [npm init](/commands/npm-init).
955
+ `,
956
+ }),
957
+ 'init-version': new Definition('init-version', {
958
+ default: '1.0.0',
959
+ type: Semver,
960
+ hint: '<version>',
961
+ description: `
962
+ The value that \`npm init\` should use by default for the package
963
+ version number, if not already set in package.json.
964
+ `,
965
+ }),
966
+ // these "aliases" are historically supported in .npmrc files, unfortunately
967
+ // They should be removed in a future npm version.
968
+ 'init.author.email': new Definition('init.author.email', {
969
+ default: '',
970
+ type: String,
971
+ deprecated: `
972
+ Use \`--init-author-email\` instead.`,
973
+ description: `
974
+ Alias for \`--init-author-email\`
975
+ `,
976
+ }),
977
+ 'init.author.name': new Definition('init.author.name', {
978
+ default: '',
979
+ type: String,
980
+ deprecated: `
981
+ Use \`--init-author-name\` instead.
982
+ `,
983
+ description: `
984
+ Alias for \`--init-author-name\`
985
+ `,
986
+ }),
987
+ 'init.author.url': new Definition('init.author.url', {
988
+ default: '',
989
+ type: ['', url],
990
+ deprecated: `
991
+ Use \`--init-author-url\` instead.
992
+ `,
993
+ description: `
994
+ Alias for \`--init-author-url\`
995
+ `,
996
+ }),
997
+ 'init.license': new Definition('init.license', {
998
+ default: 'ISC',
999
+ type: String,
1000
+ deprecated: `
1001
+ Use \`--init-license\` instead.
1002
+ `,
1003
+ description: `
1004
+ Alias for \`--init-license\`
1005
+ `,
1006
+ }),
1007
+ 'init.module': new Definition('init.module', {
1008
+ default: '~/.npm-init.js',
1009
+ type: path,
1010
+ deprecated: `
1011
+ Use \`--init-module\` instead.
1012
+ `,
1013
+ description: `
1014
+ Alias for \`--init-module\`
1015
+ `,
1016
+ }),
1017
+ 'init.version': new Definition('init.version', {
1018
+ default: '1.0.0',
1019
+ type: Semver,
1020
+ deprecated: `
1021
+ Use \`--init-version\` instead.
1022
+ `,
1023
+ description: `
1024
+ Alias for \`--init-version\`
1025
+ `,
1026
+ }),
1027
+ 'install-links': new Definition('install-links', {
1028
+ default: false,
1029
+ type: Boolean,
1030
+ description: `
1031
+ When set file: protocol dependencies will be packed and installed as
1032
+ regular dependencies instead of creating a symlink. This option has
1033
+ no effect on workspaces.
1034
+ `,
1035
+ flatten,
1036
+ }),
1037
+ 'install-strategy': new Definition('install-strategy', {
1038
+ default: 'hoisted',
1039
+ type: ['hoisted', 'nested', 'shallow', 'linked'],
1040
+ description: `
1041
+ Sets the strategy for installing packages in node_modules.
1042
+ hoisted (default): Install non-duplicated in top-level, and duplicated as
1043
+ necessary within directory structure.
1044
+ nested: (formerly --legacy-bundling) install in place, no hoisting.
1045
+ shallow (formerly --global-style) only install direct deps at top-level.
1046
+ linked: (experimental) install in node_modules/.store, link in place,
1047
+ unhoisted.
1048
+ `,
1049
+ flatten,
1050
+ }),
1051
+ json: new Definition('json', {
1052
+ default: false,
1053
+ type: Boolean,
1054
+ description: `
1055
+ Whether or not to output JSON data, rather than the normal output.
1056
+
1057
+ * In \`npm pkg set\` it enables parsing set values with JSON.parse()
1058
+ before saving them to your \`package.json\`.
1059
+
1060
+ Not supported by all npm commands.
1061
+ `,
1062
+ flatten,
1063
+ }),
1064
+ key: new Definition('key', {
1065
+ default: null,
1066
+ type: [null, String],
1067
+ description: `
1068
+ A client key to pass when accessing the registry. Values should be in
1069
+ PEM format with newlines replaced by the string "\\n". For example:
1070
+
1071
+ \`\`\`ini
1072
+ key="-----BEGIN PRIVATE KEY-----\\nXXXX\\nXXXX\\n-----END PRIVATE KEY-----"
1073
+ \`\`\`
1074
+
1075
+ It is _not_ the path to a key file, though you can set a registry-scoped
1076
+ "keyfile" path like "//other-registry.tld/:keyfile=/path/to/key.pem".
1077
+ `,
1078
+ deprecated: `
1079
+ \`key\` and \`cert\` are no longer used for most registry operations.
1080
+ Use registry scoped \`keyfile\` and \`certfile\` instead.
1081
+ Example:
1082
+ //other-registry.tld/:keyfile=/path/to/key.pem
1083
+ //other-registry.tld/:certfile=/path/to/cert.crt
1084
+ `,
1085
+ flatten,
1086
+ }),
1087
+ 'legacy-bundling': new Definition('legacy-bundling', {
1088
+ default: false,
1089
+ type: Boolean,
1090
+ description: `
1091
+ Instead of hoisting package installs in \`node_modules\`, install packages
1092
+ in the same manner that they are depended on. This may cause very deep
1093
+ directory structures and duplicate package installs as there is no
1094
+ de-duplicating.
1095
+ Sets \`--install-strategy=nested\`.
1096
+ `,
1097
+ deprecated: `
1098
+ This option has been deprecated in favor of \`--install-strategy=nested\`
1099
+ `,
1100
+ flatten (key, obj, flatOptions) {
1101
+ if (obj[key]) {
1102
+ obj['install-strategy'] = 'nested'
1103
+ flatOptions.installStrategy = 'nested'
1104
+ }
1105
+ },
1106
+ }),
1107
+ 'legacy-peer-deps': new Definition('legacy-peer-deps', {
1108
+ default: false,
1109
+ type: Boolean,
1110
+ description: `
1111
+ Causes npm to completely ignore \`peerDependencies\` when building a
1112
+ package tree, as in npm versions 3 through 6.
1113
+
1114
+ If a package cannot be installed because of overly strict
1115
+ \`peerDependencies\` that collide, it provides a way to move forward
1116
+ resolving the situation.
1117
+
1118
+ This differs from \`--omit=peer\`, in that \`--omit=peer\` will avoid
1119
+ unpacking \`peerDependencies\` on disk, but will still design a tree such
1120
+ that \`peerDependencies\` _could_ be unpacked in a correct place.
1121
+
1122
+ Use of \`legacy-peer-deps\` is not recommended, as it will not enforce
1123
+ the \`peerDependencies\` contract that meta-dependencies may rely on.
1124
+ `,
1125
+ flatten,
1126
+ }),
1127
+ libc: new Definition('libc', {
1128
+ default: null,
1129
+ type: [null, String],
1130
+ description: `
1131
+ Override libc of native modules to install.
1132
+ Acceptable values are same as \`libc\` field of package.json
1133
+ `,
1134
+ flatten,
1135
+ }),
1136
+ link: new Definition('link', {
1137
+ default: false,
1138
+ type: Boolean,
1139
+ description: `
1140
+ Used with \`npm ls\`, limiting output to only those packages that are
1141
+ linked.
1142
+ `,
1143
+ }),
1144
+ 'local-address': new Definition('local-address', {
1145
+ default: null,
1146
+ type: getLocalAddresses(),
1147
+ typeDescription: 'IP Address',
1148
+ description: `
1149
+ The IP address of the local interface to use when making connections to
1150
+ the npm registry. Must be IPv4 in versions of Node prior to 0.12.
1151
+ `,
1152
+ flatten,
1153
+ }),
1154
+ location: new Definition('location', {
1155
+ default: 'user',
1156
+ short: 'L',
1157
+ type: [
1158
+ 'global',
1159
+ 'user',
1160
+ 'project',
1161
+ ],
1162
+ defaultDescription: `
1163
+ "user" unless \`--global\` is passed, which will also set this value to "global"
1164
+ `,
1165
+ description: `
1166
+ When passed to \`npm config\` this refers to which config file to use.
1167
+
1168
+ When set to "global" mode, packages are installed into the \`prefix\` folder
1169
+ instead of the current working directory. See
1170
+ [folders](/configuring-npm/folders) for more on the differences in behavior.
1171
+
1172
+ * packages are installed into the \`{prefix}/lib/node_modules\` folder,
1173
+ instead of the current working directory.
1174
+ * bin files are linked to \`{prefix}/bin\`
1175
+ * man pages are linked to \`{prefix}/share/man\`
1176
+ `,
1177
+ flatten: (key, obj, flatOptions) => {
1178
+ flatten(key, obj, flatOptions)
1179
+ if (flatOptions.global) {
1180
+ flatOptions.location = 'global'
1181
+ }
1182
+ if (obj.location === 'global') {
1183
+ flatOptions.global = true
1184
+ }
1185
+ },
1186
+ }),
1187
+ 'lockfile-version': new Definition('lockfile-version', {
1188
+ default: null,
1189
+ type: [null, 1, 2, 3, '1', '2', '3'],
1190
+ defaultDescription: `
1191
+ Version 3 if no lockfile, auto-converting v1 lockfiles to v3, otherwise
1192
+ maintain current lockfile version.`,
1193
+ description: `
1194
+ Set the lockfile format version to be used in package-lock.json and
1195
+ npm-shrinkwrap-json files. Possible options are:
1196
+
1197
+ 1: The lockfile version used by npm versions 5 and 6. Lacks some data that
1198
+ is used during the install, resulting in slower and possibly less
1199
+ deterministic installs. Prevents lockfile churn when interoperating with
1200
+ older npm versions.
1201
+
1202
+ 2: The default lockfile version used by npm version 7 and 8. Includes both
1203
+ the version 1 lockfile data and version 3 lockfile data, for maximum
1204
+ determinism and interoperability, at the expense of more bytes on disk.
1205
+
1206
+ 3: Only the new lockfile information introduced in npm version 7. Smaller
1207
+ on disk than lockfile version 2, but not interoperable with older npm
1208
+ versions. Ideal if all users are on npm version 7 and higher.
1209
+ `,
1210
+ flatten: (key, obj, flatOptions) => {
1211
+ flatOptions.lockfileVersion = obj[key] && parseInt(obj[key], 10)
1212
+ },
1213
+ }),
1214
+ loglevel: new Definition('loglevel', {
1215
+ default: 'notice',
1216
+ type: [
1217
+ 'silent',
1218
+ 'error',
1219
+ 'warn',
1220
+ 'notice',
1221
+ 'http',
1222
+ 'info',
1223
+ 'verbose',
1224
+ 'silly',
1225
+ ],
1226
+ description: `
1227
+ What level of logs to report. All logs are written to a debug log,
1228
+ with the path to that file printed if the execution of a command fails.
1229
+
1230
+ Any logs of a higher level than the setting are shown. The default is
1231
+ "notice".
1232
+
1233
+ See also the \`foreground-scripts\` config.
1234
+ `,
1235
+ flatten (key, obj, flatOptions) {
1236
+ flatOptions.silent = obj[key] === 'silent'
1237
+ },
1238
+ }),
1239
+ 'logs-dir': new Definition('logs-dir', {
1240
+ default: null,
1241
+ type: [null, path],
1242
+ defaultDescription: `
1243
+ A directory named \`_logs\` inside the cache
1244
+ `,
1245
+ description: `
1246
+ The location of npm's log directory. See [\`npm
1247
+ logging\`](/using-npm/logging) for more information.
1248
+ `,
1249
+ }),
1250
+ 'logs-max': new Definition('logs-max', {
1251
+ default: 10,
1252
+ type: Number,
1253
+ description: `
1254
+ The maximum number of log files to store.
1255
+
1256
+ If set to 0, no log files will be written for the current run.
1257
+ `,
1258
+ }),
1259
+ long: new Definition('long', {
1260
+ default: false,
1261
+ type: Boolean,
1262
+ short: 'l',
1263
+ description: `
1264
+ Show extended information in \`ls\`, \`search\`, and \`help-search\`.
1265
+ `,
1266
+ }),
1267
+ maxsockets: new Definition('maxsockets', {
1268
+ default: 15,
1269
+ type: Number,
1270
+ description: `
1271
+ The maximum number of connections to use per origin (protocol/host/port
1272
+ combination).
1273
+ `,
1274
+ flatten (key, obj, flatOptions) {
1275
+ flatOptions.maxSockets = obj[key]
1276
+ },
1277
+ }),
1278
+ message: new Definition('message', {
1279
+ default: '%s',
1280
+ type: String,
1281
+ short: 'm',
1282
+ description: `
1283
+ Commit message which is used by \`npm version\` when creating version commit.
1284
+
1285
+ Any "%s" in the message will be replaced with the version number.
1286
+ `,
1287
+ flatten,
1288
+ }),
1289
+ 'node-options': new Definition('node-options', {
1290
+ default: null,
1291
+ type: [null, String],
1292
+ description: `
1293
+ Options to pass through to Node.js via the \`NODE_OPTIONS\` environment
1294
+ variable. This does not impact how npm itself is executed but it does
1295
+ impact how lifecycle scripts are called.
1296
+ `,
1297
+ }),
1298
+ noproxy: new Definition('noproxy', {
1299
+ default: '',
1300
+ defaultDescription: `
1301
+ The value of the NO_PROXY environment variable
1302
+ `,
1303
+ type: [String, Array],
1304
+ description: `
1305
+ Domain extensions that should bypass any proxies.
1306
+
1307
+ Also accepts a comma-delimited string.
1308
+ `,
1309
+ flatten (key, obj, flatOptions) {
1310
+ if (Array.isArray(obj[key])) {
1311
+ flatOptions.noProxy = obj[key].join(',')
1312
+ } else {
1313
+ flatOptions.noProxy = obj[key]
1314
+ }
1315
+ },
1316
+ }),
1317
+ offline: new Definition('offline', {
1318
+ default: false,
1319
+ type: Boolean,
1320
+ description: `
1321
+ Force offline mode: no network requests will be done during install. To allow
1322
+ the CLI to fill in missing cache data, see \`--prefer-offline\`.
1323
+ `,
1324
+ flatten,
1325
+ }),
1326
+ omit: new Definition('omit', {
1327
+ default: process.env.NODE_ENV === 'production' ? ['dev'] : [],
1328
+ defaultDescription: `
1329
+ 'dev' if the \`NODE_ENV\` environment variable is set to 'production',
1330
+ otherwise empty.
1331
+ `,
1332
+ type: [Array, 'dev', 'optional', 'peer'],
1333
+ description: `
1334
+ Dependency types to omit from the installation tree on disk.
1335
+
1336
+ Note that these dependencies _are_ still resolved and added to the
1337
+ \`package-lock.json\` or \`npm-shrinkwrap.json\` file. They are just
1338
+ not physically installed on disk.
1339
+
1340
+ If a package type appears in both the \`--include\` and \`--omit\`
1341
+ lists, then it will be included.
1342
+
1343
+ If the resulting omit list includes \`'dev'\`, then the \`NODE_ENV\`
1344
+ environment variable will be set to \`'production'\` for all lifecycle
1345
+ scripts.
1346
+ `,
1347
+ flatten (key, obj, flatOptions) {
1348
+ flatOptions.omit = buildOmitList(obj)
1349
+ },
1350
+ }),
1351
+ 'omit-lockfile-registry-resolved': new Definition('omit-lockfile-registry-resolved', {
1352
+ default: false,
1353
+ type: Boolean,
1354
+ description: `
1355
+ This option causes npm to create lock files without a \`resolved\` key for
1356
+ registry dependencies. Subsequent installs will need to resolve tarball
1357
+ endpoints with the configured registry, likely resulting in a longer install
1358
+ time.
1359
+ `,
1360
+ flatten,
1361
+ }),
1362
+ only: new Definition('only', {
1363
+ default: null,
1364
+ type: [null, 'prod', 'production'],
1365
+ deprecated: `
1366
+ Use \`--omit=dev\` to omit dev dependencies from the install.
1367
+ `,
1368
+ description: `
1369
+ When set to \`prod\` or \`production\`, this is an alias for
1370
+ \`--omit=dev\`.
1371
+ `,
1372
+ flatten (key, obj, flatOptions) {
1373
+ definitions.omit.flatten('omit', obj, flatOptions)
1374
+ },
1375
+ }),
1376
+ optional: new Definition('optional', {
1377
+ default: null,
1378
+ type: [null, Boolean],
1379
+ deprecated: `
1380
+ Use \`--omit=optional\` to exclude optional dependencies, or
1381
+ \`--include=optional\` to include them.
1382
+
1383
+ Default value does install optional deps unless otherwise omitted.
1384
+ `,
1385
+ description: `
1386
+ Alias for --include=optional or --omit=optional
1387
+ `,
1388
+ flatten (key, obj, flatOptions) {
1389
+ definitions.omit.flatten('omit', obj, flatOptions)
1390
+ },
1391
+ }),
1392
+ os: new Definition('os', {
1393
+ default: null,
1394
+ type: [null, String],
1395
+ description: `
1396
+ Override OS of native modules to install.
1397
+ Acceptable values are same as \`os\` field of package.json,
1398
+ which comes from \`process.platform\`.
1399
+ `,
1400
+ flatten,
1401
+ }),
1402
+ otp: new Definition('otp', {
1403
+ default: null,
1404
+ type: [null, String],
1405
+ description: `
1406
+ This is a one-time password from a two-factor authenticator. It's needed
1407
+ when publishing or changing package permissions with \`npm access\`.
1408
+
1409
+ If not set, and a registry response fails with a challenge for a one-time
1410
+ password, npm will prompt on the command line for one.
1411
+ `,
1412
+ flatten (key, obj, flatOptions) {
1413
+ flatten(key, obj, flatOptions)
1414
+ if (obj.otp) {
1415
+ obj['auth-type'] = 'legacy'
1416
+ flatten('auth-type', obj, flatOptions)
1417
+ }
1418
+ },
1419
+ }),
1420
+ package: new Definition('package', {
1421
+ default: [],
1422
+ hint: '<package-spec>',
1423
+ type: [String, Array],
1424
+ description: `
1425
+ The package or packages to install for [\`npm exec\`](/commands/npm-exec)
1426
+ `,
1427
+ flatten,
1428
+ }),
1429
+ 'package-lock': new Definition('package-lock', {
1430
+ default: true,
1431
+ type: Boolean,
1432
+ description: `
1433
+ If set to false, then ignore \`package-lock.json\` files when installing.
1434
+ This will also prevent _writing_ \`package-lock.json\` if \`save\` is
1435
+ true.
1436
+ `,
1437
+ flatten: (key, obj, flatOptions) => {
1438
+ flatten(key, obj, flatOptions)
1439
+ if (flatOptions.packageLockOnly) {
1440
+ flatOptions.packageLock = true
1441
+ }
1442
+ },
1443
+ }),
1444
+ 'package-lock-only': new Definition('package-lock-only', {
1445
+ default: false,
1446
+ type: Boolean,
1447
+ description: `
1448
+ If set to true, the current operation will only use the \`package-lock.json\`,
1449
+ ignoring \`node_modules\`.
1450
+
1451
+ For \`update\` this means only the \`package-lock.json\` will be updated,
1452
+ instead of checking \`node_modules\` and downloading dependencies.
1453
+
1454
+ For \`list\` this means the output will be based on the tree described by the
1455
+ \`package-lock.json\`, rather than the contents of \`node_modules\`.
1456
+ `,
1457
+ flatten: (key, obj, flatOptions) => {
1458
+ flatten(key, obj, flatOptions)
1459
+ if (flatOptions.packageLockOnly) {
1460
+ flatOptions.packageLock = true
1461
+ }
1462
+ },
1463
+ }),
1464
+ 'pack-destination': new Definition('pack-destination', {
1465
+ default: '.',
1466
+ type: String,
1467
+ description: `
1468
+ Directory in which \`npm pack\` will save tarballs.
1469
+ `,
1470
+ flatten,
1471
+ }),
1472
+ parseable: new Definition('parseable', {
1473
+ default: false,
1474
+ type: Boolean,
1475
+ short: 'p',
1476
+ description: `
1477
+ Output parseable results from commands that write to standard output. For
1478
+ \`npm search\`, this will be tab-separated table format.
1479
+ `,
1480
+ flatten,
1481
+ }),
1482
+ 'prefer-dedupe': new Definition('prefer-dedupe', {
1483
+ default: false,
1484
+ type: Boolean,
1485
+ description: `
1486
+ Prefer to deduplicate packages if possible, rather than
1487
+ choosing a newer version of a dependency.
1488
+ `,
1489
+ flatten,
1490
+ }),
1491
+ 'prefer-offline': new Definition('prefer-offline', {
1492
+ default: false,
1493
+ type: Boolean,
1494
+ description: `
1495
+ If true, staleness checks for cached data will be bypassed, but missing
1496
+ data will be requested from the server. To force full offline mode, use
1497
+ \`--offline\`.
1498
+ `,
1499
+ flatten,
1500
+ }),
1501
+ 'prefer-online': new Definition('prefer-online', {
1502
+ default: false,
1503
+ type: Boolean,
1504
+ description: `
1505
+ If true, staleness checks for cached data will be forced, making the CLI
1506
+ look for updates immediately even for fresh package data.
1507
+ `,
1508
+ flatten,
1509
+ }),
1510
+ // `prefix` has its default defined outside of this module
1511
+ prefix: new Definition('prefix', {
1512
+ type: path,
1513
+ short: 'C',
1514
+ default: '',
1515
+ defaultDescription: `
1516
+ In global mode, the folder where the node executable is installed.
1517
+ Otherwise, the nearest parent folder containing either a package.json
1518
+ file or a node_modules folder.
1519
+ `,
1520
+ description: `
1521
+ The location to install global items. If set on the command line, then
1522
+ it forces non-global commands to run in the specified folder.
1523
+ `,
1524
+ }),
1525
+ preid: new Definition('preid', {
1526
+ default: '',
1527
+ hint: 'prerelease-id',
1528
+ type: String,
1529
+ description: `
1530
+ The "prerelease identifier" to use as a prefix for the "prerelease" part
1531
+ of a semver. Like the \`rc\` in \`1.2.0-rc.8\`.
1532
+ `,
1533
+ flatten,
1534
+ }),
1535
+ production: new Definition('production', {
1536
+ default: null,
1537
+ type: [null, Boolean],
1538
+ deprecated: 'Use `--omit=dev` instead.',
1539
+ description: 'Alias for `--omit=dev`',
1540
+ flatten (key, obj, flatOptions) {
1541
+ definitions.omit.flatten('omit', obj, flatOptions)
1542
+ },
1543
+ }),
1544
+ progress: new Definition('progress', {
1545
+ default: !ciInfo.isCI,
1546
+ defaultDescription: `
1547
+ \`true\` unless running in a known CI system
1548
+ `,
1549
+ type: Boolean,
1550
+ description: `
1551
+ When set to \`true\`, npm will display a progress bar during time
1552
+ intensive operations, if \`process.stderr\` and \`process.stdout\` are a TTY.
1553
+
1554
+ Set to \`false\` to suppress the progress bar.
1555
+ `,
1556
+ flatten (key, obj, flatOptions) {
1557
+ flatOptions.progress = !obj.progress ? false
1558
+ // progress is only written to stderr but we disable it unless stdout is a tty
1559
+ // also. This prevents the progress from appearing when piping output to another
1560
+ // command which doesn't break anything, but does look very odd to users.
1561
+ : !!process.stderr.isTTY && !!process.stdout.isTTY && process.env.TERM !== 'dumb'
1562
+ },
1563
+ }),
1564
+ provenance: new Definition('provenance', {
1565
+ default: false,
1566
+ type: Boolean,
1567
+ exclusive: ['provenance-file'],
1568
+ description: `
1569
+ When publishing from a supported cloud CI/CD system, the package will be
1570
+ publicly linked to where it was built and published from.
1571
+ `,
1572
+ flatten,
1573
+ }),
1574
+ 'provenance-file': new Definition('provenance-file', {
1575
+ default: null,
1576
+ type: path,
1577
+ hint: '<file>',
1578
+ exclusive: ['provenance'],
1579
+ description: `
1580
+ When publishing, the provenance bundle at the given path will be used.
1581
+ `,
1582
+ flatten,
1583
+ }),
1584
+ proxy: new Definition('proxy', {
1585
+ default: null,
1586
+ type: [null, false, url], // allow proxy to be disabled explicitly
1587
+ description: `
1588
+ A proxy to use for outgoing http requests. If the \`HTTP_PROXY\` or
1589
+ \`http_proxy\` environment variables are set, proxy settings will be
1590
+ honored by the underlying \`request\` library.
1591
+ `,
1592
+ flatten,
1593
+ }),
1594
+ 'read-only': new Definition('read-only', {
1595
+ default: false,
1596
+ type: Boolean,
1597
+ description: `
1598
+ This is used to mark a token as unable to publish when configuring
1599
+ limited access tokens with the \`npm token create\` command.
1600
+ `,
1601
+ flatten,
1602
+ }),
1603
+ 'rebuild-bundle': new Definition('rebuild-bundle', {
1604
+ default: true,
1605
+ type: Boolean,
1606
+ description: `
1607
+ Rebuild bundled dependencies after installation.
1608
+ `,
1609
+ flatten,
1610
+ }),
1611
+ registry: new Definition('registry', {
1612
+ default: 'https://registry.npmjs.org/',
1613
+ type: url,
1614
+ description: `
1615
+ The base URL of the npm registry.
1616
+ `,
1617
+ flatten,
1618
+ }),
1619
+ 'replace-registry-host': new Definition('replace-registry-host', {
1620
+ default: 'npmjs',
1621
+ hint: '<npmjs|never|always> | hostname',
1622
+ type: ['npmjs', 'never', 'always', String],
1623
+ description: `
1624
+ Defines behavior for replacing the registry host in a lockfile with the
1625
+ configured registry.
1626
+
1627
+ The default behavior is to replace package dist URLs from the default
1628
+ registry (https://registry.npmjs.org) to the configured registry. If set to
1629
+ "never", then use the registry value. If set to "always", then replace the
1630
+ registry host with the configured host every time.
1631
+
1632
+ You may also specify a bare hostname (e.g., "registry.npmjs.org").
1633
+ `,
1634
+ flatten,
1635
+ }),
1636
+ save: new Definition('save', {
1637
+ default: true,
1638
+ defaultDescription: `\`true\` unless when using \`npm update\` where it
1639
+ defaults to \`false\``,
1640
+ usage: '-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle',
1641
+ type: Boolean,
1642
+ short: 'S',
1643
+ description: `
1644
+ Save installed packages to a \`package.json\` file as dependencies.
1645
+
1646
+ When used with the \`npm rm\` command, removes the dependency from
1647
+ \`package.json\`.
1648
+
1649
+ Will also prevent writing to \`package-lock.json\` if set to \`false\`.
1650
+ `,
1651
+ flatten,
1652
+ }),
1653
+ 'save-bundle': new Definition('save-bundle', {
1654
+ default: false,
1655
+ type: Boolean,
1656
+ short: 'B',
1657
+ description: `
1658
+ If a package would be saved at install time by the use of \`--save\`,
1659
+ \`--save-dev\`, or \`--save-optional\`, then also put it in the
1660
+ \`bundleDependencies\` list.
1661
+
1662
+ Ignored if \`--save-peer\` is set, since peerDependencies cannot be bundled.
1663
+ `,
1664
+ flatten (key, obj, flatOptions) {
1665
+ // XXX update arborist to just ignore it if resulting saveType is peer
1666
+ // otherwise this won't have the expected effect:
1667
+ //
1668
+ // npm config set save-peer true
1669
+ // npm i foo --save-bundle --save-prod <-- should bundle
1670
+ flatOptions.saveBundle = obj['save-bundle'] && !obj['save-peer']
1671
+ },
1672
+ }),
1673
+ 'save-dev': new Definition('save-dev', {
1674
+ default: false,
1675
+ type: Boolean,
1676
+ short: 'D',
1677
+ description: `
1678
+ Save installed packages to a package.json file as \`devDependencies\`.
1679
+ `,
1680
+ flatten (key, obj, flatOptions) {
1681
+ if (!obj[key]) {
1682
+ if (flatOptions.saveType === 'dev') {
1683
+ delete flatOptions.saveType
1684
+ }
1685
+ return
1686
+ }
1687
+
1688
+ flatOptions.saveType = 'dev'
1689
+ },
1690
+ }),
1691
+ 'save-exact': new Definition('save-exact', {
1692
+ default: false,
1693
+ type: Boolean,
1694
+ short: 'E',
1695
+ description: `
1696
+ Dependencies saved to package.json will be configured with an exact
1697
+ version rather than using npm's default semver range operator.
1698
+ `,
1699
+ flatten (key, obj, flatOptions) {
1700
+ // just call the save-prefix flattener, it reads from obj['save-exact']
1701
+ definitions['save-prefix'].flatten('save-prefix', obj, flatOptions)
1702
+ },
1703
+ }),
1704
+ 'save-optional': new Definition('save-optional', {
1705
+ default: false,
1706
+ type: Boolean,
1707
+ short: 'O',
1708
+ description: `
1709
+ Save installed packages to a package.json file as
1710
+ \`optionalDependencies\`.
1711
+ `,
1712
+ flatten (key, obj, flatOptions) {
1713
+ if (!obj[key]) {
1714
+ if (flatOptions.saveType === 'optional') {
1715
+ delete flatOptions.saveType
1716
+ } else if (flatOptions.saveType === 'peerOptional') {
1717
+ flatOptions.saveType = 'peer'
1718
+ }
1719
+ return
1720
+ }
1721
+
1722
+ if (flatOptions.saveType === 'peerOptional') {
1723
+ return
1724
+ }
1725
+
1726
+ if (flatOptions.saveType === 'peer') {
1727
+ flatOptions.saveType = 'peerOptional'
1728
+ } else {
1729
+ flatOptions.saveType = 'optional'
1730
+ }
1731
+ },
1732
+ }),
1733
+ 'save-peer': new Definition('save-peer', {
1734
+ default: false,
1735
+ type: Boolean,
1736
+ description: `
1737
+ Save installed packages to a package.json file as \`peerDependencies\`
1738
+ `,
1739
+ flatten (key, obj, flatOptions) {
1740
+ if (!obj[key]) {
1741
+ if (flatOptions.saveType === 'peer') {
1742
+ delete flatOptions.saveType
1743
+ } else if (flatOptions.saveType === 'peerOptional') {
1744
+ flatOptions.saveType = 'optional'
1745
+ }
1746
+ return
1747
+ }
1748
+
1749
+ if (flatOptions.saveType === 'peerOptional') {
1750
+ return
1751
+ }
1752
+
1753
+ if (flatOptions.saveType === 'optional') {
1754
+ flatOptions.saveType = 'peerOptional'
1755
+ } else {
1756
+ flatOptions.saveType = 'peer'
1757
+ }
1758
+ },
1759
+ }),
1760
+ 'save-prefix': new Definition('save-prefix', {
1761
+ default: '^',
1762
+ type: String,
1763
+ description: `
1764
+ Configure how versions of packages installed to a package.json file via
1765
+ \`--save\` or \`--save-dev\` get prefixed.
1766
+
1767
+ For example if a package has version \`1.2.3\`, by default its version is
1768
+ set to \`^1.2.3\` which allows minor upgrades for that package, but after
1769
+ \`npm config set save-prefix='~'\` it would be set to \`~1.2.3\` which
1770
+ only allows patch upgrades.
1771
+ `,
1772
+ flatten (key, obj, flatOptions) {
1773
+ flatOptions.savePrefix = obj['save-exact'] ? '' : obj['save-prefix']
1774
+ obj['save-prefix'] = flatOptions.savePrefix
1775
+ },
1776
+ }),
1777
+ 'save-prod': new Definition('save-prod', {
1778
+ default: false,
1779
+ type: Boolean,
1780
+ short: 'P',
1781
+ description: `
1782
+ Save installed packages into \`dependencies\` specifically. This is
1783
+ useful if a package already exists in \`devDependencies\` or
1784
+ \`optionalDependencies\`, but you want to move it to be a non-optional
1785
+ production dependency.
1786
+
1787
+ This is the default behavior if \`--save\` is true, and neither
1788
+ \`--save-dev\` or \`--save-optional\` are true.
1789
+ `,
1790
+ flatten (key, obj, flatOptions) {
1791
+ if (!obj[key]) {
1792
+ if (flatOptions.saveType === 'prod') {
1793
+ delete flatOptions.saveType
1794
+ }
1795
+ return
1796
+ }
1797
+
1798
+ flatOptions.saveType = 'prod'
1799
+ },
1800
+ }),
1801
+ 'sbom-format': new Definition('sbom-format', {
1802
+ default: null,
1803
+ type: [
1804
+ 'cyclonedx',
1805
+ 'spdx',
1806
+ ],
1807
+ description: `
1808
+ SBOM format to use when generating SBOMs.
1809
+ `,
1810
+ flatten,
1811
+ }),
1812
+ 'sbom-type': new Definition('sbom-type', {
1813
+ default: 'library',
1814
+ type: [
1815
+ 'library',
1816
+ 'application',
1817
+ 'framework',
1818
+ ],
1819
+ description: `
1820
+ The type of package described by the generated SBOM. For SPDX, this is the
1821
+ value for the \`primaryPackagePurpose\` field. For CycloneDX, this is the
1822
+ value for the \`type\` field.
1823
+ `,
1824
+ flatten,
1825
+ }),
1826
+ scope: new Definition('scope', {
1827
+ default: '',
1828
+ defaultDescription: `
1829
+ the scope of the current project, if any, or ""
1830
+ `,
1831
+ type: String,
1832
+ hint: '<@scope>',
1833
+ description: `
1834
+ Associate an operation with a scope for a scoped registry.
1835
+
1836
+ Useful when logging in to or out of a private registry:
1837
+
1838
+ \`\`\`
1839
+ # log in, linking the scope to the custom registry
1840
+ npm login --scope=@mycorp --registry=https://registry.mycorp.com
1841
+
1842
+ # log out, removing the link and the auth token
1843
+ npm logout --scope=@mycorp
1844
+ \`\`\`
1845
+
1846
+ This will cause \`@mycorp\` to be mapped to the registry for future
1847
+ installation of packages specified according to the pattern
1848
+ \`@mycorp/package\`.
1849
+
1850
+ This will also cause \`npm init\` to create a scoped package.
1851
+
1852
+ \`\`\`
1853
+ # accept all defaults, and create a package named "@foo/whatever",
1854
+ # instead of just named "whatever"
1855
+ npm init --scope=@foo --yes
1856
+ \`\`\`
1857
+ `,
1858
+ flatten (key, obj, flatOptions) {
1859
+ const value = obj[key]
1860
+ const scope = value && !/^@/.test(value) ? `@${value}` : value
1861
+ flatOptions.scope = scope
1862
+ // projectScope is kept for compatibility with npm-registry-fetch
1863
+ flatOptions.projectScope = scope
1864
+ },
1865
+ }),
1866
+ 'script-shell': new Definition('script-shell', {
1867
+ default: null,
1868
+ defaultDescription: `
1869
+ '/bin/sh' on POSIX systems, 'cmd.exe' on Windows
1870
+ `,
1871
+ type: [null, String],
1872
+ description: `
1873
+ The shell to use for scripts run with the \`npm exec\`,
1874
+ \`npm run\` and \`npm init <package-spec>\` commands.
1875
+ `,
1876
+ flatten (key, obj, flatOptions) {
1877
+ flatOptions.scriptShell = obj[key] || undefined
1878
+ },
1879
+ }),
1880
+ searchexclude: new Definition('searchexclude', {
1881
+ default: '',
1882
+ type: String,
1883
+ description: `
1884
+ Space-separated options that limit the results from search.
1885
+ `,
1886
+ flatten (key, obj, flatOptions) {
1887
+ flatOptions.search = flatOptions.search || { limit: 20 }
1888
+ flatOptions.search.exclude = obj[key].toLowerCase()
1889
+ },
1890
+ }),
1891
+ searchlimit: new Definition('searchlimit', {
1892
+ default: 20,
1893
+ type: Number,
1894
+ description: `
1895
+ Number of items to limit search results to. Will not apply at all to
1896
+ legacy searches.
1897
+ `,
1898
+ flatten (key, obj, flatOptions) {
1899
+ flatOptions.search = flatOptions.search || {}
1900
+ flatOptions.search.limit = obj[key]
1901
+ },
1902
+ }),
1903
+ searchopts: new Definition('searchopts', {
1904
+ default: '',
1905
+ type: String,
1906
+ description: `
1907
+ Space-separated options that are always passed to search.
1908
+ `,
1909
+ flatten (key, obj, flatOptions) {
1910
+ flatOptions.search = flatOptions.search || { limit: 20 }
1911
+ flatOptions.search.opts = querystring.parse(obj[key])
1912
+ },
1913
+ }),
1914
+ searchstaleness: new Definition('searchstaleness', {
1915
+ default: 15 * 60,
1916
+ type: Number,
1917
+ description: `
1918
+ The age of the cache, in seconds, before another registry request is made
1919
+ if using legacy search endpoint.
1920
+ `,
1921
+ flatten (key, obj, flatOptions) {
1922
+ flatOptions.search = flatOptions.search || { limit: 20 }
1923
+ flatOptions.search.staleness = obj[key]
1924
+ },
1925
+ }),
1926
+ shell: new Definition('shell', {
1927
+ default: shell,
1928
+ defaultDescription: `
1929
+ SHELL environment variable, or "bash" on Posix, or "cmd.exe" on Windows
1930
+ `,
1931
+ type: String,
1932
+ description: `
1933
+ The shell to run for the \`npm explore\` command.
1934
+ `,
1935
+ flatten,
1936
+ }),
1937
+ shrinkwrap: new Definition('shrinkwrap', {
1938
+ default: true,
1939
+ type: Boolean,
1940
+ deprecated: `
1941
+ Use the --package-lock setting instead.
1942
+ `,
1943
+ description: `
1944
+ Alias for --package-lock
1945
+ `,
1946
+ flatten (key, obj, flatOptions) {
1947
+ obj['package-lock'] = obj.shrinkwrap
1948
+ definitions['package-lock'].flatten('package-lock', obj, flatOptions)
1949
+ },
1950
+ }),
1951
+ 'sign-git-commit': new Definition('sign-git-commit', {
1952
+ default: false,
1953
+ type: Boolean,
1954
+ description: `
1955
+ If set to true, then the \`npm version\` command will commit the new
1956
+ package version using \`-S\` to add a signature.
1957
+
1958
+ Note that git requires you to have set up GPG keys in your git configs
1959
+ for this to work properly.
1960
+ `,
1961
+ flatten,
1962
+ }),
1963
+ 'sign-git-tag': new Definition('sign-git-tag', {
1964
+ default: false,
1965
+ type: Boolean,
1966
+ description: `
1967
+ If set to true, then the \`npm version\` command will tag the version
1968
+ using \`-s\` to add a signature.
1969
+
1970
+ Note that git requires you to have set up GPG keys in your git configs
1971
+ for this to work properly.
1972
+ `,
1973
+ flatten,
1974
+ }),
1975
+ 'strict-peer-deps': new Definition('strict-peer-deps', {
1976
+ default: false,
1977
+ type: Boolean,
1978
+ description: `
1979
+ If set to \`true\`, and \`--legacy-peer-deps\` is not set, then _any_
1980
+ conflicting \`peerDependencies\` will be treated as an install failure,
1981
+ even if npm could reasonably guess the appropriate resolution based on
1982
+ non-peer dependency relationships.
1983
+
1984
+ By default, conflicting \`peerDependencies\` deep in the dependency graph
1985
+ will be resolved using the nearest non-peer dependency specification,
1986
+ even if doing so will result in some packages receiving a peer dependency
1987
+ outside the range set in their package's \`peerDependencies\` object.
1988
+
1989
+ When such an override is performed, a warning is printed, explaining the
1990
+ conflict and the packages involved. If \`--strict-peer-deps\` is set,
1991
+ then this warning is treated as a failure.
1992
+ `,
1993
+ flatten,
1994
+ }),
1995
+ 'strict-ssl': new Definition('strict-ssl', {
1996
+ default: true,
1997
+ type: Boolean,
1998
+ description: `
1999
+ Whether or not to do SSL key validation when making requests to the
2000
+ registry via https.
2001
+
2002
+ See also the \`ca\` config.
2003
+ `,
2004
+ flatten (key, obj, flatOptions) {
2005
+ flatOptions.strictSSL = obj[key]
2006
+ },
2007
+ }),
2008
+ tag: new Definition('tag', {
2009
+ default: 'latest',
2010
+ type: String,
2011
+ description: `
2012
+ If you ask npm to install a package and don't tell it a specific version,
2013
+ then it will install the specified tag.
2014
+
2015
+ It is the tag added to the package@version specified in the
2016
+ \`npm dist-tag add\` command, if no explicit tag is given.
2017
+
2018
+ When used by the \`npm diff\` command, this is the tag used to fetch the
2019
+ tarball that will be compared with the local files by default.
2020
+
2021
+ If used in the \`npm publish\` command, this is the tag that will be
2022
+ added to the package submitted to the registry.
2023
+ `,
2024
+ flatten (key, obj, flatOptions) {
2025
+ flatOptions.defaultTag = obj[key]
2026
+ },
2027
+ }),
2028
+ 'tag-version-prefix': new Definition('tag-version-prefix', {
2029
+ default: 'v',
2030
+ type: String,
2031
+ description: `
2032
+ If set, alters the prefix used when tagging a new version when performing
2033
+ a version increment using \`npm version\`. To remove the prefix
2034
+ altogether, set it to the empty string: \`""\`.
2035
+
2036
+ Because other tools may rely on the convention that npm version tags look
2037
+ like \`v1.0.0\`, _only use this property if it is absolutely necessary_.
2038
+ In particular, use care when overriding this setting for public packages.
2039
+ `,
2040
+ flatten,
2041
+ }),
2042
+ timing: new Definition('timing', {
2043
+ default: false,
2044
+ type: Boolean,
2045
+ description: `
2046
+ If true, writes timing information to a process specific json file in
2047
+ the cache or \`logs-dir\`. The file name ends with \`-timing.json\`.
2048
+
2049
+ You can quickly view it with this [json](https://npm.im/json) command
2050
+ line: \`cat ~/.npm/_logs/*-timing.json | npm exec -- json -g\`.
2051
+
2052
+ Timing information will also be reported in the terminal. To suppress this
2053
+ while still writing the timing file, use \`--silent\`.
2054
+ `,
2055
+ }),
2056
+ umask: new Definition('umask', {
2057
+ default: 0,
2058
+ type: Umask,
2059
+ description: `
2060
+ The "umask" value to use when setting the file creation mode on files and
2061
+ folders.
2062
+
2063
+ Folders and executables are given a mode which is \`0o777\` masked
2064
+ against this value. Other files are given a mode which is \`0o666\`
2065
+ masked against this value.
2066
+
2067
+ Note that the underlying system will _also_ apply its own umask value to
2068
+ files and folders that are created, and npm does not circumvent this, but
2069
+ rather adds the \`--umask\` config to it.
2070
+
2071
+ Thus, the effective default umask value on most POSIX systems is 0o22,
2072
+ meaning that folders and executables are created with a mode of 0o755 and
2073
+ other files are created with a mode of 0o644.
2074
+ `,
2075
+ flatten,
2076
+ }),
2077
+ unicode: new Definition('unicode', {
2078
+ default: unicode,
2079
+ defaultDescription: `
2080
+ false on windows, true on mac/unix systems with a unicode locale, as
2081
+ defined by the \`LC_ALL\`, \`LC_CTYPE\`, or \`LANG\` environment variables.
2082
+ `,
2083
+ type: Boolean,
2084
+ description: `
2085
+ When set to true, npm uses unicode characters in the tree output. When
2086
+ false, it uses ascii characters instead of unicode glyphs.
2087
+ `,
2088
+ flatten,
2089
+ }),
2090
+ 'update-notifier': new Definition('update-notifier', {
2091
+ default: true,
2092
+ type: Boolean,
2093
+ description: `
2094
+ Set to false to suppress the update notification when using an older
2095
+ version of npm than the latest.
2096
+ `,
2097
+ }),
2098
+ usage: new Definition('usage', {
2099
+ default: false,
2100
+ type: Boolean,
2101
+ short: ['?', 'H', 'h'],
2102
+ description: `
2103
+ Show short usage output about the command specified.
2104
+ `,
2105
+ }),
2106
+ 'user-agent': new Definition('user-agent', {
2107
+ default: 'npm/{npm-version} ' +
2108
+ 'node/{node-version} ' +
2109
+ '{platform} ' +
2110
+ '{arch} ' +
2111
+ 'workspaces/{workspaces} ' +
2112
+ '{ci}',
2113
+ type: String,
2114
+ description: `
2115
+ Sets the User-Agent request header. The following fields are replaced
2116
+ with their actual counterparts:
2117
+
2118
+ * \`{npm-version}\` - The npm version in use
2119
+ * \`{node-version}\` - The Node.js version in use
2120
+ * \`{platform}\` - The value of \`process.platform\`
2121
+ * \`{arch}\` - The value of \`process.arch\`
2122
+ * \`{workspaces}\` - Set to \`true\` if the \`workspaces\` or \`workspace\`
2123
+ options are set.
2124
+ * \`{ci}\` - The value of the \`ci-name\` config, if set, prefixed with
2125
+ \`ci/\`, or an empty string if \`ci-name\` is empty.
2126
+ `,
2127
+ flatten (key, obj, flatOptions) {
2128
+ const value = obj[key]
2129
+ const ciName = ciInfo.name?.toLowerCase().split(' ').join('-') || null
2130
+ let inWorkspaces = false
2131
+ if (obj.workspaces || obj.workspace && obj.workspace.length) {
2132
+ inWorkspaces = true
2133
+ }
2134
+ flatOptions.userAgent =
2135
+ value.replace(/\{node-version\}/gi, process.version)
2136
+ .replace(/\{npm-version\}/gi, obj['npm-version'])
2137
+ .replace(/\{platform\}/gi, process.platform)
2138
+ .replace(/\{arch\}/gi, process.arch)
2139
+ .replace(/\{workspaces\}/gi, inWorkspaces)
2140
+ .replace(/\{ci\}/gi, ciName ? `ci/${ciName}` : '')
2141
+ .trim()
2142
+
2143
+ // We can't clobber the original or else subsequent flattening will fail
2144
+ // (i.e. when we change the underlying config values)
2145
+ // obj[key] = flatOptions.userAgent
2146
+
2147
+ // user-agent is a unique kind of config item that gets set from a template
2148
+ // and ends up translated. Because of this, the normal "should we set this
2149
+ // to process.env also doesn't work
2150
+ process.env.npm_config_user_agent = flatOptions.userAgent
2151
+ },
2152
+ }),
2153
+ userconfig: new Definition('userconfig', {
2154
+ default: '~/.npmrc',
2155
+ type: path,
2156
+ description: `
2157
+ The location of user-level configuration settings.
2158
+
2159
+ This may be overridden by the \`npm_config_userconfig\` environment
2160
+ variable or the \`--userconfig\` command line option, but may _not_
2161
+ be overridden by settings in the \`globalconfig\` file.
2162
+ `,
2163
+ }),
2164
+ version: new Definition('version', {
2165
+ default: false,
2166
+ type: Boolean,
2167
+ short: 'v',
2168
+ description: `
2169
+ If true, output the npm version and exit successfully.
2170
+
2171
+ Only relevant when specified explicitly on the command line.
2172
+ `,
2173
+ }),
2174
+ versions: new Definition('versions', {
2175
+ default: false,
2176
+ type: Boolean,
2177
+ description: `
2178
+ If true, output the npm version as well as node's \`process.versions\`
2179
+ map and the version in the current working directory's \`package.json\`
2180
+ file if one exists, and exit successfully.
2181
+
2182
+ Only relevant when specified explicitly on the command line.
2183
+ `,
2184
+ }),
2185
+ viewer: new Definition('viewer', {
2186
+ default: isWindows ? 'browser' : 'man',
2187
+ defaultDescription: `
2188
+ "man" on Posix, "browser" on Windows
2189
+ `,
2190
+ type: String,
2191
+ description: `
2192
+ The program to use to view help content.
2193
+
2194
+ Set to \`"browser"\` to view html help content in the default web browser.
2195
+ `,
2196
+ }),
2197
+ which: new Definition('which', {
2198
+ default: null,
2199
+ hint: '<fundingSourceNumber>',
2200
+ type: [null, Number],
2201
+ description: `
2202
+ If there are multiple funding sources, which 1-indexed source URL to open.
2203
+ `,
2204
+ }),
2205
+ workspace: new Definition('workspace', {
2206
+ default: [],
2207
+ type: [String, Array],
2208
+ hint: '<workspace-name>',
2209
+ short: 'w',
2210
+ envExport: false,
2211
+ description: `
2212
+ Enable running a command in the context of the configured workspaces of the
2213
+ current project while filtering by running only the workspaces defined by
2214
+ this configuration option.
2215
+
2216
+ Valid values for the \`workspace\` config are either:
2217
+
2218
+ * Workspace names
2219
+ * Path to a workspace directory
2220
+ * Path to a parent workspace directory (will result in selecting all
2221
+ workspaces within that folder)
2222
+
2223
+ When set for the \`npm init\` command, this may be set to the folder of
2224
+ a workspace which does not yet exist, to create the folder and set it
2225
+ up as a brand new workspace within the project.
2226
+ `,
2227
+ flatten: (key, obj, flatOptions) => {
2228
+ definitions['user-agent'].flatten('user-agent', obj, flatOptions)
2229
+ },
2230
+ }),
2231
+ workspaces: new Definition('workspaces', {
2232
+ default: null,
2233
+ type: [null, Boolean],
2234
+ short: 'ws',
2235
+ envExport: false,
2236
+ description: `
2237
+ Set to true to run the command in the context of **all** configured
2238
+ workspaces.
2239
+
2240
+ Explicitly setting this to false will cause commands like \`install\` to
2241
+ ignore workspaces altogether.
2242
+ When not set explicitly:
2243
+
2244
+ - Commands that operate on the \`node_modules\` tree (install, update,
2245
+ etc.) will link workspaces into the \`node_modules\` folder.
2246
+ - Commands that do other things (test, exec, publish, etc.) will operate
2247
+ on the root project, _unless_ one or more workspaces are specified in
2248
+ the \`workspace\` config.
2249
+ `,
2250
+ flatten: (key, obj, flatOptions) => {
2251
+ definitions['user-agent'].flatten('user-agent', obj, flatOptions)
2252
+
2253
+ // TODO: this is a derived value, and should be reworked when we have a
2254
+ // pattern for derived value
2255
+
2256
+ // workspacesEnabled is true whether workspaces is null or true
2257
+ // commands contextually work with workspaces or not regardless of
2258
+ // configuration, so we need an option specifically to disable workspaces
2259
+ flatOptions.workspacesEnabled = obj[key] !== false
2260
+ },
2261
+ }),
2262
+ 'workspaces-update': new Definition('workspaces-update', {
2263
+ default: true,
2264
+ type: Boolean,
2265
+ description: `
2266
+ If set to true, the npm cli will run an update after operations that may
2267
+ possibly change the workspaces installed to the \`node_modules\` folder.
2268
+ `,
2269
+ flatten,
2270
+ }),
2271
+ yes: new Definition('yes', {
2272
+ default: null,
2273
+ type: [null, Boolean],
2274
+ short: 'y',
2275
+ description: `
2276
+ Automatically answer "yes" to any prompts that npm might print on
2277
+ the command line.
2278
+ `,
2279
+ }),
2280
+ }
2281
+
2282
+ module.exports = definitions