@socketsecurity/cli-with-sentry 0.15.10 → 0.15.12

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 (403) hide show
  1. package/bin/cli.js +6 -6
  2. package/dist/.config/tsconfig.dts.tsbuildinfo +1 -1
  3. package/dist/cli.js +5731 -6607
  4. package/dist/cli.js.map +1 -1
  5. package/dist/constants.js +274 -305
  6. package/dist/constants.js.map +1 -1
  7. package/dist/instrument-with-sentry.js +28 -34
  8. package/dist/instrument-with-sentry.js.map +1 -1
  9. package/dist/shadow-bin.js +96 -123
  10. package/dist/shadow-bin.js.map +1 -1
  11. package/dist/shadow-inject.js +470 -580
  12. package/dist/shadow-inject.js.map +1 -1
  13. package/dist/socket-completion.bash +221 -0
  14. package/dist/types/cli.d.mts +2 -2
  15. package/dist/types/commands/analytics/cmd-analytics.d.mts +9 -15
  16. package/dist/types/commands/analytics/fetch-org-analytics.d.mts +4 -6
  17. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +4 -7
  18. package/dist/types/commands/analytics/handle-analytics.d.mts +9 -15
  19. package/dist/types/commands/analytics/handle-analytics.d.mts.map +1 -1
  20. package/dist/types/commands/analytics/output-analytics.d.mts +26 -46
  21. package/dist/types/commands/analytics/output-analytics.d.mts.map +1 -1
  22. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +9 -15
  23. package/dist/types/commands/audit-log/fetch-audit-log.d.mts +10 -16
  24. package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +1 -1
  25. package/dist/types/commands/audit-log/handle-audit-log.d.mts +9 -15
  26. package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +1 -1
  27. package/dist/types/commands/audit-log/output-audit-log.d.mts +22 -47
  28. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +1 -1
  29. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts +9 -15
  30. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts.map +1 -1
  31. package/dist/types/commands/cdxgen/handle-cdxgen.d.mts +4 -0
  32. package/dist/types/commands/cdxgen/handle-cdxgen.d.mts.map +1 -0
  33. package/dist/types/commands/ci/cmd-ci.d.mts +9 -15
  34. package/dist/types/commands/ci/fetch-default-org-slug.d.mts +3 -3
  35. package/dist/types/commands/ci/handle-ci.d.mts +2 -2
  36. package/dist/types/commands/config/cmd-config-auto.d.mts +9 -15
  37. package/dist/types/commands/config/cmd-config-get.d.mts +9 -15
  38. package/dist/types/commands/config/cmd-config-list.d.mts +9 -15
  39. package/dist/types/commands/config/cmd-config-set.d.mts +9 -15
  40. package/dist/types/commands/config/cmd-config-unset.d.mts +9 -15
  41. package/dist/types/commands/config/cmd-config.d.mts +3 -3
  42. package/dist/types/commands/config/discover-config-value.d.mts +3 -5
  43. package/dist/types/commands/config/discover-config-value.d.mts.map +1 -1
  44. package/dist/types/commands/config/handle-config-auto.d.mts +7 -10
  45. package/dist/types/commands/config/handle-config-auto.d.mts.map +1 -1
  46. package/dist/types/commands/config/handle-config-get.d.mts +7 -10
  47. package/dist/types/commands/config/handle-config-get.d.mts.map +1 -1
  48. package/dist/types/commands/config/handle-config-set.d.mts +8 -12
  49. package/dist/types/commands/config/handle-config-set.d.mts.map +1 -1
  50. package/dist/types/commands/config/handle-config-unset.d.mts +7 -10
  51. package/dist/types/commands/config/handle-config-unset.d.mts.map +1 -1
  52. package/dist/types/commands/config/output-config-auto.d.mts +4 -8
  53. package/dist/types/commands/config/output-config-get.d.mts +4 -8
  54. package/dist/types/commands/config/output-config-list.d.mts +6 -9
  55. package/dist/types/commands/config/output-config-list.d.mts.map +1 -1
  56. package/dist/types/commands/config/output-config-set.d.mts +3 -6
  57. package/dist/types/commands/config/output-config-unset.d.mts +3 -6
  58. package/dist/types/commands/dependencies/cmd-dependencies.d.mts +9 -15
  59. package/dist/types/commands/dependencies/fetch-dependencies.d.mts +7 -10
  60. package/dist/types/commands/dependencies/fetch-dependencies.d.mts.map +1 -1
  61. package/dist/types/commands/dependencies/handle-dependencies.d.mts +7 -11
  62. package/dist/types/commands/dependencies/handle-dependencies.d.mts.map +1 -1
  63. package/dist/types/commands/dependencies/output-dependencies.d.mts +8 -15
  64. package/dist/types/commands/dependencies/output-dependencies.d.mts.map +1 -1
  65. package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts +9 -15
  66. package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts +3 -3
  67. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts +8 -12
  68. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts.map +1 -1
  69. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts +10 -17
  70. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts.map +1 -1
  71. package/dist/types/commands/diff-scan/output-diff-scan.d.mts +8 -15
  72. package/dist/types/commands/diff-scan/output-diff-scan.d.mts.map +1 -1
  73. package/dist/types/commands/fix/cmd-fix.d.mts +9 -15
  74. package/dist/types/commands/fix/git.d.mts +14 -49
  75. package/dist/types/commands/fix/npm-fix.d.mts +4 -16
  76. package/dist/types/commands/fix/npm-fix.d.mts.map +1 -1
  77. package/dist/types/commands/fix/open-pr.d.mts +20 -46
  78. package/dist/types/commands/fix/open-pr.d.mts.map +1 -1
  79. package/dist/types/commands/fix/pnpm-fix.d.mts +4 -16
  80. package/dist/types/commands/fix/pnpm-fix.d.mts.map +1 -1
  81. package/dist/types/commands/fix/run-fix.d.mts +3 -3
  82. package/dist/types/commands/fix/shared.d.mts +9 -15
  83. package/dist/types/commands/fix/types.d.mts +16 -16
  84. package/dist/types/commands/info/cmd-info.d.mts +9 -15
  85. package/dist/types/commands/info/fetch-package-info.d.mts +3 -7
  86. package/dist/types/commands/info/handle-package-info.d.mts +15 -22
  87. package/dist/types/commands/info/handle-package-info.d.mts.map +1 -1
  88. package/dist/types/commands/info/output-package-info.d.mts +10 -18
  89. package/dist/types/commands/info/output-package-info.d.mts.map +1 -1
  90. package/dist/types/commands/install/cmd-install-completion.d.mts +10 -0
  91. package/dist/types/commands/install/cmd-install-completion.d.mts.map +1 -0
  92. package/dist/types/commands/install/cmd-install.d.mts +3 -0
  93. package/dist/types/commands/install/cmd-install.d.mts.map +1 -0
  94. package/dist/types/commands/install/handle-install-completion.d.mts +2 -0
  95. package/dist/types/commands/install/handle-install-completion.d.mts.map +1 -0
  96. package/dist/types/commands/install/output-install-completion.d.mts +12 -0
  97. package/dist/types/commands/install/output-install-completion.d.mts.map +1 -0
  98. package/dist/types/commands/install/setup-tab-completion.d.mts +13 -0
  99. package/dist/types/commands/install/setup-tab-completion.d.mts.map +1 -0
  100. package/dist/types/commands/login/apply-login.d.mts +2 -7
  101. package/dist/types/commands/login/attempt-login.d.mts +2 -5
  102. package/dist/types/commands/login/attempt-login.d.mts.map +1 -1
  103. package/dist/types/commands/login/cmd-login.d.mts +9 -15
  104. package/dist/types/commands/logout/apply-logout.d.mts +2 -2
  105. package/dist/types/commands/logout/attempt-logout.d.mts +2 -2
  106. package/dist/types/commands/logout/cmd-logout.d.mts +9 -15
  107. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +9 -15
  108. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +10 -0
  109. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -0
  110. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +9 -15
  111. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +9 -15
  112. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +9 -15
  113. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +9 -15
  114. package/dist/types/commands/manifest/cmd-manifest.d.mts +9 -15
  115. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -1
  116. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +7 -15
  117. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +2 -8
  118. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +2 -8
  119. package/dist/types/commands/manifest/handle-manifest-conda.d.mts +3 -9
  120. package/dist/types/commands/manifest/output-requirements.d.mts +6 -10
  121. package/dist/types/commands/{cdxgen → manifest}/run-cdxgen.d.mts +2 -2
  122. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -0
  123. package/dist/types/commands/npm/cmd-npm.d.mts +9 -15
  124. package/dist/types/commands/npx/cmd-npx.d.mts +9 -15
  125. package/dist/types/commands/oops/cmd-oops.d.mts +9 -15
  126. package/dist/types/commands/optimize/add-overrides.d.mts +18 -22
  127. package/dist/types/commands/optimize/apply-optimization.d.mts +2 -6
  128. package/dist/types/commands/optimize/cmd-optimize.d.mts +9 -15
  129. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +4 -7
  130. package/dist/types/commands/optimize/get-dependency-entries.d.mts +3 -5
  131. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +8 -11
  132. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +3 -10
  133. package/dist/types/commands/optimize/ls-by-agent.d.mts +6 -13
  134. package/dist/types/commands/optimize/shared.d.mts +2 -2
  135. package/dist/types/commands/optimize/types.d.mts +7 -7
  136. package/dist/types/commands/optimize/update-lockfile.d.mts +9 -12
  137. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +5 -11
  138. package/dist/types/commands/organization/cmd-organization-list.d.mts +9 -15
  139. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +9 -15
  140. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +9 -15
  141. package/dist/types/commands/organization/cmd-organization-policy.d.mts +3 -3
  142. package/dist/types/commands/organization/cmd-organization-quota.d.mts +9 -15
  143. package/dist/types/commands/organization/cmd-organization.d.mts +3 -3
  144. package/dist/types/commands/organization/fetch-license-policy.d.mts +4 -6
  145. package/dist/types/commands/organization/fetch-organization-list.d.mts +4 -6
  146. package/dist/types/commands/organization/fetch-quota.d.mts +4 -6
  147. package/dist/types/commands/organization/fetch-security-policy.d.mts +4 -6
  148. package/dist/types/commands/organization/handle-license-policy.d.mts +3 -6
  149. package/dist/types/commands/organization/handle-organization-list.d.mts +3 -5
  150. package/dist/types/commands/organization/handle-quota.d.mts +3 -3
  151. package/dist/types/commands/organization/handle-security-policy.d.mts +3 -6
  152. package/dist/types/commands/organization/output-license-policy.d.mts +4 -7
  153. package/dist/types/commands/organization/output-organization-list.d.mts +4 -7
  154. package/dist/types/commands/organization/output-quota.d.mts +4 -7
  155. package/dist/types/commands/organization/output-security-policy.d.mts +4 -7
  156. package/dist/types/commands/package/cmd-package-score.d.mts +9 -15
  157. package/dist/types/commands/package/cmd-package-shallow.d.mts +16 -22
  158. package/dist/types/commands/package/cmd-package.d.mts +3 -3
  159. package/dist/types/commands/package/fetch-purl-deep-score.d.mts +49 -51
  160. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +4 -6
  161. package/dist/types/commands/package/handle-purl-deep-score.d.mts +3 -6
  162. package/dist/types/commands/package/handle-purls-shallow-score.d.mts +6 -9
  163. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +1 -1
  164. package/dist/types/commands/package/output-purl-score.d.mts +4 -8
  165. package/dist/types/commands/package/output-purls-shallow-score.d.mts +4 -8
  166. package/dist/types/commands/package/parse-package-specifiers.d.mts +5 -8
  167. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +9 -15
  168. package/dist/types/commands/raw-npm/run-raw-npm.d.mts +2 -4
  169. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +9 -15
  170. package/dist/types/commands/raw-npx/run-raw-npx.d.mts +2 -4
  171. package/dist/types/commands/report/cmd-report-create.d.mts +9 -15
  172. package/dist/types/commands/report/cmd-report-view.d.mts +9 -15
  173. package/dist/types/commands/report/cmd-report.d.mts +3 -3
  174. package/dist/types/commands/repos/cmd-repos-create.d.mts +9 -15
  175. package/dist/types/commands/repos/cmd-repos-del.d.mts +9 -15
  176. package/dist/types/commands/repos/cmd-repos-list.d.mts +9 -15
  177. package/dist/types/commands/repos/cmd-repos-update.d.mts +9 -15
  178. package/dist/types/commands/repos/cmd-repos-view.d.mts +9 -15
  179. package/dist/types/commands/repos/cmd-repos.d.mts +3 -3
  180. package/dist/types/commands/repos/fetch-create-repo.d.mts +11 -18
  181. package/dist/types/commands/repos/fetch-create-repo.d.mts.map +1 -1
  182. package/dist/types/commands/repos/fetch-delete-repo.d.mts +4 -7
  183. package/dist/types/commands/repos/fetch-list-repos.d.mts +10 -16
  184. package/dist/types/commands/repos/fetch-list-repos.d.mts.map +1 -1
  185. package/dist/types/commands/repos/fetch-update-repo.d.mts +11 -18
  186. package/dist/types/commands/repos/fetch-update-repo.d.mts.map +1 -1
  187. package/dist/types/commands/repos/fetch-view-repo.d.mts +4 -7
  188. package/dist/types/commands/repos/handle-create-repo.d.mts +10 -20
  189. package/dist/types/commands/repos/handle-create-repo.d.mts.map +1 -1
  190. package/dist/types/commands/repos/handle-delete-repo.d.mts +3 -7
  191. package/dist/types/commands/repos/handle-list-repos.d.mts +10 -17
  192. package/dist/types/commands/repos/handle-list-repos.d.mts.map +1 -1
  193. package/dist/types/commands/repos/handle-update-repo.d.mts +10 -20
  194. package/dist/types/commands/repos/handle-update-repo.d.mts.map +1 -1
  195. package/dist/types/commands/repos/handle-view-repo.d.mts +3 -7
  196. package/dist/types/commands/repos/output-create-repo.d.mts +4 -8
  197. package/dist/types/commands/repos/output-delete-repo.d.mts +4 -8
  198. package/dist/types/commands/repos/output-list-repos.d.mts +4 -7
  199. package/dist/types/commands/repos/output-update-repo.d.mts +4 -8
  200. package/dist/types/commands/repos/output-view-repo.d.mts +4 -7
  201. package/dist/types/commands/scan/cmd-scan-create.d.mts +9 -15
  202. package/dist/types/commands/scan/cmd-scan-del.d.mts +9 -15
  203. package/dist/types/commands/scan/cmd-scan-diff.d.mts +9 -15
  204. package/dist/types/commands/scan/cmd-scan-list.d.mts +3 -3
  205. package/dist/types/commands/scan/cmd-scan-metadata.d.mts +3 -3
  206. package/dist/types/commands/scan/cmd-scan-report.d.mts +3 -3
  207. package/dist/types/commands/scan/cmd-scan-view.d.mts +3 -3
  208. package/dist/types/commands/scan/cmd-scan.d.mts +3 -3
  209. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +11 -26
  210. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -1
  211. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +4 -7
  212. package/dist/types/commands/scan/fetch-diff-scan.d.mts +8 -12
  213. package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +1 -1
  214. package/dist/types/commands/scan/fetch-list-scans.d.mts +13 -22
  215. package/dist/types/commands/scan/fetch-list-scans.d.mts.map +1 -1
  216. package/dist/types/commands/scan/fetch-report-data.d.mts +8 -14
  217. package/dist/types/commands/scan/fetch-scan-metadata.d.mts +4 -7
  218. package/dist/types/commands/scan/fetch-scan.d.mts +4 -7
  219. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +4 -6
  220. package/dist/types/commands/scan/generate-report.d.mts +36 -50
  221. package/dist/types/commands/scan/generate-report.d.mts.map +1 -1
  222. package/dist/types/commands/scan/handle-create-new-scan.d.mts +20 -37
  223. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -1
  224. package/dist/types/commands/scan/handle-delete-scan.d.mts +3 -7
  225. package/dist/types/commands/scan/handle-diff-scan.d.mts +10 -17
  226. package/dist/types/commands/scan/handle-diff-scan.d.mts.map +1 -1
  227. package/dist/types/commands/scan/handle-list-scans.d.mts +13 -23
  228. package/dist/types/commands/scan/handle-list-scans.d.mts.map +1 -1
  229. package/dist/types/commands/scan/handle-scan-metadata.d.mts +3 -7
  230. package/dist/types/commands/scan/handle-scan-report.d.mts +12 -21
  231. package/dist/types/commands/scan/handle-scan-report.d.mts.map +1 -1
  232. package/dist/types/commands/scan/handle-scan-view.d.mts +3 -8
  233. package/dist/types/commands/scan/output-create-new-scan.d.mts +4 -8
  234. package/dist/types/commands/scan/output-delete-scan.d.mts +4 -7
  235. package/dist/types/commands/scan/output-diff-scan.d.mts +8 -15
  236. package/dist/types/commands/scan/output-diff-scan.d.mts.map +1 -1
  237. package/dist/types/commands/scan/output-list-scans.d.mts +4 -7
  238. package/dist/types/commands/scan/output-scan-metadata.d.mts +4 -8
  239. package/dist/types/commands/scan/output-scan-report.d.mts +20 -38
  240. package/dist/types/commands/scan/output-scan-report.d.mts.map +1 -1
  241. package/dist/types/commands/scan/output-scan-view.d.mts +4 -10
  242. package/dist/types/commands/scan/stream-scan.d.mts +2 -6
  243. package/dist/types/commands/scan/suggest-org-slug.d.mts +2 -2
  244. package/dist/types/commands/scan/suggest-repo-slug.d.mts +4 -4
  245. package/dist/types/commands/scan/suggest_branch_slug.d.mts +2 -4
  246. package/dist/types/commands/scan/suggest_target.d.mts +2 -2
  247. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +9 -15
  248. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +10 -16
  249. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +1 -1
  250. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +10 -17
  251. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +1 -1
  252. package/dist/types/commands/threat-feed/output-threat-feed.d.mts +4 -7
  253. package/dist/types/commands/threat-feed/types.d.mts +12 -12
  254. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +9 -0
  255. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +1 -0
  256. package/dist/types/commands/uninstall/cmd-uninstall.d.mts +3 -0
  257. package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +1 -0
  258. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +2 -0
  259. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +1 -0
  260. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +6 -0
  261. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +1 -0
  262. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +6 -0
  263. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +1 -0
  264. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +2 -2
  265. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +2 -2
  266. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +9 -15
  267. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +2 -2
  268. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +1 -1
  269. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +2 -2
  270. package/dist/types/constants.d.mts +125 -135
  271. package/dist/types/constants.d.mts.map +1 -1
  272. package/dist/types/flags.d.mts +14 -17
  273. package/dist/types/flags.d.mts.map +1 -1
  274. package/dist/types/instrument-with-sentry.d.mts +2 -2
  275. package/dist/types/shadow/npm/arborist/index.d.mts +2 -2
  276. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +19 -24
  277. package/dist/types/shadow/npm/arborist/lib/arborist/types.d.mts +43 -71
  278. package/dist/types/shadow/npm/arborist/lib/dep-valid.d.mts +3 -8
  279. package/dist/types/shadow/npm/arborist/lib/edge.d.mts +58 -71
  280. package/dist/types/shadow/npm/arborist/lib/node.d.mts +55 -91
  281. package/dist/types/shadow/npm/arborist/lib/override-set.d.mts +26 -32
  282. package/dist/types/shadow/npm/arborist-helpers.d.mts +33 -66
  283. package/dist/types/shadow/npm/arborist-helpers.d.mts.map +1 -1
  284. package/dist/types/shadow/npm/bin.d.mts +2 -5
  285. package/dist/types/shadow/npm/inject.d.mts +2 -2
  286. package/dist/types/shadow/npm/install.d.mts +11 -16
  287. package/dist/types/shadow/npm/link.d.mts +2 -5
  288. package/dist/types/shadow/npm/paths.d.mts +7 -7
  289. package/dist/types/shadow/npm/proc-log/index.d.mts +3 -6
  290. package/dist/types/types.d.mts +15 -17
  291. package/dist/types/utils/agent.d.mts +11 -14
  292. package/dist/types/utils/alert/artifact.d.mts +32 -50
  293. package/dist/types/utils/alert/fix.d.mts +5 -5
  294. package/dist/types/utils/alert/severity.d.mts +12 -24
  295. package/dist/types/utils/alerts-map.d.mts +23 -36
  296. package/dist/types/utils/api.d.mts +11 -34
  297. package/dist/types/utils/check-input.d.mts +9 -12
  298. package/dist/types/utils/cmd.d.mts +4 -4
  299. package/dist/types/utils/color-or-markdown.d.mts +14 -23
  300. package/dist/types/utils/color-or-markdown.d.mts.map +1 -1
  301. package/dist/types/utils/completion.d.mts +11 -0
  302. package/dist/types/utils/completion.d.mts.map +1 -0
  303. package/dist/types/utils/config.d.mts +22 -31
  304. package/dist/types/utils/config.d.mts.map +1 -1
  305. package/dist/types/utils/determine-org-slug.d.mts +2 -7
  306. package/dist/types/utils/errors.d.mts +12 -21
  307. package/dist/types/utils/fail-msg-with-badge.d.mts +2 -5
  308. package/dist/types/utils/fs.d.mts +21 -52
  309. package/dist/types/utils/get-output-kind.d.mts +3 -6
  310. package/dist/types/utils/glob.d.mts +13 -24
  311. package/dist/types/utils/map-to-object.d.mts +4 -6
  312. package/dist/types/utils/markdown.d.mts +4 -15
  313. package/dist/types/utils/meow-with-subcommands.d.mts +34 -46
  314. package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
  315. package/dist/types/utils/npm-paths.d.mts +7 -7
  316. package/dist/types/utils/npm-paths.d.mts.map +1 -1
  317. package/dist/types/utils/objects.d.mts +3 -8
  318. package/dist/types/utils/output-formatting.d.mts +14 -24
  319. package/dist/types/utils/package-environment.d.mts +51 -72
  320. package/dist/types/utils/package-environment.d.mts.map +1 -1
  321. package/dist/types/utils/path-resolve.d.mts +9 -14
  322. package/dist/types/utils/pnpm.d.mts +9 -7
  323. package/dist/types/utils/pnpm.d.mts.map +1 -1
  324. package/dist/types/utils/sdk.d.mts +8 -12
  325. package/dist/types/utils/semver.d.mts +5 -17
  326. package/dist/types/utils/serialize-result-json.d.mts +3 -3
  327. package/dist/types/utils/socket-package-alert.d.mts +62 -81
  328. package/dist/types/utils/socket-url.d.mts +9 -15
  329. package/dist/types/utils/spec.d.mts +4 -7
  330. package/dist/types/utils/spec.d.mts.map +1 -1
  331. package/dist/types/utils/strings.d.mts +2 -5
  332. package/dist/types/utils/translations.d.mts +592 -592
  333. package/dist/types/utils/walk-nested-map.d.mts +7 -10
  334. package/dist/utils.js +1531 -1833
  335. package/dist/utils.js.map +1 -1
  336. package/dist/vendor.js +38333 -51605
  337. package/dist/vendor.js.map +1 -1
  338. package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +5 -8
  339. package/external/@socketsecurity/registry/external/@npmcli/promise-spawn.js +2 -4
  340. package/external/@socketsecurity/registry/external/cacache.js +1 -2
  341. package/external/@socketsecurity/registry/external/libnpmpack.js +36 -76
  342. package/external/@socketsecurity/registry/external/make-fetch-happen.js +31 -67
  343. package/external/@socketsecurity/registry/external/pacote.js +36 -76
  344. package/external/@socketsecurity/registry/external/tinyglobby.js +3 -6
  345. package/external/@socketsecurity/registry/external/which.js +2 -4
  346. package/external/@socketsecurity/registry/lib/logger.d.ts +4 -1
  347. package/external/@socketsecurity/registry/lib/logger.js +160 -73
  348. package/external/@socketsecurity/registry/lib/spinner.js +5 -1
  349. package/external/@socketsecurity/registry/package.json +2 -2
  350. package/external/blessed/lib/alias.js +475 -468
  351. package/external/blessed/lib/blessed.js +12 -12
  352. package/external/blessed/lib/colors.js +234 -194
  353. package/external/blessed/lib/events.js +64 -70
  354. package/external/blessed/lib/gpmclient.js +117 -141
  355. package/external/blessed/lib/helpers.js +89 -94
  356. package/external/blessed/lib/keys.js +169 -342
  357. package/external/blessed/lib/program.js +2130 -2365
  358. package/external/blessed/lib/tput.js +1183 -1276
  359. package/external/blessed/lib/unicode.js +400 -522
  360. package/external/blessed/lib/widget.js +14 -14
  361. package/external/blessed/lib/widgets/ansiimage.js +90 -96
  362. package/external/blessed/lib/widgets/bigtext.js +91 -102
  363. package/external/blessed/lib/widgets/box.js +8 -8
  364. package/external/blessed/lib/widgets/button.js +23 -23
  365. package/external/blessed/lib/widgets/checkbox.js +50 -54
  366. package/external/blessed/lib/widgets/element.js +1415 -1716
  367. package/external/blessed/lib/widgets/filemanager.js +107 -118
  368. package/external/blessed/lib/widgets/form.js +144 -178
  369. package/external/blessed/lib/widgets/image.js +26 -36
  370. package/external/blessed/lib/widgets/input.js +8 -8
  371. package/external/blessed/lib/widgets/layout.js +103 -119
  372. package/external/blessed/lib/widgets/line.js +17 -20
  373. package/external/blessed/lib/widgets/list.js +349 -402
  374. package/external/blessed/lib/widgets/listbar.js +265 -306
  375. package/external/blessed/lib/widgets/listtable.js +133 -146
  376. package/external/blessed/lib/widgets/loading.js +31 -31
  377. package/external/blessed/lib/widgets/log.js +41 -40
  378. package/external/blessed/lib/widgets/message.js +64 -86
  379. package/external/blessed/lib/widgets/node.js +175 -207
  380. package/external/blessed/lib/widgets/overlayimage.js +360 -437
  381. package/external/blessed/lib/widgets/progressbar.js +79 -88
  382. package/external/blessed/lib/widgets/prompt.js +54 -61
  383. package/external/blessed/lib/widgets/question.js +48 -61
  384. package/external/blessed/lib/widgets/radiobutton.js +26 -27
  385. package/external/blessed/lib/widgets/radioset.js +8 -8
  386. package/external/blessed/lib/widgets/screen.js +1186 -1375
  387. package/external/blessed/lib/widgets/scrollablebox.js +202 -228
  388. package/external/blessed/lib/widgets/scrollabletext.js +9 -9
  389. package/external/blessed/lib/widgets/table.js +187 -216
  390. package/external/blessed/lib/widgets/terminal.js +258 -298
  391. package/external/blessed/lib/widgets/text.js +9 -9
  392. package/external/blessed/lib/widgets/textarea.js +188 -222
  393. package/external/blessed/lib/widgets/textbox.js +34 -36
  394. package/external/blessed/lib/widgets/video.js +55 -59
  395. package/external/blessed/usr/fonts/ter-u14b.json +1 -1
  396. package/external/blessed/usr/fonts/ter-u14n.json +1 -1
  397. package/external/blessed/vendor/tng.js +1016 -1144
  398. package/external/blessed-contrib/lib/layout/grid.js +345 -377
  399. package/external/blessed-contrib/lib/widget/charts/bar.js +6612 -7139
  400. package/external/blessed-contrib/lib/widget/charts/line.js +16224 -23941
  401. package/external/blessed-contrib/lib/widget/table.js +78 -96
  402. package/package.json +9 -9
  403. package/dist/types/commands/cdxgen/run-cdxgen.d.mts.map +0 -1
