@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
@@ -1,37 +1,20 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleCreateNewScan({
3
- branchName,
4
- commitHash,
5
- commitMessage,
6
- committers,
7
- cwd,
8
- defaultBranch,
9
- interactive,
10
- orgSlug,
11
- outputKind,
12
- pendingHead,
13
- pullRequest,
14
- readOnly,
15
- repoName,
16
- report,
17
- targets,
18
- tmp
19
- }: {
20
- branchName: string
21
- commitHash: string
22
- commitMessage: string
23
- committers: string
24
- cwd: string
25
- defaultBranch: boolean
26
- interactive: boolean
27
- orgSlug: string
28
- pendingHead: boolean
29
- pullRequest: number
30
- outputKind: OutputKind
31
- readOnly: boolean
32
- repoName: string
33
- report: boolean
34
- targets: string[]
35
- tmp: boolean
36
- }): Promise<void>
37
- //# sourceMappingURL=handle-create-new-scan.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleCreateNewScan({ branchName, commitHash, commitMessage, committers, cwd, defaultBranch, interactive, orgSlug, outputKind, pendingHead, pullRequest, readOnly, repoName, report, targets, tmp, }: {
3
+ branchName: string;
4
+ commitHash: string;
5
+ commitMessage: string;
6
+ committers: string;
7
+ cwd: string;
8
+ defaultBranch: boolean;
9
+ interactive: boolean;
10
+ orgSlug: string;
11
+ pendingHead: boolean;
12
+ pullRequest: number;
13
+ outputKind: OutputKind;
14
+ readOnly: boolean;
15
+ repoName: string;
16
+ report: boolean;
17
+ targets: string[];
18
+ tmp: boolean;
19
+ }): Promise<void>;
20
+ //# sourceMappingURL=handle-create-new-scan.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle-create-new-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-create-new-scan.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,mBAAmB,CAAC,EACxC,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,GAAG,EACH,aAAa,EACb,WAAW,EACX,OAAO,EACP,UAAU,EACV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACJ,EAAE;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,GAAG,EAAE,OAAO,CAAA;CACb,GAAG,OAAO,CAAC,IAAI,CAAC,CA0EhB"}
1
+ {"version":3,"file":"handle-create-new-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-create-new-scan.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,mBAAmB,CAAC,EACxC,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,GAAG,EACH,aAAa,EACb,WAAW,EACX,OAAO,EACP,UAAU,EACV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,GACJ,EAAE;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,GAAG,EAAE,OAAO,CAAA;CACb,GAAG,OAAO,CAAC,IAAI,CAAC,CA0EhB"}
@@ -1,7 +1,3 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleDeleteScan(
3
- orgSlug: string,
4
- scanId: string,
5
- outputKind: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=handle-delete-scan.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleDeleteScan(orgSlug: string, scanId: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-delete-scan.d.mts.map
@@ -1,17 +1,10 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleDiffScan({
3
- depth,
4
- file,
5
- id1,
6
- id2,
7
- orgSlug,
8
- outputKind
9
- }: {
10
- depth: number
11
- file: string
12
- id1: string
13
- id2: string
14
- orgSlug: string
15
- outputKind: OutputKind
16
- }): Promise<void>
17
- //# sourceMappingURL=handle-diff-scan.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleDiffScan({ depth, file, id1, id2, orgSlug, outputKind, }: {
3
+ depth: number;
4
+ file: string;
5
+ id1: string;
6
+ id2: string;
7
+ orgSlug: string;
8
+ outputKind: OutputKind;
9
+ }): Promise<void>;
10
+ //# sourceMappingURL=handle-diff-scan.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-diff-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,cAAc,CAAC,EACnC,KAAK,EACL,IAAI,EACJ,GAAG,EACH,GAAG,EACH,OAAO,EACP,UAAU,EACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAYhB"}
1
+ {"version":3,"file":"handle-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-diff-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,cAAc,CAAC,EACnC,KAAK,EACL,IAAI,EACJ,GAAG,EACH,GAAG,EACH,OAAO,EACP,UAAU,GACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAYhB"}
@@ -1,23 +1,13 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleListScans({
3
- branch,
4
- direction,
5
- from_time,
6
- orgSlug,
7
- outputKind,
8
- page,
9
- per_page,
10
- repo,
11
- sort
12
- }: {
13
- branch: string
14
- direction: string
15
- from_time: string
16
- orgSlug: string
17
- outputKind: OutputKind
18
- page: number
19
- per_page: number
20
- repo: string
21
- sort: string
22
- }): Promise<void>
23
- //# sourceMappingURL=handle-list-scans.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleListScans({ branch, direction, from_time, orgSlug, outputKind, page, per_page, repo, sort, }: {
3
+ branch: string;
4
+ direction: string;
5
+ from_time: string;
6
+ orgSlug: string;
7
+ outputKind: OutputKind;
8
+ page: number;
9
+ per_page: number;
10
+ repo: string;
11
+ sort: string;
12
+ }): Promise<void>;
13
+ //# sourceMappingURL=handle-list-scans.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle-list-scans.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-list-scans.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,eAAe,CAAC,EACpC,MAAM,EACN,SAAS,EACT,SAAS,EACT,OAAO,EACP,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,IAAI,EACL,EAAE;IACD,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
1
+ {"version":3,"file":"handle-list-scans.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-list-scans.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,eAAe,CAAC,EACpC,MAAM,EACN,SAAS,EACT,SAAS,EACT,OAAO,EACP,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,IAAI,GACL,EAAE;IACD,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
@@ -1,7 +1,3 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleOrgScanMetadata(
3
- orgSlug: string,
4
- scanId: string,
5
- outputKind: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=handle-scan-metadata.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleOrgScanMetadata(orgSlug: string, scanId: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-scan-metadata.d.mts.map
@@ -1,21 +1,12 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleScanReport({
3
- filePath,
4
- fold,
5
- includeLicensePolicy,
6
- orgSlug,
7
- outputKind,
8
- reportLevel,
9
- scanId,
10
- short
11
- }: {
12
- orgSlug: string
13
- scanId: string
14
- includeLicensePolicy: boolean
15
- outputKind: OutputKind
16
- filePath: string
17
- fold: 'pkg' | 'version' | 'file' | 'none'
18
- reportLevel: 'defer' | 'ignore' | 'monitor' | 'warn' | 'error'
19
- short: boolean
20
- }): Promise<void>
21
- //# sourceMappingURL=handle-scan-report.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleScanReport({ filePath, fold, includeLicensePolicy, orgSlug, outputKind, reportLevel, scanId, short, }: {
3
+ orgSlug: string;
4
+ scanId: string;
5
+ includeLicensePolicy: boolean;
6
+ outputKind: OutputKind;
7
+ filePath: string;
8
+ fold: 'pkg' | 'version' | 'file' | 'none';
9
+ reportLevel: 'defer' | 'ignore' | 'monitor' | 'warn' | 'error';
10
+ short: boolean;
11
+ }): Promise<void>;
12
+ //# sourceMappingURL=handle-scan-report.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle-scan-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-scan-report.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CAAC,EACrC,QAAQ,EACR,IAAI,EACJ,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,WAAW,EACX,MAAM,EACN,KAAK,EACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,OAAO,CAAA;IAC7B,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;IACzC,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC9D,KAAK,EAAE,OAAO,CAAA;CACf,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
1
+ {"version":3,"file":"handle-scan-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-scan-report.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CAAC,EACrC,QAAQ,EACR,IAAI,EACJ,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,WAAW,EACX,MAAM,EACN,KAAK,GACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,OAAO,CAAA;IAC7B,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;IACzC,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC9D,KAAK,EAAE,OAAO,CAAA;CACf,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
@@ -1,8 +1,3 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleScanView(
3
- orgSlug: string,
4
- scanId: string,
5
- filePath: string,
6
- outputKind: OutputKind
7
- ): Promise<void>
8
- //# sourceMappingURL=handle-scan-view.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleScanView(orgSlug: string, scanId: string, filePath: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-scan-view.d.mts.map
@@ -1,8 +1,4 @@
1
- import type { CResult, OutputKind } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function outputCreateNewScan(
4
- result: CResult<SocketSdkReturnType<'CreateOrgFullScan'>['data']>,
5
- outputKind: OutputKind,
6
- interactive: boolean
7
- ): Promise<void>
8
- //# sourceMappingURL=output-create-new-scan.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputCreateNewScan(result: CResult<SocketSdkReturnType<'CreateOrgFullScan'>['data']>, outputKind: OutputKind, interactive: boolean): Promise<void>;
4
+ //# sourceMappingURL=output-create-new-scan.d.mts.map
@@ -1,7 +1,4 @@
1
- import type { CResult, OutputKind } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function outputDeleteScan(
4
- result: CResult<SocketSdkReturnType<'deleteOrgFullScan'>['data']>,
5
- outputKind: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=output-delete-scan.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputDeleteScan(result: CResult<SocketSdkReturnType<'deleteOrgFullScan'>['data']>, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-delete-scan.d.mts.map
@@ -1,15 +1,8 @@
1
- import type { CResult, OutputKind } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function outputDiffScan(
4
- result: CResult<SocketSdkReturnType<'GetOrgDiffScan'>['data']>,
5
- {
6
- depth,
7
- file,
8
- outputKind
9
- }: {
10
- depth: number
11
- file: string
12
- outputKind: OutputKind
13
- }
14
- ): Promise<void>
15
- //# sourceMappingURL=output-diff-scan.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputDiffScan(result: CResult<SocketSdkReturnType<'GetOrgDiffScan'>['data']>, { depth, file, outputKind, }: {
4
+ depth: number;
5
+ file: string;
6
+ outputKind: OutputKind;
7
+ }): Promise<void>;
8
+ //# sourceMappingURL=output-diff-scan.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"output-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-diff-scan.mts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAM9D,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,EAC9D,EACE,KAAK,EACL,IAAI,EACJ,UAAU,EACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,UAAU,CAAA;CACvB,GACA,OAAO,CAAC,IAAI,CAAC,CAgDf"}
1
+ {"version":3,"file":"output-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-diff-scan.mts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAM9D,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,EAC9D,EACE,KAAK,EACL,IAAI,EACJ,UAAU,GACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,UAAU,CAAA;CACvB,GACA,OAAO,CAAC,IAAI,CAAC,CAgDf"}
@@ -1,7 +1,4 @@
1
- import type { CResult, OutputKind } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function outputListScans(
4
- result: CResult<SocketSdkReturnType<'getOrgFullScanList'>['data']>,
5
- outputKind: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=output-list-scans.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputListScans(result: CResult<SocketSdkReturnType<'getOrgFullScanList'>['data']>, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-list-scans.d.mts.map
@@ -1,8 +1,4 @@
1
- import type { CResult, OutputKind } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function outputScanMetadata(
4
- result: CResult<SocketSdkReturnType<'getOrgFullScanMetadata'>['data']>,
5
- scanId: string,
6
- outputKind: OutputKind
7
- ): Promise<void>
8
- //# sourceMappingURL=output-scan-metadata.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputScanMetadata(result: CResult<SocketSdkReturnType<'getOrgFullScanMetadata'>['data']>, scanId: string, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-scan-metadata.d.mts.map
@@ -1,38 +1,20 @@
1
- import type { ScanReport } from './generate-report.mts'
2
- import type { CResult, OutputKind } from '../../types.mts'
3
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
4
- import type { components } from '@socketsecurity/sdk/types/api'
5
- export declare function outputScanReport(
6
- result: CResult<{
7
- scan: Array<components['schemas']['SocketArtifact']>
8
- securityPolicy: SocketSdkReturnType<'getOrgSecurityPolicy'>['data']
9
- }>,
10
- {
11
- filePath,
12
- fold,
13
- includeLicensePolicy,
14
- orgSlug,
15
- outputKind,
16
- reportLevel,
17
- scanId,
18
- short
19
- }: {
20
- orgSlug: string
21
- scanId: string
22
- includeLicensePolicy: boolean
23
- outputKind: OutputKind
24
- filePath: string
25
- fold: 'pkg' | 'version' | 'file' | 'none'
26
- reportLevel: 'defer' | 'ignore' | 'monitor' | 'warn' | 'error'
27
- short: boolean
28
- }
29
- ): Promise<void>
30
- export declare function toJsonReport(
31
- report: ScanReport,
32
- includeLicensePolicy?: boolean | undefined
33
- ): string
34
- export declare function toMarkdownReport(
35
- report: ScanReport,
36
- includeLicensePolicy?: boolean | undefined
37
- ): string
38
- //# sourceMappingURL=output-scan-report.d.mts.map
1
+ import type { ScanReport } from './generate-report.mts';
2
+ import type { CResult, OutputKind } from '../../types.mts';
3
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
4
+ import type { components } from '@socketsecurity/sdk/types/api';
5
+ export declare function outputScanReport(result: CResult<{
6
+ scan: Array<components['schemas']['SocketArtifact']>;
7
+ securityPolicy: SocketSdkReturnType<'getOrgSecurityPolicy'>['data'];
8
+ }>, { filePath, fold, includeLicensePolicy, orgSlug, outputKind, reportLevel, scanId, short, }: {
9
+ orgSlug: string;
10
+ scanId: string;
11
+ includeLicensePolicy: boolean;
12
+ outputKind: OutputKind;
13
+ filePath: string;
14
+ fold: 'pkg' | 'version' | 'file' | 'none';
15
+ reportLevel: 'defer' | 'ignore' | 'monitor' | 'warn' | 'error';
16
+ short: boolean;
17
+ }): Promise<void>;
18
+ export declare function toJsonReport(report: ScanReport, includeLicensePolicy?: boolean | undefined): string;
19
+ export declare function toMarkdownReport(report: ScanReport, includeLicensePolicy?: boolean | undefined): string;
20
+ //# sourceMappingURL=output-scan-report.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"output-scan-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-scan-report.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAkB,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE/D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACpD,cAAc,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;CACpE,CAAC,EACF,EACE,QAAQ,EACR,IAAI,EACJ,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,WAAW,EACX,MAAM,EACN,KAAK,EACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,OAAO,CAAA;IAC7B,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;IACzC,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC9D,KAAK,EAAE,OAAO,CAAA;CACf,GACA,OAAO,CAAC,IAAI,CAAC,CAuFf;AAED,wBAAgB,YAAY,CAC1B,MAAM,EAAE,UAAU,EAClB,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,GACzC,MAAM,CAaR;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,GACzC,MAAM,CA+DR"}
1
+ {"version":3,"file":"output-scan-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-scan-report.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAkB,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE/D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACpD,cAAc,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;CACpE,CAAC,EACF,EACE,QAAQ,EACR,IAAI,EACJ,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,WAAW,EACX,MAAM,EACN,KAAK,GACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,OAAO,CAAA;IAC7B,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;IACzC,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC9D,KAAK,EAAE,OAAO,CAAA;CACf,GACA,OAAO,CAAC,IAAI,CAAC,CAuFf;AAED,wBAAgB,YAAY,CAC1B,MAAM,EAAE,UAAU,EAClB,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,GACzC,MAAM,CAaR;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,GACzC,MAAM,CA+DR"}
@@ -1,10 +1,4 @@
1
- import type { CResult, OutputKind } from '../../types.mts'
2
- import type { components } from '@socketsecurity/sdk/types/api'
3
- export declare function outputScanView(
4
- result: CResult<Array<components['schemas']['SocketArtifact']>>,
5
- orgSlug: string,
6
- scanId: string,
7
- filePath: string,
8
- outputKind: OutputKind
9
- ): Promise<void>
10
- //# sourceMappingURL=output-scan-view.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { components } from '@socketsecurity/sdk/types/api';
3
+ export declare function outputScanView(result: CResult<Array<components['schemas']['SocketArtifact']>>, orgSlug: string, scanId: string, filePath: string, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-scan-view.d.mts.map
@@ -1,6 +1,2 @@
1
- export declare function streamScan(
2
- orgSlug: string,
3
- scanId: string,
4
- file: string | undefined
5
- ): Promise<import('../../types.mts').CResult<unknown>>
6
- //# sourceMappingURL=stream-scan.d.mts.map
1
+ export declare function streamScan(orgSlug: string, scanId: string, file: string | undefined): Promise<import("../../types.mts").CResult<unknown>>;
2
+ //# sourceMappingURL=stream-scan.d.mts.map
@@ -1,2 +1,2 @@
1
- export declare function suggestOrgSlug(): Promise<string | void>
2
- //# sourceMappingURL=suggest-org-slug.d.mts.map
1
+ export declare function suggestOrgSlug(): Promise<string | void>;
2
+ //# sourceMappingURL=suggest-org-slug.d.mts.map
@@ -1,5 +1,5 @@
1
1
  export declare function suggestRepoSlug(orgSlug: string): Promise<{
2
- slug: string
3
- defaultBranch: string
4
- } | void>
5
- //# sourceMappingURL=suggest-repo-slug.d.mts.map
2
+ slug: string;
3
+ defaultBranch: string;
4
+ } | void>;
5
+ //# sourceMappingURL=suggest-repo-slug.d.mts.map
@@ -1,4 +1,2 @@
1
- export declare function suggestBranchSlug(
2
- repoDefaultBranch: string | undefined
3
- ): Promise<string | void>
4
- //# sourceMappingURL=suggest_branch_slug.d.mts.map
1
+ export declare function suggestBranchSlug(repoDefaultBranch: string | undefined): Promise<string | void>;
2
+ //# sourceMappingURL=suggest_branch_slug.d.mts.map
@@ -1,2 +1,2 @@
1
- export declare function suggestTarget(): Promise<string[] | void>
2
- //# sourceMappingURL=suggest_target.d.mts.map
1
+ export declare function suggestTarget(): Promise<string[] | void>;
2
+ //# sourceMappingURL=suggest_target.d.mts.map
@@ -1,16 +1,10 @@
1
1
  export declare const cmdThreatFeed: {
2
- description: string
3
- hidden: boolean
4
- run: typeof run
5
- }
6
- declare function run(
7
- argv: readonly string[],
8
- importMeta: ImportMeta,
9
- {
10
- parentName
11
- }: {
12
- parentName: string
13
- }
14
- ): Promise<void>
15
- export {}
16
- //# sourceMappingURL=cmd-threat-feed.d.mts.map
2
+ description: string;
3
+ hidden: boolean;
4
+ run: typeof run;
5
+ };
6
+ declare function run(argv: readonly string[], importMeta: ImportMeta, { parentName }: {
7
+ parentName: string;
8
+ }): Promise<void>;
9
+ export {};
10
+ //# sourceMappingURL=cmd-threat-feed.d.mts.map
@@ -1,16 +1,10 @@
1
- import type { ThreadFeedResponse } from './types.mts'
2
- import type { CResult } from '../../types.mts'
3
- export declare function fetchThreatFeed({
4
- direction,
5
- ecosystem,
6
- filter,
7
- page,
8
- perPage
9
- }: {
10
- direction: string
11
- ecosystem: string
12
- filter: string
13
- page: string
14
- perPage: number
15
- }): Promise<CResult<ThreadFeedResponse>>
16
- //# sourceMappingURL=fetch-threat-feed.d.mts.map
1
+ import type { ThreadFeedResponse } from './types.mts';
2
+ import type { CResult } from '../../types.mts';
3
+ export declare function fetchThreatFeed({ direction, ecosystem, filter, page, perPage, }: {
4
+ direction: string;
5
+ ecosystem: string;
6
+ filter: string;
7
+ page: string;
8
+ perPage: number;
9
+ }): Promise<CResult<ThreadFeedResponse>>;
10
+ //# sourceMappingURL=fetch-threat-feed.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-threat-feed.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/fetch-threat-feed.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAsB,eAAe,CAAC,EACpC,SAAS,EACT,SAAS,EACT,MAAM,EACN,IAAI,EACJ,OAAO,EACR,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAavC"}
1
+ {"version":3,"file":"fetch-threat-feed.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/fetch-threat-feed.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAsB,eAAe,CAAC,EACpC,SAAS,EACT,SAAS,EACT,MAAM,EACN,IAAI,EACJ,OAAO,GACR,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAavC"}
@@ -1,17 +1,10 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleThreatFeed({
3
- direction,
4
- ecosystem,
5
- filter,
6
- outputKind,
7
- page,
8
- perPage
9
- }: {
10
- direction: string
11
- ecosystem: string
12
- filter: string
13
- outputKind: OutputKind
14
- page: string
15
- perPage: number
16
- }): Promise<void>
17
- //# sourceMappingURL=handle-threat-feed.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleThreatFeed({ direction, ecosystem, filter, outputKind, page, perPage, }: {
3
+ direction: string;
4
+ ecosystem: string;
5
+ filter: string;
6
+ outputKind: OutputKind;
7
+ page: string;
8
+ perPage: number;
9
+ }): Promise<void>;
10
+ //# sourceMappingURL=handle-threat-feed.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle-threat-feed.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/handle-threat-feed.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CAAC,EACrC,SAAS,EACT,SAAS,EACT,MAAM,EACN,UAAU,EACV,IAAI,EACJ,OAAO,EACR,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,IAAI,CAAC,CAUhB"}
1
+ {"version":3,"file":"handle-threat-feed.d.mts","sourceRoot":"","sources":["../../../../src/commands/threat-feed/handle-threat-feed.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CAAC,EACrC,SAAS,EACT,SAAS,EACT,MAAM,EACN,UAAU,EACV,IAAI,EACJ,OAAO,GACR,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,IAAI,CAAC,CAUhB"}
@@ -1,7 +1,4 @@
1
- import type { ThreadFeedResponse } from './types.mts'
2
- import type { CResult, OutputKind } from '../../types.mts'
3
- export declare function outputThreatFeed(
4
- result: CResult<ThreadFeedResponse>,
5
- outputKind: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=output-threat-feed.d.mts.map
1
+ import type { ThreadFeedResponse } from './types.mts';
2
+ import type { CResult, OutputKind } from '../../types.mts';
3
+ export declare function outputThreatFeed(result: CResult<ThreadFeedResponse>, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-threat-feed.d.mts.map
@@ -1,15 +1,15 @@
1
1
  export interface ThreadFeedResponse {
2
- results: ThreatResult[]
3
- nextPage: string
2
+ results: ThreatResult[];
3
+ nextPage: string;
4
4
  }
5
5
  export type ThreatResult = {
6
- createdAt: string
7
- description: string
8
- id: number
9
- locationHtmlUrl: string
10
- packageHtmlUrl: string
11
- purl: string
12
- removedAt: string | null
13
- threatType: string
14
- }
15
- //# sourceMappingURL=types.d.mts.map
6
+ createdAt: string;
7
+ description: string;
8
+ id: number;
9
+ locationHtmlUrl: string;
10
+ packageHtmlUrl: string;
11
+ purl: string;
12
+ removedAt: string | null;
13
+ threatType: string;
14
+ };
15
+ //# sourceMappingURL=types.d.mts.map
@@ -0,0 +1,9 @@
1
+ export declare const cmdUninstallCompletion: {
2
+ description: string;
3
+ hidden: boolean;
4
+ run: typeof run;
5
+ };
6
+ export declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
7
+ parentName: string;
8
+ }): Promise<void>;
9
+ //# sourceMappingURL=cmd-uninstall-completion.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-uninstall-completion.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/cmd-uninstall-completion.mts"],"names":[],"mappings":"AAyCA,eAAO,MAAM,sBAAsB;;;;CAIlC,CAAA;AAED,wBAAsB,GAAG,CACvB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAgBf"}
@@ -0,0 +1,3 @@
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdUninstall: CliSubcommand;
3
+ //# sourceMappingURL=cmd-uninstall.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-uninstall.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/cmd-uninstall.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,YAAY,EAAE,aAgB1B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function handleUninstallCompletion(targetName: string): Promise<void>;
2
+ //# sourceMappingURL=handle-uninstall-completion.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-uninstall-completion.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/handle-uninstall-completion.mts"],"names":[],"mappings":"AAGA,wBAAsB,yBAAyB,CAAC,UAAU,EAAE,MAAM,iBAGjE"}
@@ -0,0 +1,6 @@
1
+ import type { CResult } from '../../types.mts';
2
+ export declare function outputUninstallCompletion(result: CResult<{
3
+ action: string;
4
+ left: string[];
5
+ }>, targetName: string): Promise<void>;
6
+ //# sourceMappingURL=output-uninstall-completion.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-uninstall-completion.d.mts","sourceRoot":"","sources":["../../../../src/commands/uninstall/output-uninstall-completion.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,EACnD,UAAU,EAAE,MAAM,iBAkCnB"}