@ekanos/cli 0.33.2 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2424) hide show
  1. package/README.md +2 -1
  2. package/dist/agents-api.d.ts +0 -24
  3. package/dist/agents-api.js.map +1 -1
  4. package/dist/apps-api.d.ts +0 -14
  5. package/dist/apps-api.js.map +1 -1
  6. package/dist/auth/credential-store.d.ts +0 -60
  7. package/dist/auth/credential-store.js +2 -72
  8. package/dist/auth/credential-store.js.map +1 -1
  9. package/dist/auth/device-flow.d.ts +0 -35
  10. package/dist/auth/device-flow.js +0 -45
  11. package/dist/auth/device-flow.js.map +1 -1
  12. package/dist/auth/ekanos-api.d.ts +0 -54
  13. package/dist/auth/ekanos-api.js +2 -174
  14. package/dist/auth/ekanos-api.js.map +1 -1
  15. package/dist/auth/host-trust.d.ts +0 -35
  16. package/dist/auth/host-trust.js +2 -34
  17. package/dist/auth/host-trust.js.map +1 -1
  18. package/dist/auth/session.d.ts +0 -63
  19. package/dist/auth/session.js +0 -68
  20. package/dist/auth/session.js.map +1 -1
  21. package/dist/banner.d.ts +0 -22
  22. package/dist/banner.js +0 -25
  23. package/dist/banner.js.map +1 -1
  24. package/dist/bin.js +0 -15
  25. package/dist/bin.js.map +1 -1
  26. package/dist/catalog-api.d.ts +0 -23
  27. package/dist/catalog-api.js +0 -6
  28. package/dist/catalog-api.js.map +1 -1
  29. package/dist/claude-docs.d.ts +1 -23
  30. package/dist/claude-docs.js +0 -8
  31. package/dist/claude-docs.js.map +1 -1
  32. package/dist/commands/add.js +0 -1
  33. package/dist/commands/add.js.map +1 -1
  34. package/dist/commands/agents-edit.d.ts +1 -19
  35. package/dist/commands/agents-edit.js +2 -10
  36. package/dist/commands/agents-edit.js.map +1 -1
  37. package/dist/commands/agents-init.d.ts +0 -21
  38. package/dist/commands/agents-init.js +3 -16
  39. package/dist/commands/agents-init.js.map +1 -1
  40. package/dist/commands/agents.d.ts +0 -40
  41. package/dist/commands/agents.js +3 -50
  42. package/dist/commands/agents.js.map +1 -1
  43. package/dist/commands/apps.d.ts +0 -43
  44. package/dist/commands/apps.js +4 -59
  45. package/dist/commands/apps.js.map +1 -1
  46. package/dist/commands/audiences.d.ts +0 -21
  47. package/dist/commands/audiences.js +0 -21
  48. package/dist/commands/audiences.js.map +1 -1
  49. package/dist/commands/catalog.d.ts +0 -15
  50. package/dist/commands/catalog.js +0 -34
  51. package/dist/commands/catalog.js.map +1 -1
  52. package/dist/commands/contract.d.ts +0 -16
  53. package/dist/commands/contract.js +1 -9
  54. package/dist/commands/contract.js.map +1 -1
  55. package/dist/commands/dev.d.ts +0 -36
  56. package/dist/commands/dev.js +1 -95
  57. package/dist/commands/dev.js.map +1 -1
  58. package/dist/commands/doctor.d.ts +0 -18
  59. package/dist/commands/doctor.js +0 -20
  60. package/dist/commands/doctor.js.map +1 -1
  61. package/dist/commands/feedback.d.ts +0 -17
  62. package/dist/commands/feedback.js +0 -22
  63. package/dist/commands/feedback.js.map +1 -1
  64. package/dist/commands/index-experience.d.ts +2 -13
  65. package/dist/commands/index-experience.js +2 -4
  66. package/dist/commands/index-experience.js.map +1 -1
  67. package/dist/commands/init.d.ts +0 -85
  68. package/dist/commands/init.js +1 -124
  69. package/dist/commands/init.js.map +1 -1
  70. package/dist/commands/knowledge.d.ts +0 -37
  71. package/dist/commands/knowledge.js +4 -42
  72. package/dist/commands/knowledge.js.map +1 -1
  73. package/dist/commands/login.d.ts +0 -31
  74. package/dist/commands/login.js +1 -49
  75. package/dist/commands/login.js.map +1 -1
  76. package/dist/commands/logout.d.ts +0 -21
  77. package/dist/commands/logout.js +0 -40
  78. package/dist/commands/logout.js.map +1 -1
  79. package/dist/commands/migrate.d.ts +2 -0
  80. package/dist/commands/migrate.js +180 -0
  81. package/dist/commands/migrate.js.map +1 -0
  82. package/dist/commands/names.d.ts +0 -8
  83. package/dist/commands/names.js +1 -7
  84. package/dist/commands/names.js.map +1 -1
  85. package/dist/commands/publish.d.ts +1 -130
  86. package/dist/commands/publish.js +2 -187
  87. package/dist/commands/publish.js.map +1 -1
  88. package/dist/commands/reviewers.d.ts +0 -10
  89. package/dist/commands/reviewers.js +1 -8
  90. package/dist/commands/reviewers.js.map +1 -1
  91. package/dist/commands/routes.d.ts +0 -12
  92. package/dist/commands/routes.js +1 -11
  93. package/dist/commands/routes.js.map +1 -1
  94. package/dist/commands/runs.d.ts +0 -30
  95. package/dist/commands/runs.js +2 -46
  96. package/dist/commands/runs.js.map +1 -1
  97. package/dist/commands/scope-notice.d.ts +0 -16
  98. package/dist/commands/scope-notice.js +0 -18
  99. package/dist/commands/scope-notice.js.map +1 -1
  100. package/dist/commands/skills.d.ts +0 -22
  101. package/dist/commands/skills.js +3 -28
  102. package/dist/commands/skills.js.map +1 -1
  103. package/dist/commands/sources-roles.js +0 -17
  104. package/dist/commands/sources-roles.js.map +1 -1
  105. package/dist/commands/sources.d.ts +0 -19
  106. package/dist/commands/sources.js +0 -38
  107. package/dist/commands/sources.js.map +1 -1
  108. package/dist/commands/status.d.ts +2 -102
  109. package/dist/commands/status.js +68 -173
  110. package/dist/commands/status.js.map +1 -1
  111. package/dist/commands/sync.js +0 -10
  112. package/dist/commands/sync.js.map +1 -1
  113. package/dist/commands/team-agent-access.d.ts +0 -26
  114. package/dist/commands/team-agent-access.js +1 -26
  115. package/dist/commands/team-agent-access.js.map +1 -1
  116. package/dist/commands/team-agent-readiness.d.ts +2 -38
  117. package/dist/commands/team-agent-readiness.js +0 -26
  118. package/dist/commands/team-agent-readiness.js.map +1 -1
  119. package/dist/commands/team-agents-agents.d.ts +0 -29
  120. package/dist/commands/team-agents-agents.js +3 -68
  121. package/dist/commands/team-agents-agents.js.map +1 -1
  122. package/dist/commands/team-agents-define.d.ts +0 -27
  123. package/dist/commands/team-agents-define.js +1 -29
  124. package/dist/commands/team-agents-define.js.map +1 -1
  125. package/dist/commands/team-agents-mcp.js +0 -26
  126. package/dist/commands/team-agents-mcp.js.map +1 -1
  127. package/dist/commands/team-agents-triggers.d.ts +0 -7
  128. package/dist/commands/team-agents-triggers.js +0 -45
  129. package/dist/commands/team-agents-triggers.js.map +1 -1
  130. package/dist/commands/team-agents.d.ts +1 -18
  131. package/dist/commands/team-agents.js +6 -16
  132. package/dist/commands/team-agents.js.map +1 -1
  133. package/dist/commands/team-api-keys.d.ts +4 -0
  134. package/dist/commands/team-api-keys.js +277 -0
  135. package/dist/commands/team-api-keys.js.map +1 -0
  136. package/dist/commands/team-llm-key.d.ts +0 -10
  137. package/dist/commands/team-llm-key.js +0 -12
  138. package/dist/commands/team-llm-key.js.map +1 -1
  139. package/dist/commands/teams-audience.d.ts +0 -17
  140. package/dist/commands/teams-audience.js +1 -22
  141. package/dist/commands/teams-audience.js.map +1 -1
  142. package/dist/commands/teams-channel-install.d.ts +0 -13
  143. package/dist/commands/teams-channel-install.js +0 -13
  144. package/dist/commands/teams-channel-install.js.map +1 -1
  145. package/dist/commands/teams-connect.d.ts +0 -60
  146. package/dist/commands/teams-connect.js +1 -86
  147. package/dist/commands/teams-connect.js.map +1 -1
  148. package/dist/commands/teams-events.d.ts +0 -7
  149. package/dist/commands/teams-events.js +0 -8
  150. package/dist/commands/teams-events.js.map +1 -1
  151. package/dist/commands/teams-lifecycle.d.ts +0 -25
  152. package/dist/commands/teams-lifecycle.js +1 -24
  153. package/dist/commands/teams-lifecycle.js.map +1 -1
  154. package/dist/commands/teams-onboard.d.ts +0 -10
  155. package/dist/commands/teams-onboard.js +0 -7
  156. package/dist/commands/teams-onboard.js.map +1 -1
  157. package/dist/commands/teams-overview.d.ts +0 -7
  158. package/dist/commands/teams-overview.js +0 -15
  159. package/dist/commands/teams-overview.js.map +1 -1
  160. package/dist/commands/teams-scope.d.ts +0 -6
  161. package/dist/commands/teams-scope.js +0 -6
  162. package/dist/commands/teams-scope.js.map +1 -1
  163. package/dist/commands/teams.d.ts +0 -49
  164. package/dist/commands/teams.js +4 -49
  165. package/dist/commands/teams.js.map +1 -1
  166. package/dist/commands/test.d.ts +0 -29
  167. package/dist/commands/test.js +1 -41
  168. package/dist/commands/test.js.map +1 -1
  169. package/dist/commands/upgrade.d.ts +0 -17
  170. package/dist/commands/upgrade.js +3 -142
  171. package/dist/commands/upgrade.js.map +1 -1
  172. package/dist/commands/use.d.ts +0 -12
  173. package/dist/commands/use.js +0 -12
  174. package/dist/commands/use.js.map +1 -1
  175. package/dist/commands/validate.d.ts +0 -15
  176. package/dist/commands/validate.js +0 -41
  177. package/dist/commands/validate.js.map +1 -1
  178. package/dist/commands/whoami.d.ts +0 -18
  179. package/dist/commands/whoami.js +0 -17
  180. package/dist/commands/whoami.js.map +1 -1
  181. package/dist/commands/workflows.d.ts +0 -11
  182. package/dist/commands/workflows.js +2 -14
  183. package/dist/commands/workflows.js.map +1 -1
  184. package/dist/compatibility.d.ts +0 -108
  185. package/dist/compatibility.js +0 -109
  186. package/dist/compatibility.js.map +1 -1
  187. package/dist/connect-fields.d.ts +0 -19
  188. package/dist/connect-fields.js +0 -21
  189. package/dist/connect-fields.js.map +1 -1
  190. package/dist/connections-api.d.ts +4 -7
  191. package/dist/connections-api.js +1 -14
  192. package/dist/connections-api.js.map +1 -1
  193. package/dist/context.d.ts +0 -80
  194. package/dist/context.js +0 -71
  195. package/dist/context.js.map +1 -1
  196. package/dist/contract-verification.d.ts +0 -10
  197. package/dist/contract-verification.js +0 -10
  198. package/dist/contract-verification.js.map +1 -1
  199. package/dist/contracts-api.d.ts +0 -16
  200. package/dist/contracts-api.js.map +1 -1
  201. package/dist/copy-tree.d.ts +0 -38
  202. package/dist/copy-tree.js +0 -17
  203. package/dist/copy-tree.js.map +1 -1
  204. package/dist/delegate.d.ts +0 -18
  205. package/dist/delegate.js +0 -59
  206. package/dist/delegate.js.map +1 -1
  207. package/dist/design-findings.d.ts +0 -20
  208. package/dist/design-findings.js +0 -20
  209. package/dist/design-findings.js.map +1 -1
  210. package/dist/dev-experience.d.ts +0 -36
  211. package/dist/dev-experience.js +1 -30
  212. package/dist/dev-experience.js.map +1 -1
  213. package/dist/did-you-mean.d.ts +0 -32
  214. package/dist/did-you-mean.js +1 -53
  215. package/dist/did-you-mean.js.map +1 -1
  216. package/dist/docs-links.d.ts +0 -15
  217. package/dist/docs-links.js +0 -15
  218. package/dist/docs-links.js.map +1 -1
  219. package/dist/doctor-api.d.ts +0 -22
  220. package/dist/doctor-api.js +0 -2
  221. package/dist/doctor-api.js.map +1 -1
  222. package/dist/errors.d.ts +0 -23
  223. package/dist/errors.js +0 -22
  224. package/dist/errors.js.map +1 -1
  225. package/dist/exit-codes.d.ts +0 -12
  226. package/dist/exit-codes.js +0 -12
  227. package/dist/exit-codes.js.map +1 -1
  228. package/dist/experience/boundary.d.ts +0 -9
  229. package/dist/experience/boundary.js +4 -15
  230. package/dist/experience/boundary.js.map +1 -1
  231. package/dist/experience/build.d.ts +0 -9
  232. package/dist/experience/build.js +5 -14
  233. package/dist/experience/build.js.map +1 -1
  234. package/dist/experience/checks.d.ts +0 -11
  235. package/dist/experience/checks.js +3 -9
  236. package/dist/experience/checks.js.map +1 -1
  237. package/dist/experience/clean-room.d.ts +5 -29
  238. package/dist/experience/clean-room.js +19 -45
  239. package/dist/experience/clean-room.js.map +1 -1
  240. package/dist/experience/contract-sources.d.ts +1 -23
  241. package/dist/experience/contract-sources.js +5 -15
  242. package/dist/experience/contract-sources.js.map +1 -1
  243. package/dist/experience/definition-checks.d.ts +0 -22
  244. package/dist/experience/definition-checks.js +2 -27
  245. package/dist/experience/definition-checks.js.map +1 -1
  246. package/dist/experience/definition-shape.d.ts +3 -11
  247. package/dist/experience/definition-shape.js.map +1 -1
  248. package/dist/experience/host-contract-source.d.ts +0 -17
  249. package/dist/experience/host-contract-source.js +0 -16
  250. package/dist/experience/host-contract-source.js.map +1 -1
  251. package/dist/experience/host-npm.d.ts +12 -0
  252. package/dist/experience/host-npm.js +40 -0
  253. package/dist/experience/host-npm.js.map +1 -0
  254. package/dist/experience/init.d.ts +0 -1
  255. package/dist/experience/init.js +0 -3
  256. package/dist/experience/init.js.map +1 -1
  257. package/dist/experience/integrations-codegen.d.ts +0 -8
  258. package/dist/experience/integrations-codegen.js +1 -7
  259. package/dist/experience/integrations-codegen.js.map +1 -1
  260. package/dist/experience/json-schema-to-ts.js.map +1 -1
  261. package/dist/experience/load-experience.d.ts +0 -11
  262. package/dist/experience/load-experience.js +0 -22
  263. package/dist/experience/load-experience.js.map +1 -1
  264. package/dist/experience/overrides.d.ts +0 -6
  265. package/dist/experience/overrides.js +0 -6
  266. package/dist/experience/overrides.js.map +1 -1
  267. package/dist/experience/pin-integration.d.ts +0 -2
  268. package/dist/experience/pin-integration.js +0 -3
  269. package/dist/experience/pin-integration.js.map +1 -1
  270. package/dist/experience/pin-ops.d.ts +1 -9
  271. package/dist/experience/pin-ops.js +0 -7
  272. package/dist/experience/pin-ops.js.map +1 -1
  273. package/dist/experience/pins.d.ts +0 -23
  274. package/dist/experience/pins.js +2 -18
  275. package/dist/experience/pins.js.map +1 -1
  276. package/dist/experience/project.d.ts +0 -30
  277. package/dist/experience/project.js +4 -33
  278. package/dist/experience/project.js.map +1 -1
  279. package/dist/experience/publish.d.ts +0 -47
  280. package/dist/experience/publish.js +20 -61
  281. package/dist/experience/publish.js.map +1 -1
  282. package/dist/experience/regenerate.d.ts +0 -3
  283. package/dist/experience/regenerate.js +1 -5
  284. package/dist/experience/regenerate.js.map +1 -1
  285. package/dist/experience/report.d.ts +0 -5
  286. package/dist/experience/report.js +0 -5
  287. package/dist/experience/report.js.map +1 -1
  288. package/dist/feedback-api.d.ts +0 -20
  289. package/dist/feedback-api.js +0 -5
  290. package/dist/feedback-api.js.map +1 -1
  291. package/dist/feedback-context.d.ts +0 -19
  292. package/dist/feedback-context.js +2 -37
  293. package/dist/feedback-context.js.map +1 -1
  294. package/dist/feedback-updates.d.ts +0 -4
  295. package/dist/feedback-updates.js +5 -34
  296. package/dist/feedback-updates.js.map +1 -1
  297. package/dist/findings-renderer.d.ts +0 -37
  298. package/dist/findings-renderer.js +0 -49
  299. package/dist/findings-renderer.js.map +1 -1
  300. package/dist/harness-scaffold.d.ts +3 -212
  301. package/dist/harness-scaffold.js +11 -230
  302. package/dist/harness-scaffold.js.map +1 -1
  303. package/dist/host-load.d.ts +8 -0
  304. package/dist/host-load.js +115 -0
  305. package/dist/host-load.js.map +1 -0
  306. package/dist/host-snapshots.d.ts +0 -36
  307. package/dist/host-snapshots.js +1 -41
  308. package/dist/host-snapshots.js.map +1 -1
  309. package/dist/http-trace.d.ts +0 -10
  310. package/dist/http-trace.js +0 -11
  311. package/dist/http-trace.js.map +1 -1
  312. package/dist/icon-findings.d.ts +0 -16
  313. package/dist/icon-findings.js +0 -28
  314. package/dist/icon-findings.js.map +1 -1
  315. package/dist/index.d.ts +0 -46
  316. package/dist/index.js +33 -149
  317. package/dist/index.js.map +1 -1
  318. package/dist/invocation.d.ts +0 -26
  319. package/dist/invocation.js +0 -27
  320. package/dist/invocation.js.map +1 -1
  321. package/dist/knowledge-api.d.ts +0 -29
  322. package/dist/knowledge-api.js +0 -30
  323. package/dist/knowledge-api.js.map +1 -1
  324. package/dist/last-error.d.ts +0 -3
  325. package/dist/last-error.js +1 -16
  326. package/dist/last-error.js.map +1 -1
  327. package/dist/load-definition.d.ts +0 -10
  328. package/dist/load-definition.js +0 -29
  329. package/dist/load-definition.js.map +1 -1
  330. package/dist/lockfile-instances.d.ts +6 -41
  331. package/dist/lockfile-instances.js +3 -32
  332. package/dist/lockfile-instances.js.map +1 -1
  333. package/dist/merge-manifest.d.ts +0 -27
  334. package/dist/merge-manifest.js +0 -47
  335. package/dist/merge-manifest.js.map +1 -1
  336. package/dist/migrate-connection.d.ts +29 -0
  337. package/dist/migrate-connection.js +569 -0
  338. package/dist/migrate-connection.js.map +1 -0
  339. package/dist/names-api.d.ts +4 -30
  340. package/dist/names-api.js +3 -3
  341. package/dist/names-api.js.map +1 -1
  342. package/dist/open-url.d.ts +0 -12
  343. package/dist/open-url.js +1 -27
  344. package/dist/open-url.js.map +1 -1
  345. package/dist/pack-hygiene.d.ts +0 -6
  346. package/dist/pack-hygiene.js +0 -8
  347. package/dist/pack-hygiene.js.map +1 -1
  348. package/dist/pack.d.ts +0 -7
  349. package/dist/pack.js +6 -79
  350. package/dist/pack.js.map +1 -1
  351. package/dist/package-manager.d.ts +2 -50
  352. package/dist/package-manager.js +0 -48
  353. package/dist/package-manager.js.map +1 -1
  354. package/dist/parse-argv.d.ts +2 -21
  355. package/dist/parse-argv.js +0 -7
  356. package/dist/parse-argv.js.map +1 -1
  357. package/dist/pnpm-builds.d.ts +0 -32
  358. package/dist/pnpm-builds.js +0 -45
  359. package/dist/pnpm-builds.js.map +1 -1
  360. package/dist/product-kinds.d.ts +0 -7
  361. package/dist/product-kinds.js +0 -7
  362. package/dist/product-kinds.js.map +1 -1
  363. package/dist/product-slug.d.ts +0 -6
  364. package/dist/product-slug.js +0 -6
  365. package/dist/product-slug.js.map +1 -1
  366. package/dist/project-checks.d.ts +0 -80
  367. package/dist/project-checks.js +2 -104
  368. package/dist/project-checks.js.map +1 -1
  369. package/dist/project.d.ts +1 -46
  370. package/dist/project.js +1 -122
  371. package/dist/project.js.map +1 -1
  372. package/dist/publish-api.d.ts +2 -120
  373. package/dist/publish-api.js +1 -95
  374. package/dist/publish-api.js.map +1 -1
  375. package/dist/pull-write.d.ts +0 -15
  376. package/dist/pull-write.js +0 -5
  377. package/dist/pull-write.js.map +1 -1
  378. package/dist/repo/publish.d.ts +0 -34
  379. package/dist/repo/publish.js +1 -18
  380. package/dist/repo/publish.js.map +1 -1
  381. package/dist/repo/scaffold.d.ts +0 -9
  382. package/dist/repo/scaffold.js +2 -14
  383. package/dist/repo/scaffold.js.map +1 -1
  384. package/dist/reviewers-api.d.ts +0 -16
  385. package/dist/reviewers-api.js.map +1 -1
  386. package/dist/routes-api.d.ts +0 -10
  387. package/dist/routes-api.js +0 -24
  388. package/dist/routes-api.js.map +1 -1
  389. package/dist/runs-api.d.ts +0 -11
  390. package/dist/runs-api.js.map +1 -1
  391. package/dist/safe-fs.d.ts +0 -57
  392. package/dist/safe-fs.js +0 -61
  393. package/dist/safe-fs.js.map +1 -1
  394. package/dist/schema-skew.d.ts +0 -68
  395. package/dist/schema-skew.js +2 -75
  396. package/dist/schema-skew.js.map +1 -1
  397. package/dist/seats.d.ts +1 -11
  398. package/dist/seats.js.map +1 -1
  399. package/dist/secret-file.d.ts +0 -8
  400. package/dist/secret-file.js +1 -17
  401. package/dist/secret-file.js.map +1 -1
  402. package/dist/secret-form.d.ts +0 -43
  403. package/dist/secret-form.js +3 -9
  404. package/dist/secret-form.js.map +1 -1
  405. package/dist/secret-input.d.ts +0 -59
  406. package/dist/secret-input.js +0 -22
  407. package/dist/secret-input.js.map +1 -1
  408. package/dist/setup-api.d.ts +8 -0
  409. package/dist/setup-api.js +25 -0
  410. package/dist/setup-api.js.map +1 -0
  411. package/dist/skills-api.d.ts +0 -21
  412. package/dist/skills-api.js +0 -1
  413. package/dist/skills-api.js.map +1 -1
  414. package/dist/source-locator.d.ts +0 -50
  415. package/dist/source-locator.js +0 -77
  416. package/dist/source-locator.js.map +1 -1
  417. package/dist/source-products-api.d.ts +2 -1
  418. package/dist/source-products-api.js +1 -25
  419. package/dist/source-products-api.js.map +1 -1
  420. package/dist/source-target.d.ts +0 -6
  421. package/dist/source-target.js +0 -6
  422. package/dist/source-target.js.map +1 -1
  423. package/dist/sources-api.d.ts +1 -31
  424. package/dist/sources-api.js +0 -6
  425. package/dist/sources-api.js.map +1 -1
  426. package/dist/team-connect-api.d.ts +1 -20
  427. package/dist/team-connect-api.js +1 -32
  428. package/dist/team-connect-api.js.map +1 -1
  429. package/dist/team-lifecycle-api.d.ts +3 -4
  430. package/dist/team-lifecycle-api.js +3 -26
  431. package/dist/team-lifecycle-api.js.map +1 -1
  432. package/dist/teams-api.d.ts +0 -50
  433. package/dist/teams-api.js +6 -11
  434. package/dist/teams-api.js.map +1 -1
  435. package/dist/templates.d.ts +0 -18
  436. package/dist/templates.js +0 -18
  437. package/dist/templates.js.map +1 -1
  438. package/dist/test-report.d.ts +2 -18
  439. package/dist/test-report.js +1 -85
  440. package/dist/test-report.js.map +1 -1
  441. package/dist/toolchain-api.d.ts +4 -60
  442. package/dist/toolchain-api.js +5 -6
  443. package/dist/toolchain-api.js.map +1 -1
  444. package/dist/toolchain-resolve.d.ts +0 -3
  445. package/dist/toolchain-resolve.js +0 -27
  446. package/dist/toolchain-resolve.js.map +1 -1
  447. package/dist/toolchain-snapshot.d.ts +0 -16
  448. package/dist/toolchain-snapshot.js +0 -20
  449. package/dist/toolchain-snapshot.js.map +1 -1
  450. package/dist/toolchain.d.ts +0 -9
  451. package/dist/toolchain.js +0 -16
  452. package/dist/toolchain.js.map +1 -1
  453. package/dist/ui.d.ts +6 -62
  454. package/dist/ui.js +0 -23
  455. package/dist/ui.js.map +1 -1
  456. package/dist/unknown-command.d.ts +0 -13
  457. package/dist/unknown-command.js +0 -14
  458. package/dist/unknown-command.js.map +1 -1
  459. package/dist/update-notice.d.ts +0 -26
  460. package/dist/update-notice.js +1 -74
  461. package/dist/update-notice.js.map +1 -1
  462. package/dist/validate-findings.d.ts +0 -39
  463. package/dist/validate-findings.js +5 -57
  464. package/dist/validate-findings.js.map +1 -1
  465. package/dist/wizard.d.ts +2 -63
  466. package/dist/wizard.js +0 -38
  467. package/dist/wizard.js.map +1 -1
  468. package/dist/workflows-api.d.ts +1 -19
  469. package/dist/workflows-api.js.map +1 -1
  470. package/dist/workspace-root.d.ts +0 -15
  471. package/dist/workspace-root.js +1 -17
  472. package/dist/workspace-root.js.map +1 -1
  473. package/loader/declaration-loader.hooks.mjs +187 -0
  474. package/loader/host-load-probe.mjs +20 -0
  475. package/loader/register-declaration-loader.mjs +3 -0
  476. package/node_modules/@gar/promise-retry/LICENSE +20 -0
  477. package/node_modules/@gar/promise-retry/lib/index.js +62 -0
  478. package/node_modules/@gar/promise-retry/lib/retry.js +109 -0
  479. package/node_modules/@gar/promise-retry/package.json +45 -0
  480. package/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  481. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  482. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  483. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  484. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  485. package/node_modules/@isaacs/fs-minipass/package.json +72 -0
  486. package/node_modules/@isaacs/string-locale-compare/LICENSE +15 -0
  487. package/node_modules/@isaacs/string-locale-compare/index.js +42 -0
  488. package/node_modules/@isaacs/string-locale-compare/package.json +28 -0
  489. package/node_modules/@npmcli/agent/lib/agents.js +258 -0
  490. package/node_modules/@npmcli/agent/lib/dns.js +53 -0
  491. package/node_modules/@npmcli/agent/lib/errors.js +61 -0
  492. package/node_modules/@npmcli/agent/lib/index.js +56 -0
  493. package/node_modules/@npmcli/agent/lib/options.js +90 -0
  494. package/node_modules/@npmcli/agent/lib/proxy.js +88 -0
  495. package/node_modules/@npmcli/agent/package.json +62 -0
  496. package/node_modules/@npmcli/arborist/LICENSE.md +20 -0
  497. package/node_modules/@npmcli/arborist/README.md +315 -0
  498. package/node_modules/@npmcli/arborist/bin/actual.js +19 -0
  499. package/node_modules/@npmcli/arborist/bin/audit.js +51 -0
  500. package/node_modules/@npmcli/arborist/bin/funding.js +38 -0
  501. package/node_modules/@npmcli/arborist/bin/ideal.js +14 -0
  502. package/node_modules/@npmcli/arborist/bin/index.js +112 -0
  503. package/node_modules/@npmcli/arborist/bin/lib/logging.js +77 -0
  504. package/node_modules/@npmcli/arborist/bin/lib/options.js +123 -0
  505. package/node_modules/@npmcli/arborist/bin/lib/print-tree.js +4 -0
  506. package/node_modules/@npmcli/arborist/bin/lib/timers.js +33 -0
  507. package/node_modules/@npmcli/arborist/bin/license.js +48 -0
  508. package/node_modules/@npmcli/arborist/bin/prune.js +48 -0
  509. package/node_modules/@npmcli/arborist/bin/reify.js +48 -0
  510. package/node_modules/@npmcli/arborist/bin/shrinkwrap.js +7 -0
  511. package/node_modules/@npmcli/arborist/bin/virtual.js +14 -0
  512. package/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js +143 -0
  513. package/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js +1706 -0
  514. package/node_modules/@npmcli/arborist/lib/arborist/index.js +322 -0
  515. package/node_modules/@npmcli/arborist/lib/arborist/isolated-reifier.js +513 -0
  516. package/node_modules/@npmcli/arborist/lib/arborist/load-actual.js +491 -0
  517. package/node_modules/@npmcli/arborist/lib/arborist/load-virtual.js +311 -0
  518. package/node_modules/@npmcli/arborist/lib/arborist/rebuild.js +426 -0
  519. package/node_modules/@npmcli/arborist/lib/arborist/reify.js +2023 -0
  520. package/node_modules/@npmcli/arborist/lib/audit-report.js +389 -0
  521. package/node_modules/@npmcli/arborist/lib/calc-dep-flags.js +123 -0
  522. package/node_modules/@npmcli/arborist/lib/can-place-dep.js +449 -0
  523. package/node_modules/@npmcli/arborist/lib/case-insensitive-map.js +50 -0
  524. package/node_modules/@npmcli/arborist/lib/consistent-resolve.js +44 -0
  525. package/node_modules/@npmcli/arborist/lib/debug.js +32 -0
  526. package/node_modules/@npmcli/arborist/lib/deepest-nesting-target.js +18 -0
  527. package/node_modules/@npmcli/arborist/lib/dep-valid.js +179 -0
  528. package/node_modules/@npmcli/arborist/lib/diff.js +330 -0
  529. package/node_modules/@npmcli/arborist/lib/edge.js +364 -0
  530. package/node_modules/@npmcli/arborist/lib/from-path.js +30 -0
  531. package/node_modules/@npmcli/arborist/lib/gather-dep-set.js +43 -0
  532. package/node_modules/@npmcli/arborist/lib/index.js +6 -0
  533. package/node_modules/@npmcli/arborist/lib/install-scripts.js +114 -0
  534. package/node_modules/@npmcli/arborist/lib/inventory.js +137 -0
  535. package/node_modules/@npmcli/arborist/lib/isolated-classes.js +148 -0
  536. package/node_modules/@npmcli/arborist/lib/link.js +162 -0
  537. package/node_modules/@npmcli/arborist/lib/node.js +1632 -0
  538. package/node_modules/@npmcli/arborist/lib/optional-set.js +32 -0
  539. package/node_modules/@npmcli/arborist/lib/override-resolves.js +11 -0
  540. package/node_modules/@npmcli/arborist/lib/override-set.js +304 -0
  541. package/node_modules/@npmcli/arborist/lib/packument-cache.js +77 -0
  542. package/node_modules/@npmcli/arborist/lib/peer-entry-sets.js +77 -0
  543. package/node_modules/@npmcli/arborist/lib/place-dep.js +570 -0
  544. package/node_modules/@npmcli/arborist/lib/printable.js +198 -0
  545. package/node_modules/@npmcli/arborist/lib/query-selector-all.js +961 -0
  546. package/node_modules/@npmcli/arborist/lib/realpath.js +95 -0
  547. package/node_modules/@npmcli/arborist/lib/release-age-exclude.js +45 -0
  548. package/node_modules/@npmcli/arborist/lib/relpath.js +3 -0
  549. package/node_modules/@npmcli/arborist/lib/reset-dep-flags.js +11 -0
  550. package/node_modules/@npmcli/arborist/lib/retire-path.js +19 -0
  551. package/node_modules/@npmcli/arborist/lib/script-allowed.js +384 -0
  552. package/node_modules/@npmcli/arborist/lib/shrinkwrap.js +1231 -0
  553. package/node_modules/@npmcli/arborist/lib/signal-handling.js +74 -0
  554. package/node_modules/@npmcli/arborist/lib/signals.js +58 -0
  555. package/node_modules/@npmcli/arborist/lib/spec-from-lock.js +34 -0
  556. package/node_modules/@npmcli/arborist/lib/tracker.js +86 -0
  557. package/node_modules/@npmcli/arborist/lib/tree-check.js +155 -0
  558. package/node_modules/@npmcli/arborist/lib/unreviewed-scripts.js +101 -0
  559. package/node_modules/@npmcli/arborist/lib/version-from-tgz.js +47 -0
  560. package/node_modules/@npmcli/arborist/lib/vuln.js +218 -0
  561. package/node_modules/@npmcli/arborist/lib/yarn-lock.js +377 -0
  562. package/node_modules/@npmcli/arborist/package.json +99 -0
  563. package/node_modules/@npmcli/config/LICENSE +15 -0
  564. package/node_modules/@npmcli/config/README.md +226 -0
  565. package/node_modules/@npmcli/config/lib/definitions/definition.js +255 -0
  566. package/node_modules/@npmcli/config/lib/definitions/definitions.js +2711 -0
  567. package/node_modules/@npmcli/config/lib/definitions/index.js +88 -0
  568. package/node_modules/@npmcli/config/lib/env-replace.js +16 -0
  569. package/node_modules/@npmcli/config/lib/errors.js +23 -0
  570. package/node_modules/@npmcli/config/lib/index.js +1034 -0
  571. package/node_modules/@npmcli/config/lib/nerf-dart.js +18 -0
  572. package/node_modules/@npmcli/config/lib/parse-allow-scripts-list.js +23 -0
  573. package/node_modules/@npmcli/config/lib/parse-field.js +86 -0
  574. package/node_modules/@npmcli/config/lib/set-envs.js +113 -0
  575. package/node_modules/@npmcli/config/lib/type-defs.js +61 -0
  576. package/node_modules/@npmcli/config/lib/type-description.js +21 -0
  577. package/node_modules/@npmcli/config/lib/umask.js +35 -0
  578. package/node_modules/@npmcli/config/package.json +57 -0
  579. package/node_modules/@npmcli/fs/LICENSE.md +20 -0
  580. package/node_modules/@npmcli/fs/lib/common/get-options.js +20 -0
  581. package/node_modules/@npmcli/fs/lib/common/node.js +9 -0
  582. package/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -0
  583. package/node_modules/@npmcli/fs/lib/cp/errors.js +129 -0
  584. package/node_modules/@npmcli/fs/lib/cp/index.js +22 -0
  585. package/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -0
  586. package/node_modules/@npmcli/fs/lib/index.js +13 -0
  587. package/node_modules/@npmcli/fs/lib/move-file.js +78 -0
  588. package/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -0
  589. package/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -0
  590. package/node_modules/@npmcli/fs/package.json +54 -0
  591. package/node_modules/@npmcli/git/LICENSE +15 -0
  592. package/node_modules/@npmcli/git/lib/clone.js +172 -0
  593. package/node_modules/@npmcli/git/lib/errors.js +36 -0
  594. package/node_modules/@npmcli/git/lib/find.js +15 -0
  595. package/node_modules/@npmcli/git/lib/index.js +9 -0
  596. package/node_modules/@npmcli/git/lib/is-clean.js +6 -0
  597. package/node_modules/@npmcli/git/lib/is.js +4 -0
  598. package/node_modules/@npmcli/git/lib/lines-to-revs.js +147 -0
  599. package/node_modules/@npmcli/git/lib/make-error.js +33 -0
  600. package/node_modules/@npmcli/git/lib/opts.js +57 -0
  601. package/node_modules/@npmcli/git/lib/revs.js +22 -0
  602. package/node_modules/@npmcli/git/lib/spawn.js +44 -0
  603. package/node_modules/@npmcli/git/lib/utils.js +3 -0
  604. package/node_modules/@npmcli/git/lib/which.js +18 -0
  605. package/node_modules/@npmcli/git/package.json +58 -0
  606. package/node_modules/@npmcli/installed-package-contents/LICENSE +15 -0
  607. package/node_modules/@npmcli/installed-package-contents/README.md +109 -0
  608. package/node_modules/@npmcli/installed-package-contents/bin/index.js +44 -0
  609. package/node_modules/@npmcli/installed-package-contents/lib/index.js +181 -0
  610. package/node_modules/@npmcli/installed-package-contents/package.json +52 -0
  611. package/node_modules/@npmcli/map-workspaces/LICENSE.md +20 -0
  612. package/node_modules/@npmcli/map-workspaces/lib/index.js +226 -0
  613. package/node_modules/@npmcli/map-workspaces/package.json +61 -0
  614. package/node_modules/@npmcli/metavuln-calculator/LICENSE +15 -0
  615. package/node_modules/@npmcli/metavuln-calculator/lib/advisory.js +435 -0
  616. package/node_modules/@npmcli/metavuln-calculator/lib/get-dep-spec.js +15 -0
  617. package/node_modules/@npmcli/metavuln-calculator/lib/hash.js +5 -0
  618. package/node_modules/@npmcli/metavuln-calculator/lib/index.js +128 -0
  619. package/node_modules/@npmcli/metavuln-calculator/package.json +62 -0
  620. package/node_modules/@npmcli/name-from-folder/LICENSE +15 -0
  621. package/node_modules/@npmcli/name-from-folder/lib/index.js +7 -0
  622. package/node_modules/@npmcli/name-from-folder/package.json +45 -0
  623. package/node_modules/@npmcli/node-gyp/LICENSE +7 -0
  624. package/node_modules/@npmcli/node-gyp/lib/index.js +14 -0
  625. package/node_modules/@npmcli/node-gyp/package.json +50 -0
  626. package/node_modules/@npmcli/package-json/LICENSE +18 -0
  627. package/node_modules/@npmcli/package-json/lib/index.js +296 -0
  628. package/node_modules/@npmcli/package-json/lib/license.js +27 -0
  629. package/node_modules/@npmcli/package-json/lib/normalize-data.js +254 -0
  630. package/node_modules/@npmcli/package-json/lib/normalize.js +614 -0
  631. package/node_modules/@npmcli/package-json/lib/read-package.js +39 -0
  632. package/node_modules/@npmcli/package-json/lib/sort.js +101 -0
  633. package/node_modules/@npmcli/package-json/lib/update-dependencies.js +75 -0
  634. package/node_modules/@npmcli/package-json/lib/update-scripts.js +29 -0
  635. package/node_modules/@npmcli/package-json/lib/update-workspaces.js +26 -0
  636. package/node_modules/@npmcli/package-json/package.json +59 -0
  637. package/node_modules/@npmcli/promise-spawn/LICENSE +15 -0
  638. package/node_modules/@npmcli/promise-spawn/lib/escape.js +67 -0
  639. package/node_modules/@npmcli/promise-spawn/lib/index.js +218 -0
  640. package/node_modules/@npmcli/promise-spawn/package.json +51 -0
  641. package/node_modules/@npmcli/query/LICENSE +20 -0
  642. package/node_modules/@npmcli/query/lib/index.js +255 -0
  643. package/node_modules/@npmcli/query/package.json +64 -0
  644. package/node_modules/@npmcli/redact/LICENSE +21 -0
  645. package/node_modules/@npmcli/redact/lib/deep-map.js +71 -0
  646. package/node_modules/@npmcli/redact/lib/error.js +28 -0
  647. package/node_modules/@npmcli/redact/lib/index.js +44 -0
  648. package/node_modules/@npmcli/redact/lib/matchers.js +88 -0
  649. package/node_modules/@npmcli/redact/lib/server.js +59 -0
  650. package/node_modules/@npmcli/redact/lib/utils.js +202 -0
  651. package/node_modules/@npmcli/redact/package.json +52 -0
  652. package/node_modules/@npmcli/run-script/LICENSE +15 -0
  653. package/node_modules/@npmcli/run-script/lib/is-server-package.js +11 -0
  654. package/node_modules/@npmcli/run-script/lib/make-spawn-args.js +53 -0
  655. package/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp +2 -0
  656. package/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp.cmd +1 -0
  657. package/node_modules/@npmcli/run-script/lib/package-envs.js +29 -0
  658. package/node_modules/@npmcli/run-script/lib/run-script-pkg.js +114 -0
  659. package/node_modules/@npmcli/run-script/lib/run-script.js +15 -0
  660. package/node_modules/@npmcli/run-script/lib/set-path.js +53 -0
  661. package/node_modules/@npmcli/run-script/lib/signal-manager.js +50 -0
  662. package/node_modules/@npmcli/run-script/lib/validate-options.js +39 -0
  663. package/node_modules/@npmcli/run-script/package.json +53 -0
  664. package/node_modules/@sigstore/bundle/LICENSE +202 -0
  665. package/node_modules/@sigstore/bundle/dist/build.js +100 -0
  666. package/node_modules/@sigstore/bundle/dist/bundle.js +24 -0
  667. package/node_modules/@sigstore/bundle/dist/error.js +25 -0
  668. package/node_modules/@sigstore/bundle/dist/index.js +43 -0
  669. package/node_modules/@sigstore/bundle/dist/serialized.js +49 -0
  670. package/node_modules/@sigstore/bundle/dist/utility.js +2 -0
  671. package/node_modules/@sigstore/bundle/dist/validate.js +199 -0
  672. package/node_modules/@sigstore/bundle/package.json +35 -0
  673. package/node_modules/@sigstore/core/LICENSE +202 -0
  674. package/node_modules/@sigstore/core/dist/asn1/error.js +24 -0
  675. package/node_modules/@sigstore/core/dist/asn1/index.js +20 -0
  676. package/node_modules/@sigstore/core/dist/asn1/length.js +62 -0
  677. package/node_modules/@sigstore/core/dist/asn1/obj.js +155 -0
  678. package/node_modules/@sigstore/core/dist/asn1/parse.js +124 -0
  679. package/node_modules/@sigstore/core/dist/asn1/tag.js +89 -0
  680. package/node_modules/@sigstore/core/dist/crypto.js +69 -0
  681. package/node_modules/@sigstore/core/dist/dsse.js +29 -0
  682. package/node_modules/@sigstore/core/dist/encoding.js +27 -0
  683. package/node_modules/@sigstore/core/dist/index.js +66 -0
  684. package/node_modules/@sigstore/core/dist/json.js +60 -0
  685. package/node_modules/@sigstore/core/dist/oid.js +20 -0
  686. package/node_modules/@sigstore/core/dist/pem.js +43 -0
  687. package/node_modules/@sigstore/core/dist/rfc3161/error.js +21 -0
  688. package/node_modules/@sigstore/core/dist/rfc3161/index.js +20 -0
  689. package/node_modules/@sigstore/core/dist/rfc3161/timestamp.js +212 -0
  690. package/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js +72 -0
  691. package/node_modules/@sigstore/core/dist/stream.js +117 -0
  692. package/node_modules/@sigstore/core/dist/x509/cert.js +245 -0
  693. package/node_modules/@sigstore/core/dist/x509/ext.js +146 -0
  694. package/node_modules/@sigstore/core/dist/x509/index.js +23 -0
  695. package/node_modules/@sigstore/core/dist/x509/sct.js +158 -0
  696. package/node_modules/@sigstore/core/package.json +31 -0
  697. package/node_modules/@sigstore/protobuf-specs/LICENSE +202 -0
  698. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js +59 -0
  699. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js +174 -0
  700. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js +141 -0
  701. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js +35 -0
  702. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js +2179 -0
  703. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js +29 -0
  704. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js +55 -0
  705. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js +81 -0
  706. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js +56 -0
  707. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js +74 -0
  708. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js +103 -0
  709. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js +612 -0
  710. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js +137 -0
  711. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js +284 -0
  712. package/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js +281 -0
  713. package/node_modules/@sigstore/protobuf-specs/dist/index.js +37 -0
  714. package/node_modules/@sigstore/protobuf-specs/dist/rekor/v2/index.js +35 -0
  715. package/node_modules/@sigstore/protobuf-specs/package.json +35 -0
  716. package/node_modules/@sigstore/sign/LICENSE +202 -0
  717. package/node_modules/@sigstore/sign/dist/bundler/base.js +52 -0
  718. package/node_modules/@sigstore/sign/dist/bundler/bundle.js +81 -0
  719. package/node_modules/@sigstore/sign/dist/bundler/dsse.js +47 -0
  720. package/node_modules/@sigstore/sign/dist/bundler/index.js +7 -0
  721. package/node_modules/@sigstore/sign/dist/bundler/message.js +30 -0
  722. package/node_modules/@sigstore/sign/dist/config.js +143 -0
  723. package/node_modules/@sigstore/sign/dist/error.js +41 -0
  724. package/node_modules/@sigstore/sign/dist/external/error.js +28 -0
  725. package/node_modules/@sigstore/sign/dist/external/fetch.js +98 -0
  726. package/node_modules/@sigstore/sign/dist/external/fulcio.js +42 -0
  727. package/node_modules/@sigstore/sign/dist/external/rekor-v2.js +45 -0
  728. package/node_modules/@sigstore/sign/dist/external/rekor.js +81 -0
  729. package/node_modules/@sigstore/sign/dist/external/tsa.js +44 -0
  730. package/node_modules/@sigstore/sign/dist/identity/ci.js +74 -0
  731. package/node_modules/@sigstore/sign/dist/identity/index.js +20 -0
  732. package/node_modules/@sigstore/sign/dist/identity/provider.js +2 -0
  733. package/node_modules/@sigstore/sign/dist/index.js +19 -0
  734. package/node_modules/@sigstore/sign/dist/signer/fulcio/ca.js +60 -0
  735. package/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js +43 -0
  736. package/node_modules/@sigstore/sign/dist/signer/fulcio/index.js +90 -0
  737. package/node_modules/@sigstore/sign/dist/signer/index.js +22 -0
  738. package/node_modules/@sigstore/sign/dist/signer/signer.js +17 -0
  739. package/node_modules/@sigstore/sign/dist/types/fetch.js +2 -0
  740. package/node_modules/@sigstore/sign/dist/util/index.js +59 -0
  741. package/node_modules/@sigstore/sign/dist/util/oidc.js +35 -0
  742. package/node_modules/@sigstore/sign/dist/util/ua.js +32 -0
  743. package/node_modules/@sigstore/sign/dist/witness/index.js +24 -0
  744. package/node_modules/@sigstore/sign/dist/witness/tlog/client.js +92 -0
  745. package/node_modules/@sigstore/sign/dist/witness/tlog/entry.js +197 -0
  746. package/node_modules/@sigstore/sign/dist/witness/tlog/index.js +97 -0
  747. package/node_modules/@sigstore/sign/dist/witness/tsa/client.js +47 -0
  748. package/node_modules/@sigstore/sign/dist/witness/tsa/index.js +45 -0
  749. package/node_modules/@sigstore/sign/dist/witness/witness.js +2 -0
  750. package/node_modules/@sigstore/sign/package.json +45 -0
  751. package/node_modules/@sigstore/tuf/LICENSE +202 -0
  752. package/node_modules/@sigstore/tuf/dist/appdata.js +43 -0
  753. package/node_modules/@sigstore/tuf/dist/client.js +116 -0
  754. package/node_modules/@sigstore/tuf/dist/error.js +14 -0
  755. package/node_modules/@sigstore/tuf/dist/index.js +56 -0
  756. package/node_modules/@sigstore/tuf/dist/target.js +79 -0
  757. package/node_modules/@sigstore/tuf/package.json +41 -0
  758. package/node_modules/@sigstore/tuf/seeds.json +1 -0
  759. package/node_modules/@sigstore/verify/dist/bundle/dsse.js +44 -0
  760. package/node_modules/@sigstore/verify/dist/bundle/index.js +59 -0
  761. package/node_modules/@sigstore/verify/dist/bundle/message.js +54 -0
  762. package/node_modules/@sigstore/verify/dist/error.js +34 -0
  763. package/node_modules/@sigstore/verify/dist/index.js +28 -0
  764. package/node_modules/@sigstore/verify/dist/key/certificate.js +216 -0
  765. package/node_modules/@sigstore/verify/dist/key/index.js +75 -0
  766. package/node_modules/@sigstore/verify/dist/key/sct.js +78 -0
  767. package/node_modules/@sigstore/verify/dist/policy.js +50 -0
  768. package/node_modules/@sigstore/verify/dist/shared.types.js +2 -0
  769. package/node_modules/@sigstore/verify/dist/timestamp/index.js +24 -0
  770. package/node_modules/@sigstore/verify/dist/timestamp/tsa.js +63 -0
  771. package/node_modules/@sigstore/verify/dist/tlog/checkpoint.js +154 -0
  772. package/node_modules/@sigstore/verify/dist/tlog/dsse.js +106 -0
  773. package/node_modules/@sigstore/verify/dist/tlog/hashedrekord.js +94 -0
  774. package/node_modules/@sigstore/verify/dist/tlog/index.js +92 -0
  775. package/node_modules/@sigstore/verify/dist/tlog/intoto.js +62 -0
  776. package/node_modules/@sigstore/verify/dist/tlog/merkle.js +104 -0
  777. package/node_modules/@sigstore/verify/dist/tlog/set.js +60 -0
  778. package/node_modules/@sigstore/verify/dist/trust/filter.js +23 -0
  779. package/node_modules/@sigstore/verify/dist/trust/index.js +90 -0
  780. package/node_modules/@sigstore/verify/dist/trust/trust.types.js +2 -0
  781. package/node_modules/@sigstore/verify/dist/verifier.js +160 -0
  782. package/node_modules/@sigstore/verify/package.json +36 -0
  783. package/node_modules/@tufjs/canonical-json/LICENSE +21 -0
  784. package/node_modules/@tufjs/canonical-json/lib/index.js +64 -0
  785. package/node_modules/@tufjs/canonical-json/package.json +35 -0
  786. package/node_modules/@tufjs/models/LICENSE +21 -0
  787. package/node_modules/@tufjs/models/dist/base.js +96 -0
  788. package/node_modules/@tufjs/models/dist/delegations.js +119 -0
  789. package/node_modules/@tufjs/models/dist/error.js +27 -0
  790. package/node_modules/@tufjs/models/dist/file.js +191 -0
  791. package/node_modules/@tufjs/models/dist/index.js +24 -0
  792. package/node_modules/@tufjs/models/dist/key.js +90 -0
  793. package/node_modules/@tufjs/models/dist/metadata.js +165 -0
  794. package/node_modules/@tufjs/models/dist/role.js +310 -0
  795. package/node_modules/@tufjs/models/dist/root.js +119 -0
  796. package/node_modules/@tufjs/models/dist/signature.js +40 -0
  797. package/node_modules/@tufjs/models/dist/snapshot.js +72 -0
  798. package/node_modules/@tufjs/models/dist/targets.js +94 -0
  799. package/node_modules/@tufjs/models/dist/timestamp.js +59 -0
  800. package/node_modules/@tufjs/models/dist/utils/guard.js +32 -0
  801. package/node_modules/@tufjs/models/dist/utils/index.js +38 -0
  802. package/node_modules/@tufjs/models/dist/utils/key.js +142 -0
  803. package/node_modules/@tufjs/models/dist/utils/oid.js +26 -0
  804. package/node_modules/@tufjs/models/dist/utils/types.js +2 -0
  805. package/node_modules/@tufjs/models/dist/utils/verify.js +13 -0
  806. package/node_modules/@tufjs/models/package.json +37 -0
  807. package/node_modules/abbrev/LICENSE +46 -0
  808. package/node_modules/abbrev/lib/index.js +53 -0
  809. package/node_modules/abbrev/package.json +41 -0
  810. package/node_modules/agent-base/LICENSE +22 -0
  811. package/node_modules/agent-base/dist/helpers.js +66 -0
  812. package/node_modules/agent-base/dist/index.js +178 -0
  813. package/node_modules/agent-base/package.json +46 -0
  814. package/node_modules/aproba/LICENSE +14 -0
  815. package/node_modules/aproba/index.js +105 -0
  816. package/node_modules/aproba/package.json +35 -0
  817. package/node_modules/archy/LICENSE +18 -0
  818. package/node_modules/archy/examples/beep.js +24 -0
  819. package/node_modules/archy/examples/multi_line.js +25 -0
  820. package/node_modules/archy/index.js +35 -0
  821. package/node_modules/archy/package.json +40 -0
  822. package/node_modules/archy/test/beep.js +40 -0
  823. package/node_modules/archy/test/multi_line.js +45 -0
  824. package/node_modules/archy/test/non_unicode.js +40 -0
  825. package/node_modules/balanced-match/LICENSE.md +23 -0
  826. package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
  827. package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
  828. package/node_modules/balanced-match/dist/esm/index.js +54 -0
  829. package/node_modules/balanced-match/dist/esm/package.json +3 -0
  830. package/node_modules/balanced-match/package.json +68 -0
  831. package/node_modules/bin-links/LICENSE +15 -0
  832. package/node_modules/bin-links/lib/bin-target.js +9 -0
  833. package/node_modules/bin-links/lib/check-bin.js +78 -0
  834. package/node_modules/bin-links/lib/check-bins.js +18 -0
  835. package/node_modules/bin-links/lib/fix-bin.js +42 -0
  836. package/node_modules/bin-links/lib/get-node-modules.js +19 -0
  837. package/node_modules/bin-links/lib/get-paths.js +42 -0
  838. package/node_modules/bin-links/lib/get-prefix.js +3 -0
  839. package/node_modules/bin-links/lib/index.js +44 -0
  840. package/node_modules/bin-links/lib/is-windows.js +2 -0
  841. package/node_modules/bin-links/lib/link-bin.js +9 -0
  842. package/node_modules/bin-links/lib/link-bins.js +23 -0
  843. package/node_modules/bin-links/lib/link-gently.js +96 -0
  844. package/node_modules/bin-links/lib/link-mans.js +53 -0
  845. package/node_modules/bin-links/lib/man-target.js +6 -0
  846. package/node_modules/bin-links/lib/shim-bin.js +87 -0
  847. package/node_modules/bin-links/package.json +63 -0
  848. package/node_modules/binary-extensions/binary-extensions.json +264 -0
  849. package/node_modules/binary-extensions/index.js +3 -0
  850. package/node_modules/binary-extensions/license +10 -0
  851. package/node_modules/binary-extensions/package.json +45 -0
  852. package/node_modules/brace-expansion/LICENSE +23 -0
  853. package/node_modules/brace-expansion/dist/commonjs/index.js +289 -0
  854. package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
  855. package/node_modules/brace-expansion/dist/esm/index.js +285 -0
  856. package/node_modules/brace-expansion/dist/esm/package.json +3 -0
  857. package/node_modules/brace-expansion/package.json +64 -0
  858. package/node_modules/cacache/LICENSE.md +16 -0
  859. package/node_modules/cacache/lib/content/path.js +29 -0
  860. package/node_modules/cacache/lib/content/read.js +165 -0
  861. package/node_modules/cacache/lib/content/rm.js +18 -0
  862. package/node_modules/cacache/lib/content/write.js +206 -0
  863. package/node_modules/cacache/lib/entry-index.js +336 -0
  864. package/node_modules/cacache/lib/get.js +170 -0
  865. package/node_modules/cacache/lib/index.js +42 -0
  866. package/node_modules/cacache/lib/memoization.js +72 -0
  867. package/node_modules/cacache/lib/put.js +80 -0
  868. package/node_modules/cacache/lib/rm.js +31 -0
  869. package/node_modules/cacache/lib/util/glob.js +7 -0
  870. package/node_modules/cacache/lib/util/hash-to-segments.js +7 -0
  871. package/node_modules/cacache/lib/util/tmp.js +32 -0
  872. package/node_modules/cacache/lib/verify.js +258 -0
  873. package/node_modules/cacache/package.json +81 -0
  874. package/node_modules/chalk/license +9 -0
  875. package/node_modules/chalk/package.json +83 -0
  876. package/node_modules/chalk/source/index.js +225 -0
  877. package/node_modules/chalk/source/utilities.js +33 -0
  878. package/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  879. package/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  880. package/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
  881. package/node_modules/chownr/LICENSE.md +63 -0
  882. package/node_modules/chownr/dist/commonjs/index.js +93 -0
  883. package/node_modules/chownr/dist/commonjs/package.json +3 -0
  884. package/node_modules/chownr/dist/esm/index.js +85 -0
  885. package/node_modules/chownr/dist/esm/package.json +3 -0
  886. package/node_modules/chownr/package.json +69 -0
  887. package/node_modules/ci-info/LICENSE +21 -0
  888. package/node_modules/ci-info/index.js +104 -0
  889. package/node_modules/ci-info/package.json +54 -0
  890. package/node_modules/ci-info/vendors.json +363 -0
  891. package/node_modules/cidr-regex/LICENSE +22 -0
  892. package/node_modules/cidr-regex/dist/index.js +21 -0
  893. package/node_modules/cidr-regex/package.json +51 -0
  894. package/node_modules/cmd-shim/LICENSE +15 -0
  895. package/node_modules/cmd-shim/lib/index.js +247 -0
  896. package/node_modules/cmd-shim/lib/to-batch-syntax.js +49 -0
  897. package/node_modules/cmd-shim/package.json +48 -0
  898. package/node_modules/common-ancestor-path/LICENSE.md +55 -0
  899. package/node_modules/common-ancestor-path/dist/commonjs/index.js +20 -0
  900. package/node_modules/common-ancestor-path/dist/commonjs/package.json +3 -0
  901. package/node_modules/common-ancestor-path/dist/esm/index.js +16 -0
  902. package/node_modules/common-ancestor-path/dist/esm/package.json +3 -0
  903. package/node_modules/common-ancestor-path/package.json +60 -0
  904. package/node_modules/cssesc/LICENSE-MIT.txt +20 -0
  905. package/node_modules/cssesc/README.md +201 -0
  906. package/node_modules/cssesc/bin/cssesc +116 -0
  907. package/node_modules/cssesc/cssesc.js +110 -0
  908. package/node_modules/cssesc/man/cssesc.1 +70 -0
  909. package/node_modules/cssesc/package.json +51 -0
  910. package/node_modules/debug/LICENSE +20 -0
  911. package/node_modules/debug/package.json +64 -0
  912. package/node_modules/debug/src/browser.js +272 -0
  913. package/node_modules/debug/src/common.js +292 -0
  914. package/node_modules/debug/src/index.js +10 -0
  915. package/node_modules/debug/src/node.js +263 -0
  916. package/node_modules/diff/CONTRIBUTING.md +28 -0
  917. package/node_modules/diff/LICENSE +29 -0
  918. package/node_modules/diff/dist/diff.js +1782 -0
  919. package/node_modules/diff/dist/diff.min.js +1 -0
  920. package/node_modules/diff/eslint.config.mjs +182 -0
  921. package/node_modules/diff/libcjs/convert/dmp.js +24 -0
  922. package/node_modules/diff/libcjs/convert/xml.js +34 -0
  923. package/node_modules/diff/libcjs/diff/array.js +40 -0
  924. package/node_modules/diff/libcjs/diff/base.js +265 -0
  925. package/node_modules/diff/libcjs/diff/character.js +31 -0
  926. package/node_modules/diff/libcjs/diff/css.js +34 -0
  927. package/node_modules/diff/libcjs/diff/json.js +105 -0
  928. package/node_modules/diff/libcjs/diff/line.js +89 -0
  929. package/node_modules/diff/libcjs/diff/sentence.js +67 -0
  930. package/node_modules/diff/libcjs/diff/word.js +312 -0
  931. package/node_modules/diff/libcjs/index.js +64 -0
  932. package/node_modules/diff/libcjs/package.json +1 -0
  933. package/node_modules/diff/libcjs/patch/apply.js +267 -0
  934. package/node_modules/diff/libcjs/patch/create.js +251 -0
  935. package/node_modules/diff/libcjs/patch/line-endings.js +61 -0
  936. package/node_modules/diff/libcjs/patch/parse.js +150 -0
  937. package/node_modules/diff/libcjs/patch/reverse.js +37 -0
  938. package/node_modules/diff/libcjs/types.js +2 -0
  939. package/node_modules/diff/libcjs/util/array.js +21 -0
  940. package/node_modules/diff/libcjs/util/distance-iterator.js +40 -0
  941. package/node_modules/diff/libcjs/util/params.js +17 -0
  942. package/node_modules/diff/libcjs/util/string.js +200 -0
  943. package/node_modules/diff/libesm/convert/dmp.js +21 -0
  944. package/node_modules/diff/libesm/convert/xml.js +31 -0
  945. package/node_modules/diff/libesm/diff/array.js +16 -0
  946. package/node_modules/diff/libesm/diff/base.js +253 -0
  947. package/node_modules/diff/libesm/diff/character.js +7 -0
  948. package/node_modules/diff/libesm/diff/css.js +10 -0
  949. package/node_modules/diff/libesm/diff/json.js +78 -0
  950. package/node_modules/diff/libesm/diff/line.js +65 -0
  951. package/node_modules/diff/libesm/diff/sentence.js +43 -0
  952. package/node_modules/diff/libesm/diff/word.js +281 -0
  953. package/node_modules/diff/libesm/index.js +30 -0
  954. package/node_modules/diff/libesm/package.json +1 -0
  955. package/node_modules/diff/libesm/patch/apply.js +257 -0
  956. package/node_modules/diff/libesm/patch/create.js +228 -0
  957. package/node_modules/diff/libesm/patch/line-endings.js +44 -0
  958. package/node_modules/diff/libesm/patch/parse.js +147 -0
  959. package/node_modules/diff/libesm/patch/reverse.js +23 -0
  960. package/node_modules/diff/libesm/types.js +1 -0
  961. package/node_modules/diff/libesm/util/array.js +17 -0
  962. package/node_modules/diff/libesm/util/distance-iterator.js +37 -0
  963. package/node_modules/diff/libesm/util/params.js +14 -0
  964. package/node_modules/diff/libesm/util/string.js +184 -0
  965. package/node_modules/diff/package.json +130 -0
  966. package/node_modules/diff/release-notes.md +432 -0
  967. package/node_modules/env-paths/index.js +74 -0
  968. package/node_modules/env-paths/license +9 -0
  969. package/node_modules/env-paths/package.json +45 -0
  970. package/node_modules/exponential-backoff/LICENSE +202 -0
  971. package/node_modules/exponential-backoff/dist/backoff.js +124 -0
  972. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js +25 -0
  973. package/node_modules/exponential-backoff/dist/delay/delay.base.js +45 -0
  974. package/node_modules/exponential-backoff/dist/delay/delay.factory.js +17 -0
  975. package/node_modules/exponential-backoff/dist/delay/delay.interface.js +3 -0
  976. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +82 -0
  977. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +8 -0
  978. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +15 -0
  979. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +7 -0
  980. package/node_modules/exponential-backoff/dist/options.js +31 -0
  981. package/node_modules/exponential-backoff/package.json +62 -0
  982. package/node_modules/fastest-levenshtein/LICENSE.md +21 -0
  983. package/node_modules/fastest-levenshtein/bench.js +96 -0
  984. package/node_modules/fastest-levenshtein/esm/mod.js +138 -0
  985. package/node_modules/fastest-levenshtein/mod.js +142 -0
  986. package/node_modules/fastest-levenshtein/package.json +72 -0
  987. package/node_modules/fastest-levenshtein/test.js +55 -0
  988. package/node_modules/fdir/LICENSE +7 -0
  989. package/node_modules/fdir/dist/index.cjs +588 -0
  990. package/node_modules/fdir/dist/index.d.cts +155 -0
  991. package/node_modules/fdir/dist/index.d.mts +155 -0
  992. package/node_modules/fdir/dist/index.mjs +570 -0
  993. package/node_modules/fdir/package.json +103 -0
  994. package/node_modules/fs-minipass/LICENSE +15 -0
  995. package/node_modules/fs-minipass/lib/index.js +443 -0
  996. package/node_modules/fs-minipass/package.json +54 -0
  997. package/node_modules/glob/LICENSE.md +63 -0
  998. package/node_modules/glob/dist/commonjs/glob.js +248 -0
  999. package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  1000. package/node_modules/glob/dist/commonjs/ignore.js +119 -0
  1001. package/node_modules/glob/dist/commonjs/index.js +68 -0
  1002. package/node_modules/glob/dist/commonjs/index.min.js +4 -0
  1003. package/node_modules/glob/dist/commonjs/package.json +3 -0
  1004. package/node_modules/glob/dist/commonjs/pattern.js +223 -0
  1005. package/node_modules/glob/dist/commonjs/processor.js +301 -0
  1006. package/node_modules/glob/dist/commonjs/walker.js +387 -0
  1007. package/node_modules/glob/dist/esm/glob.js +244 -0
  1008. package/node_modules/glob/dist/esm/has-magic.js +23 -0
  1009. package/node_modules/glob/dist/esm/ignore.js +115 -0
  1010. package/node_modules/glob/dist/esm/index.js +55 -0
  1011. package/node_modules/glob/dist/esm/index.min.js +4 -0
  1012. package/node_modules/glob/dist/esm/package.json +3 -0
  1013. package/node_modules/glob/dist/esm/pattern.js +219 -0
  1014. package/node_modules/glob/dist/esm/processor.js +294 -0
  1015. package/node_modules/glob/dist/esm/walker.js +381 -0
  1016. package/node_modules/glob/package.json +98 -0
  1017. package/node_modules/graceful-fs/LICENSE +15 -0
  1018. package/node_modules/graceful-fs/clone.js +23 -0
  1019. package/node_modules/graceful-fs/graceful-fs.js +448 -0
  1020. package/node_modules/graceful-fs/legacy-streams.js +118 -0
  1021. package/node_modules/graceful-fs/package.json +53 -0
  1022. package/node_modules/graceful-fs/polyfills.js +355 -0
  1023. package/node_modules/hosted-git-info/LICENSE +13 -0
  1024. package/node_modules/hosted-git-info/lib/from-url.js +122 -0
  1025. package/node_modules/hosted-git-info/lib/hosts.js +229 -0
  1026. package/node_modules/hosted-git-info/lib/index.js +227 -0
  1027. package/node_modules/hosted-git-info/lib/parse-url.js +81 -0
  1028. package/node_modules/hosted-git-info/package.json +57 -0
  1029. package/node_modules/http-cache-semantics/LICENSE +9 -0
  1030. package/node_modules/http-cache-semantics/index.js +928 -0
  1031. package/node_modules/http-cache-semantics/package.json +22 -0
  1032. package/node_modules/http-proxy-agent/LICENSE +22 -0
  1033. package/node_modules/http-proxy-agent/dist/index.js +148 -0
  1034. package/node_modules/http-proxy-agent/package.json +47 -0
  1035. package/node_modules/https-proxy-agent/LICENSE +22 -0
  1036. package/node_modules/https-proxy-agent/dist/index.js +180 -0
  1037. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  1038. package/node_modules/https-proxy-agent/package.json +50 -0
  1039. package/node_modules/iconv-lite/LICENSE +21 -0
  1040. package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  1041. package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  1042. package/node_modules/iconv-lite/encodings/index.js +23 -0
  1043. package/node_modules/iconv-lite/encodings/internal.js +218 -0
  1044. package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  1045. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  1046. package/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  1047. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  1048. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  1049. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  1050. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  1051. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  1052. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  1053. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  1054. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  1055. package/node_modules/iconv-lite/encodings/utf16.js +187 -0
  1056. package/node_modules/iconv-lite/encodings/utf32.js +307 -0
  1057. package/node_modules/iconv-lite/encodings/utf7.js +283 -0
  1058. package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  1059. package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  1060. package/node_modules/iconv-lite/lib/index.js +182 -0
  1061. package/node_modules/iconv-lite/lib/streams.js +105 -0
  1062. package/node_modules/iconv-lite/package.json +70 -0
  1063. package/node_modules/ignore-walk/LICENSE +15 -0
  1064. package/node_modules/ignore-walk/lib/index.js +310 -0
  1065. package/node_modules/ignore-walk/package.json +64 -0
  1066. package/node_modules/ini/LICENSE +15 -0
  1067. package/node_modules/ini/lib/ini.js +280 -0
  1068. package/node_modules/ini/package.json +45 -0
  1069. package/node_modules/init-package-json/LICENSE.md +18 -0
  1070. package/node_modules/init-package-json/lib/default-input.js +286 -0
  1071. package/node_modules/init-package-json/lib/init-package-json.js +147 -0
  1072. package/node_modules/init-package-json/package.json +66 -0
  1073. package/node_modules/ip-address/LICENSE +19 -0
  1074. package/node_modules/ip-address/dist/address-error.js +12 -0
  1075. package/node_modules/ip-address/dist/common.js +106 -0
  1076. package/node_modules/ip-address/dist/ip-address.js +35 -0
  1077. package/node_modules/ip-address/dist/ipv4.js +505 -0
  1078. package/node_modules/ip-address/dist/ipv6.js +1353 -0
  1079. package/node_modules/ip-address/dist/v4/constants.js +12 -0
  1080. package/node_modules/ip-address/dist/v6/constants.js +82 -0
  1081. package/node_modules/ip-address/dist/v6/helpers.js +54 -0
  1082. package/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
  1083. package/node_modules/ip-address/package.json +90 -0
  1084. package/node_modules/is-cidr/LICENSE +22 -0
  1085. package/node_modules/is-cidr/dist/index.js +11 -0
  1086. package/node_modules/is-cidr/package.json +41 -0
  1087. package/node_modules/isexe/LICENSE.md +55 -0
  1088. package/node_modules/isexe/dist/commonjs/index.js +56 -0
  1089. package/node_modules/isexe/dist/commonjs/index.min.js +2 -0
  1090. package/node_modules/isexe/dist/commonjs/options.js +3 -0
  1091. package/node_modules/isexe/dist/commonjs/package.json +3 -0
  1092. package/node_modules/isexe/dist/commonjs/posix.js +67 -0
  1093. package/node_modules/isexe/dist/commonjs/win32.js +63 -0
  1094. package/node_modules/isexe/dist/esm/index.js +16 -0
  1095. package/node_modules/isexe/dist/esm/index.min.js +2 -0
  1096. package/node_modules/isexe/dist/esm/options.js +2 -0
  1097. package/node_modules/isexe/dist/esm/package.json +3 -0
  1098. package/node_modules/isexe/dist/esm/posix.js +62 -0
  1099. package/node_modules/isexe/dist/esm/win32.js +58 -0
  1100. package/node_modules/isexe/package.json +78 -0
  1101. package/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  1102. package/node_modules/json-parse-even-better-errors/lib/index.js +137 -0
  1103. package/node_modules/json-parse-even-better-errors/package.json +50 -0
  1104. package/node_modules/json-stringify-nice/LICENSE +15 -0
  1105. package/node_modules/json-stringify-nice/index.js +38 -0
  1106. package/node_modules/json-stringify-nice/package.json +40 -0
  1107. package/node_modules/jsonparse/LICENSE +24 -0
  1108. package/node_modules/jsonparse/bench.js +26 -0
  1109. package/node_modules/jsonparse/examples/twitterfeed.js +30 -0
  1110. package/node_modules/jsonparse/jsonparse.js +413 -0
  1111. package/node_modules/jsonparse/package.json +22 -0
  1112. package/node_modules/jsonparse/samplejson/basic.json +167 -0
  1113. package/node_modules/jsonparse/samplejson/basic2.json +180 -0
  1114. package/node_modules/jsonparse/test/big-token.js +24 -0
  1115. package/node_modules/jsonparse/test/boundary.js +110 -0
  1116. package/node_modules/jsonparse/test/offset.js +67 -0
  1117. package/node_modules/jsonparse/test/primitives.js +57 -0
  1118. package/node_modules/jsonparse/test/surrogate.js +26 -0
  1119. package/node_modules/jsonparse/test/unvalid.js +15 -0
  1120. package/node_modules/jsonparse/test/utf8.js +38 -0
  1121. package/node_modules/just-diff/LICENSE +21 -0
  1122. package/node_modules/just-diff/index.cjs +230 -0
  1123. package/node_modules/just-diff/index.mjs +227 -0
  1124. package/node_modules/just-diff/package.json +33 -0
  1125. package/node_modules/just-diff/rollup.config.js +3 -0
  1126. package/node_modules/just-diff-apply/LICENSE +21 -0
  1127. package/node_modules/just-diff-apply/index.cjs +161 -0
  1128. package/node_modules/just-diff-apply/index.mjs +158 -0
  1129. package/node_modules/just-diff-apply/package.json +34 -0
  1130. package/node_modules/just-diff-apply/rollup.config.js +3 -0
  1131. package/node_modules/libnpmaccess/LICENSE +13 -0
  1132. package/node_modules/libnpmaccess/README.md +93 -0
  1133. package/node_modules/libnpmaccess/lib/index.js +140 -0
  1134. package/node_modules/libnpmaccess/package.json +53 -0
  1135. package/node_modules/libnpmdiff/LICENSE +15 -0
  1136. package/node_modules/libnpmdiff/README.md +103 -0
  1137. package/node_modules/libnpmdiff/lib/format-diff.js +118 -0
  1138. package/node_modules/libnpmdiff/lib/index.js +65 -0
  1139. package/node_modules/libnpmdiff/lib/should-print-patch.js +22 -0
  1140. package/node_modules/libnpmdiff/lib/tarball.js +38 -0
  1141. package/node_modules/libnpmdiff/lib/untar.js +96 -0
  1142. package/node_modules/libnpmdiff/package.json +70 -0
  1143. package/node_modules/libnpmexec/LICENSE +15 -0
  1144. package/node_modules/libnpmexec/README.md +47 -0
  1145. package/node_modules/libnpmexec/lib/file-exists.js +33 -0
  1146. package/node_modules/libnpmexec/lib/get-bin-from-manifest.js +22 -0
  1147. package/node_modules/libnpmexec/lib/index.js +332 -0
  1148. package/node_modules/libnpmexec/lib/is-windows.js +1 -0
  1149. package/node_modules/libnpmexec/lib/no-tty.js +1 -0
  1150. package/node_modules/libnpmexec/lib/run-script.js +75 -0
  1151. package/node_modules/libnpmexec/lib/strict-allow-scripts-preflight.js +40 -0
  1152. package/node_modules/libnpmexec/lib/with-lock.js +177 -0
  1153. package/node_modules/libnpmexec/package.json +81 -0
  1154. package/node_modules/libnpmfund/LICENSE +15 -0
  1155. package/node_modules/libnpmfund/README.md +131 -0
  1156. package/node_modules/libnpmfund/lib/index.js +210 -0
  1157. package/node_modules/libnpmfund/package.json +65 -0
  1158. package/node_modules/libnpmorg/LICENSE +13 -0
  1159. package/node_modules/libnpmorg/README.md +148 -0
  1160. package/node_modules/libnpmorg/lib/index.js +64 -0
  1161. package/node_modules/libnpmorg/package.json +62 -0
  1162. package/node_modules/libnpmpack/LICENSE +13 -0
  1163. package/node_modules/libnpmpack/README.md +55 -0
  1164. package/node_modules/libnpmpack/lib/index.js +67 -0
  1165. package/node_modules/libnpmpack/package.json +59 -0
  1166. package/node_modules/libnpmpublish/LICENSE +13 -0
  1167. package/node_modules/libnpmpublish/README.md +127 -0
  1168. package/node_modules/libnpmpublish/lib/index.js +4 -0
  1169. package/node_modules/libnpmpublish/lib/provenance.js +245 -0
  1170. package/node_modules/libnpmpublish/lib/publish.js +231 -0
  1171. package/node_modules/libnpmpublish/lib/unpublish.js +119 -0
  1172. package/node_modules/libnpmpublish/package.json +64 -0
  1173. package/node_modules/libnpmsearch/LICENSE +13 -0
  1174. package/node_modules/libnpmsearch/README.md +173 -0
  1175. package/node_modules/libnpmsearch/lib/index.js +71 -0
  1176. package/node_modules/libnpmsearch/package.json +58 -0
  1177. package/node_modules/libnpmteam/LICENSE +13 -0
  1178. package/node_modules/libnpmteam/README.md +172 -0
  1179. package/node_modules/libnpmteam/lib/index.js +92 -0
  1180. package/node_modules/libnpmteam/package.json +52 -0
  1181. package/node_modules/libnpmversion/LICENSE +15 -0
  1182. package/node_modules/libnpmversion/README.md +166 -0
  1183. package/node_modules/libnpmversion/lib/commit.js +17 -0
  1184. package/node_modules/libnpmversion/lib/enforce-clean.js +32 -0
  1185. package/node_modules/libnpmversion/lib/index.js +38 -0
  1186. package/node_modules/libnpmversion/lib/read-json.js +6 -0
  1187. package/node_modules/libnpmversion/lib/retrieve-tag.js +13 -0
  1188. package/node_modules/libnpmversion/lib/tag.js +30 -0
  1189. package/node_modules/libnpmversion/lib/version.js +136 -0
  1190. package/node_modules/libnpmversion/lib/write-json.js +15 -0
  1191. package/node_modules/libnpmversion/package.json +55 -0
  1192. package/node_modules/lru-cache/LICENSE.md +55 -0
  1193. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
  1194. package/node_modules/lru-cache/dist/commonjs/browser/index.js +1726 -0
  1195. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
  1196. package/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
  1197. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
  1198. package/node_modules/lru-cache/dist/commonjs/index.js +1726 -0
  1199. package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  1200. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
  1201. package/node_modules/lru-cache/dist/commonjs/node/index.js +1726 -0
  1202. package/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
  1203. package/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
  1204. package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  1205. package/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
  1206. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
  1207. package/node_modules/lru-cache/dist/esm/browser/index.js +1722 -0
  1208. package/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
  1209. package/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
  1210. package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
  1211. package/node_modules/lru-cache/dist/esm/index.js +1722 -0
  1212. package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  1213. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
  1214. package/node_modules/lru-cache/dist/esm/node/index.js +1722 -0
  1215. package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
  1216. package/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
  1217. package/node_modules/lru-cache/dist/esm/package.json +3 -0
  1218. package/node_modules/lru-cache/dist/esm/perf.js +7 -0
  1219. package/node_modules/lru-cache/package.json +154 -0
  1220. package/node_modules/make-fetch-happen/LICENSE +16 -0
  1221. package/node_modules/make-fetch-happen/lib/cache/entry.js +471 -0
  1222. package/node_modules/make-fetch-happen/lib/cache/errors.js +11 -0
  1223. package/node_modules/make-fetch-happen/lib/cache/index.js +49 -0
  1224. package/node_modules/make-fetch-happen/lib/cache/key.js +17 -0
  1225. package/node_modules/make-fetch-happen/lib/cache/policy.js +161 -0
  1226. package/node_modules/make-fetch-happen/lib/fetch.js +118 -0
  1227. package/node_modules/make-fetch-happen/lib/index.js +41 -0
  1228. package/node_modules/make-fetch-happen/lib/options.js +59 -0
  1229. package/node_modules/make-fetch-happen/lib/pipeline.js +41 -0
  1230. package/node_modules/make-fetch-happen/lib/remote.js +134 -0
  1231. package/node_modules/make-fetch-happen/package.json +75 -0
  1232. package/node_modules/minimatch/LICENSE.md +55 -0
  1233. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  1234. package/node_modules/minimatch/dist/commonjs/ast.js +845 -0
  1235. package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
  1236. package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
  1237. package/node_modules/minimatch/dist/commonjs/index.js +1127 -0
  1238. package/node_modules/minimatch/dist/commonjs/package.json +3 -0
  1239. package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
  1240. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  1241. package/node_modules/minimatch/dist/esm/ast.js +841 -0
  1242. package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
  1243. package/node_modules/minimatch/dist/esm/escape.js +26 -0
  1244. package/node_modules/minimatch/dist/esm/index.js +1114 -0
  1245. package/node_modules/minimatch/dist/esm/package.json +3 -0
  1246. package/node_modules/minimatch/dist/esm/unescape.js +34 -0
  1247. package/node_modules/minimatch/package.json +73 -0
  1248. package/node_modules/minipass/LICENSE.md +55 -0
  1249. package/node_modules/minipass/dist/commonjs/index.js +1038 -0
  1250. package/node_modules/minipass/dist/commonjs/package.json +3 -0
  1251. package/node_modules/minipass/dist/esm/index.js +1020 -0
  1252. package/node_modules/minipass/dist/esm/package.json +3 -0
  1253. package/node_modules/minipass/package.json +77 -0
  1254. package/node_modules/minipass-collect/LICENSE +15 -0
  1255. package/node_modules/minipass-collect/index.js +71 -0
  1256. package/node_modules/minipass-collect/package.json +30 -0
  1257. package/node_modules/minipass-fetch/LICENSE +28 -0
  1258. package/node_modules/minipass-fetch/lib/abort-error.js +17 -0
  1259. package/node_modules/minipass-fetch/lib/blob.js +97 -0
  1260. package/node_modules/minipass-fetch/lib/body.js +360 -0
  1261. package/node_modules/minipass-fetch/lib/fetch-error.js +32 -0
  1262. package/node_modules/minipass-fetch/lib/headers.js +267 -0
  1263. package/node_modules/minipass-fetch/lib/index.js +376 -0
  1264. package/node_modules/minipass-fetch/lib/request.js +282 -0
  1265. package/node_modules/minipass-fetch/lib/response.js +90 -0
  1266. package/node_modules/minipass-fetch/package.json +70 -0
  1267. package/node_modules/minipass-flush/LICENSE.md +55 -0
  1268. package/node_modules/minipass-flush/index.js +39 -0
  1269. package/node_modules/minipass-flush/package.json +39 -0
  1270. package/node_modules/minipass-pipeline/LICENSE +15 -0
  1271. package/node_modules/minipass-pipeline/index.js +128 -0
  1272. package/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -0
  1273. package/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -0
  1274. package/node_modules/minipass-pipeline/node_modules/minipass/node_modules/yallist/LICENSE +15 -0
  1275. package/node_modules/minipass-pipeline/node_modules/minipass/node_modules/yallist/iterator.js +8 -0
  1276. package/node_modules/minipass-pipeline/node_modules/minipass/node_modules/yallist/package.json +29 -0
  1277. package/node_modules/minipass-pipeline/node_modules/minipass/node_modules/yallist/yallist.js +426 -0
  1278. package/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -0
  1279. package/node_modules/minipass-pipeline/package.json +29 -0
  1280. package/node_modules/minipass-sized/LICENSE +15 -0
  1281. package/node_modules/minipass-sized/dist/commonjs/index.js +69 -0
  1282. package/node_modules/minipass-sized/dist/commonjs/package.json +3 -0
  1283. package/node_modules/minipass-sized/dist/esm/index.js +64 -0
  1284. package/node_modules/minipass-sized/dist/esm/package.json +3 -0
  1285. package/node_modules/minipass-sized/package.json +69 -0
  1286. package/node_modules/minizlib/LICENSE +26 -0
  1287. package/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  1288. package/node_modules/minizlib/dist/commonjs/index.js +416 -0
  1289. package/node_modules/minizlib/dist/commonjs/package.json +3 -0
  1290. package/node_modules/minizlib/dist/esm/constants.js +117 -0
  1291. package/node_modules/minizlib/dist/esm/index.js +363 -0
  1292. package/node_modules/minizlib/dist/esm/package.json +3 -0
  1293. package/node_modules/minizlib/package.json +80 -0
  1294. package/node_modules/ms/index.js +162 -0
  1295. package/node_modules/ms/license.md +21 -0
  1296. package/node_modules/ms/package.json +38 -0
  1297. package/node_modules/mute-stream/LICENSE +15 -0
  1298. package/node_modules/mute-stream/lib/index.js +142 -0
  1299. package/node_modules/mute-stream/package.json +54 -0
  1300. package/node_modules/negotiator/HISTORY.md +114 -0
  1301. package/node_modules/negotiator/LICENSE +24 -0
  1302. package/node_modules/negotiator/index.js +83 -0
  1303. package/node_modules/negotiator/lib/charset.js +169 -0
  1304. package/node_modules/negotiator/lib/encoding.js +205 -0
  1305. package/node_modules/negotiator/lib/language.js +179 -0
  1306. package/node_modules/negotiator/lib/mediaType.js +294 -0
  1307. package/node_modules/negotiator/package.json +43 -0
  1308. package/node_modules/node-gyp/.release-please-manifest.json +3 -0
  1309. package/node_modules/node-gyp/CHANGELOG.md +1240 -0
  1310. package/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -0
  1311. package/node_modules/node-gyp/CONTRIBUTING.md +44 -0
  1312. package/node_modules/node-gyp/LICENSE +24 -0
  1313. package/node_modules/node-gyp/README.md +290 -0
  1314. package/node_modules/node-gyp/SECURITY.md +2 -0
  1315. package/node_modules/node-gyp/addon.gypi +204 -0
  1316. package/node_modules/node-gyp/bin/node-gyp.js +145 -0
  1317. package/node_modules/node-gyp/eslint.config.js +3 -0
  1318. package/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
  1319. package/node_modules/node-gyp/gyp/LICENSE +28 -0
  1320. package/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
  1321. package/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  1322. package/node_modules/node-gyp/gyp/docs/GypVsCMake.md +116 -0
  1323. package/node_modules/node-gyp/gyp/docs/Hacking.md +46 -0
  1324. package/node_modules/node-gyp/gyp/docs/InputFormatReference.md +1083 -0
  1325. package/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +430 -0
  1326. package/node_modules/node-gyp/gyp/docs/README.md +27 -0
  1327. package/node_modules/node-gyp/gyp/docs/Testing.md +450 -0
  1328. package/node_modules/node-gyp/gyp/docs/UserDocumentation.md +965 -0
  1329. package/node_modules/node-gyp/gyp/gyp +8 -0
  1330. package/node_modules/node-gyp/gyp/gyp.bat +5 -0
  1331. package/node_modules/node-gyp/gyp/gyp_main.py +45 -0
  1332. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
  1333. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
  1334. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1283 -0
  1335. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1545 -0
  1336. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
  1337. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
  1338. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
  1339. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +607 -0
  1340. package/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +706 -0
  1341. package/node_modules/node-gyp/gyp/pylib/gyp/common.py +725 -0
  1342. package/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +186 -0
  1343. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +170 -0
  1344. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
  1345. package/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
  1346. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1347. package/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
  1348. package/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1169 -0
  1349. package/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1316 -0
  1350. package/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
  1351. package/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
  1352. package/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +461 -0
  1353. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +88 -0
  1354. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +55 -0
  1355. package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2755 -0
  1356. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3970 -0
  1357. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
  1358. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2957 -0
  1359. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +77 -0
  1360. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1389 -0
  1361. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
  1362. package/node_modules/node-gyp/gyp/pylib/gyp/input.py +3097 -0
  1363. package/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
  1364. package/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +765 -0
  1365. package/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1255 -0
  1366. package/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
  1367. package/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
  1368. package/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +371 -0
  1369. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1936 -0
  1370. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
  1371. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +301 -0
  1372. package/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3180 -0
  1373. package/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +64 -0
  1374. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
  1375. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
  1376. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
  1377. package/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
  1378. package/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +107 -0
  1379. package/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
  1380. package/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
  1381. package/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
  1382. package/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
  1383. package/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
  1384. package/node_modules/node-gyp/gyp/pylib/packaging/markers.py +251 -0
  1385. package/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +807 -0
  1386. package/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1387. package/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
  1388. package/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
  1389. package/node_modules/node-gyp/gyp/pylib/packaging/tags.py +541 -0
  1390. package/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
  1391. package/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
  1392. package/node_modules/node-gyp/gyp/pyproject.toml +116 -0
  1393. package/node_modules/node-gyp/gyp/release-please-config.json +11 -0
  1394. package/node_modules/node-gyp/gyp/test_gyp.py +260 -0
  1395. package/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
  1396. package/node_modules/node-gyp/lib/build.js +230 -0
  1397. package/node_modules/node-gyp/lib/clean.js +15 -0
  1398. package/node_modules/node-gyp/lib/configure.js +328 -0
  1399. package/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
  1400. package/node_modules/node-gyp/lib/download.js +86 -0
  1401. package/node_modules/node-gyp/lib/find-node-directory.js +63 -0
  1402. package/node_modules/node-gyp/lib/find-python.js +304 -0
  1403. package/node_modules/node-gyp/lib/find-visualstudio.js +606 -0
  1404. package/node_modules/node-gyp/lib/install.js +411 -0
  1405. package/node_modules/node-gyp/lib/list.js +26 -0
  1406. package/node_modules/node-gyp/lib/log.js +168 -0
  1407. package/node_modules/node-gyp/lib/node-gyp.js +199 -0
  1408. package/node_modules/node-gyp/lib/process-release.js +144 -0
  1409. package/node_modules/node-gyp/lib/rebuild.js +12 -0
  1410. package/node_modules/node-gyp/lib/remove.js +43 -0
  1411. package/node_modules/node-gyp/lib/util.js +81 -0
  1412. package/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
  1413. package/node_modules/node-gyp/package.json +52 -0
  1414. package/node_modules/node-gyp/release-please-config.json +40 -0
  1415. package/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -0
  1416. package/node_modules/nopt/LICENSE +15 -0
  1417. package/node_modules/nopt/README.md +214 -0
  1418. package/node_modules/nopt/bin/nopt.js +29 -0
  1419. package/node_modules/nopt/lib/debug.js +5 -0
  1420. package/node_modules/nopt/lib/nopt-lib.js +514 -0
  1421. package/node_modules/nopt/lib/nopt.js +34 -0
  1422. package/node_modules/nopt/lib/type-defs.js +91 -0
  1423. package/node_modules/nopt/package.json +52 -0
  1424. package/node_modules/npm/LICENSE +235 -0
  1425. package/node_modules/npm/README.md +53 -0
  1426. package/node_modules/npm/bin/node-gyp-bin/node-gyp +6 -0
  1427. package/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +5 -0
  1428. package/node_modules/npm/bin/npm +65 -0
  1429. package/node_modules/npm/bin/npm-cli.js +2 -0
  1430. package/node_modules/npm/bin/npm-prefix.js +30 -0
  1431. package/node_modules/npm/bin/npm.cmd +20 -0
  1432. package/node_modules/npm/bin/npm.ps1 +50 -0
  1433. package/node_modules/npm/bin/npx +65 -0
  1434. package/node_modules/npm/bin/npx-cli.js +130 -0
  1435. package/node_modules/npm/bin/npx.cmd +20 -0
  1436. package/node_modules/npm/bin/npx.ps1 +50 -0
  1437. package/node_modules/npm/docs/content/commands/npm-access.md +95 -0
  1438. package/node_modules/npm/docs/content/commands/npm-adduser.md +87 -0
  1439. package/node_modules/npm/docs/content/commands/npm-approve-scripts.md +142 -0
  1440. package/node_modules/npm/docs/content/commands/npm-audit.md +449 -0
  1441. package/node_modules/npm/docs/content/commands/npm-bugs.md +106 -0
  1442. package/node_modules/npm/docs/content/commands/npm-cache.md +100 -0
  1443. package/node_modules/npm/docs/content/commands/npm-ci.md +446 -0
  1444. package/node_modules/npm/docs/content/commands/npm-completion.md +36 -0
  1445. package/node_modules/npm/docs/content/commands/npm-config.md +176 -0
  1446. package/node_modules/npm/docs/content/commands/npm-dedupe.md +389 -0
  1447. package/node_modules/npm/docs/content/commands/npm-deny-scripts.md +110 -0
  1448. package/node_modules/npm/docs/content/commands/npm-deprecate.md +85 -0
  1449. package/node_modules/npm/docs/content/commands/npm-diff.md +282 -0
  1450. package/node_modules/npm/docs/content/commands/npm-dist-tag.md +138 -0
  1451. package/node_modules/npm/docs/content/commands/npm-docs.md +106 -0
  1452. package/node_modules/npm/docs/content/commands/npm-doctor.md +98 -0
  1453. package/node_modules/npm/docs/content/commands/npm-edit.md +41 -0
  1454. package/node_modules/npm/docs/content/commands/npm-exec.md +368 -0
  1455. package/node_modules/npm/docs/content/commands/npm-explain.md +101 -0
  1456. package/node_modules/npm/docs/content/commands/npm-explore.md +46 -0
  1457. package/node_modules/npm/docs/content/commands/npm-find-dupes.md +253 -0
  1458. package/node_modules/npm/docs/content/commands/npm-fund.md +136 -0
  1459. package/node_modules/npm/docs/content/commands/npm-get.md +32 -0
  1460. package/node_modules/npm/docs/content/commands/npm-help-search.md +38 -0
  1461. package/node_modules/npm/docs/content/commands/npm-help.md +44 -0
  1462. package/node_modules/npm/docs/content/commands/npm-init.md +348 -0
  1463. package/node_modules/npm/docs/content/commands/npm-install-ci-test.md +400 -0
  1464. package/node_modules/npm/docs/content/commands/npm-install-scripts.md +166 -0
  1465. package/node_modules/npm/docs/content/commands/npm-install-test.md +593 -0
  1466. package/node_modules/npm/docs/content/commands/npm-install.md +976 -0
  1467. package/node_modules/npm/docs/content/commands/npm-link.md +456 -0
  1468. package/node_modules/npm/docs/content/commands/npm-ll.md +230 -0
  1469. package/node_modules/npm/docs/content/commands/npm-login.md +93 -0
  1470. package/node_modules/npm/docs/content/commands/npm-logout.md +72 -0
  1471. package/node_modules/npm/docs/content/commands/npm-ls.md +260 -0
  1472. package/node_modules/npm/docs/content/commands/npm-org.md +113 -0
  1473. package/node_modules/npm/docs/content/commands/npm-outdated.md +247 -0
  1474. package/node_modules/npm/docs/content/commands/npm-owner.md +104 -0
  1475. package/node_modules/npm/docs/content/commands/npm-pack.md +135 -0
  1476. package/node_modules/npm/docs/content/commands/npm-ping.md +46 -0
  1477. package/node_modules/npm/docs/content/commands/npm-pkg.md +244 -0
  1478. package/node_modules/npm/docs/content/commands/npm-prefix.md +58 -0
  1479. package/node_modules/npm/docs/content/commands/npm-profile.md +115 -0
  1480. package/node_modules/npm/docs/content/commands/npm-prune.md +191 -0
  1481. package/node_modules/npm/docs/content/commands/npm-publish.md +247 -0
  1482. package/node_modules/npm/docs/content/commands/npm-query.md +354 -0
  1483. package/node_modules/npm/docs/content/commands/npm-rebuild.md +224 -0
  1484. package/node_modules/npm/docs/content/commands/npm-repo.md +99 -0
  1485. package/node_modules/npm/docs/content/commands/npm-restart.md +68 -0
  1486. package/node_modules/npm/docs/content/commands/npm-root.md +51 -0
  1487. package/node_modules/npm/docs/content/commands/npm-run.md +231 -0
  1488. package/node_modules/npm/docs/content/commands/npm-sbom.md +317 -0
  1489. package/node_modules/npm/docs/content/commands/npm-search.md +154 -0
  1490. package/node_modules/npm/docs/content/commands/npm-set.md +58 -0
  1491. package/node_modules/npm/docs/content/commands/npm-shrinkwrap.md +29 -0
  1492. package/node_modules/npm/docs/content/commands/npm-stage.md +253 -0
  1493. package/node_modules/npm/docs/content/commands/npm-star.md +79 -0
  1494. package/node_modules/npm/docs/content/commands/npm-stars.md +38 -0
  1495. package/node_modules/npm/docs/content/commands/npm-start.md +76 -0
  1496. package/node_modules/npm/docs/content/commands/npm-stop.md +71 -0
  1497. package/node_modules/npm/docs/content/commands/npm-team.md +144 -0
  1498. package/node_modules/npm/docs/content/commands/npm-test.md +69 -0
  1499. package/node_modules/npm/docs/content/commands/npm-token.md +203 -0
  1500. package/node_modules/npm/docs/content/commands/npm-trust.md +176 -0
  1501. package/node_modules/npm/docs/content/commands/npm-undeprecate.md +61 -0
  1502. package/node_modules/npm/docs/content/commands/npm-uninstall.md +151 -0
  1503. package/node_modules/npm/docs/content/commands/npm-unpublish.md +126 -0
  1504. package/node_modules/npm/docs/content/commands/npm-unstar.md +73 -0
  1505. package/node_modules/npm/docs/content/commands/npm-update.md +576 -0
  1506. package/node_modules/npm/docs/content/commands/npm-version.md +256 -0
  1507. package/node_modules/npm/docs/content/commands/npm-view.md +258 -0
  1508. package/node_modules/npm/docs/content/commands/npm-whoami.md +38 -0
  1509. package/node_modules/npm/docs/content/commands/npm.md +148 -0
  1510. package/node_modules/npm/docs/content/commands/npx.md +139 -0
  1511. package/node_modules/npm/docs/content/configuring-npm/folders.md +172 -0
  1512. package/node_modules/npm/docs/content/configuring-npm/install.md +53 -0
  1513. package/node_modules/npm/docs/content/configuring-npm/npm-shrinkwrap-json.md +25 -0
  1514. package/node_modules/npm/docs/content/configuring-npm/npmrc.md +193 -0
  1515. package/node_modules/npm/docs/content/configuring-npm/package-json.md +1210 -0
  1516. package/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +182 -0
  1517. package/node_modules/npm/docs/content/using-npm/config.md +2411 -0
  1518. package/node_modules/npm/docs/content/using-npm/dependency-selectors.md +247 -0
  1519. package/node_modules/npm/docs/content/using-npm/developers.md +233 -0
  1520. package/node_modules/npm/docs/content/using-npm/logging.md +99 -0
  1521. package/node_modules/npm/docs/content/using-npm/orgs.md +98 -0
  1522. package/node_modules/npm/docs/content/using-npm/package-spec.md +92 -0
  1523. package/node_modules/npm/docs/content/using-npm/registry.md +61 -0
  1524. package/node_modules/npm/docs/content/using-npm/removal.md +55 -0
  1525. package/node_modules/npm/docs/content/using-npm/scope.md +123 -0
  1526. package/node_modules/npm/docs/content/using-npm/scripts.md +373 -0
  1527. package/node_modules/npm/docs/content/using-npm/workspaces.md +219 -0
  1528. package/node_modules/npm/docs/output/commands/npm-access.html +280 -0
  1529. package/node_modules/npm/docs/output/commands/npm-adduser.html +271 -0
  1530. package/node_modules/npm/docs/output/commands/npm-approve-scripts.html +319 -0
  1531. package/node_modules/npm/docs/output/commands/npm-audit.html +528 -0
  1532. package/node_modules/npm/docs/output/commands/npm-bugs.html +293 -0
  1533. package/node_modules/npm/docs/output/commands/npm-cache.html +300 -0
  1534. package/node_modules/npm/docs/output/commands/npm-ci.html +549 -0
  1535. package/node_modules/npm/docs/output/commands/npm-completion.html +234 -0
  1536. package/node_modules/npm/docs/output/commands/npm-config.html +331 -0
  1537. package/node_modules/npm/docs/output/commands/npm-dedupe.html +500 -0
  1538. package/node_modules/npm/docs/output/commands/npm-deny-scripts.html +291 -0
  1539. package/node_modules/npm/docs/output/commands/npm-deprecate.html +267 -0
  1540. package/node_modules/npm/docs/output/commands/npm-diff.html +415 -0
  1541. package/node_modules/npm/docs/output/commands/npm-dist-tag.html +318 -0
  1542. package/node_modules/npm/docs/output/commands/npm-docs.html +293 -0
  1543. package/node_modules/npm/docs/output/commands/npm-doctor.html +282 -0
  1544. package/node_modules/npm/docs/output/commands/npm-edit.html +238 -0
  1545. package/node_modules/npm/docs/output/commands/npm-exec.html +477 -0
  1546. package/node_modules/npm/docs/output/commands/npm-explain.html +291 -0
  1547. package/node_modules/npm/docs/output/commands/npm-explore.html +240 -0
  1548. package/node_modules/npm/docs/output/commands/npm-find-dupes.html +400 -0
  1549. package/node_modules/npm/docs/output/commands/npm-fund.html +311 -0
  1550. package/node_modules/npm/docs/output/commands/npm-get.html +231 -0
  1551. package/node_modules/npm/docs/output/commands/npm-help-search.html +235 -0
  1552. package/node_modules/npm/docs/output/commands/npm-help.html +241 -0
  1553. package/node_modules/npm/docs/output/commands/npm-init.html +467 -0
  1554. package/node_modules/npm/docs/output/commands/npm-install-ci-test.html +514 -0
  1555. package/node_modules/npm/docs/output/commands/npm-install-scripts.html +341 -0
  1556. package/node_modules/npm/docs/output/commands/npm-install-test.html +657 -0
  1557. package/node_modules/npm/docs/output/commands/npm-install.html +963 -0
  1558. package/node_modules/npm/docs/output/commands/npm-link.html +546 -0
  1559. package/node_modules/npm/docs/output/commands/npm-ll.html +382 -0
  1560. package/node_modules/npm/docs/output/commands/npm-login.html +274 -0
  1561. package/node_modules/npm/docs/output/commands/npm-logout.html +259 -0
  1562. package/node_modules/npm/docs/output/commands/npm-ls.html +404 -0
  1563. package/node_modules/npm/docs/output/commands/npm-org.html +283 -0
  1564. package/node_modules/npm/docs/output/commands/npm-outdated.html +407 -0
  1565. package/node_modules/npm/docs/output/commands/npm-owner.html +294 -0
  1566. package/node_modules/npm/docs/output/commands/npm-pack.html +314 -0
  1567. package/node_modules/npm/docs/output/commands/npm-ping.html +242 -0
  1568. package/node_modules/npm/docs/output/commands/npm-pkg.html +389 -0
  1569. package/node_modules/npm/docs/output/commands/npm-prefix.html +252 -0
  1570. package/node_modules/npm/docs/output/commands/npm-profile.html +309 -0
  1571. package/node_modules/npm/docs/output/commands/npm-prune.html +352 -0
  1572. package/node_modules/npm/docs/output/commands/npm-publish.html +397 -0
  1573. package/node_modules/npm/docs/output/commands/npm-query.html +500 -0
  1574. package/node_modules/npm/docs/output/commands/npm-rebuild.html +384 -0
  1575. package/node_modules/npm/docs/output/commands/npm-repo.html +286 -0
  1576. package/node_modules/npm/docs/output/commands/npm-restart.html +263 -0
  1577. package/node_modules/npm/docs/output/commands/npm-root.html +248 -0
  1578. package/node_modules/npm/docs/output/commands/npm-run.html +376 -0
  1579. package/node_modules/npm/docs/output/commands/npm-sbom.html +490 -0
  1580. package/node_modules/npm/docs/output/commands/npm-search.html +320 -0
  1581. package/node_modules/npm/docs/output/commands/npm-set.html +255 -0
  1582. package/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +232 -0
  1583. package/node_modules/npm/docs/output/commands/npm-stage.html +609 -0
  1584. package/node_modules/npm/docs/output/commands/npm-star.html +263 -0
  1585. package/node_modules/npm/docs/output/commands/npm-stars.html +236 -0
  1586. package/node_modules/npm/docs/output/commands/npm-start.html +263 -0
  1587. package/node_modules/npm/docs/output/commands/npm-stop.html +260 -0
  1588. package/node_modules/npm/docs/output/commands/npm-team.html +314 -0
  1589. package/node_modules/npm/docs/output/commands/npm-test.html +259 -0
  1590. package/node_modules/npm/docs/output/commands/npm-token.html +351 -0
  1591. package/node_modules/npm/docs/output/commands/npm-trust.html +552 -0
  1592. package/node_modules/npm/docs/output/commands/npm-undeprecate.html +252 -0
  1593. package/node_modules/npm/docs/output/commands/npm-uninstall.html +323 -0
  1594. package/node_modules/npm/docs/output/commands/npm-unpublish.html +310 -0
  1595. package/node_modules/npm/docs/output/commands/npm-unstar.html +258 -0
  1596. package/node_modules/npm/docs/output/commands/npm-update.html +635 -0
  1597. package/node_modules/npm/docs/output/commands/npm-version.html +404 -0
  1598. package/node_modules/npm/docs/output/commands/npm-view.html +383 -0
  1599. package/node_modules/npm/docs/output/commands/npm-whoami.html +235 -0
  1600. package/node_modules/npm/docs/output/commands/npm.html +323 -0
  1601. package/node_modules/npm/docs/output/commands/npx.html +308 -0
  1602. package/node_modules/npm/docs/output/configuring-npm/folders.html +331 -0
  1603. package/node_modules/npm/docs/output/configuring-npm/install.html +249 -0
  1604. package/node_modules/npm/docs/output/configuring-npm/npm-global.html +331 -0
  1605. package/node_modules/npm/docs/output/configuring-npm/npm-json.html +1097 -0
  1606. package/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +229 -0
  1607. package/node_modules/npm/docs/output/configuring-npm/npmrc.html +347 -0
  1608. package/node_modules/npm/docs/output/configuring-npm/package-json.html +1097 -0
  1609. package/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +391 -0
  1610. package/node_modules/npm/docs/output/using-npm/config.html +1956 -0
  1611. package/node_modules/npm/docs/output/using-npm/dependency-selectors.html +425 -0
  1612. package/node_modules/npm/docs/output/using-npm/developers.html +389 -0
  1613. package/node_modules/npm/docs/output/using-npm/logging.html +284 -0
  1614. package/node_modules/npm/docs/output/using-npm/orgs.html +294 -0
  1615. package/node_modules/npm/docs/output/using-npm/package-spec.html +295 -0
  1616. package/node_modules/npm/docs/output/using-npm/registry.html +255 -0
  1617. package/node_modules/npm/docs/output/using-npm/removal.html +245 -0
  1618. package/node_modules/npm/docs/output/using-npm/scope.html +290 -0
  1619. package/node_modules/npm/docs/output/using-npm/scripts.html +539 -0
  1620. package/node_modules/npm/docs/output/using-npm/workspaces.html +352 -0
  1621. package/node_modules/npm/index.js +5 -0
  1622. package/node_modules/npm/lib/arborist-cmd.js +49 -0
  1623. package/node_modules/npm/lib/base-cmd.js +437 -0
  1624. package/node_modules/npm/lib/cli/entry.js +72 -0
  1625. package/node_modules/npm/lib/cli/exit-handler.js +168 -0
  1626. package/node_modules/npm/lib/cli/update-notifier.js +115 -0
  1627. package/node_modules/npm/lib/cli/validate-engines.js +43 -0
  1628. package/node_modules/npm/lib/cli.js +12 -0
  1629. package/node_modules/npm/lib/commands/access.js +226 -0
  1630. package/node_modules/npm/lib/commands/adduser.js +50 -0
  1631. package/node_modules/npm/lib/commands/approve-scripts.js +10 -0
  1632. package/node_modules/npm/lib/commands/audit.js +138 -0
  1633. package/node_modules/npm/lib/commands/bugs.js +34 -0
  1634. package/node_modules/npm/lib/commands/cache.js +363 -0
  1635. package/node_modules/npm/lib/commands/ci.js +138 -0
  1636. package/node_modules/npm/lib/commands/completion.js +329 -0
  1637. package/node_modules/npm/lib/commands/config.js +414 -0
  1638. package/node_modules/npm/lib/commands/dedupe.js +57 -0
  1639. package/node_modules/npm/lib/commands/deny-scripts.js +10 -0
  1640. package/node_modules/npm/lib/commands/deprecate.js +86 -0
  1641. package/node_modules/npm/lib/commands/diff.js +280 -0
  1642. package/node_modules/npm/lib/commands/dist-tag.js +207 -0
  1643. package/node_modules/npm/lib/commands/docs.js +21 -0
  1644. package/node_modules/npm/lib/commands/doctor.js +343 -0
  1645. package/node_modules/npm/lib/commands/edit.js +64 -0
  1646. package/node_modules/npm/lib/commands/exec.js +119 -0
  1647. package/node_modules/npm/lib/commands/explain.js +128 -0
  1648. package/node_modules/npm/lib/commands/explore.js +70 -0
  1649. package/node_modules/npm/lib/commands/find-dupes.js +27 -0
  1650. package/node_modules/npm/lib/commands/fund.js +215 -0
  1651. package/node_modules/npm/lib/commands/get.js +21 -0
  1652. package/node_modules/npm/lib/commands/help-search.js +194 -0
  1653. package/node_modules/npm/lib/commands/help.js +113 -0
  1654. package/node_modules/npm/lib/commands/init.js +240 -0
  1655. package/node_modules/npm/lib/commands/install-ci-test.js +13 -0
  1656. package/node_modules/npm/lib/commands/install-scripts.js +53 -0
  1657. package/node_modules/npm/lib/commands/install-test.js +13 -0
  1658. package/node_modules/npm/lib/commands/install.js +184 -0
  1659. package/node_modules/npm/lib/commands/link.js +205 -0
  1660. package/node_modules/npm/lib/commands/ll.js +13 -0
  1661. package/node_modules/npm/lib/commands/login.js +50 -0
  1662. package/node_modules/npm/lib/commands/logout.js +50 -0
  1663. package/node_modules/npm/lib/commands/ls.js +572 -0
  1664. package/node_modules/npm/lib/commands/org.js +148 -0
  1665. package/node_modules/npm/lib/commands/outdated.js +294 -0
  1666. package/node_modules/npm/lib/commands/owner.js +244 -0
  1667. package/node_modules/npm/lib/commands/pack.js +98 -0
  1668. package/node_modules/npm/lib/commands/ping.js +30 -0
  1669. package/node_modules/npm/lib/commands/pkg.js +127 -0
  1670. package/node_modules/npm/lib/commands/prefix.js +14 -0
  1671. package/node_modules/npm/lib/commands/profile.js +366 -0
  1672. package/node_modules/npm/lib/commands/prune.js +36 -0
  1673. package/node_modules/npm/lib/commands/publish.js +314 -0
  1674. package/node_modules/npm/lib/commands/query.js +164 -0
  1675. package/node_modules/npm/lib/commands/rebuild.js +123 -0
  1676. package/node_modules/npm/lib/commands/repo.js +55 -0
  1677. package/node_modules/npm/lib/commands/restart.js +13 -0
  1678. package/node_modules/npm/lib/commands/root.js +14 -0
  1679. package/node_modules/npm/lib/commands/run.js +222 -0
  1680. package/node_modules/npm/lib/commands/sbom.js +130 -0
  1681. package/node_modules/npm/lib/commands/search.js +70 -0
  1682. package/node_modules/npm/lib/commands/set.js +24 -0
  1683. package/node_modules/npm/lib/commands/shrinkwrap.js +70 -0
  1684. package/node_modules/npm/lib/commands/stage/approve.js +35 -0
  1685. package/node_modules/npm/lib/commands/stage/download.js +70 -0
  1686. package/node_modules/npm/lib/commands/stage/index.js +25 -0
  1687. package/node_modules/npm/lib/commands/stage/list.js +72 -0
  1688. package/node_modules/npm/lib/commands/stage/publish.js +13 -0
  1689. package/node_modules/npm/lib/commands/stage/reject.js +37 -0
  1690. package/node_modules/npm/lib/commands/stage/view.js +34 -0
  1691. package/node_modules/npm/lib/commands/star.js +72 -0
  1692. package/node_modules/npm/lib/commands/stars.js +39 -0
  1693. package/node_modules/npm/lib/commands/start.js +13 -0
  1694. package/node_modules/npm/lib/commands/stop.js +13 -0
  1695. package/node_modules/npm/lib/commands/team.js +158 -0
  1696. package/node_modules/npm/lib/commands/test.js +13 -0
  1697. package/node_modules/npm/lib/commands/token.js +285 -0
  1698. package/node_modules/npm/lib/commands/trust/circleci.js +178 -0
  1699. package/node_modules/npm/lib/commands/trust/github.js +107 -0
  1700. package/node_modules/npm/lib/commands/trust/gitlab.js +108 -0
  1701. package/node_modules/npm/lib/commands/trust/index.js +25 -0
  1702. package/node_modules/npm/lib/commands/trust/list.js +50 -0
  1703. package/node_modules/npm/lib/commands/trust/revoke.js +52 -0
  1704. package/node_modules/npm/lib/commands/undeprecate.js +13 -0
  1705. package/node_modules/npm/lib/commands/uninstall.js +57 -0
  1706. package/node_modules/npm/lib/commands/unpublish.js +163 -0
  1707. package/node_modules/npm/lib/commands/unstar.js +8 -0
  1708. package/node_modules/npm/lib/commands/update.js +77 -0
  1709. package/node_modules/npm/lib/commands/version.js +152 -0
  1710. package/node_modules/npm/lib/commands/view.js +488 -0
  1711. package/node_modules/npm/lib/commands/whoami.js +20 -0
  1712. package/node_modules/npm/lib/lifecycle-cmd.js +20 -0
  1713. package/node_modules/npm/lib/npm.js +526 -0
  1714. package/node_modules/npm/lib/package-url-cmd.js +63 -0
  1715. package/node_modules/npm/lib/trust-cmd.js +345 -0
  1716. package/node_modules/npm/lib/utils/allow-scripts-cmd.js +403 -0
  1717. package/node_modules/npm/lib/utils/allow-scripts-prune.js +47 -0
  1718. package/node_modules/npm/lib/utils/allow-scripts-remediation.js +9 -0
  1719. package/node_modules/npm/lib/utils/allow-scripts-writer.js +362 -0
  1720. package/node_modules/npm/lib/utils/audit-error.js +40 -0
  1721. package/node_modules/npm/lib/utils/auth.js +108 -0
  1722. package/node_modules/npm/lib/utils/check-allow-scripts.js +27 -0
  1723. package/node_modules/npm/lib/utils/cmd-list.js +183 -0
  1724. package/node_modules/npm/lib/utils/completion.fish +40 -0
  1725. package/node_modules/npm/lib/utils/completion.sh +70 -0
  1726. package/node_modules/npm/lib/utils/did-you-mean.js +33 -0
  1727. package/node_modules/npm/lib/utils/display.js +558 -0
  1728. package/node_modules/npm/lib/utils/error-message.js +453 -0
  1729. package/node_modules/npm/lib/utils/explain-dep.js +116 -0
  1730. package/node_modules/npm/lib/utils/explain-eresolve.js +64 -0
  1731. package/node_modules/npm/lib/utils/format-bytes.js +29 -0
  1732. package/node_modules/npm/lib/utils/format-search-stream.js +175 -0
  1733. package/node_modules/npm/lib/utils/format.js +56 -0
  1734. package/node_modules/npm/lib/utils/get-identity.js +25 -0
  1735. package/node_modules/npm/lib/utils/get-workspaces.js +54 -0
  1736. package/node_modules/npm/lib/utils/installed-deep.js +45 -0
  1737. package/node_modules/npm/lib/utils/installed-shallow.js +19 -0
  1738. package/node_modules/npm/lib/utils/is-windows.js +4 -0
  1739. package/node_modules/npm/lib/utils/key-values.js +42 -0
  1740. package/node_modules/npm/lib/utils/log-file.js +247 -0
  1741. package/node_modules/npm/lib/utils/npm-usage.js +74 -0
  1742. package/node_modules/npm/lib/utils/oidc.js +177 -0
  1743. package/node_modules/npm/lib/utils/open-url.js +97 -0
  1744. package/node_modules/npm/lib/utils/output-error.js +30 -0
  1745. package/node_modules/npm/lib/utils/ping.js +6 -0
  1746. package/node_modules/npm/lib/utils/queryable.js +292 -0
  1747. package/node_modules/npm/lib/utils/read-user-info.js +69 -0
  1748. package/node_modules/npm/lib/utils/reify-finish.js +25 -0
  1749. package/node_modules/npm/lib/utils/reify-output.js +291 -0
  1750. package/node_modules/npm/lib/utils/resolve-allow-scripts.js +181 -0
  1751. package/node_modules/npm/lib/utils/sbom-cyclonedx.js +210 -0
  1752. package/node_modules/npm/lib/utils/sbom-spdx.js +211 -0
  1753. package/node_modules/npm/lib/utils/strict-allow-scripts-preflight.js +76 -0
  1754. package/node_modules/npm/lib/utils/tar.js +110 -0
  1755. package/node_modules/npm/lib/utils/timers.js +89 -0
  1756. package/node_modules/npm/lib/utils/update-workspaces.js +37 -0
  1757. package/node_modules/npm/lib/utils/validate-lockfile.js +29 -0
  1758. package/node_modules/npm/lib/utils/validate-uuid.js +10 -0
  1759. package/node_modules/npm/lib/utils/verify-signatures.js +397 -0
  1760. package/node_modules/npm/lib/utils/warn-workspace-allow-scripts.js +40 -0
  1761. package/node_modules/npm/man/man1/npm-access.1 +105 -0
  1762. package/node_modules/npm/man/man1/npm-adduser.1 +93 -0
  1763. package/node_modules/npm/man/man1/npm-approve-scripts.1 +117 -0
  1764. package/node_modules/npm/man/man1/npm-audit.1 +466 -0
  1765. package/node_modules/npm/man/man1/npm-bugs.1 +115 -0
  1766. package/node_modules/npm/man/man1/npm-cache.1 +95 -0
  1767. package/node_modules/npm/man/man1/npm-ci.1 +377 -0
  1768. package/node_modules/npm/man/man1/npm-completion.1 +35 -0
  1769. package/node_modules/npm/man/man1/npm-config.1 +186 -0
  1770. package/node_modules/npm/man/man1/npm-dedupe.1 +340 -0
  1771. package/node_modules/npm/man/man1/npm-deny-scripts.1 +99 -0
  1772. package/node_modules/npm/man/man1/npm-deprecate.1 +85 -0
  1773. package/node_modules/npm/man/man1/npm-diff.1 +310 -0
  1774. package/node_modules/npm/man/man1/npm-dist-tag.1 +144 -0
  1775. package/node_modules/npm/man/man1/npm-docs.1 +113 -0
  1776. package/node_modules/npm/man/man1/npm-doctor.1 +82 -0
  1777. package/node_modules/npm/man/man1/npm-edit.1 +43 -0
  1778. package/node_modules/npm/man/man1/npm-exec.1 +388 -0
  1779. package/node_modules/npm/man/man1/npm-explain.1 +118 -0
  1780. package/node_modules/npm/man/man1/npm-explore.1 +49 -0
  1781. package/node_modules/npm/man/man1/npm-find-dupes.1 +227 -0
  1782. package/node_modules/npm/man/man1/npm-fund.1 +142 -0
  1783. package/node_modules/npm/man/man1/npm-get.1 +31 -0
  1784. package/node_modules/npm/man/man1/npm-help-search.1 +37 -0
  1785. package/node_modules/npm/man/man1/npm-help.1 +47 -0
  1786. package/node_modules/npm/man/man1/npm-init.1 +393 -0
  1787. package/node_modules/npm/man/man1/npm-install-ci-test.1 +327 -0
  1788. package/node_modules/npm/man/man1/npm-install-scripts.1 +133 -0
  1789. package/node_modules/npm/man/man1/npm-install-test.1 +497 -0
  1790. package/node_modules/npm/man/man1/npm-install.1 +941 -0
  1791. package/node_modules/npm/man/man1/npm-link.1 +405 -0
  1792. package/node_modules/npm/man/man1/npm-ll.1 +231 -0
  1793. package/node_modules/npm/man/man1/npm-login.1 +97 -0
  1794. package/node_modules/npm/man/man1/npm-logout.1 +75 -0
  1795. package/node_modules/npm/man/man1/npm-ls.1 +271 -0
  1796. package/node_modules/npm/man/man1/npm-org.1 +125 -0
  1797. package/node_modules/npm/man/man1/npm-outdated.1 +247 -0
  1798. package/node_modules/npm/man/man1/npm-owner.1 +110 -0
  1799. package/node_modules/npm/man/man1/npm-pack.1 +142 -0
  1800. package/node_modules/npm/man/man1/npm-ping.1 +52 -0
  1801. package/node_modules/npm/man/man1/npm-pkg.1 +286 -0
  1802. package/node_modules/npm/man/man1/npm-prefix.1 +63 -0
  1803. package/node_modules/npm/man/man1/npm-profile.1 +126 -0
  1804. package/node_modules/npm/man/man1/npm-prune.1 +184 -0
  1805. package/node_modules/npm/man/man1/npm-publish.1 +263 -0
  1806. package/node_modules/npm/man/man1/npm-query.1 +344 -0
  1807. package/node_modules/npm/man/man1/npm-rebuild.1 +216 -0
  1808. package/node_modules/npm/man/man1/npm-repo.1 +103 -0
  1809. package/node_modules/npm/man/man1/npm-restart.1 +84 -0
  1810. package/node_modules/npm/man/man1/npm-root.1 +56 -0
  1811. package/node_modules/npm/man/man1/npm-run.1 +234 -0
  1812. package/node_modules/npm/man/man1/npm-sbom.1 +314 -0
  1813. package/node_modules/npm/man/man1/npm-search.1 +156 -0
  1814. package/node_modules/npm/man/man1/npm-set.1 +61 -0
  1815. package/node_modules/npm/man/man1/npm-shrinkwrap.1 +32 -0
  1816. package/node_modules/npm/man/man1/npm-stage.1 +178 -0
  1817. package/node_modules/npm/man/man1/npm-star.1 +76 -0
  1818. package/node_modules/npm/man/man1/npm-stars.1 +41 -0
  1819. package/node_modules/npm/man/man1/npm-start.1 +79 -0
  1820. package/node_modules/npm/man/man1/npm-stop.1 +75 -0
  1821. package/node_modules/npm/man/man1/npm-team.1 +148 -0
  1822. package/node_modules/npm/man/man1/npm-test.1 +73 -0
  1823. package/node_modules/npm/man/man1/npm-token.1 +200 -0
  1824. package/node_modules/npm/man/man1/npm-trust.1 +143 -0
  1825. package/node_modules/npm/man/man1/npm-undeprecate.1 +57 -0
  1826. package/node_modules/npm/man/man1/npm-uninstall.1 +159 -0
  1827. package/node_modules/npm/man/man1/npm-unpublish.1 +137 -0
  1828. package/node_modules/npm/man/man1/npm-unstar.1 +70 -0
  1829. package/node_modules/npm/man/man1/npm-update.1 +509 -0
  1830. package/node_modules/npm/man/man1/npm-version.1 +259 -0
  1831. package/node_modules/npm/man/man1/npm-view.1 +284 -0
  1832. package/node_modules/npm/man/man1/npm-whoami.1 +39 -0
  1833. package/node_modules/npm/man/man1/npm.1 +131 -0
  1834. package/node_modules/npm/man/man1/npx.1 +158 -0
  1835. package/node_modules/npm/man/man5/folders.5 +147 -0
  1836. package/node_modules/npm/man/man5/install.5 +54 -0
  1837. package/node_modules/npm/man/man5/npm-global.5 +147 -0
  1838. package/node_modules/npm/man/man5/npm-json.5 +1269 -0
  1839. package/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +23 -0
  1840. package/node_modules/npm/man/man5/npmrc.5 +195 -0
  1841. package/node_modules/npm/man/man5/package-json.5 +1269 -0
  1842. package/node_modules/npm/man/man5/package-lock-json.5 +166 -0
  1843. package/node_modules/npm/man/man7/config.7 +2379 -0
  1844. package/node_modules/npm/man/man7/dependency-selectors.7 +331 -0
  1845. package/node_modules/npm/man/man7/developers.7 +251 -0
  1846. package/node_modules/npm/man/man7/logging.7 +108 -0
  1847. package/node_modules/npm/man/man7/orgs.7 +145 -0
  1848. package/node_modules/npm/man/man7/package-spec.7 +126 -0
  1849. package/node_modules/npm/man/man7/registry.7 +49 -0
  1850. package/node_modules/npm/man/man7/removal.7 +54 -0
  1851. package/node_modules/npm/man/man7/scope.7 +113 -0
  1852. package/node_modules/npm/man/man7/scripts.7 +467 -0
  1853. package/node_modules/npm/man/man7/workspaces.7 +236 -0
  1854. package/node_modules/npm/package.json +259 -0
  1855. package/node_modules/npm-audit-report/LICENSE +16 -0
  1856. package/node_modules/npm-audit-report/lib/colors.js +22 -0
  1857. package/node_modules/npm-audit-report/lib/exit-code.js +14 -0
  1858. package/node_modules/npm-audit-report/lib/index.js +41 -0
  1859. package/node_modules/npm-audit-report/lib/reporters/detail.js +86 -0
  1860. package/node_modules/npm-audit-report/lib/reporters/install.js +75 -0
  1861. package/node_modules/npm-audit-report/lib/reporters/json.js +1 -0
  1862. package/node_modules/npm-audit-report/lib/reporters/quiet.js +1 -0
  1863. package/node_modules/npm-audit-report/package.json +62 -0
  1864. package/node_modules/npm-bundled/LICENSE +15 -0
  1865. package/node_modules/npm-bundled/lib/index.js +254 -0
  1866. package/node_modules/npm-bundled/package.json +49 -0
  1867. package/node_modules/npm-install-checks/LICENSE +27 -0
  1868. package/node_modules/npm-install-checks/lib/current-env.js +91 -0
  1869. package/node_modules/npm-install-checks/lib/dev-engines.js +145 -0
  1870. package/node_modules/npm-install-checks/lib/index.js +90 -0
  1871. package/node_modules/npm-install-checks/package.json +52 -0
  1872. package/node_modules/npm-normalize-package-bin/LICENSE +15 -0
  1873. package/node_modules/npm-normalize-package-bin/lib/index.js +64 -0
  1874. package/node_modules/npm-normalize-package-bin/package.json +45 -0
  1875. package/node_modules/npm-package-arg/LICENSE +15 -0
  1876. package/node_modules/npm-package-arg/lib/npa.js +479 -0
  1877. package/node_modules/npm-package-arg/package.json +60 -0
  1878. package/node_modules/npm-packlist/LICENSE +15 -0
  1879. package/node_modules/npm-packlist/lib/index.js +464 -0
  1880. package/node_modules/npm-packlist/package.json +62 -0
  1881. package/node_modules/npm-pick-manifest/LICENSE.md +16 -0
  1882. package/node_modules/npm-pick-manifest/lib/index.js +219 -0
  1883. package/node_modules/npm-pick-manifest/package.json +58 -0
  1884. package/node_modules/npm-profile/LICENSE.md +20 -0
  1885. package/node_modules/npm-profile/lib/index.js +305 -0
  1886. package/node_modules/npm-profile/package.json +52 -0
  1887. package/node_modules/npm-registry-fetch/LICENSE.md +20 -0
  1888. package/node_modules/npm-registry-fetch/lib/auth.js +181 -0
  1889. package/node_modules/npm-registry-fetch/lib/check-response.js +108 -0
  1890. package/node_modules/npm-registry-fetch/lib/default-opts.js +19 -0
  1891. package/node_modules/npm-registry-fetch/lib/errors.js +80 -0
  1892. package/node_modules/npm-registry-fetch/lib/index.js +248 -0
  1893. package/node_modules/npm-registry-fetch/lib/json-stream.js +223 -0
  1894. package/node_modules/npm-registry-fetch/package.json +68 -0
  1895. package/node_modules/npm-user-validate/LICENSE +27 -0
  1896. package/node_modules/npm-user-validate/lib/index.js +61 -0
  1897. package/node_modules/npm-user-validate/package.json +50 -0
  1898. package/node_modules/p-map/index.js +283 -0
  1899. package/node_modules/p-map/license +9 -0
  1900. package/node_modules/p-map/package.json +57 -0
  1901. package/node_modules/pacote/LICENSE +15 -0
  1902. package/node_modules/pacote/README.md +251 -0
  1903. package/node_modules/pacote/bin/index.js +158 -0
  1904. package/node_modules/pacote/lib/dir.js +105 -0
  1905. package/node_modules/pacote/lib/fetcher.js +519 -0
  1906. package/node_modules/pacote/lib/file.js +94 -0
  1907. package/node_modules/pacote/lib/git.js +329 -0
  1908. package/node_modules/pacote/lib/index.js +23 -0
  1909. package/node_modules/pacote/lib/registry.js +373 -0
  1910. package/node_modules/pacote/lib/remote.js +89 -0
  1911. package/node_modules/pacote/lib/util/add-git-sha.js +18 -0
  1912. package/node_modules/pacote/lib/util/cache-dir.js +15 -0
  1913. package/node_modules/pacote/lib/util/is-package-bin.js +25 -0
  1914. package/node_modules/pacote/lib/util/npm.js +14 -0
  1915. package/node_modules/pacote/lib/util/protected.js +5 -0
  1916. package/node_modules/pacote/lib/util/tar-create-options.js +31 -0
  1917. package/node_modules/pacote/lib/util/trailing-slashes.js +10 -0
  1918. package/node_modules/pacote/package.json +80 -0
  1919. package/node_modules/parse-conflict-json/LICENSE.md +20 -0
  1920. package/node_modules/parse-conflict-json/lib/index.js +104 -0
  1921. package/node_modules/parse-conflict-json/package.json +51 -0
  1922. package/node_modules/path-scurry/LICENSE.md +55 -0
  1923. package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
  1924. package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  1925. package/node_modules/path-scurry/dist/esm/index.js +1983 -0
  1926. package/node_modules/path-scurry/dist/esm/package.json +3 -0
  1927. package/node_modules/path-scurry/package.json +72 -0
  1928. package/node_modules/picomatch/LICENSE +21 -0
  1929. package/node_modules/picomatch/index.js +17 -0
  1930. package/node_modules/picomatch/lib/constants.js +184 -0
  1931. package/node_modules/picomatch/lib/parse.js +1386 -0
  1932. package/node_modules/picomatch/lib/picomatch.js +349 -0
  1933. package/node_modules/picomatch/lib/scan.js +391 -0
  1934. package/node_modules/picomatch/lib/utils.js +72 -0
  1935. package/node_modules/picomatch/package.json +82 -0
  1936. package/node_modules/picomatch/posix.js +3 -0
  1937. package/node_modules/postcss-selector-parser/API.md +874 -0
  1938. package/node_modules/postcss-selector-parser/LICENSE-MIT +22 -0
  1939. package/node_modules/postcss-selector-parser/dist/index.js +44 -0
  1940. package/node_modules/postcss-selector-parser/dist/parser.js +1105 -0
  1941. package/node_modules/postcss-selector-parser/dist/processor.js +153 -0
  1942. package/node_modules/postcss-selector-parser/dist/selectors/attribute.js +440 -0
  1943. package/node_modules/postcss-selector-parser/dist/selectors/className.js +59 -0
  1944. package/node_modules/postcss-selector-parser/dist/selectors/combinator.js +33 -0
  1945. package/node_modules/postcss-selector-parser/dist/selectors/comment.js +33 -0
  1946. package/node_modules/postcss-selector-parser/dist/selectors/constructors.js +43 -0
  1947. package/node_modules/postcss-selector-parser/dist/selectors/container.js +433 -0
  1948. package/node_modules/postcss-selector-parser/dist/selectors/guards.js +61 -0
  1949. package/node_modules/postcss-selector-parser/dist/selectors/id.js +36 -0
  1950. package/node_modules/postcss-selector-parser/dist/selectors/index.js +20 -0
  1951. package/node_modules/postcss-selector-parser/dist/selectors/namespace.js +96 -0
  1952. package/node_modules/postcss-selector-parser/dist/selectors/nesting.js +34 -0
  1953. package/node_modules/postcss-selector-parser/dist/selectors/node.js +195 -0
  1954. package/node_modules/postcss-selector-parser/dist/selectors/pseudo.js +45 -0
  1955. package/node_modules/postcss-selector-parser/dist/selectors/root.js +56 -0
  1956. package/node_modules/postcss-selector-parser/dist/selectors/selector.js +33 -0
  1957. package/node_modules/postcss-selector-parser/dist/selectors/string.js +33 -0
  1958. package/node_modules/postcss-selector-parser/dist/selectors/tag.js +33 -0
  1959. package/node_modules/postcss-selector-parser/dist/selectors/types.js +16 -0
  1960. package/node_modules/postcss-selector-parser/dist/selectors/universal.js +34 -0
  1961. package/node_modules/postcss-selector-parser/dist/sortAscending.js +7 -0
  1962. package/node_modules/postcss-selector-parser/dist/tokenTypes.js +37 -0
  1963. package/node_modules/postcss-selector-parser/dist/tokenize.js +301 -0
  1964. package/node_modules/postcss-selector-parser/dist/util/ensureObject.js +17 -0
  1965. package/node_modules/postcss-selector-parser/dist/util/getProp.js +18 -0
  1966. package/node_modules/postcss-selector-parser/dist/util/index.js +18 -0
  1967. package/node_modules/postcss-selector-parser/dist/util/maxNestingDepth.js +25 -0
  1968. package/node_modules/postcss-selector-parser/dist/util/stripComments.js +20 -0
  1969. package/node_modules/postcss-selector-parser/dist/util/unesc.js +72 -0
  1970. package/node_modules/postcss-selector-parser/package.json +63 -0
  1971. package/node_modules/proc-log/LICENSE +15 -0
  1972. package/node_modules/proc-log/lib/index.js +158 -0
  1973. package/node_modules/proc-log/package.json +46 -0
  1974. package/node_modules/proggy/LICENSE +15 -0
  1975. package/node_modules/proggy/lib/client.js +114 -0
  1976. package/node_modules/proggy/lib/index.js +15 -0
  1977. package/node_modules/proggy/lib/tracker.js +68 -0
  1978. package/node_modules/proggy/package.json +50 -0
  1979. package/node_modules/promise-all-reject-late/LICENSE +15 -0
  1980. package/node_modules/promise-all-reject-late/index.js +27 -0
  1981. package/node_modules/promise-all-reject-late/package.json +22 -0
  1982. package/node_modules/promise-all-reject-late/test/index.js +88 -0
  1983. package/node_modules/promise-call-limit/LICENSE +15 -0
  1984. package/node_modules/promise-call-limit/dist/commonjs/index.js +87 -0
  1985. package/node_modules/promise-call-limit/dist/commonjs/package.json +3 -0
  1986. package/node_modules/promise-call-limit/dist/esm/index.js +60 -0
  1987. package/node_modules/promise-call-limit/dist/esm/package.json +3 -0
  1988. package/node_modules/promise-call-limit/package.json +68 -0
  1989. package/node_modules/promzard/LICENSE +15 -0
  1990. package/node_modules/promzard/lib/index.js +176 -0
  1991. package/node_modules/promzard/package.json +50 -0
  1992. package/node_modules/qrcode-terminal/.travis.yml +3 -0
  1993. package/node_modules/qrcode-terminal/LICENSE +222 -0
  1994. package/node_modules/qrcode-terminal/README.md +82 -0
  1995. package/node_modules/qrcode-terminal/bin/qrcode-terminal.js +101 -0
  1996. package/node_modules/qrcode-terminal/example/basic.js +2 -0
  1997. package/node_modules/qrcode-terminal/example/basic.png +0 -0
  1998. package/node_modules/qrcode-terminal/example/callback.js +4 -0
  1999. package/node_modules/qrcode-terminal/example/small-qrcode.js +6 -0
  2000. package/node_modules/qrcode-terminal/lib/main.js +100 -0
  2001. package/node_modules/qrcode-terminal/package.json +37 -0
  2002. package/node_modules/qrcode-terminal/test/main.js +63 -0
  2003. package/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +22 -0
  2004. package/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +38 -0
  2005. package/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +7 -0
  2006. package/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +10 -0
  2007. package/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +44 -0
  2008. package/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +6 -0
  2009. package/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +66 -0
  2010. package/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +298 -0
  2011. package/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +272 -0
  2012. package/node_modules/qrcode-terminal/vendor/QRCode/index.js +462 -0
  2013. package/node_modules/read/LICENSE +15 -0
  2014. package/node_modules/read/dist/commonjs/package.json +3 -0
  2015. package/node_modules/read/dist/commonjs/read.js +94 -0
  2016. package/node_modules/read/dist/esm/package.json +3 -0
  2017. package/node_modules/read/dist/esm/read.js +88 -0
  2018. package/node_modules/read/package.json +88 -0
  2019. package/node_modules/read-cmd-shim/LICENSE +14 -0
  2020. package/node_modules/read-cmd-shim/lib/index.js +75 -0
  2021. package/node_modules/read-cmd-shim/package.json +48 -0
  2022. package/node_modules/safer-buffer/LICENSE +21 -0
  2023. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  2024. package/node_modules/safer-buffer/dangerous.js +58 -0
  2025. package/node_modules/safer-buffer/package.json +34 -0
  2026. package/node_modules/safer-buffer/safer.js +77 -0
  2027. package/node_modules/safer-buffer/tests.js +406 -0
  2028. package/node_modules/semver/LICENSE +15 -0
  2029. package/node_modules/semver/README.md +680 -0
  2030. package/node_modules/semver/bin/semver.js +195 -0
  2031. package/node_modules/semver/classes/comparator.js +143 -0
  2032. package/node_modules/semver/classes/index.js +7 -0
  2033. package/node_modules/semver/classes/range.js +577 -0
  2034. package/node_modules/semver/classes/semver.js +350 -0
  2035. package/node_modules/semver/functions/clean.js +8 -0
  2036. package/node_modules/semver/functions/cmp.js +54 -0
  2037. package/node_modules/semver/functions/coerce.js +62 -0
  2038. package/node_modules/semver/functions/compare-build.js +9 -0
  2039. package/node_modules/semver/functions/compare-loose.js +5 -0
  2040. package/node_modules/semver/functions/compare.js +7 -0
  2041. package/node_modules/semver/functions/diff.js +60 -0
  2042. package/node_modules/semver/functions/eq.js +5 -0
  2043. package/node_modules/semver/functions/gt.js +5 -0
  2044. package/node_modules/semver/functions/gte.js +5 -0
  2045. package/node_modules/semver/functions/inc.js +21 -0
  2046. package/node_modules/semver/functions/lt.js +5 -0
  2047. package/node_modules/semver/functions/lte.js +5 -0
  2048. package/node_modules/semver/functions/major.js +5 -0
  2049. package/node_modules/semver/functions/minor.js +5 -0
  2050. package/node_modules/semver/functions/neq.js +5 -0
  2051. package/node_modules/semver/functions/parse.js +18 -0
  2052. package/node_modules/semver/functions/patch.js +5 -0
  2053. package/node_modules/semver/functions/prerelease.js +8 -0
  2054. package/node_modules/semver/functions/rcompare.js +5 -0
  2055. package/node_modules/semver/functions/rsort.js +5 -0
  2056. package/node_modules/semver/functions/satisfies.js +12 -0
  2057. package/node_modules/semver/functions/sort.js +5 -0
  2058. package/node_modules/semver/functions/truncate.js +48 -0
  2059. package/node_modules/semver/functions/valid.js +8 -0
  2060. package/node_modules/semver/index.js +93 -0
  2061. package/node_modules/semver/internal/constants.js +37 -0
  2062. package/node_modules/semver/internal/debug.js +11 -0
  2063. package/node_modules/semver/internal/identifiers.js +29 -0
  2064. package/node_modules/semver/internal/lrucache.js +42 -0
  2065. package/node_modules/semver/internal/parse-options.js +17 -0
  2066. package/node_modules/semver/internal/re.js +223 -0
  2067. package/node_modules/semver/package.json +78 -0
  2068. package/node_modules/semver/preload.js +4 -0
  2069. package/node_modules/semver/range.bnf +17 -0
  2070. package/node_modules/semver/ranges/gtr.js +6 -0
  2071. package/node_modules/semver/ranges/intersects.js +9 -0
  2072. package/node_modules/semver/ranges/ltr.js +6 -0
  2073. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  2074. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  2075. package/node_modules/semver/ranges/min-version.js +63 -0
  2076. package/node_modules/semver/ranges/outside.js +82 -0
  2077. package/node_modules/semver/ranges/simplify.js +49 -0
  2078. package/node_modules/semver/ranges/subset.js +249 -0
  2079. package/node_modules/semver/ranges/to-comparators.js +10 -0
  2080. package/node_modules/semver/ranges/valid.js +13 -0
  2081. package/node_modules/signal-exit/LICENSE.txt +16 -0
  2082. package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  2083. package/node_modules/signal-exit/dist/cjs/index.js +279 -0
  2084. package/node_modules/signal-exit/dist/cjs/package.json +3 -0
  2085. package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  2086. package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  2087. package/node_modules/signal-exit/dist/mjs/index.js +275 -0
  2088. package/node_modules/signal-exit/dist/mjs/package.json +3 -0
  2089. package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  2090. package/node_modules/signal-exit/package.json +106 -0
  2091. package/node_modules/sigstore/LICENSE +202 -0
  2092. package/node_modules/sigstore/dist/config.js +126 -0
  2093. package/node_modules/sigstore/dist/index.js +34 -0
  2094. package/node_modules/sigstore/dist/sigstore.js +112 -0
  2095. package/node_modules/sigstore/package.json +47 -0
  2096. package/node_modules/smart-buffer/LICENSE +20 -0
  2097. package/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
  2098. package/node_modules/smart-buffer/build/utils.js +108 -0
  2099. package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  2100. package/node_modules/smart-buffer/package.json +79 -0
  2101. package/node_modules/socks/LICENSE +20 -0
  2102. package/node_modules/socks/build/client/socksclient.js +793 -0
  2103. package/node_modules/socks/build/common/constants.js +108 -0
  2104. package/node_modules/socks/build/common/helpers.js +167 -0
  2105. package/node_modules/socks/build/common/receivebuffer.js +43 -0
  2106. package/node_modules/socks/build/common/util.js +25 -0
  2107. package/node_modules/socks/build/index.js +18 -0
  2108. package/node_modules/socks/docs/examples/index.md +17 -0
  2109. package/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
  2110. package/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
  2111. package/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
  2112. package/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
  2113. package/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
  2114. package/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
  2115. package/node_modules/socks/docs/index.md +5 -0
  2116. package/node_modules/socks/docs/migratingFromV1.md +86 -0
  2117. package/node_modules/socks/package.json +58 -0
  2118. package/node_modules/socks-proxy-agent/LICENSE +22 -0
  2119. package/node_modules/socks-proxy-agent/dist/index.js +195 -0
  2120. package/node_modules/socks-proxy-agent/package.json +142 -0
  2121. package/node_modules/spdx-exceptions/deprecated.json +3 -0
  2122. package/node_modules/spdx-exceptions/index.json +68 -0
  2123. package/node_modules/spdx-exceptions/package.json +19 -0
  2124. package/node_modules/spdx-expression-parse/AUTHORS +4 -0
  2125. package/node_modules/spdx-expression-parse/LICENSE +22 -0
  2126. package/node_modules/spdx-expression-parse/index.js +8 -0
  2127. package/node_modules/spdx-expression-parse/package.json +39 -0
  2128. package/node_modules/spdx-expression-parse/parse.js +138 -0
  2129. package/node_modules/spdx-expression-parse/scan.js +131 -0
  2130. package/node_modules/spdx-license-ids/deprecated.json +28 -0
  2131. package/node_modules/spdx-license-ids/index.json +697 -0
  2132. package/node_modules/spdx-license-ids/package.json +29 -0
  2133. package/node_modules/ssri/LICENSE.md +16 -0
  2134. package/node_modules/ssri/lib/index.js +550 -0
  2135. package/node_modules/ssri/package.json +66 -0
  2136. package/node_modules/supports-color/browser.js +35 -0
  2137. package/node_modules/supports-color/index.js +202 -0
  2138. package/node_modules/supports-color/license +9 -0
  2139. package/node_modules/supports-color/package.json +64 -0
  2140. package/node_modules/tar/LICENSE.md +55 -0
  2141. package/node_modules/tar/dist/commonjs/create.js +82 -0
  2142. package/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  2143. package/node_modules/tar/dist/commonjs/extract.js +88 -0
  2144. package/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
  2145. package/node_modules/tar/dist/commonjs/header.js +348 -0
  2146. package/node_modules/tar/dist/commonjs/index.js +64 -0
  2147. package/node_modules/tar/dist/commonjs/index.min.js +4 -0
  2148. package/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  2149. package/node_modules/tar/dist/commonjs/list.js +153 -0
  2150. package/node_modules/tar/dist/commonjs/make-command.js +52 -0
  2151. package/node_modules/tar/dist/commonjs/mkdir.js +187 -0
  2152. package/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  2153. package/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
  2154. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  2155. package/node_modules/tar/dist/commonjs/options.js +66 -0
  2156. package/node_modules/tar/dist/commonjs/pack.js +544 -0
  2157. package/node_modules/tar/dist/commonjs/package.json +3 -0
  2158. package/node_modules/tar/dist/commonjs/parse.js +655 -0
  2159. package/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  2160. package/node_modules/tar/dist/commonjs/pax.js +182 -0
  2161. package/node_modules/tar/dist/commonjs/process-umask.js +7 -0
  2162. package/node_modules/tar/dist/commonjs/read-entry.js +136 -0
  2163. package/node_modules/tar/dist/commonjs/replace.js +227 -0
  2164. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  2165. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  2166. package/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  2167. package/node_modules/tar/dist/commonjs/types.js +70 -0
  2168. package/node_modules/tar/dist/commonjs/unpack.js +932 -0
  2169. package/node_modules/tar/dist/commonjs/update.js +33 -0
  2170. package/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  2171. package/node_modules/tar/dist/commonjs/winchars.js +14 -0
  2172. package/node_modules/tar/dist/commonjs/write-entry.js +698 -0
  2173. package/node_modules/tar/dist/esm/create.js +76 -0
  2174. package/node_modules/tar/dist/esm/cwd-error.js +14 -0
  2175. package/node_modules/tar/dist/esm/extract.js +49 -0
  2176. package/node_modules/tar/dist/esm/get-write-flag.js +26 -0
  2177. package/node_modules/tar/dist/esm/header.js +311 -0
  2178. package/node_modules/tar/dist/esm/index.js +20 -0
  2179. package/node_modules/tar/dist/esm/index.min.js +4 -0
  2180. package/node_modules/tar/dist/esm/large-numbers.js +94 -0
  2181. package/node_modules/tar/dist/esm/list.js +113 -0
  2182. package/node_modules/tar/dist/esm/make-command.js +48 -0
  2183. package/node_modules/tar/dist/esm/mkdir.js +179 -0
  2184. package/node_modules/tar/dist/esm/mode-fix.js +25 -0
  2185. package/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
  2186. package/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  2187. package/node_modules/tar/dist/esm/options.js +54 -0
  2188. package/node_modules/tar/dist/esm/pack.js +502 -0
  2189. package/node_modules/tar/dist/esm/package.json +3 -0
  2190. package/node_modules/tar/dist/esm/parse.js +651 -0
  2191. package/node_modules/tar/dist/esm/path-reservations.js +166 -0
  2192. package/node_modules/tar/dist/esm/pax.js +178 -0
  2193. package/node_modules/tar/dist/esm/process-umask.js +3 -0
  2194. package/node_modules/tar/dist/esm/read-entry.js +132 -0
  2195. package/node_modules/tar/dist/esm/replace.js +221 -0
  2196. package/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  2197. package/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  2198. package/node_modules/tar/dist/esm/symlink-error.js +15 -0
  2199. package/node_modules/tar/dist/esm/types.js +65 -0
  2200. package/node_modules/tar/dist/esm/unpack.js +891 -0
  2201. package/node_modules/tar/dist/esm/update.js +30 -0
  2202. package/node_modules/tar/dist/esm/warn-method.js +27 -0
  2203. package/node_modules/tar/dist/esm/winchars.js +9 -0
  2204. package/node_modules/tar/dist/esm/write-entry.js +656 -0
  2205. package/node_modules/tar/package.json +298 -0
  2206. package/node_modules/text-table/LICENSE +18 -0
  2207. package/node_modules/text-table/example/align.js +8 -0
  2208. package/node_modules/text-table/example/center.js +8 -0
  2209. package/node_modules/text-table/example/dotalign.js +9 -0
  2210. package/node_modules/text-table/example/doubledot.js +11 -0
  2211. package/node_modules/text-table/example/table.js +6 -0
  2212. package/node_modules/text-table/index.js +86 -0
  2213. package/node_modules/text-table/package.json +44 -0
  2214. package/node_modules/text-table/test/align.js +18 -0
  2215. package/node_modules/text-table/test/ansi-colors.js +32 -0
  2216. package/node_modules/text-table/test/center.js +18 -0
  2217. package/node_modules/text-table/test/dotalign.js +20 -0
  2218. package/node_modules/text-table/test/doubledot.js +24 -0
  2219. package/node_modules/text-table/test/table.js +14 -0
  2220. package/node_modules/tiny-relative-date/LICENSE.md +21 -0
  2221. package/node_modules/tiny-relative-date/lib/factory.js +100 -0
  2222. package/node_modules/tiny-relative-date/lib/index.js +18 -0
  2223. package/node_modules/tiny-relative-date/package.json +39 -0
  2224. package/node_modules/tiny-relative-date/src/factory.js +112 -0
  2225. package/node_modules/tiny-relative-date/src/index.js +4 -0
  2226. package/node_modules/tiny-relative-date/translations/da.js +31 -0
  2227. package/node_modules/tiny-relative-date/translations/de.js +31 -0
  2228. package/node_modules/tiny-relative-date/translations/en-short.js +31 -0
  2229. package/node_modules/tiny-relative-date/translations/en.js +31 -0
  2230. package/node_modules/tiny-relative-date/translations/es.js +31 -0
  2231. package/node_modules/tiny-relative-date/translations/fa.js +31 -0
  2232. package/node_modules/tiny-relative-date/translations/ne.js +31 -0
  2233. package/node_modules/tinyglobby/LICENSE +21 -0
  2234. package/node_modules/tinyglobby/dist/index.cjs +335 -0
  2235. package/node_modules/tinyglobby/dist/index.d.cts +148 -0
  2236. package/node_modules/tinyglobby/dist/index.d.mts +148 -0
  2237. package/node_modules/tinyglobby/dist/index.mjs +307 -0
  2238. package/node_modules/tinyglobby/package.json +70 -0
  2239. package/node_modules/treeverse/LICENSE +15 -0
  2240. package/node_modules/treeverse/lib/breadth.js +67 -0
  2241. package/node_modules/treeverse/lib/depth-descent.js +88 -0
  2242. package/node_modules/treeverse/lib/depth.js +76 -0
  2243. package/node_modules/treeverse/lib/index.js +4 -0
  2244. package/node_modules/treeverse/package.json +51 -0
  2245. package/node_modules/tuf-js/LICENSE +21 -0
  2246. package/node_modules/tuf-js/dist/config.js +16 -0
  2247. package/node_modules/tuf-js/dist/error.js +49 -0
  2248. package/node_modules/tuf-js/dist/fetcher.js +92 -0
  2249. package/node_modules/tuf-js/dist/index.js +9 -0
  2250. package/node_modules/tuf-js/dist/store.js +219 -0
  2251. package/node_modules/tuf-js/dist/updater.js +373 -0
  2252. package/node_modules/tuf-js/dist/utils/tmpfile.js +25 -0
  2253. package/node_modules/tuf-js/dist/utils/url.js +13 -0
  2254. package/node_modules/tuf-js/package.json +43 -0
  2255. package/node_modules/undici/LICENSE +21 -0
  2256. package/node_modules/undici/docs/docs/api/Agent.md +80 -0
  2257. package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
  2258. package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
  2259. package/node_modules/undici/docs/docs/api/Client.md +277 -0
  2260. package/node_modules/undici/docs/docs/api/Connector.md +115 -0
  2261. package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
  2262. package/node_modules/undici/docs/docs/api/Cookies.md +101 -0
  2263. package/node_modules/undici/docs/docs/api/Debug.md +62 -0
  2264. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +204 -0
  2265. package/node_modules/undici/docs/docs/api/DispatchInterceptor.md +60 -0
  2266. package/node_modules/undici/docs/docs/api/Dispatcher.md +1347 -0
  2267. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +162 -0
  2268. package/node_modules/undici/docs/docs/api/Errors.md +49 -0
  2269. package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
  2270. package/node_modules/undici/docs/docs/api/Fetch.md +52 -0
  2271. package/node_modules/undici/docs/docs/api/MockAgent.md +540 -0
  2272. package/node_modules/undici/docs/docs/api/MockClient.md +77 -0
  2273. package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
  2274. package/node_modules/undici/docs/docs/api/MockPool.md +547 -0
  2275. package/node_modules/undici/docs/docs/api/Pool.md +84 -0
  2276. package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
  2277. package/node_modules/undici/docs/docs/api/ProxyAgent.md +131 -0
  2278. package/node_modules/undici/docs/docs/api/RedirectHandler.md +96 -0
  2279. package/node_modules/undici/docs/docs/api/RetryAgent.md +45 -0
  2280. package/node_modules/undici/docs/docs/api/RetryHandler.md +117 -0
  2281. package/node_modules/undici/docs/docs/api/Util.md +25 -0
  2282. package/node_modules/undici/docs/docs/api/WebSocket.md +51 -0
  2283. package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
  2284. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
  2285. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +136 -0
  2286. package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
  2287. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +20 -0
  2288. package/node_modules/undici/index-fetch.js +35 -0
  2289. package/node_modules/undici/index.js +169 -0
  2290. package/node_modules/undici/lib/api/abort-signal.js +57 -0
  2291. package/node_modules/undici/lib/api/api-connect.js +108 -0
  2292. package/node_modules/undici/lib/api/api-pipeline.js +251 -0
  2293. package/node_modules/undici/lib/api/api-request.js +214 -0
  2294. package/node_modules/undici/lib/api/api-stream.js +220 -0
  2295. package/node_modules/undici/lib/api/api-upgrade.js +108 -0
  2296. package/node_modules/undici/lib/api/index.js +7 -0
  2297. package/node_modules/undici/lib/api/readable.js +385 -0
  2298. package/node_modules/undici/lib/api/util.js +93 -0
  2299. package/node_modules/undici/lib/core/connect.js +240 -0
  2300. package/node_modules/undici/lib/core/constants.js +118 -0
  2301. package/node_modules/undici/lib/core/diagnostics.js +202 -0
  2302. package/node_modules/undici/lib/core/errors.js +425 -0
  2303. package/node_modules/undici/lib/core/request.js +416 -0
  2304. package/node_modules/undici/lib/core/symbols.js +67 -0
  2305. package/node_modules/undici/lib/core/tree.js +152 -0
  2306. package/node_modules/undici/lib/core/util.js +719 -0
  2307. package/node_modules/undici/lib/dispatcher/agent.js +129 -0
  2308. package/node_modules/undici/lib/dispatcher/balanced-pool.js +209 -0
  2309. package/node_modules/undici/lib/dispatcher/client-h1.js +1496 -0
  2310. package/node_modules/undici/lib/dispatcher/client-h2.js +744 -0
  2311. package/node_modules/undici/lib/dispatcher/client.js +623 -0
  2312. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +199 -0
  2313. package/node_modules/undici/lib/dispatcher/dispatcher.js +65 -0
  2314. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +160 -0
  2315. package/node_modules/undici/lib/dispatcher/fixed-queue.js +117 -0
  2316. package/node_modules/undici/lib/dispatcher/pool-base.js +194 -0
  2317. package/node_modules/undici/lib/dispatcher/pool-stats.js +34 -0
  2318. package/node_modules/undici/lib/dispatcher/pool.js +107 -0
  2319. package/node_modules/undici/lib/dispatcher/proxy-agent.js +274 -0
  2320. package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  2321. package/node_modules/undici/lib/global.js +32 -0
  2322. package/node_modules/undici/lib/handler/decorator-handler.js +44 -0
  2323. package/node_modules/undici/lib/handler/redirect-handler.js +232 -0
  2324. package/node_modules/undici/lib/handler/retry-handler.js +408 -0
  2325. package/node_modules/undici/lib/interceptor/dns.js +375 -0
  2326. package/node_modules/undici/lib/interceptor/dump.js +123 -0
  2327. package/node_modules/undici/lib/interceptor/redirect-interceptor.js +21 -0
  2328. package/node_modules/undici/lib/interceptor/redirect.js +24 -0
  2329. package/node_modules/undici/lib/interceptor/response-error.js +86 -0
  2330. package/node_modules/undici/lib/interceptor/retry.js +19 -0
  2331. package/node_modules/undici/lib/llhttp/constants.js +278 -0
  2332. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +5 -0
  2333. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +5 -0
  2334. package/node_modules/undici/lib/llhttp/utils.js +15 -0
  2335. package/node_modules/undici/lib/mock/mock-agent.js +160 -0
  2336. package/node_modules/undici/lib/mock/mock-client.js +59 -0
  2337. package/node_modules/undici/lib/mock/mock-errors.js +28 -0
  2338. package/node_modules/undici/lib/mock/mock-interceptor.js +207 -0
  2339. package/node_modules/undici/lib/mock/mock-pool.js +59 -0
  2340. package/node_modules/undici/lib/mock/mock-symbols.js +23 -0
  2341. package/node_modules/undici/lib/mock/mock-utils.js +367 -0
  2342. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  2343. package/node_modules/undici/lib/mock/pluralizer.js +29 -0
  2344. package/node_modules/undici/lib/util/timers.js +423 -0
  2345. package/node_modules/undici/lib/web/cache/cache.js +859 -0
  2346. package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  2347. package/node_modules/undici/lib/web/cache/symbols.js +5 -0
  2348. package/node_modules/undici/lib/web/cache/util.js +45 -0
  2349. package/node_modules/undici/lib/web/cookies/constants.js +12 -0
  2350. package/node_modules/undici/lib/web/cookies/index.js +184 -0
  2351. package/node_modules/undici/lib/web/cookies/parse.js +310 -0
  2352. package/node_modules/undici/lib/web/cookies/util.js +352 -0
  2353. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +398 -0
  2354. package/node_modules/undici/lib/web/eventsource/eventsource.js +480 -0
  2355. package/node_modules/undici/lib/web/eventsource/util.js +37 -0
  2356. package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  2357. package/node_modules/undici/lib/web/fetch/body.js +529 -0
  2358. package/node_modules/undici/lib/web/fetch/constants.js +124 -0
  2359. package/node_modules/undici/lib/web/fetch/data-url.js +744 -0
  2360. package/node_modules/undici/lib/web/fetch/dispatcher-weakref.js +46 -0
  2361. package/node_modules/undici/lib/web/fetch/file.js +126 -0
  2362. package/node_modules/undici/lib/web/fetch/formdata-parser.js +474 -0
  2363. package/node_modules/undici/lib/web/fetch/formdata.js +252 -0
  2364. package/node_modules/undici/lib/web/fetch/global.js +40 -0
  2365. package/node_modules/undici/lib/web/fetch/headers.js +687 -0
  2366. package/node_modules/undici/lib/web/fetch/index.js +2272 -0
  2367. package/node_modules/undici/lib/web/fetch/request.js +1037 -0
  2368. package/node_modules/undici/lib/web/fetch/response.js +610 -0
  2369. package/node_modules/undici/lib/web/fetch/symbols.js +9 -0
  2370. package/node_modules/undici/lib/web/fetch/util.js +1632 -0
  2371. package/node_modules/undici/lib/web/fetch/webidl.js +695 -0
  2372. package/node_modules/undici/lib/web/fileapi/encoding.js +290 -0
  2373. package/node_modules/undici/lib/web/fileapi/filereader.js +344 -0
  2374. package/node_modules/undici/lib/web/fileapi/progressevent.js +78 -0
  2375. package/node_modules/undici/lib/web/fileapi/symbols.js +10 -0
  2376. package/node_modules/undici/lib/web/fileapi/util.js +391 -0
  2377. package/node_modules/undici/lib/web/websocket/connection.js +371 -0
  2378. package/node_modules/undici/lib/web/websocket/constants.js +66 -0
  2379. package/node_modules/undici/lib/web/websocket/events.js +329 -0
  2380. package/node_modules/undici/lib/web/websocket/frame.js +96 -0
  2381. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
  2382. package/node_modules/undici/lib/web/websocket/receiver.js +513 -0
  2383. package/node_modules/undici/lib/web/websocket/sender.js +104 -0
  2384. package/node_modules/undici/lib/web/websocket/symbols.js +12 -0
  2385. package/node_modules/undici/lib/web/websocket/util.js +322 -0
  2386. package/node_modules/undici/lib/web/websocket/websocket.js +595 -0
  2387. package/node_modules/undici/package.json +160 -0
  2388. package/node_modules/undici/scripts/strip-comments.js +8 -0
  2389. package/node_modules/util-deprecate/History.md +16 -0
  2390. package/node_modules/util-deprecate/LICENSE +24 -0
  2391. package/node_modules/util-deprecate/browser.js +67 -0
  2392. package/node_modules/util-deprecate/node.js +6 -0
  2393. package/node_modules/util-deprecate/package.json +27 -0
  2394. package/node_modules/validate-npm-package-name/LICENSE +6 -0
  2395. package/node_modules/validate-npm-package-name/lib/builtin-modules.json +1 -0
  2396. package/node_modules/validate-npm-package-name/lib/index.js +114 -0
  2397. package/node_modules/validate-npm-package-name/package.json +59 -0
  2398. package/node_modules/walk-up-path/LICENSE +15 -0
  2399. package/node_modules/walk-up-path/dist/commonjs/index.js +18 -0
  2400. package/node_modules/walk-up-path/dist/commonjs/package.json +3 -0
  2401. package/node_modules/walk-up-path/dist/esm/index.js +14 -0
  2402. package/node_modules/walk-up-path/dist/esm/package.json +3 -0
  2403. package/node_modules/walk-up-path/package.json +71 -0
  2404. package/node_modules/which/LICENSE +15 -0
  2405. package/node_modules/which/README.md +51 -0
  2406. package/node_modules/which/bin/which.js +52 -0
  2407. package/node_modules/which/lib/index.js +111 -0
  2408. package/node_modules/which/package.json +52 -0
  2409. package/node_modules/write-file-atomic/LICENSE.md +6 -0
  2410. package/node_modules/write-file-atomic/lib/index.js +269 -0
  2411. package/node_modules/write-file-atomic/package.json +57 -0
  2412. package/node_modules/yallist/LICENSE.md +63 -0
  2413. package/node_modules/yallist/dist/commonjs/index.js +384 -0
  2414. package/node_modules/yallist/dist/commonjs/package.json +3 -0
  2415. package/node_modules/yallist/dist/esm/index.js +379 -0
  2416. package/node_modules/yallist/dist/esm/package.json +3 -0
  2417. package/node_modules/yallist/package.json +68 -0
  2418. package/package.json +9 -4
  2419. package/templates/AGENTS.md.tmpl +17 -3
  2420. package/templates/experience/package.json.tmpl +4 -4
  2421. package/templates/package.json.tmpl +4 -4
  2422. package/templates/skills/build-agent/SKILL.md +1 -1
  2423. package/templates/skills/build-integration/references/oauth-setup.md +3 -3
  2424. package/templates/skills/ekanos-platform/SKILL.md +1 -1