@@ -1377,9 +1377,8 @@ function requireCommonjs$4() {
1377
1377
  function (o) {
1378
1378
  const ar = []
1379
1379
  for (const k in o) {
1380
- if (Object.prototype.hasOwnProperty.call(o, k)) {
1380
+ if (Object.prototype.hasOwnProperty.call(o, k))
1381
1381
  ar[ar.length] = k
1382
- }
1383
1382
  }
1384
1383
  return ar
1385
1384
  }
@@ -1391,9 +1390,8 @@ function requireCommonjs$4() {
1391
1390
  }
1392
1391
  const result = {}
1393
1392
  if (mod != null) {
1394
- for (let k = ownKeys(mod), i = 0; i < k.length; i++) {
1393
+ for (var k = ownKeys(mod), i = 0; i < k.length; i++)
1395
1394
  if (k[i] !== 'default') __createBinding(result, mod, k[i])
1396
- }
1397
1395
  }
1398
1396
  __setModuleDefault(result, mod)
1399
1397
  return result
@@ -4836,13 +4834,10 @@ function requireDbcsCodec() {
4836
4834
  // Some chars can be decoded, but need not be encoded.
4837
4835
  const skipEncodeChars = {}
4838
4836
  if (codecOptions.encodeSkipVals) {
4839
- for (let i = 0; i < codecOptions.encodeSkipVals.length; i++) {
4840
- const val = codecOptions.encodeSkipVals[i]
4841
- if (typeof val === 'number') {
4842
- skipEncodeChars[val] = true
4843
- } else {
4844
- for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
4845
- }
4837
+ for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) {
4838
+ var val = codecOptions.encodeSkipVals[i]
4839
+ if (typeof val === 'number') skipEncodeChars[val] = true
4840
+ else for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
4846
4841
  }
4847
4842
  }
4848
4843
 
@@ -4852,14 +4847,11 @@ function requireDbcsCodec() {
4852
4847
  // Add more encoding pairs when needed.
4853
4848
  if (codecOptions.encodeAdd) {
4854
4849
  for (const uChar in codecOptions.encodeAdd) {
4855
- if (
4856
- Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)
4857
- ) {
4850
+ if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar))
4858
4851
  this._setEncodeChar(
4859
4852
  uChar.charCodeAt(0),
4860
4853
  codecOptions.encodeAdd[uChar]
4861
4854
  )
4862
- }
4863
4855
  }
4864
4856
  }
4865
4857
  this.defCharSB =
@@ -11193,9 +11185,8 @@ function requireEncodings() {
11193
11185
  for (let i = 0; i < modules.length; i++) {
11194
11186
  const module = modules[i]
11195
11187
  for (const enc in module) {
11196
- if (Object.prototype.hasOwnProperty.call(module, enc)) {
11188
+ if (Object.prototype.hasOwnProperty.call(module, enc))
11197
11189
  exports[enc] = module[enc]
11198
- }
11199
11190
  }
11200
11191
  }
11201
11192
  })(encodings)
@@ -26379,10 +26370,9 @@ function requireCommonjs$1() {
26379
26370
  }
26380
26371
  const result = {}
26381
26372
  if (mod != null) {
26382
- for (const k in mod) {
26373
+ for (var k in mod)
26383
26374
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
26384
26375
  __createBinding(result, mod, k)
26385
- }
26386
26376
  }
26387
26377
  __setModuleDefault(result, mod)
26388
26378
  return result
@@ -32458,10 +32448,9 @@ function requireHelpers$2() {
32458
32448
  }
32459
32449
  const result = {}
32460
32450
  if (mod != null) {
32461
- for (const k in mod) {
32451
+ for (var k in mod)
32462
32452
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
32463
32453
  __createBinding(result, mod, k)
32464
- }
32465
32454
  }