@@ -0,0 +1,2711 @@
1
+ const Definition = require('./definition.js')
2
+ const parseAllowScriptsList = require('../parse-allow-scripts-list.js')
3
+
4
+ const ciInfo = require('ci-info')
5
+ const querystring = require('node:querystring')
6
+ const { join } = require('node:path')
7
+
8
+ const isWindows = process.platform === 'win32'
9
+
10
+ // used by cafile flattening to flatOptions.ca
11
+ const { readFileSync } = require('node:fs')
12
+ const maybeReadFile = file => {
13
+ try {
14
+ return readFileSync(file, 'utf8')
15
+ } catch (er) {
16
+ if (er.code !== 'ENOENT') {
17
+ throw er
18
+ }
19
+ return null
20
+ }
21
+ }
22
+
23
+ const buildOmitList = obj => {
24
+ const include = obj.include || []
25
+ const omit = obj.omit || []
26
+
27
+ const only = obj.only
28
+ if (/^prod(uction)?$/.test(only) || obj.production) {
29
+ omit.push('dev')
30
+ } else if (obj.production === false) {
31
+ include.push('dev')
32
+ }
33
+
34
+ if (/^dev/.test(obj.also)) {
35
+ include.push('dev')
36
+ }
37
+
38
+ if (obj.dev) {
39
+ include.push('dev')
40
+ }
41
+
42
+ if (obj.optional === false) {
43
+ omit.push('optional')
44
+ } else if (obj.optional === true) {
45
+ include.push('optional')
46
+ }
47
+
48
+ obj.omit = [...new Set(omit)].filter(type => !include.includes(type))
49
+ obj.include = [...new Set(include)]
50
+
51
+ if (obj.omit.includes('dev')) {
52
+ process.env.NODE_ENV = 'production'
53
+ }
54
+
55
+ return obj.omit
56
+ }
57
+
58
+ const editor = process.env.EDITOR ||
59
+ process.env.VISUAL ||
60
+ (isWindows ? `${process.env.SYSTEMROOT}\\notepad.exe` : 'vi')
61
+
62
+ const shell = isWindows ? process.env.ComSpec || 'cmd'
63
+ : process.env.SHELL || 'sh'
64
+
65
+ const { networkInterfaces } = require('node:os')
66
+ const getLocalAddresses = () => {
67
+ try {
68
+ return Object.values(networkInterfaces()).map(
69
+ int => int.map(({ address }) => address)
70
+ ).reduce((set, addrs) => set.concat(addrs), [null])
71
+ } catch (e) {
72
+ return [null]
73
+ }
74
+ }
75
+
76
+ const unicode = /UTF-?8$/i.test(
77
+ process.env.LC_ALL ||
78
+ process.env.LC_CTYPE ||
79
+ process.env.LANG
80
+ )
81
+
82
+ // use LOCALAPPDATA on Windows, if set
83
+ // https://github.com/npm/cli/pull/899
84
+ const cacheRoot = (isWindows && process.env.LOCALAPPDATA) || '~'
85
+ const cacheExtra = isWindows ? 'npm-cache' : '.npm'
86
+ const cache = `${cacheRoot}/${cacheExtra}`
87
+
88
+ // TODO: refactor these type definitions so that they are less
89
+ // weird to pull out of the config module.
90
+ // TODO: use better type definition/validation API, nopt's is so weird.
91
+ const {
92
+ semver: { type: Semver },
93
+ Umask: { type: Umask },
94
+ url: { type: url },
95
+ path: { type: path },
96
+ } = require('../type-defs.js')
97
+
98
+ // basic flattening function, just copy it over camelCase
99
+ const flatten = (key, obj, flatOptions) => {
100
+ const camel = key.replace(/-([a-z])/g, (_0, _1) => _1.toUpperCase())
101
+ flatOptions[camel] = obj[key]
102
+ }
103
+
104
+ // TODO:
105
+ // Instead of having each definition provide a flatten method,
106
+ // provide the (?list of?) flat option field(s?) that it impacts.
107
+ // When that config is set, we mark the relevant flatOption fields
108
+ // dirty. Then, a getter for that field defines how we actually
109
+ // set it.
110
+ //
111
+ // So, `save-dev`, `save-optional`, `save-prod`, et al would indicate
112
+ // that they affect the `saveType` flat option. Then the config.flat
113
+ // object has a `get saveType () { ... }` that looks at the "real"
114
+ // config settings from files etc and returns the appropriate value.
115
+ //
116
+ // Getters will also (maybe?) give us a hook to audit flat option
117
+ // usage, so we can document and group these more appropriately.
118
+ //
119
+ // This will be a problem with cases where we currently do:
120
+ // const opts = { ...npm.flatOptions, foo: 'bar' }, but we can maybe
121
+ // instead do `npm.config.set('foo', 'bar')` prior to passing the
122
+ // config object down where it needs to go.
123
+ //
124
+ // This way, when we go hunting for "where does saveType come from anyway!?"
125
+ // while fixing some Arborist bug, we won't have to hunt through too
126
+ // many places.
127
+
128
+ // XXX: We should really deprecate all these `--save-blah` switches
129
+ // in favor of a single `--save-type` option. The unfortunate shortcut
130
+ // we took for `--save-peer --save-optional` being `--save-type=peerOptional`
131
+ // makes this tricky, and likely a breaking change.
132
+
133
+ // Define all config keys we know about. They are indexed by their own key for
134
+ // ease of lookup later. This duplication is an optimization so that we don't
135
+ // have to do an extra function call just to "reuse" the key in both places.
136
+
137
+ const definitions = {
138
+ _auth: new Definition('_auth', {
139
+ default: null,
140
+ type: [null, String],
141
+ description: `
142
+ A basic-auth string to use when authenticating against the npm registry.
143
+ This will ONLY be used to authenticate against the npm registry. For other
144
+ registries you will need to scope it like "//other-registry.tld/:_auth"
145
+
146
+ Warning: This should generally not be set via a command-line option. It
147
+ is safer to use a registry-provided authentication bearer token stored in
148
+ the ~/.npmrc file by running \`npm login\`.
149
+ `,
150
+ flatten,
151
+ }),
152
+ access: new Definition('access', {
153
+ default: null,
154
+ defaultDescription: `
155
+ 'public' for new packages, existing packages it will not change the current level
156
+ `,
157
+ type: [null, 'restricted', 'public', 'private'],
158
+ description: `
159
+ If you do not want your scoped package to be publicly viewable (and
160
+ installable) set \`--access=restricted\`.
161
+
162
+ Unscoped packages cannot be set to \`restricted\`.
163
+
164
+ Note: This defaults to not changing the current access level for existing
165
+ packages. Specifying a value of \`restricted\` or \`public\` during
166
+ publish will change the access for an existing package the same way that
167
+ \`npm access set status\` would.
168
+
169
+ The value \`private\` is an alias for \`restricted\`.
170
+ `,
171
+ flatten (key, obj, flatOptions) {
172
+ const value = obj[key]
173
+ flatOptions.access = value === 'private' ? 'restricted' : value
174
+ },
175
+ }),
176
+ all: new Definition('all', {
177
+ default: false,
178
+ type: Boolean,
179
+ short: 'a',
180
+ description: `
181
+ Show or act on all packages, not just the ones your project directly
182
+ depends on. For \`npm outdated\` and \`npm ls\` this lists every outdated
183
+ or installed package. For \`npm approve-scripts\` and \`npm deny-scripts\`
184
+ it selects every package with pending install scripts.
185
+ `,
186
+ flatten,
187
+ }),
188
+ 'allow-same-version': new Definition('allow-same-version', {
189
+ default: false,
190
+ type: Boolean,
191
+ description: `
192
+ Prevents throwing an error when \`npm version\` is used to set the new
193
+ version to the same value as the current version.
194
+ `,
195
+ flatten,
196
+ }),
197
+ 'allow-directory': new Definition('allow-directory', {
198
+ default: 'all',
199
+ type: ['all', 'none', 'root'],
200
+ description: `
201
+ Limits the ability for npm to install dependencies from directories.
202
+ That is, dependencies that point to a directory instead of a version or semver range.
203
+ Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
204
+ Changing this setting will not remove dependencies that are already installed.
205
+
206
+ \`all\` allows any directories to be installed.
207
+ \`none\` prevents any directories from being installed.
208
+ \`root\` only allows directories defined in your project's package.json to be installed. Also allows directory dependencies to be used for other commands like \`npm view\`
209
+ `,
210
+ flatten,
211
+ }),
212
+ 'allow-file': new Definition('allow-file', {
213
+ default: 'all',
214
+ type: ['all', 'none', 'root'],
215
+ description: `
216
+ Limits the ability for npm to install dependencies from tarball files.
217
+ That is, dependencies that point to a local tarball file instead of a version or semver range.
218
+ Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
219
+ Changing this setting will not remove dependencies that are already installed.
220
+
221
+ \`all\` allows any tarball file to be installed.
222
+ \`none\` prevents any tarball file from being installed.
223
+ \`root\` only allows tarball files defined in your project's package.json to be installed. Also allows tarball file dependencies to be used for other commands like \`npm view\`
224
+ `,
225
+ flatten,
226
+ }),
227
+ 'allow-git': new Definition('allow-git', {
228
+ default: 'all',
229
+ type: ['all', 'none', 'root'],
230
+ description: `
231
+ Limits the ability for npm to fetch dependencies from git references.
232
+ That is, dependencies that point to a git repo instead of a version or semver range.
233
+ Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
234
+ Changing this setting will not remove dependencies that are already installed.
235
+
236
+ \`all\` allows any git dependencies to be fetched and installed.
237
+ \`none\` prevents any git dependencies from being fetched and installed.
238
+ \`root\` only allows git dependencies defined in your project's package.json to be fetched and installed. Also allows git dependencies to be fetched for other commands like \`npm view\`
239
+ `,
240
+ flatten,
241
+ }),
242
+ 'allow-remote': new Definition('allow-remote', {
243
+ default: 'all',
244
+ type: ['all', 'none', 'root'],
245
+ description: `
246
+ Limits the ability for npm to fetch dependencies from urls.
247
+ That is, dependencies that point to a tarball url instead of a version or semver range.
248
+ Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
249
+ Changing this setting will not remove dependencies that are already installed.
250
+
251
+ \`all\` allows any url to be installed.
252
+ \`none\` prevents any url from being installed.
253
+ \`root\` only allows urls defined in your project's package.json to be installed. Also allows url dependencies to be used for other commands like \`npm view\`
254
+ `,
255
+ flatten,
256
+ }),
257
+ 'allow-scripts': new Definition('allow-scripts', {
258
+ default: '',
259
+ type: [String, Array],
260
+ hint: '<package-list>',
261
+ description: `
262
+ Comma-separated list of packages whose install-time lifecycle scripts
263
+ (\`preinstall\`, \`install\`, \`postinstall\`, and \`prepare\` for
264
+ non-registry dependencies) are allowed to run.
265
+
266
+ This setting is intended for one-off and global contexts: \`npm exec\`,
267
+ \`npx\`, and \`npm install -g\`, where no project \`package.json\` is
268
+ involved. For team-wide policy in a project, use the \`allowScripts\`
269
+ field in \`package.json\` (which also supports explicit denials), or
270
+ configure it in \`.npmrc\`. Passing \`--allow-scripts\` on the command
271
+ line during a project-scoped \`npm install\`, \`ci\`, \`update\`, or
272
+ \`rebuild\` is an error.
273
+
274
+ Each name is matched against a dependency's resolved identity, not
275
+ against the package's self-reported name. \`--ignore-scripts\` and
276
+ \`--dangerously-allow-all-scripts\` both override this setting.
277
+ `,
278
+ flatten (key, obj, flatOptions) {
279
+ flatOptions.allowScripts = parseAllowScriptsList(obj[key])
280
+ },
281
+ }),
282
+ also: new Definition('also', {
283
+ default: null,
284
+ type: [null, 'dev', 'development'],
285
+ description: `
286
+ When set to \`dev\` or \`development\`, this is an alias for
287
+ \`--include=dev\`.
288
+ `,
289
+ deprecated: 'Please use --include=dev instead.',
290
+ flatten (key, obj, flatOptions) {
291
+ definitions.omit.flatten('omit', obj, flatOptions)
292
+ },
293
+ }),
294
+ audit: new Definition('audit', {
295
+ default: true,
296
+ type: Boolean,
297
+ description: `
298
+ When "true" submit audit reports alongside the current npm command to the
299
+ default registry and all registries configured for scopes. See the
300
+ documentation for [\`npm audit\`](/commands/npm-audit) for details on what
301
+ is submitted.
302
+ `,
303
+ flatten,
304
+ }),
305
+ 'audit-level': new Definition('audit-level', {
306
+ default: null,
307
+ type: [null, 'info', 'low', 'moderate', 'high', 'critical', 'none'],
308
+ description: `
309
+ The minimum level of vulnerability for \`npm audit\` to exit with
310
+ a non-zero exit code.
311
+ `,
312
+ flatten,
313
+ }),
314
+ 'auth-type': new Definition('auth-type', {
315
+ default: 'web',
316
+ type: ['legacy', 'web'],
317
+ description: `
318
+ What authentication strategy to use with \`login\`.
319
+ Note that if an \`otp\` config is given, this value will always be set to \`legacy\`.
320
+ `,
321
+ flatten,
322
+ }),
323
+ before: new Definition('before', {
324
+ default: null,
325
+ hint: '<date>',
326
+ type: [null, Date],
327
+ description: `
328
+ If passed to \`npm install\`, will rebuild the npm tree such that only
329
+ versions that were available **on or before** the given date are
330
+ installed. If there are no versions available for the current set of
331
+ dependencies, the command will error.
332
+
333
+ If the requested version is a \`dist-tag\` and the given tag does not
334
+ pass the \`--before\` filter, the most recent version less than or equal
335
+ to that tag will be used. For example, \`foo@latest\` might install
336
+ \`foo@1.2\` even though \`latest\` is \`2.0\`.
337
+
338
+ If \`before\` and \`min-release-age\` are both set in the same source,
339
+ \`before\` wins (an explicit absolute date overrides a relative window).
340
+ Across sources, the standard precedence applies (cli > env > project >
341
+ user > global), so a higher-priority source can always relax or
342
+ override a lower-priority one.
343
+
344
+ As with \`min-release-age\`, when this cutoff blocks a fix that
345
+ \`npm audit fix\` would install, npm keeps the vulnerable version, warns,
346
+ and exits with a non-zero code.
347
+
348
+ Packages whose names match \`min-release-age-exclude\` are exempt from
349
+ this filter.
350
+ `,
351
+ flatten,
352
+ }),
353
+ 'bin-links': new Definition('bin-links', {
354
+ default: true,
355
+ type: Boolean,
356
+ description: `
357
+ Tells npm to create symlinks (or \`.cmd\` shims on Windows) for package
358
+ executables.
359
+
360
+ Set to false to have it not do this. This can be used to work around the
361
+ fact that some file systems don't support symlinks, even on ostensibly
362
+ Unix systems.
363
+ `,
364
+ flatten,
365
+ }),
366
+ browser: new Definition('browser', {
367
+ default: null,
368
+ defaultDescription: `
369
+ macOS: \`"open"\`, Windows: \`"start"\`, Others: \`"xdg-open"\`
370
+ `,
371
+ type: [null, Boolean, String],
372
+ description: `
373
+ The browser that is called by npm commands to open websites.
374
+
375
+ Set to \`false\` to suppress browser behavior and instead print urls to
376
+ terminal.
377
+
378
+ Set to \`true\` to use default system URL opener.
379
+ `,
380
+ flatten,
381
+ }),
382
+ 'bypass-2fa': new Definition('bypass-2fa', {
383
+ default: false,
384
+ type: Boolean,
385
+ description: `
386
+ When creating a Granular Access Token with \`npm token create\`,
387
+ setting this to true will allow the token to bypass two-factor
388
+ authentication. This is useful for automation and CI/CD workflows.
389
+ `,
390
+ flatten,
391
+ }),
392
+ ca: new Definition('ca', {
393
+ default: null,
394
+ type: [null, String, Array],
395
+ description: `
396
+ The Certificate Authority signing certificate that is trusted for SSL
397
+ connections to the registry. Values should be in PEM format (Windows
398
+ calls it "Base-64 encoded X.509 (.CER)") with newlines replaced by the
399
+ string "\\n". For example:
400
+
401
+ \`\`\`ini
402
+ ca="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"
403
+ \`\`\`
404
+
405
+ Set to \`null\` to only allow "known" registrars, or to a specific CA
406
+ cert to trust only that specific signing authority.
407
+
408
+ Multiple CAs can be trusted by specifying an array of certificates:
409
+
410
+ \`\`\`ini
411
+ ca[]="..."
412
+ ca[]="..."
413
+ \`\`\`
414
+
415
+ See also the \`strict-ssl\` config.
416
+ `,
417
+ flatten,
418
+ }),
419
+ cache: new Definition('cache', {
420
+ default: cache,
421
+ defaultDescription: `
422
+ Windows: \`%LocalAppData%\\npm-cache\`, Posix: \`~/.npm\`
423
+ `,
424
+ type: path,
425
+ description: `
426
+ The location of npm's cache directory.
427
+ `,
428
+ flatten (key, obj, flatOptions) {
429
+ flatOptions.cache = join(obj.cache, '_cacache')
430
+ flatOptions.npxCache = join(obj.cache, '_npx')
431
+ flatOptions.tufCache = join(obj.cache, '_tuf')
432
+ },
433
+ }),
434
+ 'cache-max': new Definition('cache-max', {
435
+ default: Infinity,
436
+ type: Number,
437
+ description: `
438
+ \`--cache-max=0\` is an alias for \`--prefer-online\`
439
+ `,
440
+ deprecated: `
441
+ This option has been deprecated in favor of \`--prefer-online\`
442
+ `,
443
+ flatten (key, obj, flatOptions) {
444
+ if (obj[key] <= 0) {
445
+ flatOptions.preferOnline = true
446
+ }
447
+ },
448
+ }),
449
+ 'cache-min': new Definition('cache-min', {
450
+ default: 0,
451
+ type: Number,
452
+ description: `
453
+ \`--cache-min=9999 (or bigger)\` is an alias for \`--prefer-offline\`.
454
+ `,
455
+ deprecated: `
456
+ This option has been deprecated in favor of \`--prefer-offline\`.
457
+ `,
458
+ flatten (key, obj, flatOptions) {
459
+ if (obj[key] >= 9999) {
460
+ flatOptions.preferOffline = true
461
+ }
462
+ },
463
+ }),
464
+ cafile: new Definition('cafile', {
465
+ default: null,
466
+ type: path,
467
+ description: `
468
+ A path to a file containing one or multiple Certificate Authority signing
469
+ certificates. Similar to the \`ca\` setting, but allows for multiple
470
+ CA's, as well as for the CA information to be stored in a file on disk.
471
+ `,
472
+ flatten (key, obj, flatOptions) {
473
+ // always set to null in defaults
474
+ if (!obj.cafile) {
475
+ return
476
+ }
477
+
478
+ const raw = maybeReadFile(obj.cafile)
479
+ if (!raw) {
480
+ return
481
+ }
482
+
483
+ const delim = '-----END CERTIFICATE-----'
484
+ flatOptions.ca = raw.replace(/\r\n/g, '\n').split(delim)
485
+ .filter(section => section.trim())
486
+ .map(section => section.trimLeft() + delim)
487
+ },
488
+ }),
489
+ call: new Definition('call', {
490
+ default: '',
491
+ type: String,
492
+ short: 'c',
493
+ description: `
494
+ Optional companion option for \`npm exec\`, \`npx\` that allows for
495
+ specifying a custom command to be run along with the installed packages.
496
+
497
+ \`\`\`bash
498
+ npm exec --package yo --package generator-node --call "yo node"
499
+ \`\`\`
500
+ `,
501
+ flatten,
502
+ }),
503
+ cert: new Definition('cert', {
504
+ default: null,
505
+ type: [null, String],
506
+ description: `
507
+ A client certificate to pass when accessing the registry. Values should
508
+ be in PEM format (Windows calls it "Base-64 encoded X.509 (.CER)") with
509
+ newlines replaced by the string "\\n". For example:
510
+
511
+ \`\`\`ini
512
+ cert="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"
513
+ \`\`\`
514
+
515
+ It is _not_ the path to a certificate file, though you can set a registry-scoped
516
+ "certfile" path like "//other-registry.tld/:certfile=/path/to/cert.pem".
517
+ `,
518
+ deprecated: `
519
+ \`key\` and \`cert\` are no longer used for most registry operations.
520
+ Use registry scoped \`keyfile\` and \`certfile\` instead.
521
+ Example:
522
+ //other-registry.tld/:keyfile=/path/to/key.pem
523
+ //other-registry.tld/:certfile=/path/to/cert.crt
524
+ `,
525
+ flatten,
526
+ }),
527
+ cidr: new Definition('cidr', {
528
+ default: null,
529
+ type: [null, String, Array],
530
+ description: `
531
+ This is a list of CIDR address to be used when configuring limited access
532
+ tokens with the \`npm token create\` command.
533
+ `,
534
+ flatten,
535
+ }),
536
+ // This should never be directly used, the flattened value is the derived value
537
+ // and is sent to other modules, and is also exposed as `npm.color` for use
538
+ // inside npm itself.
539
+ color: new Definition('color', {
540
+ default: !process.env.NO_COLOR || process.env.NO_COLOR === '0',
541
+ usage: '--color|--no-color|--color always',
542
+ defaultDescription: `
543
+ true unless the NO_COLOR environ is set to something other than '0'
544
+ `,
545
+ type: ['always', Boolean],
546
+ description: `
547
+ If false, never shows colors. If \`"always"\` then always shows colors.
548
+ If true, then only prints color codes for tty file descriptors.
549
+ `,
550
+ flatten (key, obj, flatOptions) {
551
+ flatOptions.color = !obj.color ? false
552
+ : obj.color === 'always' ? true
553
+ : !!process.stdout.isTTY
554
+ flatOptions.logColor = !obj.color ? false
555
+ : obj.color === 'always' ? true
556
+ : !!process.stderr.isTTY
557
+ },
558
+ }),
559
+ 'commit-hooks': new Definition('commit-hooks', {
560
+ default: true,
561
+ type: Boolean,
562
+ description: `
563
+ Run git commit hooks when using the \`npm version\` command.
564
+ `,
565
+ flatten,
566
+ }),
567
+ cpu: new Definition('cpu', {
568
+ default: null,
569
+ type: [null, String],
570
+ description: `
571
+ Override CPU architecture of native modules to install.
572
+ Acceptable values are same as \`cpu\` field of package.json,
573
+ which comes from \`process.arch\`.
574
+ `,
575
+ flatten,
576
+ }),
577
+ 'dangerously-allow-all-scripts': new Definition('dangerously-allow-all-scripts', {
578
+ default: false,
579
+ type: Boolean,
580
+ description: `
581
+ If \`true\`, bypass the \`allowScripts\` policy entirely and run every
582
+ dependency install script regardless of whether it was approved or
583
+ denied. Intended as a migration escape hatch only; its use is strongly
584
+ discouraged. \`--ignore-scripts\` still takes precedence over this
585
+ setting.
586
+ `,
587
+ flatten,
588
+ }),
589
+ depth: new Definition('depth', {
590
+ default: null,
591
+ defaultDescription: `
592
+ \`Infinity\` if \`--all\` is set; otherwise, \`0\`
593
+ `,
594
+ type: [null, Number],
595
+ description: `
596
+ The depth to go when recursing packages for \`npm ls\`.
597
+
598
+ If not set, \`npm ls\` will show only the immediate dependencies of the
599
+ root project. If \`--all\` is set, then npm will show all dependencies
600
+ by default.
601
+ `,
602
+ flatten,
603
+ }),
604
+ description: new Definition('description', {
605
+ default: true,
606
+ type: Boolean,
607
+ usage: '--no-description',
608
+ description: `
609
+ Show the description in \`npm search\`
610
+ `,
611
+ flatten (key, obj, flatOptions) {
612
+ flatOptions.search = flatOptions.search || { limit: 20 }
613
+ flatOptions.search[key] = obj[key]
614
+ },
615
+ }),
616
+ dev: new Definition('dev', {
617
+ default: false,
618
+ type: Boolean,
619
+ description: `
620
+ Alias for \`--include=dev\`.
621
+ `,
622
+ deprecated: 'Please use --include=dev instead.',
623
+ flatten (key, obj, flatOptions) {
624
+ definitions.omit.flatten('omit', obj, flatOptions)
625
+ },
626
+ }),
627
+ diff: new Definition('diff', {
628
+ default: [],
629
+ hint: '<package-spec>',
630
+ type: [String, Array],
631
+ description: `
632
+ Define arguments to compare in \`npm diff\`.
633
+ `,
634
+ flatten,
635
+ }),
636
+ 'diff-ignore-all-space': new Definition('diff-ignore-all-space', {
637
+ default: false,
638
+ type: Boolean,
639
+ description: `
640
+ Ignore whitespace when comparing lines in \`npm diff\`.
641
+ `,
642
+ flatten,
643
+ }),
644
+ 'diff-name-only': new Definition('diff-name-only', {
645
+ default: false,
646
+ type: Boolean,
647
+ description: `
648
+ Prints only filenames when using \`npm diff\`.
649
+ `,
650
+ flatten,
651
+ }),
652
+ 'diff-no-prefix': new Definition('diff-no-prefix', {
653
+ default: false,
654
+ type: Boolean,
655
+ description: `
656
+ Do not show any source or destination prefix in \`npm diff\` output.
657
+
658
+ Note: this causes \`npm diff\` to ignore the \`--diff-src-prefix\` and
659
+ \`--diff-dst-prefix\` configs.
660
+ `,
661
+ flatten,
662
+ }),
663
+ 'diff-dst-prefix': new Definition('diff-dst-prefix', {
664
+ default: 'b/',
665
+ hint: '<path>',
666
+ type: String,
667
+ description: `
668
+ Destination prefix to be used in \`npm diff\` output.
669
+ `,
670
+ flatten,
671
+ }),
672
+ 'diff-src-prefix': new Definition('diff-src-prefix', {
673
+ default: 'a/',
674
+ hint: '<path>',
675
+ type: String,
676
+ description: `
677
+ Source prefix to be used in \`npm diff\` output.
678
+ `,
679
+ flatten,
680
+ }),
681
+ 'diff-text': new Definition('diff-text', {
682
+ default: false,
683
+ type: Boolean,
684
+ description: `
685
+ Treat all files as text in \`npm diff\`.
686
+ `,
687
+ flatten,
688
+ }),
689
+ 'diff-unified': new Definition('diff-unified', {
690
+ default: 3,
691
+ type: Number,
692
+ description: `
693
+ The number of lines of context to print in \`npm diff\`.
694
+ `,
695
+ flatten,
696
+ }),
697
+ 'dry-run': new Definition('dry-run', {
698
+ default: false,
699
+ type: Boolean,
700
+ description: `
701
+ Indicates that you don't want npm to make any changes and that it should
702
+ only report what it would have done. This can be passed into any of the
703
+ commands that modify your local installation, eg, \`install\`,
704
+ \`update\`, \`dedupe\`, \`uninstall\`, as well as \`pack\` and
705
+ \`publish\`.
706
+
707
+ Note: This is NOT honored by other network related commands, eg
708
+ \`dist-tags\`, \`owner\`, etc.
709
+ `,
710
+ flatten,
711
+ }),
712
+ editor: new Definition('editor', {
713
+ default: editor,
714
+ defaultDescription: `
715
+ The EDITOR or VISUAL environment variables, or '%SYSTEMROOT%\\notepad.exe' on Windows,
716
+ or 'vi' on Unix systems
717
+ `,
718
+ type: String,
719
+ description: `
720
+ The command to run for \`npm edit\` and \`npm config edit\`.
721
+ `,
722
+ flatten,
723
+ }),
724
+ 'engine-strict': new Definition('engine-strict', {
725
+ default: false,
726
+ type: Boolean,
727
+ description: `
728
+ If set to true, then npm will stubbornly refuse to install (or even
729
+ consider installing) any package that claims to not be compatible with
730
+ the current Node.js version.
731
+
732
+ This can be overridden by setting the \`--force\` flag.
733
+ `,
734
+ flatten,
735
+ }),
736
+ 'expect-result-count': new Definition('expect-result-count', {
737
+ default: null,
738
+ type: [null, Number],
739
+ hint: '<count>',
740
+ exclusive: ['expect-results'],
741
+ description: `
742
+ Tells to expect a specific number of results from the command.
743
+ `,
744
+ }),
745
+ 'expect-results': new Definition('expect-results', {
746
+ default: null,
747
+ type: [null, Boolean],
748
+ exclusive: ['expect-result-count'],
749
+ description: `
750
+ Tells npm whether or not to expect results from the command.
751
+ Can be either true (expect some results) or false (expect no results).
752
+ `,
753
+ }),
754
+ expires: new Definition('expires', {
755
+ default: null,
756
+ type: [null, Number],
757
+ description: `
758
+ When creating a Granular Access Token with \`npm token create\`,
759
+ this sets the expiration in days. If not specified, the server
760
+ will determine the default expiration.
761
+ `,
762
+ flatten,
763
+ }),
764
+ 'fetch-retries': new Definition('fetch-retries', {
765
+ default: 2,
766
+ type: Number,
767
+ description: `
768
+ The "retries" config for the \`retry\` module to use when fetching
769
+ packages from the registry.
770
+
771
+ npm will retry idempotent read requests to the registry in the case
772
+ of network failures or 5xx HTTP errors.
773
+ `,
774
+ flatten (key, obj, flatOptions) {
775
+ flatOptions.retry = flatOptions.retry || {}
776
+ flatOptions.retry.retries = obj[key]
777
+ },
778
+ }),
779
+ 'fetch-retry-factor': new Definition('fetch-retry-factor', {
780
+ default: 10,
781
+ type: Number,
782
+ description: `
783
+ The "factor" config for the \`retry\` module to use when fetching
784
+ packages.
785
+ `,
786
+ flatten (key, obj, flatOptions) {
787
+ flatOptions.retry = flatOptions.retry || {}
788
+ flatOptions.retry.factor = obj[key]
789
+ },
790
+ }),
791
+ 'fetch-retry-maxtimeout': new Definition('fetch-retry-maxtimeout', {
792
+ default: 60000,
793
+ defaultDescription: '60000 (1 minute)',
794
+ type: Number,
795
+ description: `
796
+ The "maxTimeout" config for the \`retry\` module to use when fetching
797
+ packages.
798
+ `,
799
+ flatten (key, obj, flatOptions) {
800
+ flatOptions.retry = flatOptions.retry || {}
801
+ flatOptions.retry.maxTimeout = obj[key]
802
+ },
803
+ }),
804
+ 'fetch-retry-mintimeout': new Definition('fetch-retry-mintimeout', {
805
+ default: 10000,
806
+ defaultDescription: '10000 (10 seconds)',
807
+ type: Number,
808
+ description: `
809
+ The "minTimeout" config for the \`retry\` module to use when fetching
810
+ packages.
811
+ `,
812
+ flatten (key, obj, flatOptions) {
813
+ flatOptions.retry = flatOptions.retry || {}
814
+ flatOptions.retry.minTimeout = obj[key]
815
+ },
816
+ }),
817
+ 'fetch-timeout': new Definition('fetch-timeout', {
818
+ default: 5 * 60 * 1000,
819
+ defaultDescription: `${5 * 60 * 1000} (5 minutes)`,
820
+ type: Number,
821
+ description: `
822
+ The maximum amount of time to wait for HTTP requests to complete.
823
+ `,
824
+ flatten (key, obj, flatOptions) {
825
+ flatOptions.timeout = obj[key]
826
+ },
827
+ }),
828
+ force: new Definition('force', {
829
+ default: false,
830
+ type: Boolean,
831
+ short: 'f',
832
+ description: `
833
+ Removes various protections against unfortunate side effects, common
834
+ mistakes, unnecessary performance degradation, and malicious input.
835
+
836
+ * Allow clobbering non-npm files in global installs.
837
+ * Allow the \`npm version\` command to work on an unclean git repository.
838
+ * Allow deleting the cache folder with \`npm cache clean\`.
839
+ * Allow installing packages that have an \`engines\` declaration
840
+ requiring a different version of npm.
841
+ * Allow installing packages that have an \`engines\` declaration
842
+ requiring a different version of \`node\`, even if \`--engine-strict\`
843
+ is enabled.
844
+ * Allow \`npm audit fix\` to install modules outside your stated
845
+ dependency range (including SemVer-major changes).
846
+ * Allow unpublishing all versions of a published package.
847
+ * Allow conflicting peerDependencies to be installed in the root project.
848
+ * Implicitly set \`--yes\` during \`npm init\`.
849
+ * Allow clobbering existing values in \`npm pkg\`
850
+ * Allow unpublishing of entire packages (not just a single version).
851
+
852
+ If you don't have a clear idea of what you want to do, it is strongly
853
+ recommended that you do not use this option!
854
+ `,
855
+ flatten,
856
+ }),
857
+ 'foreground-scripts': new Definition('foreground-scripts', {
858
+ default: false,
859
+ defaultDescription: `\`false\` unless when using \`npm pack\` or \`npm publish\` where it
860
+ defaults to \`true\``,
861
+ type: Boolean,
862
+ description: `
863
+ Run all build scripts (ie, \`preinstall\`, \`install\`, and
864
+ \`postinstall\`) scripts for installed packages in the foreground
865
+ process, sharing standard input, output, and error with the main npm
866
+ process.
867
+
868
+ Note that this will generally make installs run slower, and be much
869
+ noisier, but can be useful for debugging.
870
+ `,
871
+ flatten,
872
+ }),
873
+ 'format-package-lock': new Definition('format-package-lock', {
874
+ default: true,
875
+ type: Boolean,
876
+ description: `
877
+ Format \`package-lock.json\` or \`npm-shrinkwrap.json\` as a human
878
+ readable file.
879
+ `,
880
+ flatten,
881
+ }),
882
+ fund: new Definition('fund', {
883
+ default: true,
884
+ type: Boolean,
885
+ description: `
886
+ When "true" displays the message at the end of each \`npm install\`
887
+ acknowledging the number of dependencies looking for funding.
888
+ See [\`npm fund\`](/commands/npm-fund) for details.
889
+ `,
890
+ flatten,
891
+ }),
892
+ git: new Definition('git', {
893
+ default: 'git',
894
+ type: String,
895
+ description: `
896
+ The command to use for git commands. If git is installed on the
897
+ computer, but is not in the \`PATH\`, then set this to the full path to
898
+ the git binary.
899
+ `,
900
+ flatten,
901
+ }),
902
+ 'git-tag-version': new Definition('git-tag-version', {
903
+ default: true,
904
+ type: Boolean,
905
+ description: `
906
+ Tag the commit when using the \`npm version\` command. Setting this to
907
+ false results in no commit being made at all.
908
+ `,
909
+ flatten,
910
+ }),
911
+ global: new Definition('global', {
912
+ default: false,
913
+ type: Boolean,
914
+ short: 'g',
915
+ description: `
916
+ Operates in "global" mode, so that packages are installed into the
917
+ \`prefix\` folder instead of the current working directory. See
918
+ [folders](/configuring-npm/folders) for more on the differences in
919
+ behavior.
920
+
921
+ * packages are installed into the \`{prefix}/lib/node_modules\` folder,
922
+ instead of the current working directory.
923
+ * bin files are linked to \`{prefix}/bin\`
924
+ * man pages are linked to \`{prefix}/share/man\`
925
+ `,
926
+ flatten: (key, obj, flatOptions) => {
927
+ flatten(key, obj, flatOptions)
928
+ if (flatOptions.global) {
929
+ flatOptions.location = 'global'
930
+ }
931
+ },
932
+ }),
933
+ // the globalconfig has its default defined outside of this module
934
+ globalconfig: new Definition('globalconfig', {
935
+ type: path,
936
+ default: '',
937
+ defaultDescription: `
938
+ The global --prefix setting plus 'etc/npmrc'. For example,
939
+ '/usr/local/etc/npmrc'
940
+ `,
941
+ description: `
942
+ The config file to read for global config options.
943
+ `,
944
+ flatten,
945
+ }),
946
+ 'global-style': new Definition('global-style', {
947
+ default: false,
948
+ type: Boolean,
949
+ description: `
950
+ Only install direct dependencies in the top level \`node_modules\`,
951
+ but hoist on deeper dependencies.
952
+ Sets \`--install-strategy=shallow\`.
953
+ `,
954
+ deprecated: `
955
+ This option has been deprecated in favor of \`--install-strategy=shallow\`
956
+ `,
957
+ flatten (key, obj, flatOptions) {
958
+ if (obj[key]) {
959
+ obj['install-strategy'] = 'shallow'
960
+ flatOptions.installStrategy = 'shallow'
961
+ }
962
+ },
963
+ }),
964
+ heading: new Definition('heading', {
965
+ default: 'npm',
966
+ type: String,
967
+ description: `
968
+ The string that starts all the debugging log output.
969
+ `,
970
+ flatten,
971
+ }),
972
+ 'https-proxy': new Definition('https-proxy', {
973
+ default: null,
974
+ type: [null, url],
975
+ description: `
976
+ A proxy to use for outgoing https requests. If the \`HTTPS_PROXY\` or
977
+ \`https_proxy\` or \`HTTP_PROXY\` or \`http_proxy\` environment variables
978
+ are set, proxy settings will be honored by the underlying
979
+ \`make-fetch-happen\` library.
980
+ `,
981
+ flatten,
982
+ }),
983
+ 'if-present': new Definition('if-present', {
984
+ default: false,
985
+ type: Boolean,
986
+ envExport: false,
987
+ description: `
988
+ If true, npm will not exit with an error code when \`run\` is
989
+ invoked for a script that isn't defined in the \`scripts\` section of
990
+ \`package.json\`. This option can be used when it's desirable to
991
+ optionally run a script when it's present and fail if the script fails.
992
+ This is useful, for example, when running scripts that may only apply for
993
+ some builds in an otherwise generic CI setup.
994
+ `,
995
+ flatten,
996
+ }),
997
+ 'ignore-scripts': new Definition('ignore-scripts', {
998
+ default: false,
999
+ type: Boolean,
1000
+ description: `
1001
+ If true, npm does not run scripts specified in package.json files.
1002
+
1003
+ Note that commands explicitly intended to run a particular script, such
1004
+ as \`npm start\`, \`npm stop\`, \`npm restart\`, \`npm test\`, and \`npm
1005
+ run\` will still run their intended script if \`ignore-scripts\` is
1006
+ set, but they will *not* run any pre- or post-scripts.
1007
+ `,
1008
+ flatten,
1009
+ }),
1010
+ include: new Definition('include', {
1011
+ default: [],
1012
+ type: [Array, 'prod', 'dev', 'optional', 'peer'],
1013
+ description: `
1014
+ Option that allows for defining which types of dependencies to install.
1015
+
1016
+ This is the inverse of \`--omit=<type>\`.
1017
+
1018
+ Dependency types specified in \`--include\` will not be omitted,
1019
+ regardless of the order in which omit/include are specified on the
1020
+ command-line.
1021
+ `,
1022
+ flatten (key, obj, flatOptions) {
1023
+ // just call the omit flattener, it reads from obj.include
1024
+ definitions.omit.flatten('omit', obj, flatOptions)
1025
+ },
1026
+ }),
1027
+ 'include-staged': new Definition('include-staged', {
1028
+ default: false,
1029
+ type: Boolean,
1030
+ description: `
1031
+ Allow installing "staged" published packages, as defined by [npm RFC PR
1032
+ #92](https://github.com/npm/rfcs/pull/92).
1033
+
1034
+ This is experimental, and not implemented by the npm public registry.
1035
+ `,
1036
+ flatten,
1037
+ }),
1038
+ 'include-workspace-root': new Definition('include-workspace-root', {
1039
+ default: false,
1040
+ type: Boolean,
1041
+ envExport: false,
1042
+ description: `
1043
+ Include the workspace root when workspaces are enabled for a command.
1044
+
1045
+ When false, specifying individual workspaces via the \`workspace\` config,
1046
+ or all workspaces via the \`workspaces\` flag, will cause npm to operate only
1047
+ on the specified workspaces, and not on the root project.
1048
+ `,
1049
+ flatten,
1050
+ }),
1051
+ 'include-attestations': new Definition('include-attestations', {
1052
+ default: false,
1053
+ type: Boolean,
1054
+ description: `
1055
+ When used with \`npm audit signatures --json\`, includes the full
1056
+ sigstore attestation bundles in the JSON output for each verified
1057
+ package. The bundles contain DSSE envelopes, verification material,
1058
+ and transparency log entries.
1059
+ `,
1060
+ flatten,
1061
+ }),
1062
+ 'init-author-email': new Definition('init-author-email', {
1063
+ default: '',
1064
+ hint: '<email>',
1065
+ type: String,
1066
+ description: `
1067
+ The value \`npm init\` should use by default for the package author's
1068
+ email.
1069
+ `,
1070
+ }),
1071
+ 'init-author-name': new Definition('init-author-name', {
1072
+ default: '',
1073
+ hint: '<name>',
1074
+ type: String,
1075
+ description: `
1076
+ The value \`npm init\` should use by default for the package author's name.
1077
+ `,
1078
+ }),
1079
+ 'init-author-url': new Definition('init-author-url', {
1080
+ default: '',
1081
+ type: ['', url],
1082
+ hint: '<url>',
1083
+ description: `
1084
+ The value \`npm init\` should use by default for the package author's homepage.
1085
+ `,
1086
+ }),
1087
+ 'init-license': new Definition('init-license', {
1088
+ default: 'ISC',
1089
+ hint: '<license>',
1090
+ type: String,
1091
+ description: `
1092
+ The value \`npm init\` should use by default for the package license.
1093
+ `,
1094
+ }),
1095
+ 'init-module': new Definition('init-module', {
1096
+ default: '~/.npm-init.js',
1097
+ type: path,
1098
+ hint: '<module>',
1099
+ description: `
1100
+ A module that will be loaded by the \`npm init\` command. See the
1101
+ documentation for the
1102
+ [init-package-json](https://github.com/npm/init-package-json) module for
1103
+ more information, or [npm init](/commands/npm-init).
1104
+ `,
1105
+ }),
1106
+ 'init-type': new Definition('init-type', {
1107
+ default: 'commonjs',
1108
+ type: String,
1109
+ hint: '<type>',
1110
+ description: `
1111
+ The value that \`npm init\` should use by default for the package.json type field.
1112
+ `,
1113
+ }),
1114
+ 'init-version': new Definition('init-version', {
1115
+ default: '1.0.0',
1116
+ type: Semver,
1117
+ hint: '<version>',
1118
+ description: `
1119
+ The value that \`npm init\` should use by default for the package
1120
+ version number, if not already set in package.json.
1121
+ `,
1122
+ }),
1123
+ 'init-private': new Definition('init-private', {
1124
+ default: false,
1125
+ type: Boolean,
1126
+ description: `
1127
+ The value \`npm init\` should use by default for the package's private flag.
1128
+ `,
1129
+ flatten,
1130
+ }),
1131
+ // these "aliases" are historically supported in .npmrc files, unfortunately
1132
+ // They should be removed in a future npm version.
1133
+ 'init.author.email': new Definition('init.author.email', {
1134
+ default: '',
1135
+ type: String,
1136
+ deprecated: `
1137
+ Use \`--init-author-email\` instead.`,
1138
+ description: `
1139
+ Alias for \`--init-author-email\`
1140
+ `,
1141
+ }),
1142
+ 'init.author.name': new Definition('init.author.name', {
1143
+ default: '',
1144
+ type: String,
1145
+ deprecated: `
1146
+ Use \`--init-author-name\` instead.
1147
+ `,
1148
+ description: `
1149
+ Alias for \`--init-author-name\`
1150
+ `,
1151
+ }),
1152
+ 'init.author.url': new Definition('init.author.url', {
1153
+ default: '',
1154
+ type: ['', url],
1155
+ deprecated: `
1156
+ Use \`--init-author-url\` instead.
1157
+ `,
1158
+ description: `
1159
+ Alias for \`--init-author-url\`
1160
+ `,
1161
+ }),
1162
+ 'init.license': new Definition('init.license', {
1163
+ default: 'ISC',
1164
+ type: String,
1165
+ deprecated: `
1166
+ Use \`--init-license\` instead.
1167
+ `,
1168
+ description: `
1169
+ Alias for \`--init-license\`
1170
+ `,
1171
+ }),
1172
+ 'init.module': new Definition('init.module', {
1173
+ default: '~/.npm-init.js',
1174
+ type: path,
1175
+ deprecated: `
1176
+ Use \`--init-module\` instead.
1177
+ `,
1178
+ description: `
1179
+ Alias for \`--init-module\`
1180
+ `,
1181
+ }),
1182
+ 'init.version': new Definition('init.version', {
1183
+ default: '1.0.0',
1184
+ type: Semver,
1185
+ deprecated: `
1186
+ Use \`--init-version\` instead.
1187
+ `,
1188
+ description: `
1189
+ Alias for \`--init-version\`
1190
+ `,
1191
+ }),
1192
+ 'install-links': new Definition('install-links', {
1193
+ default: false,
1194
+ type: Boolean,
1195
+ description: `
1196
+ When set file: protocol dependencies will be packed and installed as
1197
+ regular dependencies instead of creating a symlink. This option has
1198
+ no effect on workspaces.
1199
+ `,
1200
+ flatten,
1201
+ }),
1202
+ 'install-strategy': new Definition('install-strategy', {
1203
+ default: 'hoisted',
1204
+ type: ['hoisted', 'nested', 'shallow', 'linked'],
1205
+ description: `
1206
+ Sets the strategy for installing packages in node_modules.
1207
+ hoisted (default): Install non-duplicated in top-level, and duplicated as
1208
+ necessary within directory structure.
1209
+ nested: (formerly --legacy-bundling) install in place, no hoisting.
1210
+ shallow (formerly --global-style) only install direct deps at top-level.
1211
+ linked: install in node_modules/.store, link in place, unhoisted.
1212
+
1213
+ We recommend that package authors use \`--install-strategy=linked\`
1214
+ during development to catch undeclared ("phantom") dependencies before
1215
+ publishing: the isolated layout only exposes a package's declared
1216
+ dependencies, so an \`import\` of a package that was never added to
1217
+ \`package.json\` can fail instead of resolving by accident and shipping
1218
+ broken. See [Catching undeclared ("phantom")
1219
+ dependencies](/using-npm/developers#catching-undeclared-phantom-dependencies).
1220
+ `,
1221
+ flatten,
1222
+ }),
1223
+ json: new Definition('json', {
1224
+ default: false,
1225
+ type: Boolean,
1226
+ description: `
1227
+ Whether or not to output JSON data, rather than the normal output.
1228
+
1229
+ * In \`npm pkg set\` it enables parsing set values with JSON.parse()
1230
+ before saving them to your \`package.json\`.
1231
+
1232
+ Not supported by all npm commands.
1233
+ `,
1234
+ flatten,
1235
+ }),
1236
+ key: new Definition('key', {
1237
+ default: null,
1238
+ type: [null, String],
1239
+ description: `
1240
+ A client key to pass when accessing the registry. Values should be in
1241
+ PEM format with newlines replaced by the string "\\n". For example:
1242
+
1243
+ \`\`\`ini
1244
+ key="-----BEGIN PRIVATE KEY-----\\nXXXX\\nXXXX\\n-----END PRIVATE KEY-----"
1245
+ \`\`\`
1246
+
1247
+ It is _not_ the path to a key file, though you can set a registry-scoped
1248
+ "keyfile" path like "//other-registry.tld/:keyfile=/path/to/key.pem".
1249
+ `,
1250
+ deprecated: `
1251
+ \`key\` and \`cert\` are no longer used for most registry operations.
1252
+ Use registry scoped \`keyfile\` and \`certfile\` instead.
1253
+ Example:
1254
+ //other-registry.tld/:keyfile=/path/to/key.pem
1255
+ //other-registry.tld/:certfile=/path/to/cert.crt
1256
+ `,
1257
+ flatten,
1258
+ }),
1259
+ 'legacy-bundling': new Definition('legacy-bundling', {
1260
+ default: false,
1261
+ type: Boolean,
1262
+ description: `
1263
+ Instead of hoisting package installs in \`node_modules\`, install packages
1264
+ in the same manner that they are depended on. This may cause very deep
1265
+ directory structures and duplicate package installs as there is no
1266
+ de-duplicating.
1267
+ Sets \`--install-strategy=nested\`.
1268
+ `,
1269
+ deprecated: `
1270
+ This option has been deprecated in favor of \`--install-strategy=nested\`
1271
+ `,
1272
+ flatten (key, obj, flatOptions) {
1273
+ if (obj[key]) {
1274
+ obj['install-strategy'] = 'nested'
1275
+ flatOptions.installStrategy = 'nested'
1276
+ }
1277
+ },
1278
+ }),
1279
+ 'legacy-peer-deps': new Definition('legacy-peer-deps', {
1280
+ default: false,
1281
+ type: Boolean,
1282
+ description: `
1283
+ Causes npm to completely ignore \`peerDependencies\` when building a
1284
+ package tree, as in npm versions 3 through 6.
1285
+
1286
+ If a package cannot be installed because of overly strict
1287
+ \`peerDependencies\` that collide, it provides a way to move forward
1288
+ resolving the situation.
1289
+
1290
+ This differs from \`--omit=peer\`, in that \`--omit=peer\` will avoid
1291
+ unpacking \`peerDependencies\` on disk, but will still design a tree such
1292
+ that \`peerDependencies\` _could_ be unpacked in a correct place.
1293
+
1294
+ Use of \`legacy-peer-deps\` is not recommended, as it will not enforce
1295
+ the \`peerDependencies\` contract that meta-dependencies may rely on.
1296
+ `,
1297
+ flatten,
1298
+ }),
1299
+ libc: new Definition('libc', {
1300
+ default: null,
1301
+ type: [null, String],
1302
+ description: `
1303
+ Override libc of native modules to install.
1304
+ Acceptable values are same as \`libc\` field of package.json
1305
+ `,
1306
+ flatten,
1307
+ }),
1308
+ link: new Definition('link', {
1309
+ default: false,
1310
+ type: Boolean,
1311
+ description: `
1312
+ Used with \`npm ls\`, limiting output to only those packages that are
1313
+ linked.
1314
+ `,
1315
+ }),
1316
+ 'local-address': new Definition('local-address', {
1317
+ default: null,
1318
+ type: getLocalAddresses(),
1319
+ typeDescription: 'IP Address',
1320
+ description: `
1321
+ The IP address of the local interface to use when making connections to
1322
+ the npm registry. Must be IPv4 in versions of Node prior to 0.12.
1323
+ `,
1324
+ flatten,
1325
+ }),
1326
+ location: new Definition('location', {
1327
+ default: 'user',
1328
+ short: 'L',
1329
+ type: [
1330
+ 'global',
1331
+ 'user',
1332
+ 'project',
1333
+ ],
1334
+ defaultDescription: `
1335
+ "user" unless \`--global\` is passed, which will also set this value to "global"
1336
+ `,
1337
+ description: `
1338
+ When passed to \`npm config\` this refers to which config file to use.
1339
+
1340
+ When set to "global" mode, packages are installed into the \`prefix\` folder
1341
+ instead of the current working directory. See
1342
+ [folders](/configuring-npm/folders) for more on the differences in behavior.
1343
+
1344
+ * packages are installed into the \`{prefix}/lib/node_modules\` folder,
1345
+ instead of the current working directory.
1346
+ * bin files are linked to \`{prefix}/bin\`
1347
+ * man pages are linked to \`{prefix}/share/man\`
1348
+ `,
1349
+ flatten: (key, obj, flatOptions) => {
1350
+ flatten(key, obj, flatOptions)
1351
+ if (flatOptions.global) {
1352
+ flatOptions.location = 'global'
1353
+ }
1354
+ if (obj.location === 'global') {
1355
+ flatOptions.global = true
1356
+ }
1357
+ },
1358
+ }),
1359
+ 'lockfile-version': new Definition('lockfile-version', {
1360
+ default: null,
1361
+ type: [null, 1, 2, 3, '1', '2', '3'],
1362
+ defaultDescription: `
1363
+ Version 3 if no lockfile, auto-converting v1 lockfiles to v3; otherwise,
1364
+ maintain current lockfile version.`,
1365
+ description: `
1366
+ Set the lockfile format version to be used in package-lock.json and
1367
+ npm-shrinkwrap-json files. Possible options are:
1368
+
1369
+ 1: The lockfile version used by npm versions 5 and 6. Lacks some data that
1370
+ is used during the install, resulting in slower and possibly less
1371
+ deterministic installs. Prevents lockfile churn when interoperating with
1372
+ older npm versions.
1373
+
1374
+ 2: The default lockfile version used by npm version 7 and 8. Includes both
1375
+ the version 1 lockfile data and version 3 lockfile data, for maximum
1376
+ determinism and interoperability, at the expense of more bytes on disk.
1377
+
1378
+ 3: Only the new lockfile information introduced in npm version 7. Smaller
1379
+ on disk than lockfile version 2, but not interoperable with older npm
1380
+ versions. Ideal if all users are on npm version 7 and higher.
1381
+ `,
1382
+ flatten: (key, obj, flatOptions) => {
1383
+ flatOptions.lockfileVersion = obj[key] && parseInt(obj[key], 10)
1384
+ },
1385
+ }),
1386
+ loglevel: new Definition('loglevel', {
1387
+ default: 'notice',
1388
+ type: [
1389
+ 'silent',
1390
+ 'error',
1391
+ 'warn',
1392
+ 'notice',
1393
+ 'http',
1394
+ 'info',
1395
+ 'verbose',
1396
+ 'silly',
1397
+ ],
1398
+ description: `
1399
+ What level of logs to report. All logs are written to a debug log,
1400
+ with the path to that file printed if the execution of a command fails.
1401
+
1402
+ Any logs of a higher level than the setting are shown. The default is
1403
+ "notice".
1404
+
1405
+ See also the \`foreground-scripts\` config.
1406
+ `,
1407
+ flatten (key, obj, flatOptions) {
1408
+ flatOptions.silent = obj[key] === 'silent'
1409
+ },
1410
+ }),
1411
+ 'logs-dir': new Definition('logs-dir', {
1412
+ default: null,
1413
+ type: [null, path],
1414
+ defaultDescription: `
1415
+ A directory named \`_logs\` inside the cache
1416
+ `,
1417
+ description: `
1418
+ The location of npm's log directory. See [\`npm
1419
+ logging\`](/using-npm/logging) for more information.
1420
+ `,
1421
+ }),
1422
+ 'logs-max': new Definition('logs-max', {
1423
+ default: 10,
1424
+ type: Number,
1425
+ description: `
1426
+ The maximum number of log files to store.
1427
+
1428
+ If set to 0, no log files will be written for the current run.
1429
+ `,
1430
+ }),
1431
+ long: new Definition('long', {
1432
+ default: false,
1433
+ type: Boolean,
1434
+ short: 'l',
1435
+ description: `
1436
+ Show extended information in \`ls\`, \`search\`, and \`help-search\`.
1437
+ `,
1438
+ }),
1439
+ name: new Definition('name', {
1440
+ default: null,
1441
+ type: [null, String],
1442
+ hint: '<name>',
1443
+ description: `
1444
+ When creating a Granular Access Token with \`npm token create\`,
1445
+ this sets the name/description for the token.
1446
+ `,
1447
+ flatten,
1448
+ }),
1449
+ maxsockets: new Definition('maxsockets', {
1450
+ default: 15,
1451
+ type: Number,
1452
+ description: `
1453
+ The maximum number of connections to use per origin (protocol/host/port
1454
+ combination).
1455
+ `,
1456
+ flatten (key, obj, flatOptions) {
1457
+ flatOptions.maxSockets = obj[key]
1458
+ },
1459
+ }),
1460
+ message: new Definition('message', {
1461
+ default: '%s',
1462
+ type: String,
1463
+ short: 'm',
1464
+ description: `
1465
+ Commit message which is used by \`npm version\` when creating version commit.
1466
+
1467
+ Any "%s" in the message will be replaced with the version number.
1468
+ `,
1469
+ flatten,
1470
+ }),
1471
+ 'min-release-age': new Definition('min-release-age', {
1472
+ default: null,
1473
+ hint: '<days>',
1474
+ type: [null, Number],
1475
+ envExport: false,
1476
+ description: `
1477
+ If set, npm will build the npm tree such that only versions that were
1478
+ available more than the given number of days ago will be installed. If
1479
+ there are no versions available for the current set of dependencies, the
1480
+ command will error.
1481
+
1482
+ This flag is a complement to \`before\`, which accepts an exact date
1483
+ instead of a relative number of days. The two may coexist (e.g.
1484
+ \`min-release-age\` in your \`.npmrc\` is preserved when npm internally
1485
+ spawns a sub-process with \`--before\` while preparing a \`git:\` or
1486
+ \`github:\` dependency); when both apply, \`before\` wins within a
1487
+ single source and across sources the standard precedence rules apply.
1488
+
1489
+ When this window stops \`npm audit fix\` from installing a patched
1490
+ version (because the fix was published too recently), npm keeps the
1491
+ package at its vulnerable version, warns that the fix was blocked, and
1492
+ exits with a non-zero code. To install the fix, add the package to
1493
+ \`min-release-age-exclude\`, or relax \`min-release-age\` or \`before\`.
1494
+
1495
+ Packages whose names match \`min-release-age-exclude\` are exempt from
1496
+ this filter.
1497
+ `,
1498
+ flatten: (key, obj, flatOptions) => {
1499
+ const age = obj['min-release-age']
1500
+ // `hasOwn` so a `before` inherited via ConfigData's prototype chain (lib/index.js) from a lower-priority source doesn't silently win.
1501
+ // The `: null` clear depends on `Config#flat` iterating sources low → high.
1502
+ if (age != null && !Object.hasOwn(obj, 'before')) {
1503
+ flatOptions.before = age ? new Date(Date.now() - (86400000 * age)) : null
1504
+ }
1505
+ },
1506
+ }),
1507
+ 'min-release-age-exclude': new Definition('min-release-age-exclude', {
1508
+ default: [],
1509
+ hint: '<pkg|glob>',
1510
+ type: [Array, String],
1511
+ envExport: false,
1512
+ description: `
1513
+ A list of package names or \`minimatch\` glob patterns that are exempt
1514
+ from the \`min-release-age\` (and \`before\`) filter. A matching package
1515
+ can always resolve to its newest version, even when a release-age window
1516
+ is set.
1517
+
1518
+ For example, to apply a release-age window to third-party dependencies
1519
+ while letting internally maintained packages update immediately:
1520
+
1521
+ \`\`\`
1522
+ min-release-age=7
1523
+ min-release-age-exclude[]=@myorg/*
1524
+ min-release-age-exclude[]=my-internal-pkg
1525
+ \`\`\`
1526
+
1527
+ Only the named package is exempt; its own dependencies still follow the
1528
+ release-age policy unless they also match a pattern. Patterns match
1529
+ against the package name, so \`@myorg/*\` matches \`@myorg/shared-utils\`.
1530
+
1531
+ Excluding a package does not change which registry it is fetched from. You
1532
+ should own your private scope on the public registry so that nobody else
1533
+ can publish a package with the same name.
1534
+ `,
1535
+ flatten: (key, obj, flatOptions) => {
1536
+ // The config layer always resolves this to an array (nopt and .npmrc both
1537
+ // coerce `[Array, String]` to a list, default `[]`), so treat it as one.
1538
+ // A single value may still pack multiple names as a comma string.
1539
+ const list = obj[key]
1540
+ .flatMap(v => String(v).split(','))
1541
+ .map(v => v.trim())
1542
+ .filter(Boolean)
1543
+ flatOptions.minReleaseAgeExclude = [...new Set(list)]
1544
+ },
1545
+ }),
1546
+ 'node-gyp': new Definition('node-gyp', {
1547
+ default: (() => {
1548
+ try {
1549
+ return require.resolve('node-gyp/bin/node-gyp.js')
1550
+ } catch {
1551
+ return ''
1552
+ }
1553
+ })(),
1554
+ defaultDescription: `
1555
+ The path to the node-gyp bin that ships with npm
1556
+ `,
1557
+ type: path,
1558
+ description: `
1559
+ This is the location of the "node-gyp" bin. By default it uses one that ships with npm itself.
1560
+
1561
+ You can use this config to specify your own "node-gyp" to run when it is required to build a package.
1562
+ `,
1563
+ flatten,
1564
+ }),
1565
+ 'node-options': new Definition('node-options', {
1566
+ default: null,
1567
+ type: [null, String],
1568
+ description: `
1569
+ Options to pass through to Node.js via the \`NODE_OPTIONS\` environment
1570
+ variable. This does not impact how npm itself is executed but it does
1571
+ impact how lifecycle scripts are called.
1572
+ `,
1573
+ }),
1574
+ noproxy: new Definition('noproxy', {
1575
+ default: '',
1576
+ defaultDescription: `
1577
+ The value of the NO_PROXY environment variable
1578
+ `,
1579
+ type: [String, Array],
1580
+ description: `
1581
+ Domain extensions that should bypass any proxies.
1582
+
1583
+ Also accepts a comma-delimited string.
1584
+ `,
1585
+ flatten (key, obj, flatOptions) {
1586
+ if (Array.isArray(obj[key])) {
1587
+ flatOptions.noProxy = obj[key].join(',')
1588
+ } else {
1589
+ flatOptions.noProxy = obj[key]
1590
+ }
1591
+ },
1592
+ }),
1593
+ offline: new Definition('offline', {
1594
+ default: false,
1595
+ type: Boolean,
1596
+ description: `
1597
+ Force offline mode: no network requests will be done during install. To allow
1598
+ the CLI to fill in missing cache data, see \`--prefer-offline\`.
1599
+ `,
1600
+ flatten,
1601
+ }),
1602
+ omit: new Definition('omit', {
1603
+ default: process.env.NODE_ENV === 'production' ? ['dev'] : [],
1604
+ defaultDescription: `
1605
+ 'dev' if the \`NODE_ENV\` environment variable is set to 'production';
1606
+ otherwise, empty.
1607
+ `,
1608
+ type: [Array, 'dev', 'optional', 'peer'],
1609
+ description: `
1610
+ Dependency types to omit from the installation tree on disk.
1611
+
1612
+ Note that these dependencies _are_ still resolved and added to the
1613
+ \`package-lock.json\` or \`npm-shrinkwrap.json\` file. They are just
1614
+ not physically installed on disk.
1615
+
1616
+ If a package type appears in both the \`--include\` and \`--omit\`
1617
+ lists, then it will be included.
1618
+
1619
+ If the resulting omit list includes \`'dev'\`, then the \`NODE_ENV\`
1620
+ environment variable will be set to \`'production'\` for all lifecycle
1621
+ scripts.
1622
+ `,
1623
+ flatten (key, obj, flatOptions) {
1624
+ flatOptions.omit = buildOmitList(obj)
1625
+ },
1626
+ }),
1627
+ 'omit-lockfile-registry-resolved': new Definition('omit-lockfile-registry-resolved', {
1628
+ default: false,
1629
+ type: Boolean,
1630
+ description: `
1631
+ This option causes npm to create lock files without a \`resolved\` key for
1632
+ registry dependencies. Subsequent installs will need to resolve tarball
1633
+ endpoints with the configured registry, likely resulting in a longer install
1634
+ time.
1635
+ `,
1636
+ flatten,
1637
+ }),
1638
+ only: new Definition('only', {
1639
+ default: null,
1640
+ type: [null, 'prod', 'production'],
1641
+ deprecated: `
1642
+ Use \`--omit=dev\` to omit dev dependencies from the install.
1643
+ `,
1644
+ description: `
1645
+ When set to \`prod\` or \`production\`, this is an alias for
1646
+ \`--omit=dev\`.
1647
+ `,
1648
+ flatten (key, obj, flatOptions) {
1649
+ definitions.omit.flatten('omit', obj, flatOptions)
1650
+ },
1651
+ }),
1652
+ orgs: new Definition('orgs', {
1653
+ default: null,
1654
+ type: [null, String, Array],
1655
+ description: `
1656
+ When creating a Granular Access Token with \`npm token create\`,
1657
+ this limits the token access to specific organizations.
1658
+ `,
1659
+ flatten,
1660
+ }),
1661
+ optional: new Definition('optional', {
1662
+ default: null,
1663
+ type: [null, Boolean],
1664
+ deprecated: `
1665
+ Use \`--omit=optional\` to exclude optional dependencies, or
1666
+ \`--include=optional\` to include them.
1667
+
1668
+ Default value does install optional deps unless otherwise omitted.
1669
+ `,
1670
+ description: `
1671
+ Alias for --include=optional or --omit=optional
1672
+ `,
1673
+ flatten (key, obj, flatOptions) {
1674
+ definitions.omit.flatten('omit', obj, flatOptions)
1675
+ },
1676
+ }),
1677
+ os: new Definition('os', {
1678
+ default: null,
1679
+ type: [null, String],
1680
+ description: `
1681
+ Override OS of native modules to install.
1682
+ Acceptable values are same as \`os\` field of package.json,
1683
+ which comes from \`process.platform\`.
1684
+ `,
1685
+ flatten,
1686
+ }),
1687
+ otp: new Definition('otp', {
1688
+ default: null,
1689
+ type: [null, String],
1690
+ description: `
1691
+ This is a one-time password from a two-factor authenticator. It's needed
1692
+ when publishing or changing package permissions with \`npm access\`.
1693
+
1694
+ If not set, and a registry response fails with a challenge for a one-time
1695
+ password, npm will prompt on the command line for one.
1696
+ `,
1697
+ flatten (key, obj, flatOptions) {
1698
+ flatten(key, obj, flatOptions)
1699
+ if (obj.otp) {
1700
+ obj['auth-type'] = 'legacy'
1701
+ flatten('auth-type', obj, flatOptions)
1702
+ }
1703
+ },
1704
+ }),
1705
+ package: new Definition('package', {
1706
+ default: [],
1707
+ hint: '<package-spec>',
1708
+ type: [String, Array],
1709
+ description: `
1710
+ The package or packages to install for [\`npm exec\`](/commands/npm-exec)
1711
+ `,
1712
+ flatten,
1713
+ }),
1714
+ 'package-lock': new Definition('package-lock', {
1715
+ default: true,
1716
+ type: Boolean,
1717
+ description: `
1718
+ If set to false, then ignore \`package-lock.json\` files when installing.
1719
+ This will also prevent _writing_ \`package-lock.json\` if \`save\` is
1720
+ true.
1721
+ `,
1722
+ flatten: (key, obj, flatOptions) => {
1723
+ flatten(key, obj, flatOptions)
1724
+ if (flatOptions.packageLockOnly) {
1725
+ flatOptions.packageLock = true
1726
+ }
1727
+ },
1728
+ }),
1729
+ 'package-lock-only': new Definition('package-lock-only', {
1730
+ default: false,
1731
+ type: Boolean,
1732
+ description: `
1733
+ If set to true, the current operation will only use the \`package-lock.json\`,
1734
+ ignoring \`node_modules\`.
1735
+
1736
+ For \`update\` this means only the \`package-lock.json\` will be updated,
1737
+ instead of checking \`node_modules\` and downloading dependencies.
1738
+
1739
+ For \`list\` this means the output will be based on the tree described by the
1740
+ \`package-lock.json\`, rather than the contents of \`node_modules\`.
1741
+ `,
1742
+ flatten: (key, obj, flatOptions) => {
1743
+ flatten(key, obj, flatOptions)
1744
+ if (flatOptions.packageLockOnly) {
1745
+ flatOptions.packageLock = true
1746
+ }
1747
+ },
1748
+ }),
1749
+ 'pack-destination': new Definition('pack-destination', {
1750
+ default: '.',
1751
+ type: String,
1752
+ description: `
1753
+ Directory in which \`npm pack\` will save tarballs.
1754
+ `,
1755
+ flatten,
1756
+ }),
1757
+ packages: new Definition('packages', {
1758
+ default: [],
1759
+ type: [null, String, Array],
1760
+ description: `
1761
+ When creating a Granular Access Token with \`npm token create\`,
1762
+ this limits the token access to specific packages.
1763
+ `,
1764
+ flatten,
1765
+ }),
1766
+ parseable: new Definition('parseable', {
1767
+ default: false,
1768
+ type: Boolean,
1769
+ short: 'p',
1770
+ description: `
1771
+ Output parseable results from commands that write to standard output. For
1772
+ \`npm search\`, this will be tab-separated table format.
1773
+ `,
1774
+ flatten,
1775
+ }),
1776
+ 'allow-scripts-pending': new Definition('allow-scripts-pending', {
1777
+ default: false,
1778
+ type: Boolean,
1779
+ description: `
1780
+ List packages with install scripts that are not yet covered by the
1781
+ \`allowScripts\` policy, without modifying \`package.json\`. Only
1782
+ meaningful for \`npm approve-scripts\`.
1783
+ `,
1784
+ flatten,
1785
+ }),
1786
+ 'allow-scripts-pin': new Definition('allow-scripts-pin', {
1787
+ default: true,
1788
+ type: Boolean,
1789
+ description: `
1790
+ Write pinned (\`pkg@version\`) entries when approving install scripts.
1791
+ Set to \`false\` to write name-only entries that allow any version.
1792
+ Has no effect on \`npm deny-scripts\`, which always writes name-only
1793
+ entries regardless of this setting.
1794
+ `,
1795
+ flatten,
1796
+ }),
1797
+ 'prefer-dedupe': new Definition('prefer-dedupe', {
1798
+ default: false,
1799
+ type: Boolean,
1800
+ description: `
1801
+ Prefer to deduplicate packages if possible, rather than
1802
+ choosing a newer version of a dependency.
1803
+ `,
1804
+ flatten,
1805
+ }),
1806
+ 'prefer-offline': new Definition('prefer-offline', {
1807
+ default: false,
1808
+ type: Boolean,
1809
+ description: `
1810
+ If true, staleness checks for cached data will be bypassed, but missing
1811
+ data will be requested from the server. To force full offline mode, use
1812
+ \`--offline\`.
1813
+ `,
1814
+ flatten,
1815
+ }),
1816
+ 'prefer-online': new Definition('prefer-online', {
1817
+ default: false,
1818
+ type: Boolean,
1819
+ description: `
1820
+ If true, staleness checks for cached data will be forced, making the CLI
1821
+ look for updates immediately even for fresh package data.
1822
+ `,
1823
+ flatten,
1824
+ }),
1825
+ // `prefix` has its default defined outside of this module
1826
+ prefix: new Definition('prefix', {
1827
+ type: path,
1828
+ short: 'C',
1829
+ default: '',
1830
+ defaultDescription: `
1831
+ In global mode, the folder where the node executable is installed.
1832
+ Otherwise, the nearest parent folder containing either a package.json
1833
+ file or a node_modules folder.
1834
+ `,
1835
+ description: `
1836
+ The location to install global items. If set on the command line, then
1837
+ it forces non-global commands to run in the specified folder.
1838
+ `,
1839
+ }),
1840
+ preid: new Definition('preid', {
1841
+ default: '',
1842
+ hint: 'prerelease-id',
1843
+ type: String,
1844
+ description: `
1845
+ The "prerelease identifier" to use as a prefix for the "prerelease" part
1846
+ of a semver. Like the \`rc\` in \`1.2.0-rc.8\`.
1847
+ `,
1848
+ flatten,
1849
+ }),
1850
+ production: new Definition('production', {
1851
+ default: null,
1852
+ type: [null, Boolean],
1853
+ deprecated: 'Use `--omit=dev` instead.',
1854
+ description: 'Alias for `--omit=dev`',
1855
+ flatten (key, obj, flatOptions) {
1856
+ definitions.omit.flatten('omit', obj, flatOptions)
1857
+ },
1858
+ }),
1859
+ progress: new Definition('progress', {
1860
+ default: !(ciInfo.isCI || !process.stderr.isTTY || !process.stdout.isTTY || process.env.TERM === 'dumb'),
1861
+ defaultDescription: `
1862
+ \`true\` when not in CI and both stderr and stdout are TTYs and not in a dumb terminal
1863
+ `,
1864
+ type: Boolean,
1865
+ description: `
1866
+ When set to \`true\`, npm will display a progress bar during time
1867
+ intensive operations, if \`process.stderr\` and \`process.stdout\` are a TTY.
1868
+
1869
+ Set to \`false\` to suppress the progress bar.
1870
+ `,
1871
+ flatten (key, obj, flatOptions) {
1872
+ // Only show progress if explicitly enabled AND we have proper TTY environment
1873
+ flatOptions.progress = !!obj.progress && !!process.stderr.isTTY && !!process.stdout.isTTY && process.env.TERM !== 'dumb'
1874
+ },
1875
+ }),
1876
+ provenance: new Definition('provenance', {
1877
+ default: false,
1878
+ type: Boolean,
1879
+ exclusive: ['provenance-file'],
1880
+ description: `
1881
+ When publishing from a supported cloud CI/CD system, the package will be
1882
+ publicly linked to where it was built and published from.
1883
+ `,
1884
+ flatten,
1885
+ }),
1886
+ 'provenance-file': new Definition('provenance-file', {
1887
+ default: null,
1888
+ type: path,
1889
+ hint: '<file>',
1890
+ exclusive: ['provenance'],
1891
+ description: `
1892
+ When publishing, the provenance bundle at the given path will be used.
1893
+ `,
1894
+ flatten,
1895
+ }),
1896
+ proxy: new Definition('proxy', {
1897
+ default: null,
1898
+ type: [null, false, url], // allow proxy to be disabled explicitly
1899
+ description: `
1900
+ A proxy to use for outgoing http requests. If the \`HTTP_PROXY\` or
1901
+ \`http_proxy\` environment variables are set, proxy settings will be
1902
+ honored by the underlying \`request\` library.
1903
+ `,
1904
+ flatten,
1905
+ }),
1906
+ 'read-only': new Definition('read-only', {
1907
+ default: false,
1908
+ type: Boolean,
1909
+ description: `
1910
+ This is used to mark a token as unable to publish when configuring
1911
+ limited access tokens with the \`npm token create\` command.
1912
+ `,
1913
+ flatten,
1914
+ }),
1915
+ 'rebuild-bundle': new Definition('rebuild-bundle', {
1916
+ default: true,
1917
+ type: Boolean,
1918
+ description: `
1919
+ Rebuild bundled dependencies after installation.
1920
+ `,
1921
+ flatten,
1922
+ }),
1923
+ registry: new Definition('registry', {
1924
+ default: 'https://registry.npmjs.org/',
1925
+ type: url,
1926
+ description: `
1927
+ The base URL of the npm registry.
1928
+ `,
1929
+ flatten,
1930
+ }),
1931
+ 'replace-registry-host': new Definition('replace-registry-host', {
1932
+ default: 'npmjs',
1933
+ hint: '<npmjs|never|always> | hostname | url',
1934
+ type: ['npmjs', 'never', 'always', String],
1935
+ description: `
1936
+ Defines behavior for replacing the registry host in a lockfile with the
1937
+ configured registry.
1938
+
1939
+ The default behavior is to replace package dist URLs from the default
1940
+ registry (https://registry.npmjs.org) to the configured registry. If set to
1941
+ "never", then use the registry value. If set to "always", then replace the
1942
+ registry host with the configured host every time.
1943
+
1944
+ You may also specify a bare hostname (e.g., "registry.npmjs.org") to only
1945
+ replace URLs coming from that host.
1946
+
1947
+ You may also specify a full URL including a path (e.g.,
1948
+ "https://old-registry.example.com/npm/path"). In that case, resolved URLs
1949
+ whose host and path begin with that prefix will have the entire prefix
1950
+ replaced with the configured registry URL (host and path), without
1951
+ duplicating path segments.
1952
+ `,
1953
+ flatten,
1954
+ }),
1955
+ save: new Definition('save', {
1956
+ default: true,
1957
+ defaultDescription: `\`true\` unless when using \`npm update\` where it
1958
+ defaults to \`false\``,
1959
+ usage: '-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle',
1960
+ type: Boolean,
1961
+ short: 'S',
1962
+ description: `
1963
+ Save installed packages to a \`package.json\` file as dependencies.
1964
+
1965
+ When used with the \`npm rm\` command, removes the dependency from
1966
+ \`package.json\`.
1967
+
1968
+ Will also prevent writing to \`package-lock.json\` if set to \`false\`.
1969
+ `,
1970
+ flatten,
1971
+ }),
1972
+ 'save-bundle': new Definition('save-bundle', {
1973
+ default: false,
1974
+ type: Boolean,
1975
+ short: 'B',
1976
+ description: `
1977
+ If a package would be saved at install time by the use of \`--save\`,
1978
+ \`--save-dev\`, or \`--save-optional\`, then also put it in the
1979
+ \`bundleDependencies\` list.
1980
+
1981
+ Ignored if \`--save-peer\` is set, since peerDependencies cannot be bundled.
1982
+ `,
1983
+ flatten (key, obj, flatOptions) {
1984
+ // XXX update arborist to just ignore it if resulting saveType is peer
1985
+ // otherwise this won't have the expected effect:
1986
+ //
1987
+ // npm config set save-peer true
1988
+ // npm i foo --save-bundle --save-prod <-- should bundle
1989
+ flatOptions.saveBundle = obj['save-bundle'] && !obj['save-peer']
1990
+ },
1991
+ }),
1992
+ 'save-dev': new Definition('save-dev', {
1993
+ default: false,
1994
+ type: Boolean,
1995
+ short: 'D',
1996
+ exclusive: ['save-optional', 'save-peer', 'save-prod'],
1997
+ description: `
1998
+ Save installed packages to a package.json file as \`devDependencies\`.
1999
+ `,
2000
+ flatten (key, obj, flatOptions) {
2001
+ if (!obj[key]) {
2002
+ if (flatOptions.saveType === 'dev') {
2003
+ delete flatOptions.saveType
2004
+ }
2005
+ return
2006
+ }
2007
+
2008
+ flatOptions.saveType = 'dev'
2009
+ },
2010
+ }),
2011
+ 'save-exact': new Definition('save-exact', {
2012
+ default: false,
2013
+ type: Boolean,
2014
+ short: 'E',
2015
+ description: `
2016
+ Dependencies saved to package.json will be configured with an exact
2017
+ version rather than using npm's default semver range operator.
2018
+ `,
2019
+ flatten (key, obj, flatOptions) {
2020
+ // just call the save-prefix flattener, it reads from obj['save-exact']
2021
+ definitions['save-prefix'].flatten('save-prefix', obj, flatOptions)
2022
+ },
2023
+ }),
2024
+ 'save-optional': new Definition('save-optional', {
2025
+ default: false,
2026
+ type: Boolean,
2027
+ short: 'O',
2028
+ exclusive: ['save-dev', 'save-peer', 'save-prod'],
2029
+ description: `
2030
+ Save installed packages to a package.json file as
2031
+ \`optionalDependencies\`.
2032
+ `,
2033
+ flatten (key, obj, flatOptions) {
2034
+ if (!obj[key]) {
2035
+ if (flatOptions.saveType === 'optional') {
2036
+ delete flatOptions.saveType
2037
+ } else if (flatOptions.saveType === 'peerOptional') {
2038
+ flatOptions.saveType = 'peer'
2039
+ }
2040
+ return
2041
+ }
2042
+
2043
+ if (flatOptions.saveType === 'peerOptional') {
2044
+ return
2045
+ }
2046
+
2047
+ if (flatOptions.saveType === 'peer') {
2048
+ flatOptions.saveType = 'peerOptional'
2049
+ } else {
2050
+ flatOptions.saveType = 'optional'
2051
+ }
2052
+ },
2053
+ }),
2054
+ 'save-peer': new Definition('save-peer', {
2055
+ default: false,
2056
+ type: Boolean,
2057
+ exclusive: ['save-dev', 'save-optional', 'save-prod'],
2058
+ description: `
2059
+ Save installed packages to a package.json file as \`peerDependencies\`
2060
+ `,
2061
+ flatten (key, obj, flatOptions) {
2062
+ if (!obj[key]) {
2063
+ if (flatOptions.saveType === 'peer') {
2064
+ delete flatOptions.saveType
2065
+ } else if (flatOptions.saveType === 'peerOptional') {
2066
+ flatOptions.saveType = 'optional'
2067
+ }
2068
+ return
2069
+ }
2070
+
2071
+ if (flatOptions.saveType === 'peerOptional') {
2072
+ return
2073
+ }
2074
+
2075
+ if (flatOptions.saveType === 'optional') {
2076
+ flatOptions.saveType = 'peerOptional'
2077
+ } else {
2078
+ flatOptions.saveType = 'peer'
2079
+ }
2080
+ },
2081
+ }),
2082
+ 'save-prefix': new Definition('save-prefix', {
2083
+ default: '^',
2084
+ type: String,
2085
+ description: `
2086
+ Configure how versions of packages installed to a package.json file via
2087
+ \`--save\` or \`--save-dev\` get prefixed.
2088
+
2089
+ For example if a package has version \`1.2.3\`, by default its version is
2090
+ set to \`^1.2.3\` which allows minor upgrades for that package, but after
2091
+ \`npm config set save-prefix='~'\` it would be set to \`~1.2.3\` which
2092
+ only allows patch upgrades.
2093
+ `,
2094
+ flatten (key, obj, flatOptions) {
2095
+ flatOptions.savePrefix = obj['save-exact'] ? '' : obj['save-prefix']
2096
+ obj['save-prefix'] = flatOptions.savePrefix
2097
+ },
2098
+ }),
2099
+ 'save-prod': new Definition('save-prod', {
2100
+ default: false,
2101
+ type: Boolean,
2102
+ short: 'P',
2103
+ exclusive: ['save-dev', 'save-optional', 'save-peer'],
2104
+ description: `
2105
+ Save installed packages into \`dependencies\` specifically. This is
2106
+ useful if a package already exists in \`devDependencies\` or
2107
+ \`optionalDependencies\`, but you want to move it to be a non-optional
2108
+ production dependency.
2109
+
2110
+ This is the default behavior if \`--save\` is true, and neither
2111
+ \`--save-dev\` or \`--save-optional\` are true.
2112
+ `,
2113
+ flatten (key, obj, flatOptions) {
2114
+ if (!obj[key]) {
2115
+ if (flatOptions.saveType === 'prod') {
2116
+ delete flatOptions.saveType
2117
+ }
2118
+ return
2119
+ }
2120
+
2121
+ flatOptions.saveType = 'prod'
2122
+ },
2123
+ }),
2124
+ 'sbom-format': new Definition('sbom-format', {
2125
+ default: null,
2126
+ type: [
2127
+ 'cyclonedx',
2128
+ 'spdx',
2129
+ ],
2130
+ description: `
2131
+ SBOM format to use when generating SBOMs.
2132
+ `,
2133
+ flatten,
2134
+ }),
2135
+ 'sbom-type': new Definition('sbom-type', {
2136
+ default: 'library',
2137
+ type: [
2138
+ 'library',
2139
+ 'application',
2140
+ 'framework',
2141
+ ],
2142
+ description: `
2143
+ The type of package described by the generated SBOM. For SPDX, this is the
2144
+ value for the \`primaryPackagePurpose\` field. For CycloneDX, this is the
2145
+ value for the \`type\` field.
2146
+ `,
2147
+ flatten,
2148
+ }),
2149
+ scope: new Definition('scope', {
2150
+ default: '',
2151
+ defaultDescription: `
2152
+ the scope of the current project, if any, or ""
2153
+ `,
2154
+ type: String,
2155
+ hint: '<@scope>',
2156
+ description: `
2157
+ Associate an operation with a scope for a scoped registry.
2158
+
2159
+ Useful when logging in to or out of a private registry:
2160
+
2161
+ \`\`\`
2162
+ # log in, linking the scope to the custom registry
2163
+ npm login --scope=@mycorp --registry=https://registry.mycorp.com
2164
+
2165
+ # log out, removing the link and the auth token
2166
+ npm logout --scope=@mycorp
2167
+ \`\`\`
2168
+
2169
+ This will cause \`@mycorp\` to be mapped to the registry for future
2170
+ installation of packages specified according to the pattern
2171
+ \`@mycorp/package\`.
2172
+
2173
+ This will also cause \`npm init\` to create a scoped package.
2174
+
2175
+ \`\`\`
2176
+ # accept all defaults, and create a package named "@foo/whatever",
2177
+ # instead of just named "whatever"
2178
+ npm init --scope=@foo --yes
2179
+ \`\`\`
2180
+ `,
2181
+ flatten (key, obj, flatOptions) {
2182
+ const value = obj[key]
2183
+ const scope = value && !/^@/.test(value) ? `@${value}` : value
2184
+ flatOptions.scope = scope
2185
+ // projectScope is kept for compatibility with npm-registry-fetch
2186
+ flatOptions.projectScope = scope
2187
+ },
2188
+ }),
2189
+ scopes: new Definition('scopes', {
2190
+ default: null,
2191
+ type: [null, String, Array],
2192
+ description: `
2193
+ When creating a Granular Access Token with \`npm token create\`,
2194
+ this limits the token access to specific scopes. Provide
2195
+ a scope name (with or without @ prefix).
2196
+ `,
2197
+ flatten,
2198
+ }),
2199
+ 'packages-all': new Definition('packages-all', {
2200
+ default: false,
2201
+ type: Boolean,
2202
+ description: `
2203
+ When creating a Granular Access Token with \`npm token create\`,
2204
+ grants the token access to all packages instead of limiting to
2205
+ specific packages.
2206
+ `,
2207
+ flatten,
2208
+ }),
2209
+ 'packages-and-scopes-permission': new Definition('packages-and-scopes-permission', {
2210
+ default: null,
2211
+ type: [null, 'read-only', 'read-write', 'no-access'],
2212
+ description: `
2213
+ When creating a Granular Access Token with \`npm token create\`,
2214
+ sets the permission level for packages and scopes. Options are
2215
+ "read-only", "read-write", or "no-access".
2216
+ `,
2217
+ flatten,
2218
+ }),
2219
+ 'orgs-permission': new Definition('orgs-permission', {
2220
+ default: null,
2221
+ type: [null, 'read-only', 'read-write', 'no-access'],
2222
+ description: `
2223
+ When creating a Granular Access Token with \`npm token create\`,
2224
+ sets the permission level for organizations. Options are
2225
+ "read-only", "read-write", or "no-access".
2226
+ `,
2227
+ flatten,
2228
+ }),
2229
+ password: new Definition('password', {
2230
+ default: null,
2231
+ type: [null, String],
2232
+ description: `
2233
+ Password for authentication. Can be provided via command line when
2234
+ creating tokens, though it's generally safer to be prompted for it.
2235
+ `,
2236
+ flatten,
2237
+ }),
2238
+ 'token-description': new Definition('token-description', {
2239
+ default: null,
2240
+ type: [null, String],
2241
+ description: `
2242
+ Description text for the token when using \`npm token create\`.
2243
+ `,
2244
+ flatten,
2245
+ }),
2246
+ 'script-shell': new Definition('script-shell', {
2247
+ default: null,
2248
+ defaultDescription: `
2249
+ '/bin/sh' on POSIX systems, 'cmd.exe' on Windows
2250
+ `,
2251
+ type: [null, String],
2252
+ description: `
2253
+ The shell to use for scripts run with the \`npm exec\`,
2254
+ \`npm run\` and \`npm init <package-spec>\` commands.
2255
+ `,
2256
+ flatten (key, obj, flatOptions) {
2257
+ flatOptions.scriptShell = obj[key] || undefined
2258
+ },
2259
+ }),
2260
+ searchexclude: new Definition('searchexclude', {
2261
+ default: '',
2262
+ type: String,
2263
+ description: `
2264
+ Space-separated options that limit the results from search.
2265
+ `,
2266
+ flatten (key, obj, flatOptions) {
2267
+ flatOptions.search = flatOptions.search || { limit: 20 }
2268
+ flatOptions.search.exclude = obj[key].toLowerCase()
2269
+ },
2270
+ }),
2271
+ searchlimit: new Definition('searchlimit', {
2272
+ default: 20,
2273
+ type: Number,
2274
+ description: `
2275
+ Number of items to limit search results to. Will not apply at all to
2276
+ legacy searches.
2277
+ `,
2278
+ flatten (key, obj, flatOptions) {
2279
+ flatOptions.search = flatOptions.search || {}
2280
+ flatOptions.search.limit = obj[key]
2281
+ },
2282
+ }),
2283
+ searchopts: new Definition('searchopts', {
2284
+ default: '',
2285
+ type: String,
2286
+ description: `
2287
+ Space-separated options that are always passed to search.
2288
+ `,
2289
+ flatten (key, obj, flatOptions) {
2290
+ flatOptions.search = flatOptions.search || { limit: 20 }
2291
+ flatOptions.search.opts = querystring.parse(obj[key])
2292
+ },
2293
+ }),
2294
+ searchstaleness: new Definition('searchstaleness', {
2295
+ default: 15 * 60,
2296
+ type: Number,
2297
+ description: `
2298
+ The age of the cache, in seconds, before another registry request is made
2299
+ if using legacy search endpoint.
2300
+ `,
2301
+ flatten (key, obj, flatOptions) {
2302
+ flatOptions.search = flatOptions.search || { limit: 20 }
2303
+ flatOptions.search.staleness = obj[key]
2304
+ },
2305
+ }),
2306
+ shell: new Definition('shell', {
2307
+ default: shell,
2308
+ defaultDescription: `
2309
+ SHELL environment variable, or "bash" on Posix, or "cmd.exe" on Windows
2310
+ `,
2311
+ type: String,
2312
+ description: `
2313
+ The shell to run for the \`npm explore\` command.
2314
+ `,
2315
+ flatten,
2316
+ }),
2317
+ shrinkwrap: new Definition('shrinkwrap', {
2318
+ default: true,
2319
+ type: Boolean,
2320
+ deprecated: `
2321
+ Use the --package-lock setting instead.
2322
+ `,
2323
+ description: `
2324
+ Alias for --package-lock
2325
+ `,
2326
+ flatten (key, obj, flatOptions) {
2327
+ obj['package-lock'] = obj.shrinkwrap
2328
+ definitions['package-lock'].flatten('package-lock', obj, flatOptions)
2329
+ },
2330
+ }),
2331
+ 'sign-git-commit': new Definition('sign-git-commit', {
2332
+ default: false,
2333
+ type: Boolean,
2334
+ description: `
2335
+ If set to true, then the \`npm version\` command will commit the new
2336
+ package version using \`-S\` to add a signature.
2337
+
2338
+ Note that git requires you to have set up GPG keys in your git configs
2339
+ for this to work properly.
2340
+ `,
2341
+ flatten,
2342
+ }),
2343
+ 'sign-git-tag': new Definition('sign-git-tag', {
2344
+ default: false,
2345
+ type: Boolean,
2346
+ description: `
2347
+ If set to true, then the \`npm version\` command will tag the version
2348
+ using \`-s\` to add a signature.
2349
+
2350
+ Note that git requires you to have set up GPG keys in your git configs
2351
+ for this to work properly.
2352
+ `,
2353
+ flatten,
2354
+ }),
2355
+ 'strict-peer-deps': new Definition('strict-peer-deps', {
2356
+ default: false,
2357
+ type: Boolean,
2358
+ description: `
2359
+ If set to \`true\`, and \`--legacy-peer-deps\` is not set, then _any_
2360
+ conflicting \`peerDependencies\` will be treated as an install failure,
2361
+ even if npm could reasonably guess the appropriate resolution based on
2362
+ non-peer dependency relationships.
2363
+
2364
+ By default, conflicting \`peerDependencies\` deep in the dependency graph
2365
+ will be resolved using the nearest non-peer dependency specification,
2366
+ even if doing so will result in some packages receiving a peer dependency
2367
+ outside the range set in their package's \`peerDependencies\` object.
2368
+
2369
+ When such an override is performed, a warning is printed, explaining the
2370
+ conflict and the packages involved. If \`--strict-peer-deps\` is set,
2371
+ then this warning is treated as a failure.
2372
+ `,
2373
+ flatten,
2374
+ }),
2375
+ 'strict-allow-scripts': new Definition('strict-allow-scripts', {
2376
+ default: false,
2377
+ type: Boolean,
2378
+ description: `
2379
+ If \`true\`, turn the install-script policy from a warning into a hard
2380
+ error: any dependency with install scripts not covered by
2381
+ \`allowScripts\` will fail the install instead of running with a
2382
+ notice.
2383
+
2384
+ Dependencies explicitly denied with \`false\` in \`allowScripts\` are
2385
+ always silently skipped; this setting only affects unreviewed entries.
2386
+ \`--ignore-scripts\` and \`--dangerously-allow-all-scripts\` both
2387
+ override this setting.
2388
+
2389
+ Optional dependencies that cannot be installed on the current platform
2390
+ or engine (a non-matching \`os\`, \`cpu\`, or \`libc\`) are not flagged,
2391
+ because their install scripts never run.
2392
+ `,
2393
+ flatten,
2394
+ }),
2395
+ 'strict-ssl': new Definition('strict-ssl', {
2396
+ default: true,
2397
+ type: Boolean,
2398
+ description: `
2399
+ Whether or not to do SSL key validation when making requests to the
2400
+ registry via https.
2401
+
2402
+ See also the \`ca\` config.
2403
+ `,
2404
+ flatten (key, obj, flatOptions) {
2405
+ flatOptions.strictSSL = obj[key]
2406
+ },
2407
+ }),
2408
+ tag: new Definition('tag', {
2409
+ default: 'latest',
2410
+ type: String,
2411
+ description: `
2412
+ If you ask npm to install a package and don't tell it a specific version,
2413
+ then it will install the specified tag.
2414
+
2415
+ It is the tag added to the package@version specified in the
2416
+ \`npm dist-tag add\` command, if no explicit tag is given.
2417
+
2418
+ When used by the \`npm diff\` command, this is the tag used to fetch the
2419
+ tarball that will be compared with the local files by default.
2420
+
2421
+ If used in the \`npm publish\` command, this is the tag that will be
2422
+ added to the package submitted to the registry.
2423
+ `,
2424
+ flatten (key, obj, flatOptions) {
2425
+ flatOptions.defaultTag = obj[key]
2426
+ },
2427
+ }),
2428
+ 'tag-version-prefix': new Definition('tag-version-prefix', {
2429
+ default: 'v',
2430
+ type: String,
2431
+ description: `
2432
+ If set, alters the prefix used when tagging a new version when performing
2433
+ a version increment using \`npm version\`. To remove the prefix
2434
+ altogether, set it to the empty string: \`""\`.
2435
+
2436
+ Because other tools may rely on the convention that npm version tags look
2437
+ like \`v1.0.0\`, _only use this property if it is absolutely necessary_.
2438
+ In particular, use care when overriding this setting for public packages.
2439
+ `,
2440
+ flatten,
2441
+ }),
2442
+ timing: new Definition('timing', {
2443
+ default: false,
2444
+ type: Boolean,
2445
+ description: `
2446
+ If true, writes timing information to a process specific json file in
2447
+ the cache or \`logs-dir\`. The file name ends with \`-timing.json\`.
2448
+
2449
+ You can quickly view it with this [json](https://npm.im/json) command
2450
+ line: \`cat ~/.npm/_logs/*-timing.json | npm exec -- json -g\`.
2451
+
2452
+ Timing information will also be reported in the terminal. To suppress this
2453
+ while still writing the timing file, use \`--silent\`.
2454
+ `,
2455
+ }),
2456
+ umask: new Definition('umask', {
2457
+ default: 0,
2458
+ type: Umask,
2459
+ description: `
2460
+ The "umask" value to use when setting the file creation mode on files and
2461
+ folders.
2462
+
2463
+ Folders and executables are given a mode which is \`0o777\` masked
2464
+ against this value. Other files are given a mode which is \`0o666\`
2465
+ masked against this value.
2466
+
2467
+ Note that the underlying system will _also_ apply its own umask value to
2468
+ files and folders that are created, and npm does not circumvent this, but
2469
+ rather adds the \`--umask\` config to it.
2470
+
2471
+ Thus, the effective default umask value on most POSIX systems is 0o22,
2472
+ meaning that folders and executables are created with a mode of 0o755 and
2473
+ other files are created with a mode of 0o644.
2474
+ `,
2475
+ flatten,
2476
+ }),
2477
+ unicode: new Definition('unicode', {
2478
+ default: unicode,
2479
+ defaultDescription: `
2480
+ false on windows, true on mac/unix systems with a unicode locale, as
2481
+ defined by the \`LC_ALL\`, \`LC_CTYPE\`, or \`LANG\` environment variables.
2482
+ `,
2483
+ type: Boolean,
2484
+ description: `
2485
+ When set to true, npm uses unicode characters in the tree output. When
2486
+ false, it uses ascii characters instead of unicode glyphs.
2487
+ `,
2488
+ flatten,
2489
+ }),
2490
+ 'update-notifier': new Definition('update-notifier', {
2491
+ default: true,
2492
+ type: Boolean,
2493
+ description: `
2494
+ Set to false to suppress the update notification when using an older
2495
+ version of npm than the latest.
2496
+ `,
2497
+ }),
2498
+ usage: new Definition('usage', {
2499
+ default: false,
2500
+ type: Boolean,
2501
+ short: ['?', 'H', 'h'],
2502
+ description: `
2503
+ Show short usage output about the command specified.
2504
+ `,
2505
+ }),
2506
+ 'user-agent': new Definition('user-agent', {
2507
+ default: 'npm/{npm-version} ' +
2508
+ 'node/{node-version} ' +
2509
+ '{platform} ' +
2510
+ '{arch} ' +
2511
+ 'workspaces/{workspaces} ' +
2512
+ '{ci}',
2513
+ type: String,
2514
+ description: `
2515
+ Sets the User-Agent request header. The following fields are replaced
2516
+ with their actual counterparts:
2517
+
2518
+ * \`{npm-version}\` - The npm version in use
2519
+ * \`{node-version}\` - The Node.js version in use
2520
+ * \`{platform}\` - The value of \`process.platform\`
2521
+ * \`{arch}\` - The value of \`process.arch\`
2522
+ * \`{workspaces}\` - Set to \`true\` if the \`workspaces\` or \`workspace\`
2523
+ options are set.
2524
+ * \`{ci}\` - The value of the \`ci-name\` config, if set, prefixed with
2525
+ \`ci/\`, or an empty string if \`ci-name\` is empty.
2526
+ `,
2527
+ flatten (key, obj, flatOptions) {
2528
+ const value = obj[key]
2529
+ const ciName = ciInfo.name?.toLowerCase().split(' ').join('-') || null
2530
+ // A more specific sub-category for the detected CI, appended to the
2531
+ // ci token as `ci/{ci-name}/{sub-ci-name}` when present.
2532
+ let subCiName = null
2533
+ if (ciInfo.GITHUB_ACTIONS) {
2534
+ // Env vars can be absent, empty, or whitespace; normalize before use.
2535
+ const serverUrl = (process.env.GITHUB_SERVER_URL || '').trim()
2536
+ const runnerEnv = (process.env.RUNNER_ENVIRONMENT || '').trim()
2537
+ let serverHost = ''
2538
+ try {
2539
+ serverHost = new URL(serverUrl).hostname.toLowerCase()
2540
+ } catch {
2541
+ serverHost = ''
2542
+ }
2543
+ if (serverHost === 'github.com') {
2544
+ if (runnerEnv === 'github-hosted') {
2545
+ subCiName = 'dotcom-hosted'
2546
+ } else if (runnerEnv === 'self-hosted') {
2547
+ subCiName = 'dotcom-selfhosted'
2548
+ } else {
2549
+ subCiName = 'dotcom'
2550
+ }
2551
+ } else if (serverHost === 'ghe.com' || serverHost.endsWith('.ghe.com')) {
2552
+ subCiName = 'ghecom'
2553
+ } else if (serverHost) {
2554
+ subCiName = 'ghes'
2555
+ }
2556
+ }
2557
+ const ci = ciName
2558
+ ? `ci/${ciName}${subCiName ? `/${subCiName}` : ''}`
2559
+ : ''
2560
+ let inWorkspaces = false
2561
+ if (obj.workspaces || obj.workspace && obj.workspace.length) {
2562
+ inWorkspaces = true
2563
+ }
2564
+ flatOptions.userAgent =
2565
+ value.replace(/\{node-version\}/gi, process.version)
2566
+ .replace(/\{npm-version\}/gi, obj['npm-version'])
2567
+ .replace(/\{platform\}/gi, process.platform)
2568
+ .replace(/\{arch\}/gi, process.arch)
2569
+ .replace(/\{workspaces\}/gi, inWorkspaces)
2570
+ .replace(/\{ci\}/gi, ci)
2571
+ .trim()
2572
+
2573
+ // We can't clobber the original or else subsequent flattening will fail
2574
+ // (i.e. when we change the underlying config values)
2575
+ // obj[key] = flatOptions.userAgent
2576
+
2577
+ // user-agent is a unique kind of config item that gets set from a template
2578
+ // and ends up translated. Because of this, the normal "should we set this
2579
+ // to process.env also doesn't work
2580
+ process.env.npm_config_user_agent = flatOptions.userAgent
2581
+ },
2582
+ }),
2583
+ userconfig: new Definition('userconfig', {
2584
+ default: '~/.npmrc',
2585
+ type: path,
2586
+ description: `
2587
+ The location of user-level configuration settings.
2588
+
2589
+ This may be overridden by the \`npm_config_userconfig\` environment
2590
+ variable or the \`--userconfig\` command line option, but may _not_
2591
+ be overridden by settings in the \`globalconfig\` file.
2592
+ `,
2593
+ }),
2594
+ version: new Definition('version', {
2595
+ default: false,
2596
+ type: Boolean,
2597
+ short: 'v',
2598
+ description: `
2599
+ If true, output the npm version and exit successfully.
2600
+
2601
+ Only relevant when specified explicitly on the command line.
2602
+ `,
2603
+ }),
2604
+ versions: new Definition('versions', {
2605
+ default: false,
2606
+ type: Boolean,
2607
+ description: `
2608
+ If true, output the npm version as well as node's \`process.versions\`
2609
+ map and the version in the current working directory's \`package.json\`
2610
+ file if one exists, and exit successfully.
2611
+
2612
+ Only relevant when specified explicitly on the command line.
2613
+ `,
2614
+ }),
2615
+ viewer: new Definition('viewer', {
2616
+ default: isWindows ? 'browser' : 'man',
2617
+ defaultDescription: `
2618
+ "man" on Posix, "browser" on Windows
2619
+ `,
2620
+ type: String,
2621
+ description: `
2622
+ The program to use to view help content.
2623
+
2624
+ Set to \`"browser"\` to view html help content in the default web browser.
2625
+ `,
2626
+ }),
2627
+ which: new Definition('which', {
2628
+ default: null,
2629
+ hint: '<fundingSourceNumber>',
2630
+ type: [null, Number],
2631
+ description: `
2632
+ If there are multiple funding sources, which 1-indexed source URL to open.
2633
+ `,
2634
+ }),
2635
+ workspace: new Definition('workspace', {
2636
+ default: [],
2637
+ type: [String, Array],
2638
+ hint: '<workspace-name>',
2639
+ short: 'w',
2640
+ envExport: false,
2641
+ description: `
2642
+ Enable running a command in the context of the configured workspaces of the
2643
+ current project while filtering by running only the workspaces defined by
2644
+ this configuration option.
2645
+
2646
+ Valid values for the \`workspace\` config are either:
2647
+
2648
+ * Workspace names
2649
+ * Path to a workspace directory
2650
+ * Path to a parent workspace directory (will result in selecting all
2651
+ workspaces within that folder)
2652
+
2653
+ When set for the \`npm init\` command, this may be set to the folder of
2654
+ a workspace which does not yet exist, to create the folder and set it
2655
+ up as a brand new workspace within the project.
2656
+ `,
2657
+ flatten: (key, obj, flatOptions) => {
2658
+ definitions['user-agent'].flatten('user-agent', obj, flatOptions)
2659
+ },
2660
+ }),
2661
+ workspaces: new Definition('workspaces', {
2662
+ default: null,
2663
+ type: [null, Boolean],
2664
+ envExport: false,
2665
+ description: `
2666
+ Set to true to run the command in the context of **all** configured
2667
+ workspaces.
2668
+
2669
+ Explicitly setting this to false will cause commands like \`install\` to
2670
+ ignore workspaces altogether.
2671
+ When not set explicitly:
2672
+
2673
+ - Commands that operate on the \`node_modules\` tree (install, update,
2674
+ etc.) will link workspaces into the \`node_modules\` folder.
2675
+ - Commands that do other things (test, exec, publish, etc.) will operate
2676
+ on the root project, _unless_ one or more workspaces are specified in
2677
+ the \`workspace\` config.
2678
+ `,
2679
+ flatten: (key, obj, flatOptions) => {
2680
+ definitions['user-agent'].flatten('user-agent', obj, flatOptions)
2681
+
2682
+ // TODO: this is a derived value, and should be reworked when we have a
2683
+ // pattern for derived value
2684
+
2685
+ // workspacesEnabled is true whether workspaces is null or true
2686
+ // commands contextually work with workspaces or not regardless of
2687
+ // configuration, so we need an option specifically to disable workspaces
2688
+ flatOptions.workspacesEnabled = obj[key] !== false
2689
+ },
2690
+ }),
2691
+ 'workspaces-update': new Definition('workspaces-update', {
2692
+ default: true,
2693
+ type: Boolean,
2694
+ description: `
2695
+ If set to true, the npm cli will run an update after operations that may
2696
+ possibly change the workspaces installed to the \`node_modules\` folder.
2697
+ `,
2698
+ flatten,
2699
+ }),
2700
+ yes: new Definition('yes', {
2701
+ default: null,
2702
+ type: [null, Boolean],
2703
+ short: 'y',
2704
+ description: `
2705
+ Automatically answer "yes" to any prompts that npm might print on
2706
+ the command line.
2707
+ `,
2708
+ }),
2709
+ }
2710
+
2711
+ module.exports = definitions