32466
32455
  __setModuleDefault(result, mod)
32467
32456
  return result
@@ -32564,10 +32553,9 @@ function requireDist$3() {
32564
32553
  }
32565
32554
  const result = {}
32566
32555
  if (mod != null) {
32567
- for (const k in mod) {
32556
+ for (var k in mod)
32568
32557
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
32569
32558
  __createBinding(result, mod, k)
32570
- }
32571
32559
  }
32572
32560
  __setModuleDefault(result, mod)
32573
32561
  return result
@@ -32579,9 +32567,8 @@ function requireDist$3() {
32579
32567
  if (
32580
32568
  p !== 'default' &&
32581
32569
  !Object.prototype.hasOwnProperty.call(exports, p)
32582
- ) {
32570
+ )
32583
32571
  __createBinding(exports, m, p)
32584
- }
32585
32572
  }
32586
32573
  }
32587
32574
  Object.defineProperty(exports, '__esModule', {
@@ -32806,10 +32793,9 @@ function requireDist$2() {
32806
32793
  }
32807
32794
  const result = {}
32808
32795
  if (mod != null) {
32809
- for (const k in mod) {
32796
+ for (var k in mod)
32810
32797
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
32811
32798
  __createBinding(result, mod, k)
32812
- }
32813
32799
  }
32814
32800
  __setModuleDefault(result, mod)
32815
32801
  return result
@@ -33132,10 +33118,9 @@ function requireDist$1() {
33132
33118
  }
33133
33119
  const result = {}
33134
33120
  if (mod != null) {
33135
- for (const k in mod) {
33121
+ for (var k in mod)
33136
33122
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
33137
33123
  __createBinding(result, mod, k)
33138
- }
33139
33124
  }
33140
33125
  __setModuleDefault(result, mod)
33141
33126
  return result
@@ -35213,13 +35198,9 @@ function requireJsbn() {
35213
35198
  // (public) Constructor
35214
35199
  function BigInteger(a, b, c) {
35215
35200
  if (a != null) {
35216
- if ('number' == typeof a) {
35217
- this.fromNumber(a, b, c)
35218
- } else if (b == null && 'string' != typeof a) {
35219
- this.fromString(a, 256)
35220
- } else {
35221
- this.fromString(a, b)
35222
- }
35201
+ if ('number' == typeof a) this.fromNumber(a, b, c)
35202
+ else if (b == null && 'string' != typeof a) this.fromString(a, 256)
35203
+ else this.fromString(a, b)
35223
35204
  }
35224
35205
  }
35225
35206
 
@@ -35495,9 +35476,7 @@ function requireJsbn() {
35495
35476
  return this.s < 0 ? -r : r
35496
35477
  }
35497
35478
  while (--i >= 0) {
35498
- if ((r = this[i] - a[i]) != 0) {
35499
- return r
35500
- }
35479
+ if ((r = this[i] - a[i]) != 0) return r
35501
35480
  }
35502
35481
  return 0
35503
35482
  }
@@ -36317,9 +36296,7 @@ function requireJsbn() {
36317
36296
  // (public) returns index of lowest 1-bit (or -1 if none)
36318
36297
  function bnGetLowestSetBit() {
36319
36298
  for (let i = 0; i < this.t; ++i) {
36320
- if (this[i] != 0) {
36321
- return i * this.DB + lbit(this[i])
36322
- }
36299
+ if (this[i] != 0) return i * this.DB + lbit(this[i])
36323
36300
  }
36324
36301
  if (this.s < 0) {
36325
36302
  return this.t * this.DB
@@ -36755,11 +36732,8 @@ function requireJsbn() {
36755
36732
  let d = this.DV % n,
36756
36733
  r = this.s < 0 ? n - 1 : 0
36757
36734
  if (this.t > 0) {
36758
- if (d == 0) {
36759
- r = this[0] % n
36760
- } else {
36761
- for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
36762
- }
36735
+ if (d == 0) r = this[0] % n
36736
+ else for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
36763
36737
  }
36764
36738
  return r
36765
36739
  }
@@ -36856,9 +36830,7 @@ function requireJsbn() {
36856
36830
  x = this.abs()
36857
36831
  if (x.t == 1 && x[0] <= lowprimes[lowprimes.length - 1]) {
36858
36832
  for (i = 0; i < lowprimes.length; ++i) {
36859
- if (x[0] == lowprimes[i]) {
36860
- return true
36861
- }
36833
+ if (x[0] == lowprimes[i]) return true
36862
36834
  }
36863
36835
  return false
36864
36836
  }
@@ -36874,9 +36846,7 @@ function requireJsbn() {
36874
36846
  }
36875
36847
  m = x.modInt(m)
36876
36848
  while (i < j) {
36877
- if (m % lowprimes[i++] == 0) {
36878
- return false
36879
- }
36849
+ if (m % lowprimes[i++] == 0) return false
36880
36850
  }
36881
36851
  }
36882
36852
  return x.millerRabin(t)
@@ -37454,10 +37424,9 @@ function requireIpv4() {
37454
37424
  }
37455
37425
  const result = {}
37456
37426
  if (mod != null) {
37457
- for (const k in mod) {
37427
+ for (var k in mod)
37458
37428
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
37459
37429
  __createBinding(result, mod, k)
37460
- }
37461
37430
  }
37462
37431
  __setModuleDefault(result, mod)
37463
37432
  return result
@@ -38020,10 +37989,9 @@ function requireRegularExpressions() {
38020
37989
  }
38021
37990
  const result = {}
38022
37991
  if (mod != null) {
38023
- for (const k in mod) {
37992
+ for (var k in mod)
38024
37993
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
38025
37994
  __createBinding(result, mod, k)
38026
- }
38027
37995
  }
38028
37996
  __setModuleDefault(result, mod)
38029
37997
  return result
@@ -38178,10 +38146,9 @@ function requireIpv6() {
38178
38146
  }
38179
38147
  const result = {}
38180
38148
  if (mod != null) {
38181
- for (const k in mod) {
38149
+ for (var k in mod)
38182
38150
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
38183
38151
  __createBinding(result, mod, k)
38184
- }
38185
38152
  }
38186
38153
  __setModuleDefault(result, mod)
38187
38154
  return result
@@ -39311,10 +39278,9 @@ function requireIpAddress() {
39311
39278
  }
39312
39279
  const result = {}
39313
39280
  if (mod != null) {
39314
- for (const k in mod) {
39281
+ for (var k in mod)
39315
39282
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
39316
39283
  __createBinding(result, mod, k)
39317
- }
39318
39284
  }
39319
39285
  __setModuleDefault(result, mod)
39320
39286
  return result
@@ -40637,9 +40603,8 @@ function requireBuild() {
40637
40603
  if (
40638
40604
  p !== 'default' &&
40639
40605
  !Object.prototype.hasOwnProperty.call(exports, p)
40640
- ) {
40606
+ )
40641
40607
  __createBinding(exports, m, p)
40642
- }
40643
40608
  }
40644
40609
  }
40645
40610
  Object.defineProperty(exports, '__esModule', {
@@ -40703,10 +40668,9 @@ function requireDist() {
40703
40668
  }
40704
40669
  const result = {}
40705
40670
  if (mod != null) {
40706
- for (const k in mod) {
40671
+ for (var k in mod)
40707
40672
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
40708
40673
  __createBinding(result, mod, k)
40709
- }
40710
40674
  }
40711
40675
  __setModuleDefault(result, mod)
40712
40676
  return result
@@ -41375,7 +41339,7 @@ function requireRemote() {
41375
41339
  // EINVALIDPROXY // invalid protocol from @npmcli/agent
41376
41340
  // EINVALIDRESPONSE // invalid status code from @npmcli/agent
41377
41341
  ])
41378
- const RETRY_TYPES = new Set(['request-timeout'])
41342
+ const RETRY_TYPES = ['request-timeout']
41379
41343
 
41380
41344
  // make a request directly to the remote source,
41381
41345
  // retrying certain classes of errors as well as
@@ -41458,7 +41422,7 @@ function requireRemote() {
41458
41422
  // can re-throw to allow the retry
41459
41423
  const isRetryError =
41460
41424
  err.retried instanceof fetch.Response ||
41461
- (RETRY_ERRORS.has(code) && RETRY_TYPES.has(err.type))
41425
+ (RETRY_ERRORS.has(code) && RETRY_TYPES.includes(err.type))
41462
41426
  if (req.method === 'POST' || isRetryError) {
41463
41427
  throw err
41464
41428
  }
@@ -7023,10 +7023,9 @@ function requireCommonjs$2() {
7023
7023
  }
7024
7024
  const result = {}
7025
7025
  if (mod != null) {
7026
- for (const k in mod) {
7026
+ for (var k in mod)
7027
7027
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
7028
7028
  __createBinding(result, mod, k)
7029
- }
7030
7029
  }
7031
7030
  __setModuleDefault(result, mod)
7032
7031
  return result
@@ -10960,10 +10959,9 @@ function requireCjs() {
10960
10959
  }
10961
10960
  const result = {}
10962
10961
  if (mod != null) {
10963
- for (const k in mod) {
10962
+ for (var k in mod)
10964
10963
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
10965
10964
  __createBinding(result, mod, k)
10966
- }
10967
10965
  }
10968
10966
  __setModuleDefault(result, mod)
10969
10967
  return result
@@ -10975,9 +10973,8 @@ function requireCjs() {
10975
10973
  if (
10976
10974
  p !== 'default' &&
10977
10975
  !Object.prototype.hasOwnProperty.call(exports, p)
10978
- ) {
10976
+ )
10979
10977
  __createBinding(exports, m, p)
10980
- }
10981
10978
  }
10982
10979
  }
10983
10980
  Object.defineProperty(exports, '__esModule', {
@@ -15056,7 +15053,7 @@ function requireDevEngines() {
15056
15053
  const satisfies = requireSatisfies()
15057
15054
  const validRange = requireValid()
15058
15055
  const recognizedOnFail = new Set(['ignore', 'warn', 'error', 'download'])
15059
- const recognizedProperties = new Set(['name', 'version', 'onFail'])
15056
+ const recognizedProperties = ['name', 'version', 'onFail']
15060
15057
  const recognizedEngines = ['packageManager', 'runtime', 'cpu', 'libc', 'os']
15061
15058
 
15062
15059
  /** checks a devEngine dependency */
@@ -15071,7 +15068,7 @@ function requireDevEngines() {
15071
15068
  }
15072
15069
  const properties = Object.keys(wanted)
15073
15070
  for (const prop of properties) {
15074
- if (!recognizedProperties.has(prop)) {
15071
+ if (!recognizedProperties.includes(prop)) {
15075
15072
  throw new Error(`Invalid property "${prop}" for "${engine}"`)
15076
15073
  }
15077
15074
  }
@@ -31684,9 +31681,7 @@ function requireChownr() {
31684
31681
  if (typeof child === 'string') {
31685
31682
  return fs.lstat(path.resolve(p, child), (er, stats) => {
31686
31683
  // Skip ENOENT error
31687
- if (er) {
31688
- return cb(er.code !== 'ENOENT' ? er : null)
31689
- }
31684
+ if (er) return cb(er.code !== 'ENOENT' ? er : null)
31690
31685
  stats.name = child
31691
31686
  chownrKid(p, stats, uid, gid, cb)
31692
31687
  })
@@ -35124,9 +35119,8 @@ function requireCommonjs() {
35124
35119
  function (o) {
35125
35120
  const ar = []
35126
35121
  for (const k in o) {
35127
- if (Object.prototype.hasOwnProperty.call(o, k)) {
35122
+ if (Object.prototype.hasOwnProperty.call(o, k))
35128
35123
  ar[ar.length] = k
35129
- }
35130
35124
  }
35131
35125
  return ar
35132
35126
  }
@@ -35138,9 +35132,8 @@ function requireCommonjs() {
35138
35132
  }
35139
35133
  const result = {}
35140
35134
  if (mod != null) {
35141
- for (let k = ownKeys(mod), i = 0; i < k.length; i++) {
35135
+ for (var k = ownKeys(mod), i = 0; i < k.length; i++)
35142
35136
  if (k[i] !== 'default') __createBinding(result, mod, k[i])
35143
- }
35144
35137
  }
35145
35138
  __setModuleDefault(result, mod)
35146
35139
  return result
@@ -38583,13 +38576,10 @@ function requireDbcsCodec() {
38583
38576
  // Some chars can be decoded, but need not be encoded.
38584
38577
  const skipEncodeChars = {}
38585
38578
  if (codecOptions.encodeSkipVals) {
38586
- for (let i = 0; i < codecOptions.encodeSkipVals.length; i++) {
38587
- const val = codecOptions.encodeSkipVals[i]
38588
- if (typeof val === 'number') {
38589
- skipEncodeChars[val] = true
38590
- } else {
38591
- for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
38592
- }
38579
+ for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) {
38580
+ var val = codecOptions.encodeSkipVals[i]
38581
+ if (typeof val === 'number') skipEncodeChars[val] = true
38582
+ else for (var j = val.from; j <= val.to; j++) skipEncodeChars[j] = true
38593
38583
  }
38594
38584
  }
38595
38585
 
@@ -38599,14 +38589,11 @@ function requireDbcsCodec() {
38599
38589
  // Add more encoding pairs when needed.
38600
38590
  if (codecOptions.encodeAdd) {
38601
38591
  for (const uChar in codecOptions.encodeAdd) {
38602
- if (
38603
- Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)
38604
- ) {
38592
+ if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar))
38605
38593
  this._setEncodeChar(
38606
38594
  uChar.charCodeAt(0),
38607
38595
  codecOptions.encodeAdd[uChar]
38608
38596
  )
38609
- }
38610
38597
  }
38611
38598
  }
38612
38599
  this.defCharSB =
@@ -44940,9 +44927,8 @@ function requireEncodings() {
44940
44927
  for (let i = 0; i < modules.length; i++) {
44941
44928
  const module = modules[i]
44942
44929
  for (const enc in module) {
44943
- if (Object.prototype.hasOwnProperty.call(module, enc)) {
44930
+ if (Object.prototype.hasOwnProperty.call(module, enc))
44944
44931
  exports[enc] = module[enc]
44945
- }
44946
44932
  }
44947
44933
  }
44948
44934
  })(encodings)
@@ -50886,10 +50872,9 @@ function requireHelpers$2() {
50886
50872
  }
50887
50873
  const result = {}
50888
50874
  if (mod != null) {
50889
- for (const k in mod) {
50875
+ for (var k in mod)
50890
50876
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
50891
50877
  __createBinding(result, mod, k)
50892
- }
50893
50878
  }
50894
50879
  __setModuleDefault(result, mod)
50895
50880
  return result
@@ -50992,10 +50977,9 @@ function requireDist$c() {
50992
50977
  }
50993
50978
  const result = {}
50994
50979
  if (mod != null) {
50995
- for (const k in mod) {
50980
+ for (var k in mod)
50996
50981
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
50997
50982
  __createBinding(result, mod, k)
50998
- }
50999
50983
  }
51000
50984
  __setModuleDefault(result, mod)
51001
50985
  return result
@@ -51007,9 +50991,8 @@ function requireDist$c() {
51007
50991
  if (
51008
50992
  p !== 'default' &&
51009
50993
  !Object.prototype.hasOwnProperty.call(exports, p)
51010
- ) {
50994
+ )
51011
50995
  __createBinding(exports, m, p)
51012
- }
51013
50996
  }
51014
50997
  }
51015
50998
  Object.defineProperty(exports, '__esModule', {
@@ -51234,10 +51217,9 @@ function requireDist$b() {
51234
51217
  }
51235
51218
  const result = {}
51236
51219
  if (mod != null) {
51237
- for (const k in mod) {
51220
+ for (var k in mod)
51238
51221
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
51239
51222
  __createBinding(result, mod, k)
51240
- }
51241
51223
  }
51242
51224
  __setModuleDefault(result, mod)
51243
51225
  return result
@@ -51560,10 +51542,9 @@ function requireDist$a() {
51560
51542
  }
51561
51543
  const result = {}
51562
51544
  if (mod != null) {
51563
- for (const k in mod) {
51545
+ for (var k in mod)
51564
51546
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
51565
51547
  __createBinding(result, mod, k)
51566
- }
51567
51548
  }
51568
51549
  __setModuleDefault(result, mod)
51569
51550
  return result
@@ -53641,13 +53622,9 @@ function requireJsbn() {
53641
53622
  // (public) Constructor
53642
53623
  function BigInteger(a, b, c) {
53643
53624
  if (a != null) {
53644
- if ('number' == typeof a) {
53645
- this.fromNumber(a, b, c)
53646
- } else if (b == null && 'string' != typeof a) {
53647
- this.fromString(a, 256)
53648
- } else {
53649
- this.fromString(a, b)
53650
- }
53625
+ if ('number' == typeof a) this.fromNumber(a, b, c)
53626
+ else if (b == null && 'string' != typeof a) this.fromString(a, 256)
53627
+ else this.fromString(a, b)
53651
53628
  }
53652
53629
  }
53653
53630
 
@@ -53923,9 +53900,7 @@ function requireJsbn() {
53923
53900
  return this.s < 0 ? -r : r
53924
53901
  }
53925
53902
  while (--i >= 0) {
53926
- if ((r = this[i] - a[i]) != 0) {
53927
- return r
53928
- }
53903
+ if ((r = this[i] - a[i]) != 0) return r
53929
53904
  }
53930
53905
  return 0
53931
53906
  }
@@ -54745,9 +54720,7 @@ function requireJsbn() {
54745
54720
  // (public) returns index of lowest 1-bit (or -1 if none)
54746
54721
  function bnGetLowestSetBit() {
54747
54722
  for (let i = 0; i < this.t; ++i) {
54748
- if (this[i] != 0) {
54749
- return i * this.DB + lbit(this[i])
54750
- }
54723
+ if (this[i] != 0) return i * this.DB + lbit(this[i])
54751
54724
  }
54752
54725
  if (this.s < 0) {
54753
54726
  return this.t * this.DB
@@ -55183,11 +55156,8 @@ function requireJsbn() {
55183
55156
  let d = this.DV % n,
55184
55157
  r = this.s < 0 ? n - 1 : 0
55185
55158
  if (this.t > 0) {
55186
- if (d == 0) {
55187
- r = this[0] % n
55188
- } else {
55189
- for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
55190
- }
55159
+ if (d == 0) r = this[0] % n
55160
+ else for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n
55191
55161
  }
55192
55162
  return r
55193
55163
  }
@@ -55284,9 +55254,7 @@ function requireJsbn() {
55284
55254
  x = this.abs()
55285
55255
  if (x.t == 1 && x[0] <= lowprimes[lowprimes.length - 1]) {
55286
55256
  for (i = 0; i < lowprimes.length; ++i) {
55287
- if (x[0] == lowprimes[i]) {
55288
- return true
55289
- }
55257
+ if (x[0] == lowprimes[i]) return true
55290
55258
  }
55291
55259
  return false
55292
55260
  }
@@ -55302,9 +55270,7 @@ function requireJsbn() {
55302
55270
  }
55303
55271
  m = x.modInt(m)
55304
55272
  while (i < j) {
55305
- if (m % lowprimes[i++] == 0) {
55306
- return false
55307
- }
55273
+ if (m % lowprimes[i++] == 0) return false
55308
55274
  }
55309
55275
  }
55310
55276
  return x.millerRabin(t)
@@ -55882,10 +55848,9 @@ function requireIpv4() {
55882
55848
  }
55883
55849
  const result = {}
55884
55850
  if (mod != null) {
55885
- for (const k in mod) {
55851
+ for (var k in mod)
55886
55852
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
55887
55853
  __createBinding(result, mod, k)
55888
- }
55889
55854
  }
55890
55855
  __setModuleDefault(result, mod)
55891
55856
  return result
@@ -56448,10 +56413,9 @@ function requireRegularExpressions() {
56448
56413
  }
56449
56414
  const result = {}
56450
56415
  if (mod != null) {
56451
- for (const k in mod) {
56416
+ for (var k in mod)
56452
56417
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
56453
56418
  __createBinding(result, mod, k)
56454
- }
56455
56419
  }
56456
56420
  __setModuleDefault(result, mod)
56457
56421
  return result
@@ -56606,10 +56570,9 @@ function requireIpv6() {
56606
56570
  }
56607
56571
  const result = {}
56608
56572
  if (mod != null) {
56609
- for (const k in mod) {
56573
+ for (var k in mod)
56610
56574
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
56611
56575
  __createBinding(result, mod, k)
56612
- }
56613
56576
  }
56614
56577
  __setModuleDefault(result, mod)
56615
56578
  return result
@@ -57739,10 +57702,9 @@ function requireIpAddress() {
57739
57702
  }
57740
57703
  const result = {}
57741
57704
  if (mod != null) {
57742
- for (const k in mod) {
57705
+ for (var k in mod)
57743
57706
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
57744
57707
  __createBinding(result, mod, k)
57745
- }
57746
57708
  }
57747
57709
  __setModuleDefault(result, mod)
57748
57710
  return result
@@ -59065,9 +59027,8 @@ function requireBuild$1() {
59065
59027
  if (
59066
59028
  p !== 'default' &&
59067
59029
  !Object.prototype.hasOwnProperty.call(exports, p)
59068
- ) {
59030
+ )
59069
59031
  __createBinding(exports, m, p)
59070
- }
59071
59032
  }
59072
59033
  }
59073
59034
  Object.defineProperty(exports, '__esModule', {
@@ -59131,10 +59092,9 @@ function requireDist$9() {
59131
59092
  }
59132
59093
  const result = {}
59133
59094
  if (mod != null) {
59134
- for (const k in mod) {
59095
+ for (var k in mod)
59135
59096
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
59136
59097
  __createBinding(result, mod, k)
59137
- }
59138
59098
  }
59139
59099
  __setModuleDefault(result, mod)
59140
59100
  return result
@@ -59803,7 +59763,7 @@ function requireRemote$1() {
59803
59763
  // EINVALIDPROXY // invalid protocol from @npmcli/agent
59804
59764
  // EINVALIDRESPONSE // invalid status code from @npmcli/agent
59805
59765
  ])
59806
- const RETRY_TYPES = new Set(['request-timeout'])
59766
+ const RETRY_TYPES = ['request-timeout']
59807
59767
 
59808
59768
  // make a request directly to the remote source,
59809
59769
  // retrying certain classes of errors as well as
@@ -59886,7 +59846,7 @@ function requireRemote$1() {
59886
59846
  // can re-throw to allow the retry
59887
59847
  const isRetryError =
59888
59848
  err.retried instanceof fetch.Response ||
59889
- (RETRY_ERRORS.has(code) && RETRY_TYPES.has(err.type))
59849
+ (RETRY_ERRORS.has(code) && RETRY_TYPES.includes(err.type))
59890
59850
  if (req.method === 'POST' || isRetryError) {
59891
59851
  throw err
59892
59852
  }
@@ -655,10 +655,9 @@ function requireWalker() {
655
655
  }
656
656
  const result = {}
657
657
  if (mod != null) {
658
- for (const k in mod) {
658
+ for (var k in mod)
659
659
  if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
660
660
  __createBinding(result, mod, k)
661
- }
662
661
  }
663
662
  __setModuleDefault(result, mod)
664
663
  return result
@@ -3409,9 +3408,8 @@ function requireDist$1() {
3409
3408
  if (
3410
3409
  p !== 'default' &&
3411
3410
  !Object.prototype.hasOwnProperty.call(exports, p)
3412
- ) {
3411
+ )
3413
3412
  __createBinding(exports, m, p)
3414
- }
3415
3413
  }
3416
3414
  }
3417
3415
  Object.defineProperty(exports, '__esModule', {
@@ -3454,12 +3452,11 @@ function requireDist() {
3454
3452
  const __copyProps = (to, from, except, desc) => {
3455
3453
  if ((from && typeof from === 'object') || typeof from === 'function') {
3456
3454
  for (let key of __getOwnPropNames(from)) {
3457
- if (!__hasOwnProp.call(to, key) && key !== except) {
3455
+ if (!__hasOwnProp.call(to, key) && key !== except)
3458
3456
  __defProp(to, key, {
3459
3457
  get: () => from[key],
3460
3458
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
3461
3459
  })
3462
- }
3463
3460
  }
3464
3461
  }
3465
3462
  return to