@socketsecurity/cli 0.15.11 → 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 (400) 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/shadow-bin.js +96 -123
  8. package/dist/shadow-bin.js.map +1 -1
  9. package/dist/shadow-inject.js +470 -580
  10. package/dist/shadow-inject.js.map +1 -1
  11. package/dist/socket-completion.bash +221 -0
  12. package/dist/types/cli.d.mts +2 -2
  13. package/dist/types/commands/analytics/cmd-analytics.d.mts +9 -15
  14. package/dist/types/commands/analytics/fetch-org-analytics.d.mts +4 -6
  15. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +4 -7
  16. package/dist/types/commands/analytics/handle-analytics.d.mts +9 -15
  17. package/dist/types/commands/analytics/handle-analytics.d.mts.map +1 -1
  18. package/dist/types/commands/analytics/output-analytics.d.mts +26 -46
  19. package/dist/types/commands/analytics/output-analytics.d.mts.map +1 -1
  20. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +9 -15
  21. package/dist/types/commands/audit-log/fetch-audit-log.d.mts +10 -16
  22. package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +1 -1
  23. package/dist/types/commands/audit-log/handle-audit-log.d.mts +9 -15
  24. package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +1 -1
  25. package/dist/types/commands/audit-log/output-audit-log.d.mts +22 -47
  26. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +1 -1
  27. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts +9 -15
  28. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts.map +1 -1
  29. package/dist/types/commands/cdxgen/handle-cdxgen.d.mts +4 -0
  30. package/dist/types/commands/cdxgen/handle-cdxgen.d.mts.map +1 -0
  31. package/dist/types/commands/ci/cmd-ci.d.mts +9 -15
  32. package/dist/types/commands/ci/fetch-default-org-slug.d.mts +3 -3
  33. package/dist/types/commands/ci/handle-ci.d.mts +2 -2
  34. package/dist/types/commands/config/cmd-config-auto.d.mts +9 -15
  35. package/dist/types/commands/config/cmd-config-get.d.mts +9 -15
  36. package/dist/types/commands/config/cmd-config-list.d.mts +9 -15
  37. package/dist/types/commands/config/cmd-config-set.d.mts +9 -15
  38. package/dist/types/commands/config/cmd-config-unset.d.mts +9 -15
  39. package/dist/types/commands/config/cmd-config.d.mts +3 -3
  40. package/dist/types/commands/config/discover-config-value.d.mts +3 -5
  41. package/dist/types/commands/config/discover-config-value.d.mts.map +1 -1
  42. package/dist/types/commands/config/handle-config-auto.d.mts +7 -10
  43. package/dist/types/commands/config/handle-config-auto.d.mts.map +1 -1
  44. package/dist/types/commands/config/handle-config-get.d.mts +7 -10
  45. package/dist/types/commands/config/handle-config-get.d.mts.map +1 -1
  46. package/dist/types/commands/config/handle-config-set.d.mts +8 -12
  47. package/dist/types/commands/config/handle-config-set.d.mts.map +1 -1
  48. package/dist/types/commands/config/handle-config-unset.d.mts +7 -10
  49. package/dist/types/commands/config/handle-config-unset.d.mts.map +1 -1
  50. package/dist/types/commands/config/output-config-auto.d.mts +4 -8
  51. package/dist/types/commands/config/output-config-get.d.mts +4 -8
  52. package/dist/types/commands/config/output-config-list.d.mts +6 -9
  53. package/dist/types/commands/config/output-config-list.d.mts.map +1 -1
  54. package/dist/types/commands/config/output-config-set.d.mts +3 -6
  55. package/dist/types/commands/config/output-config-unset.d.mts +3 -6
  56. package/dist/types/commands/dependencies/cmd-dependencies.d.mts +9 -15
  57. package/dist/types/commands/dependencies/fetch-dependencies.d.mts +7 -10
  58. package/dist/types/commands/dependencies/fetch-dependencies.d.mts.map +1 -1
  59. package/dist/types/commands/dependencies/handle-dependencies.d.mts +7 -11
  60. package/dist/types/commands/dependencies/handle-dependencies.d.mts.map +1 -1
  61. package/dist/types/commands/dependencies/output-dependencies.d.mts +8 -15
  62. package/dist/types/commands/dependencies/output-dependencies.d.mts.map +1 -1
  63. package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts +9 -15
  64. package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts +3 -3
  65. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts +8 -12
  66. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts.map +1 -1
  67. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts +10 -17
  68. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts.map +1 -1
  69. package/dist/types/commands/diff-scan/output-diff-scan.d.mts +8 -15
  70. package/dist/types/commands/diff-scan/output-diff-scan.d.mts.map +1 -1
  71. package/dist/types/commands/fix/cmd-fix.d.mts +9 -15
  72. package/dist/types/commands/fix/git.d.mts +14 -49
  73. package/dist/types/commands/fix/npm-fix.d.mts +4 -16
  74. package/dist/types/commands/fix/npm-fix.d.mts.map +1 -1
  75. package/dist/types/commands/fix/open-pr.d.mts +20 -46
  76. package/dist/types/commands/fix/open-pr.d.mts.map +1 -1
  77. package/dist/types/commands/fix/pnpm-fix.d.mts +4 -16
  78. package/dist/types/commands/fix/pnpm-fix.d.mts.map +1 -1
  79. package/dist/types/commands/fix/run-fix.d.mts +3 -3
  80. package/dist/types/commands/fix/shared.d.mts +9 -15
  81. package/dist/types/commands/fix/types.d.mts +16 -16
  82. package/dist/types/commands/info/cmd-info.d.mts +9 -15
  83. package/dist/types/commands/info/fetch-package-info.d.mts +3 -7
  84. package/dist/types/commands/info/handle-package-info.d.mts +15 -22
  85. package/dist/types/commands/info/handle-package-info.d.mts.map +1 -1
  86. package/dist/types/commands/info/output-package-info.d.mts +10 -18
  87. package/dist/types/commands/info/output-package-info.d.mts.map +1 -1
  88. package/dist/types/commands/install/cmd-install-completion.d.mts +10 -0
  89. package/dist/types/commands/install/cmd-install-completion.d.mts.map +1 -0
  90. package/dist/types/commands/install/cmd-install.d.mts +3 -0
  91. package/dist/types/commands/install/cmd-install.d.mts.map +1 -0
  92. package/dist/types/commands/install/handle-install-completion.d.mts +2 -0
  93. package/dist/types/commands/install/handle-install-completion.d.mts.map +1 -0
  94. package/dist/types/commands/install/output-install-completion.d.mts +12 -0
  95. package/dist/types/commands/install/output-install-completion.d.mts.map +1 -0
  96. package/dist/types/commands/install/setup-tab-completion.d.mts +13 -0
  97. package/dist/types/commands/install/setup-tab-completion.d.mts.map +1 -0
  98. package/dist/types/commands/login/apply-login.d.mts +2 -7
  99. package/dist/types/commands/login/attempt-login.d.mts +2 -5
  100. package/dist/types/commands/login/attempt-login.d.mts.map +1 -1
  101. package/dist/types/commands/login/cmd-login.d.mts +9 -15
  102. package/dist/types/commands/logout/apply-logout.d.mts +2 -2
  103. package/dist/types/commands/logout/attempt-logout.d.mts +2 -2
  104. package/dist/types/commands/logout/cmd-logout.d.mts +9 -15
  105. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +9 -15
  106. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +10 -0
  107. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -0
  108. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +9 -15
  109. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +9 -15
  110. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +9 -15
  111. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +9 -15
  112. package/dist/types/commands/manifest/cmd-manifest.d.mts +9 -15
  113. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -1
  114. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +7 -15
  115. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +2 -8
  116. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +2 -8
  117. package/dist/types/commands/manifest/handle-manifest-conda.d.mts +3 -9
  118. package/dist/types/commands/manifest/output-requirements.d.mts +6 -10
  119. package/dist/types/commands/{cdxgen → manifest}/run-cdxgen.d.mts +2 -2
  120. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -0
  121. package/dist/types/commands/npm/cmd-npm.d.mts +9 -15
  122. package/dist/types/commands/npx/cmd-npx.d.mts +9 -15
  123. package/dist/types/commands/oops/cmd-oops.d.mts +9 -15
  124. package/dist/types/commands/optimize/add-overrides.d.mts +18 -22
  125. package/dist/types/commands/optimize/apply-optimization.d.mts +2 -6
  126. package/dist/types/commands/optimize/cmd-optimize.d.mts +9 -15
  127. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +4 -7
  128. package/dist/types/commands/optimize/get-dependency-entries.d.mts +3 -5
  129. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +8 -11
  130. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +3 -10
  131. package/dist/types/commands/optimize/ls-by-agent.d.mts +6 -13
  132. package/dist/types/commands/optimize/shared.d.mts +2 -2
  133. package/dist/types/commands/optimize/types.d.mts +7 -7
  134. package/dist/types/commands/optimize/update-lockfile.d.mts +9 -12
  135. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +5 -11
  136. package/dist/types/commands/organization/cmd-organization-list.d.mts +9 -15
  137. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +9 -15
  138. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +9 -15
  139. package/dist/types/commands/organization/cmd-organization-policy.d.mts +3 -3
  140. package/dist/types/commands/organization/cmd-organization-quota.d.mts +9 -15
  141. package/dist/types/commands/organization/cmd-organization.d.mts +3 -3
  142. package/dist/types/commands/organization/fetch-license-policy.d.mts +4 -6
  143. package/dist/types/commands/organization/fetch-organization-list.d.mts +4 -6
  144. package/dist/types/commands/organization/fetch-quota.d.mts +4 -6
  145. package/dist/types/commands/organization/fetch-security-policy.d.mts +4 -6
  146. package/dist/types/commands/organization/handle-license-policy.d.mts +3 -6
  147. package/dist/types/commands/organization/handle-organization-list.d.mts +3 -5
  148. package/dist/types/commands/organization/handle-quota.d.mts +3 -3
  149. package/dist/types/commands/organization/handle-security-policy.d.mts +3 -6
  150. package/dist/types/commands/organization/output-license-policy.d.mts +4 -7
  151. package/dist/types/commands/organization/output-organization-list.d.mts +4 -7
  152. package/dist/types/commands/organization/output-quota.d.mts +4 -7
  153. package/dist/types/commands/organization/output-security-policy.d.mts +4 -7
  154. package/dist/types/commands/package/cmd-package-score.d.mts +9 -15
  155. package/dist/types/commands/package/cmd-package-shallow.d.mts +16 -22
  156. package/dist/types/commands/package/cmd-package.d.mts +3 -3
  157. package/dist/types/commands/package/fetch-purl-deep-score.d.mts +49 -51
  158. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +4 -6
  159. package/dist/types/commands/package/handle-purl-deep-score.d.mts +3 -6
  160. package/dist/types/commands/package/handle-purls-shallow-score.d.mts +6 -9
  161. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +1 -1
  162. package/dist/types/commands/package/output-purl-score.d.mts +4 -8
  163. package/dist/types/commands/package/output-purls-shallow-score.d.mts +4 -8
  164. package/dist/types/commands/package/parse-package-specifiers.d.mts +5 -8
  165. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +9 -15
  166. package/dist/types/commands/raw-npm/run-raw-npm.d.mts +2 -4
  167. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +9 -15
  168. package/dist/types/commands/raw-npx/run-raw-npx.d.mts +2 -4
  169. package/dist/types/commands/report/cmd-report-create.d.mts +9 -15
  170. package/dist/types/commands/report/cmd-report-view.d.mts +9 -15
  171. package/dist/types/commands/report/cmd-report.d.mts +3 -3
  172. package/dist/types/commands/repos/cmd-repos-create.d.mts +9 -15
  173. package/dist/types/commands/repos/cmd-repos-del.d.mts +9 -15
  174. package/dist/types/commands/repos/cmd-repos-list.d.mts +9 -15
  175. package/dist/types/commands/repos/cmd-repos-update.d.mts +9 -15
  176. package/dist/types/commands/repos/cmd-repos-view.d.mts +9 -15
  177. package/dist/types/commands/repos/cmd-repos.d.mts +3 -3
  178. package/dist/types/commands/repos/fetch-create-repo.d.mts +11 -18
  179. package/dist/types/commands/repos/fetch-create-repo.d.mts.map +1 -1
  180. package/dist/types/commands/repos/fetch-delete-repo.d.mts +4 -7
  181. package/dist/types/commands/repos/fetch-list-repos.d.mts +10 -16
  182. package/dist/types/commands/repos/fetch-list-repos.d.mts.map +1 -1
  183. package/dist/types/commands/repos/fetch-update-repo.d.mts +11 -18
  184. package/dist/types/commands/repos/fetch-update-repo.d.mts.map +1 -1
  185. package/dist/types/commands/repos/fetch-view-repo.d.mts +4 -7
  186. package/dist/types/commands/repos/handle-create-repo.d.mts +10 -20
  187. package/dist/types/commands/repos/handle-create-repo.d.mts.map +1 -1
  188. package/dist/types/commands/repos/handle-delete-repo.d.mts +3 -7
  189. package/dist/types/commands/repos/handle-list-repos.d.mts +10 -17
  190. package/dist/types/commands/repos/handle-list-repos.d.mts.map +1 -1
  191. package/dist/types/commands/repos/handle-update-repo.d.mts +10 -20
  192. package/dist/types/commands/repos/handle-update-repo.d.mts.map +1 -1
  193. package/dist/types/commands/repos/handle-view-repo.d.mts +3 -7
  194. package/dist/types/commands/repos/output-create-repo.d.mts +4 -8
  195. package/dist/types/commands/repos/output-delete-repo.d.mts +4 -8
  196. package/dist/types/commands/repos/output-list-repos.d.mts +4 -7
  197. package/dist/types/commands/repos/output-update-repo.d.mts +4 -8
  198. package/dist/types/commands/repos/output-view-repo.d.mts +4 -7
  199. package/dist/types/commands/scan/cmd-scan-create.d.mts +9 -15
  200. package/dist/types/commands/scan/cmd-scan-del.d.mts +9 -15
  201. package/dist/types/commands/scan/cmd-scan-diff.d.mts +9 -15
  202. package/dist/types/commands/scan/cmd-scan-list.d.mts +3 -3
  203. package/dist/types/commands/scan/cmd-scan-metadata.d.mts +3 -3
  204. package/dist/types/commands/scan/cmd-scan-report.d.mts +3 -3
  205. package/dist/types/commands/scan/cmd-scan-view.d.mts +3 -3
  206. package/dist/types/commands/scan/cmd-scan.d.mts +3 -3
  207. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +11 -26
  208. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -1
  209. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +4 -7
  210. package/dist/types/commands/scan/fetch-diff-scan.d.mts +8 -12
  211. package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +1 -1
  212. package/dist/types/commands/scan/fetch-list-scans.d.mts +13 -22
  213. package/dist/types/commands/scan/fetch-list-scans.d.mts.map +1 -1
  214. package/dist/types/commands/scan/fetch-report-data.d.mts +8 -14
  215. package/dist/types/commands/scan/fetch-scan-metadata.d.mts +4 -7
  216. package/dist/types/commands/scan/fetch-scan.d.mts +4 -7
  217. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +4 -6
  218. package/dist/types/commands/scan/generate-report.d.mts +36 -50
  219. package/dist/types/commands/scan/generate-report.d.mts.map +1 -1
  220. package/dist/types/commands/scan/handle-create-new-scan.d.mts +20 -37
  221. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -1
  222. package/dist/types/commands/scan/handle-delete-scan.d.mts +3 -7
  223. package/dist/types/commands/scan/handle-diff-scan.d.mts +10 -17
  224. package/dist/types/commands/scan/handle-diff-scan.d.mts.map +1 -1
  225. package/dist/types/commands/scan/handle-list-scans.d.mts +13 -23
  226. package/dist/types/commands/scan/handle-list-scans.d.mts.map +1 -1
  227. package/dist/types/commands/scan/handle-scan-metadata.d.mts +3 -7
  228. package/dist/types/commands/scan/handle-scan-report.d.mts +12 -21
  229. package/dist/types/commands/scan/handle-scan-report.d.mts.map +1 -1
  230. package/dist/types/commands/scan/handle-scan-view.d.mts +3 -8
  231. package/dist/types/commands/scan/output-create-new-scan.d.mts +4 -8
  232. package/dist/types/commands/scan/output-delete-scan.d.mts +4 -7
  233. package/dist/types/commands/scan/output-diff-scan.d.mts +8 -15
  234. package/dist/types/commands/scan/output-diff-scan.d.mts.map +1 -1
  235. package/dist/types/commands/scan/output-list-scans.d.mts +4 -7
  236. package/dist/types/commands/scan/output-scan-metadata.d.mts +4 -8
  237. package/dist/types/commands/scan/output-scan-report.d.mts +20 -38
  238. package/dist/types/commands/scan/output-scan-report.d.mts.map +1 -1
  239. package/dist/types/commands/scan/output-scan-view.d.mts +4 -10
  240. package/dist/types/commands/scan/stream-scan.d.mts +2 -6
  241. package/dist/types/commands/scan/suggest-org-slug.d.mts +2 -2
  242. package/dist/types/commands/scan/suggest-repo-slug.d.mts +4 -4
  243. package/dist/types/commands/scan/suggest_branch_slug.d.mts +2 -4
  244. package/dist/types/commands/scan/suggest_target.d.mts +2 -2
  245. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +9 -15
  246. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +10 -16
  247. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +1 -1
  248. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +10 -17
  249. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +1 -1
  250. package/dist/types/commands/threat-feed/output-threat-feed.d.mts +4 -7
  251. package/dist/types/commands/threat-feed/types.d.mts +12 -12
  252. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +9 -0
  253. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +1 -0
  254. package/dist/types/commands/uninstall/cmd-uninstall.d.mts +3 -0
  255. package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +1 -0
  256. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +2 -0
  257. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +1 -0
  258. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +6 -0
  259. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +1 -0
  260. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +6 -0
  261. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +1 -0
  262. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +2 -2
  263. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +2 -2
  264. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +9 -15
  265. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +2 -2
  266. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +1 -1
  267. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +2 -2
  268. package/dist/types/constants.d.mts +125 -135
  269. package/dist/types/constants.d.mts.map +1 -1
  270. package/dist/types/flags.d.mts +14 -17
  271. package/dist/types/flags.d.mts.map +1 -1
  272. package/dist/types/instrument-with-sentry.d.mts +2 -2
  273. package/dist/types/shadow/npm/arborist/index.d.mts +2 -2
  274. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +19 -24
  275. package/dist/types/shadow/npm/arborist/lib/arborist/types.d.mts +43 -71
  276. package/dist/types/shadow/npm/arborist/lib/dep-valid.d.mts +3 -8
  277. package/dist/types/shadow/npm/arborist/lib/edge.d.mts +58 -71
  278. package/dist/types/shadow/npm/arborist/lib/node.d.mts +55 -91
  279. package/dist/types/shadow/npm/arborist/lib/override-set.d.mts +26 -32
  280. package/dist/types/shadow/npm/arborist-helpers.d.mts +33 -66
  281. package/dist/types/shadow/npm/arborist-helpers.d.mts.map +1 -1
  282. package/dist/types/shadow/npm/bin.d.mts +2 -5
  283. package/dist/types/shadow/npm/inject.d.mts +2 -2
  284. package/dist/types/shadow/npm/install.d.mts +11 -16
  285. package/dist/types/shadow/npm/link.d.mts +2 -5
  286. package/dist/types/shadow/npm/paths.d.mts +7 -7
  287. package/dist/types/shadow/npm/proc-log/index.d.mts +3 -6
  288. package/dist/types/types.d.mts +15 -17
  289. package/dist/types/utils/agent.d.mts +11 -14
  290. package/dist/types/utils/alert/artifact.d.mts +32 -50
  291. package/dist/types/utils/alert/fix.d.mts +5 -5
  292. package/dist/types/utils/alert/severity.d.mts +12 -24
  293. package/dist/types/utils/alerts-map.d.mts +23 -36
  294. package/dist/types/utils/api.d.mts +11 -34
  295. package/dist/types/utils/check-input.d.mts +9 -12
  296. package/dist/types/utils/cmd.d.mts +4 -4
  297. package/dist/types/utils/color-or-markdown.d.mts +14 -23
  298. package/dist/types/utils/color-or-markdown.d.mts.map +1 -1
  299. package/dist/types/utils/completion.d.mts +11 -0
  300. package/dist/types/utils/completion.d.mts.map +1 -0
  301. package/dist/types/utils/config.d.mts +22 -31
  302. package/dist/types/utils/config.d.mts.map +1 -1
  303. package/dist/types/utils/determine-org-slug.d.mts +2 -7
  304. package/dist/types/utils/errors.d.mts +12 -21
  305. package/dist/types/utils/fail-msg-with-badge.d.mts +2 -5
  306. package/dist/types/utils/fs.d.mts +21 -52
  307. package/dist/types/utils/get-output-kind.d.mts +3 -6
  308. package/dist/types/utils/glob.d.mts +13 -24
  309. package/dist/types/utils/map-to-object.d.mts +4 -6
  310. package/dist/types/utils/markdown.d.mts +4 -15
  311. package/dist/types/utils/meow-with-subcommands.d.mts +34 -46
  312. package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
  313. package/dist/types/utils/npm-paths.d.mts +7 -7
  314. package/dist/types/utils/npm-paths.d.mts.map +1 -1
  315. package/dist/types/utils/objects.d.mts +3 -8
  316. package/dist/types/utils/output-formatting.d.mts +14 -24
  317. package/dist/types/utils/package-environment.d.mts +51 -72
  318. package/dist/types/utils/package-environment.d.mts.map +1 -1
  319. package/dist/types/utils/path-resolve.d.mts +9 -14
  320. package/dist/types/utils/pnpm.d.mts +9 -7
  321. package/dist/types/utils/pnpm.d.mts.map +1 -1
  322. package/dist/types/utils/sdk.d.mts +8 -12
  323. package/dist/types/utils/semver.d.mts +5 -17
  324. package/dist/types/utils/serialize-result-json.d.mts +3 -3
  325. package/dist/types/utils/socket-package-alert.d.mts +62 -81
  326. package/dist/types/utils/socket-url.d.mts +9 -15
  327. package/dist/types/utils/spec.d.mts +4 -7
  328. package/dist/types/utils/spec.d.mts.map +1 -1
  329. package/dist/types/utils/strings.d.mts +2 -5
  330. package/dist/types/utils/translations.d.mts +592 -592
  331. package/dist/types/utils/walk-nested-map.d.mts +7 -10
  332. package/dist/utils.js +1531 -1833
  333. package/dist/utils.js.map +1 -1
  334. package/dist/vendor.js +38333 -51605
  335. package/dist/vendor.js.map +1 -1
  336. package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +5 -8
  337. package/external/@socketsecurity/registry/external/@npmcli/promise-spawn.js +2 -4
  338. package/external/@socketsecurity/registry/external/cacache.js +1 -2
  339. package/external/@socketsecurity/registry/external/libnpmpack.js +36 -76
  340. package/external/@socketsecurity/registry/external/make-fetch-happen.js +31 -67
  341. package/external/@socketsecurity/registry/external/pacote.js +36 -76
  342. package/external/@socketsecurity/registry/external/tinyglobby.js +3 -6
  343. package/external/@socketsecurity/registry/external/which.js +2 -4
  344. package/external/@socketsecurity/registry/lib/logger.d.ts +3 -1
  345. package/external/@socketsecurity/registry/lib/logger.js +149 -69
  346. package/external/@socketsecurity/registry/package.json +2 -2
  347. package/external/blessed/lib/alias.js +475 -468
  348. package/external/blessed/lib/blessed.js +12 -12
  349. package/external/blessed/lib/colors.js +234 -194
  350. package/external/blessed/lib/events.js +64 -70
  351. package/external/blessed/lib/gpmclient.js +117 -141
  352. package/external/blessed/lib/helpers.js +89 -94
  353. package/external/blessed/lib/keys.js +169 -342
  354. package/external/blessed/lib/program.js +2130 -2365
  355. package/external/blessed/lib/tput.js +1183 -1276
  356. package/external/blessed/lib/unicode.js +400 -522
  357. package/external/blessed/lib/widget.js +14 -14
  358. package/external/blessed/lib/widgets/ansiimage.js +90 -96
  359. package/external/blessed/lib/widgets/bigtext.js +91 -102
  360. package/external/blessed/lib/widgets/box.js +8 -8
  361. package/external/blessed/lib/widgets/button.js +23 -23
  362. package/external/blessed/lib/widgets/checkbox.js +50 -54
  363. package/external/blessed/lib/widgets/element.js +1415 -1716
  364. package/external/blessed/lib/widgets/filemanager.js +107 -118
  365. package/external/blessed/lib/widgets/form.js +144 -178
  366. package/external/blessed/lib/widgets/image.js +26 -36
  367. package/external/blessed/lib/widgets/input.js +8 -8
  368. package/external/blessed/lib/widgets/layout.js +103 -119
  369. package/external/blessed/lib/widgets/line.js +17 -20
  370. package/external/blessed/lib/widgets/list.js +349 -402
  371. package/external/blessed/lib/widgets/listbar.js +265 -306
  372. package/external/blessed/lib/widgets/listtable.js +133 -146
  373. package/external/blessed/lib/widgets/loading.js +31 -31
  374. package/external/blessed/lib/widgets/log.js +41 -40
  375. package/external/blessed/lib/widgets/message.js +64 -86
  376. package/external/blessed/lib/widgets/node.js +175 -207
  377. package/external/blessed/lib/widgets/overlayimage.js +360 -437
  378. package/external/blessed/lib/widgets/progressbar.js +79 -88
  379. package/external/blessed/lib/widgets/prompt.js +54 -61
  380. package/external/blessed/lib/widgets/question.js +48 -61
  381. package/external/blessed/lib/widgets/radiobutton.js +26 -27
  382. package/external/blessed/lib/widgets/radioset.js +8 -8
  383. package/external/blessed/lib/widgets/screen.js +1186 -1375
  384. package/external/blessed/lib/widgets/scrollablebox.js +202 -228
  385. package/external/blessed/lib/widgets/scrollabletext.js +9 -9
  386. package/external/blessed/lib/widgets/table.js +187 -216
  387. package/external/blessed/lib/widgets/terminal.js +258 -298
  388. package/external/blessed/lib/widgets/text.js +9 -9
  389. package/external/blessed/lib/widgets/textarea.js +188 -222
  390. package/external/blessed/lib/widgets/textbox.js +34 -36
  391. package/external/blessed/lib/widgets/video.js +55 -59
  392. package/external/blessed/usr/fonts/ter-u14b.json +1 -1
  393. package/external/blessed/usr/fonts/ter-u14n.json +1 -1
  394. package/external/blessed/vendor/tng.js +1016 -1144
  395. package/external/blessed-contrib/lib/layout/grid.js +345 -377
  396. package/external/blessed-contrib/lib/widget/charts/bar.js +6612 -7139
  397. package/external/blessed-contrib/lib/widget/charts/line.js +16224 -23941
  398. package/external/blessed-contrib/lib/widget/table.js +78 -96
  399. package/package.json +7 -7
  400. package/dist/types/commands/cdxgen/run-cdxgen.d.mts.map +0 -1
@@ -1,24 +1,20 @@
1
- import { Spinner } from '@socketsecurity/registry/lib/spinner'
2
- import type { EnvDetails } from '../../utils/package-environment.mts'
3
- import type { Logger } from '@socketsecurity/registry/lib/logger'
1
+ import { Spinner } from '@socketsecurity/registry/lib/spinner';
2
+ import type { EnvDetails } from '../../utils/package-environment.mts';
3
+ import type { Logger } from '@socketsecurity/registry/lib/logger';
4
4
  type AddOverridesOptions = {
5
- logger?: Logger | undefined
6
- pin?: boolean | undefined
7
- prod?: boolean | undefined
8
- spinner?: Spinner | undefined
9
- state?: AddOverridesState | undefined
10
- }
5
+ logger?: Logger | undefined;
6
+ pin?: boolean | undefined;
7
+ prod?: boolean | undefined;
8
+ spinner?: Spinner | undefined;
9
+ state?: AddOverridesState | undefined;
10
+ };
11
11
  type AddOverridesState = {
12
- added: Set<string>
13
- addedInWorkspaces: Set<string>
14
- updated: Set<string>
15
- updatedInWorkspaces: Set<string>
16
- warnedPnpmWorkspaceRequiresNpm: boolean
17
- }
18
- export declare function addOverrides(
19
- pkgEnvDetails: EnvDetails,
20
- pkgPath: string,
21
- options?: AddOverridesOptions | undefined
22
- ): Promise<AddOverridesState>
23
- export {}
24
- //# sourceMappingURL=add-overrides.d.mts.map
12
+ added: Set<string>;
13
+ addedInWorkspaces: Set<string>;
14
+ updated: Set<string>;
15
+ updatedInWorkspaces: Set<string>;
16
+ warnedPnpmWorkspaceRequiresNpm: boolean;
17
+ };
18
+ export declare function addOverrides(pkgEnvDetails: EnvDetails, pkgPath: string, options?: AddOverridesOptions | undefined): Promise<AddOverridesState>;
19
+ export {};
20
+ //# sourceMappingURL=add-overrides.d.mts.map
@@ -1,6 +1,2 @@
1
- export declare function applyOptimization(
2
- cwd: string,
3
- pin: boolean,
4
- prod: boolean
5
- ): Promise<void>
6
- //# sourceMappingURL=apply-optimization.d.mts.map
1
+ export declare function applyOptimization(cwd: string, pin: boolean, prod: boolean): Promise<void>;
2
+ //# sourceMappingURL=apply-optimization.d.mts.map
@@ -1,16 +1,10 @@
1
1
  export declare const cmdOptimize: {
2
- description: string
3
- hidden: boolean
4
- run: typeof run
5
- }
6
- declare function run(
7
- argv: string[] | readonly string[],
8
- importMeta: ImportMeta,
9
- {
10
- parentName
11
- }: {
12
- parentName: string
13
- }
14
- ): Promise<void>
15
- export {}
16
- //# sourceMappingURL=cmd-optimize.d.mts.map
2
+ description: string;
3
+ hidden: boolean;
4
+ run: typeof run;
5
+ };
6
+ declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
7
+ parentName: string;
8
+ }): Promise<void>;
9
+ export {};
10
+ //# sourceMappingURL=cmd-optimize.d.mts.map
@@ -1,7 +1,4 @@
1
- type AgentDepsIncludesFn = (stdout: string, name: string) => boolean
2
- export declare const depsIncludesByAgent: Map<
3
- 'npm' | 'pnpm' | 'bun' | 'yarn/berry' | 'yarn/classic' | 'vlt',
4
- AgentDepsIncludesFn
5
- >
6
- export {}
7
- //# sourceMappingURL=deps-includes-by-agent.d.mts.map
1
+ type AgentDepsIncludesFn = (stdout: string, name: string) => boolean;
2
+ export declare const depsIncludesByAgent: Map<"npm" | "pnpm" | "bun" | "yarn/berry" | "yarn/classic" | "vlt", AgentDepsIncludesFn>;
3
+ export {};
4
+ //# sourceMappingURL=deps-includes-by-agent.d.mts.map
@@ -1,5 +1,3 @@
1
- import type { EnvDetails } from '../../utils/package-environment.mts'
2
- export declare function getDependencyEntries(
3
- pkgEnvDetails: EnvDetails
4
- ): Array<[string, NonNullable<Partial<Record<string, string>> | undefined>]>
5
- //# sourceMappingURL=get-dependency-entries.d.mts.map
1
+ import type { EnvDetails } from '../../utils/package-environment.mts';
2
+ export declare function getDependencyEntries(pkgEnvDetails: EnvDetails): Array<[string, NonNullable<Partial<Record<string, string>> | undefined>]>;
3
+ //# sourceMappingURL=get-dependency-entries.d.mts.map
@@ -1,12 +1,9 @@
1
- import type { Overrides } from './types.mts'
2
- import type { Agent, EnvDetails } from '../../utils/package-environment.mts'
3
- export type GetOverrides = (pkgEnvDetails: EnvDetails) => GetOverridesResult
1
+ import type { Overrides } from './types.mts';
2
+ import type { Agent, EnvDetails } from '../../utils/package-environment.mts';
3
+ export type GetOverrides = (pkgEnvDetails: EnvDetails) => GetOverridesResult;
4
4
  export type GetOverridesResult = {
5
- type: Agent
6
- overrides: Overrides
7
- }
8
- export declare const overridesDataByAgent: Map<
9
- 'npm' | 'pnpm' | 'bun' | 'yarn/berry' | 'yarn/classic' | 'vlt',
10
- GetOverrides
11
- >
12
- //# sourceMappingURL=get-overrides-by-agent.d.mts.map
5
+ type: Agent;
6
+ overrides: Overrides;
7
+ };
8
+ export declare const overridesDataByAgent: Map<"npm" | "pnpm" | "bun" | "yarn/berry" | "yarn/classic" | "vlt", GetOverrides>;
9
+ //# sourceMappingURL=get-overrides-by-agent.d.mts.map
@@ -1,10 +1,3 @@
1
- export type AgentLockIncludesFn = (
2
- lockSrc: string,
3
- name: string,
4
- ext?: string | undefined
5
- ) => boolean
6
- export declare const lockfileIncludesByAgent: Map<
7
- 'npm' | 'pnpm' | 'bun' | 'yarn/berry' | 'yarn/classic' | 'vlt',
8
- AgentLockIncludesFn
9
- >
10
- //# sourceMappingURL=lockfile-includes-by-agent.d.mts.map
1
+ export type AgentLockIncludesFn = (lockSrc: string, name: string, ext?: string | undefined) => boolean;
2
+ export declare const lockfileIncludesByAgent: Map<"npm" | "pnpm" | "bun" | "yarn/berry" | "yarn/classic" | "vlt", AgentLockIncludesFn>;
3
+ //# sourceMappingURL=lockfile-includes-by-agent.d.mts.map
@@ -1,14 +1,7 @@
1
- import type { EnvDetails } from '../../utils/package-environment.mts'
1
+ import type { EnvDetails } from '../../utils/package-environment.mts';
2
2
  export type AgentListDepsOptions = {
3
- npmExecPath?: string
4
- }
5
- export type AgentListDepsFn = (
6
- pkgEnvDetails: EnvDetails,
7
- cwd: string,
8
- options?: AgentListDepsOptions | undefined
9
- ) => Promise<string>
10
- export declare const lsByAgent: Map<
11
- 'npm' | 'pnpm' | 'bun' | 'yarn/berry' | 'yarn/classic' | 'vlt',
12
- AgentListDepsFn
13
- >
14
- //# sourceMappingURL=ls-by-agent.d.mts.map
3
+ npmExecPath?: string;
4
+ };
5
+ export type AgentListDepsFn = (pkgEnvDetails: EnvDetails, cwd: string, options?: AgentListDepsOptions | undefined) => Promise<string>;
6
+ export declare const lsByAgent: Map<"npm" | "pnpm" | "bun" | "yarn/berry" | "yarn/classic" | "vlt", AgentListDepsFn>;
7
+ //# sourceMappingURL=ls-by-agent.d.mts.map
@@ -1,2 +1,2 @@
1
- export declare const CMD_NAME = 'socket optimize'
2
- //# sourceMappingURL=shared.d.mts.map
1
+ export declare const CMD_NAME = "socket optimize";
2
+ //# sourceMappingURL=shared.d.mts.map
@@ -1,9 +1,9 @@
1
- import type { StringKeyValueObject } from '../../types.mts'
1
+ import type { StringKeyValueObject } from '../../types.mts';
2
2
  export type NpmOverrides = {
3
- [key: string]: string | StringKeyValueObject
4
- }
3
+ [key: string]: string | StringKeyValueObject;
4
+ };
5
5
  export type PnpmOrYarnOverrides = {
6
- [key: string]: string
7
- }
8
- export type Overrides = NpmOverrides | PnpmOrYarnOverrides
9
- //# sourceMappingURL=types.d.mts.map
6
+ [key: string]: string;
7
+ };
8
+ export type Overrides = NpmOverrides | PnpmOrYarnOverrides;
9
+ //# sourceMappingURL=types.d.mts.map
@@ -1,13 +1,10 @@
1
- import { Spinner } from '@socketsecurity/registry/lib/spinner'
2
- import type { EnvDetails } from '../../utils/package-environment.mts'
3
- import type { Logger } from '@socketsecurity/registry/lib/logger'
1
+ import { Spinner } from '@socketsecurity/registry/lib/spinner';
2
+ import type { EnvDetails } from '../../utils/package-environment.mts';
3
+ import type { Logger } from '@socketsecurity/registry/lib/logger';
4
4
  export type UpdateLockfileOptions = {
5
- cmdName?: string | undefined
6
- logger?: Logger | undefined
7
- spinner?: Spinner | undefined
8
- }
9
- export declare function updateLockfile(
10
- pkgEnvDetails: EnvDetails,
11
- options: UpdateLockfileOptions
12
- ): Promise<void>
13
- //# sourceMappingURL=update-lockfile.d.mts.map
5
+ cmdName?: string | undefined;
6
+ logger?: Logger | undefined;
7
+ spinner?: Spinner | undefined;
8
+ };
9
+ export declare function updateLockfile(pkgEnvDetails: EnvDetails, options: UpdateLockfileOptions): Promise<void>;
10
+ //# sourceMappingURL=update-lockfile.d.mts.map
@@ -1,11 +1,5 @@
1
- import type { Overrides } from './types.mts'
2
- import type { EnvDetails } from '../../utils/package-environment.mts'
3
- export type AgentModifyManifestFn = (
4
- pkgEnvDetails: EnvDetails,
5
- overrides: Overrides
6
- ) => void
7
- export declare const updateManifestByAgent: Map<
8
- 'npm' | 'pnpm' | 'bun' | 'yarn/berry' | 'yarn/classic' | 'vlt',
9
- AgentModifyManifestFn
10
- >
11
- //# sourceMappingURL=update-manifest-by-agent.d.mts.map
1
+ import type { Overrides } from './types.mts';
2
+ import type { EnvDetails } from '../../utils/package-environment.mts';
3
+ export type AgentModifyManifestFn = (pkgEnvDetails: EnvDetails, overrides: Overrides) => void;
4
+ export declare const updateManifestByAgent: Map<"npm" | "pnpm" | "bun" | "yarn/berry" | "yarn/classic" | "vlt", AgentModifyManifestFn>;
5
+ //# sourceMappingURL=update-manifest-by-agent.d.mts.map
@@ -1,16 +1,10 @@
1
1
  export declare const cmdOrganizationList: {
2
- description: string
3
- hidden: boolean
4
- run: typeof run
5
- }
6
- declare function run(
7
- argv: string[] | readonly string[],
8
- importMeta: ImportMeta,
9
- {
10
- parentName
11
- }: {
12
- parentName: string
13
- }
14
- ): Promise<void>
15
- export {}
16
- //# sourceMappingURL=cmd-organization-list.d.mts.map
2
+ description: string;
3
+ hidden: boolean;
4
+ run: typeof run;
5
+ };
6
+ declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
7
+ parentName: string;
8
+ }): Promise<void>;
9
+ export {};
10
+ //# sourceMappingURL=cmd-organization-list.d.mts.map
@@ -1,16 +1,10 @@
1
1
  export declare const cmdOrganizationPolicyLicense: {
2
- description: string
3
- hidden: boolean
4
- run: typeof run
5
- }
6
- declare function run(
7
- argv: string[] | readonly string[],
8
- importMeta: ImportMeta,
9
- {
10
- parentName
11
- }: {
12
- parentName: string
13
- }
14
- ): Promise<void>
15
- export {}
16
- //# sourceMappingURL=cmd-organization-policy-license.d.mts.map
2
+ description: string;
3
+ hidden: boolean;
4
+ run: typeof run;
5
+ };
6
+ declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
7
+ parentName: string;
8
+ }): Promise<void>;
9
+ export {};
10
+ //# sourceMappingURL=cmd-organization-policy-license.d.mts.map
@@ -1,16 +1,10 @@
1
1
  export declare const cmdOrganizationPolicyPolicy: {
2
- description: string
3
- hidden: boolean
4
- run: typeof run
5
- }
6
- declare function run(
7
- argv: string[] | readonly string[],
8
- importMeta: ImportMeta,
9
- {
10
- parentName
11
- }: {
12
- parentName: string
13
- }
14
- ): Promise<void>
15
- export {}
16
- //# sourceMappingURL=cmd-organization-policy-security.d.mts.map
2
+ description: string;
3
+ hidden: boolean;
4
+ run: typeof run;
5
+ };
6
+ declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
7
+ parentName: string;
8
+ }): Promise<void>;
9
+ export {};
10
+ //# sourceMappingURL=cmd-organization-policy-security.d.mts.map
@@ -1,3 +1,3 @@
1
- import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts'
2
- export declare const cmdOrganizationPolicy: CliSubcommand
3
- //# sourceMappingURL=cmd-organization-policy.d.mts.map
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdOrganizationPolicy: CliSubcommand;
3
+ //# sourceMappingURL=cmd-organization-policy.d.mts.map
@@ -1,16 +1,10 @@
1
1
  export declare const cmdOrganizationQuota: {
2
- description: string
3
- hidden: boolean
4
- run: typeof run
5
- }
6
- declare function run(
7
- argv: string[] | readonly string[],
8
- importMeta: ImportMeta,
9
- {
10
- parentName
11
- }: {
12
- parentName: string
13
- }
14
- ): Promise<void>
15
- export {}
16
- //# sourceMappingURL=cmd-organization-quota.d.mts.map
2
+ description: string;
3
+ hidden: boolean;
4
+ run: typeof run;
5
+ };
6
+ declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
7
+ parentName: string;
8
+ }): Promise<void>;
9
+ export {};
10
+ //# sourceMappingURL=cmd-organization-quota.d.mts.map
@@ -1,3 +1,3 @@
1
- import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts'
2
- export declare const cmdOrganization: CliSubcommand
3
- //# sourceMappingURL=cmd-organization.d.mts.map
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdOrganization: CliSubcommand;
3
+ //# sourceMappingURL=cmd-organization.d.mts.map
@@ -1,6 +1,4 @@
1
- import type { CResult } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function fetchLicensePolicy(
4
- orgSlug: string
5
- ): Promise<CResult<SocketSdkReturnType<'getOrgLicensePolicy'>['data']>>
6
- //# sourceMappingURL=fetch-license-policy.d.mts.map
1
+ import type { CResult } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function fetchLicensePolicy(orgSlug: string): Promise<CResult<SocketSdkReturnType<'getOrgLicensePolicy'>['data']>>;
4
+ //# sourceMappingURL=fetch-license-policy.d.mts.map
@@ -1,6 +1,4 @@
1
- import type { CResult } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function fetchOrganization(): Promise<
4
- CResult<SocketSdkReturnType<'getOrganizations'>['data']>
5
- >
6
- //# sourceMappingURL=fetch-organization-list.d.mts.map
1
+ import type { CResult } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function fetchOrganization(): Promise<CResult<SocketSdkReturnType<'getOrganizations'>['data']>>;
4
+ //# sourceMappingURL=fetch-organization-list.d.mts.map
@@ -1,6 +1,4 @@
1
- import type { CResult } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function fetchQuota(): Promise<
4
- CResult<SocketSdkReturnType<'getQuota'>['data']>
5
- >
6
- //# sourceMappingURL=fetch-quota.d.mts.map
1
+ import type { CResult } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function fetchQuota(): Promise<CResult<SocketSdkReturnType<'getQuota'>['data']>>;
4
+ //# sourceMappingURL=fetch-quota.d.mts.map
@@ -1,6 +1,4 @@
1
- import type { CResult } from '../../types.mts'
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk'
3
- export declare function fetchSecurityPolicy(
4
- orgSlug: string
5
- ): Promise<CResult<SocketSdkReturnType<'getOrgSecurityPolicy'>['data']>>
6
- //# sourceMappingURL=fetch-security-policy.d.mts.map
1
+ import type { CResult } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function fetchSecurityPolicy(orgSlug: string): Promise<CResult<SocketSdkReturnType<'getOrgSecurityPolicy'>['data']>>;
4
+ //# sourceMappingURL=fetch-security-policy.d.mts.map
@@ -1,6 +1,3 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleLicensePolicy(
3
- orgSlug: string,
4
- outputKind: OutputKind
5
- ): Promise<void>
6
- //# sourceMappingURL=handle-license-policy.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleLicensePolicy(orgSlug: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-license-policy.d.mts.map
@@ -1,5 +1,3 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleOrganizationList(
3
- outputKind?: OutputKind
4
- ): Promise<void>
5
- //# sourceMappingURL=handle-organization-list.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleOrganizationList(outputKind?: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-organization-list.d.mts.map
@@ -1,3 +1,3 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleQuota(outputKind?: OutputKind): Promise<void>
3
- //# sourceMappingURL=handle-quota.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleQuota(outputKind?: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-quota.d.mts.map
@@ -1,6 +1,3 @@
1
- import type { OutputKind } from '../../types.mts'
2
- export declare function handleSecurityPolicy(
3
- orgSlug: string,
4
- outputKind: OutputKind
5
- ): Promise<void>
6
- //# sourceMappingURL=handle-security-policy.d.mts.map
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleSecurityPolicy(orgSlug: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-security-policy.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 outputLicensePolicy(
4
- result: CResult<SocketSdkReturnType<'getOrgLicensePolicy'>['data']>,
5
- outputKind: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=output-license-policy.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputLicensePolicy(result: CResult<SocketSdkReturnType<'getOrgLicensePolicy'>['data']>, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-license-policy.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 outputOrganizationList(
4
- result: CResult<SocketSdkReturnType<'getOrganizations'>['data']>,
5
- outputKind?: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=output-organization-list.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputOrganizationList(result: CResult<SocketSdkReturnType<'getOrganizations'>['data']>, outputKind?: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-organization-list.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 outputQuota(
4
- result: CResult<SocketSdkReturnType<'getQuota'>['data']>,
5
- outputKind?: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=output-quota.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputQuota(result: CResult<SocketSdkReturnType<'getQuota'>['data']>, outputKind?: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-quota.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 outputSecurityPolicy(
4
- result: CResult<SocketSdkReturnType<'getOrgSecurityPolicy'>['data']>,
5
- outputKind: OutputKind
6
- ): Promise<void>
7
- //# sourceMappingURL=output-security-policy.d.mts.map
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputSecurityPolicy(result: CResult<SocketSdkReturnType<'getOrgSecurityPolicy'>['data']>, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-security-policy.d.mts.map
@@ -1,16 +1,10 @@
1
1
  export declare const cmdPackageScore: {
2
- description: string
3
- hidden: boolean
4
- run: typeof run
5
- }
6
- declare function run(
7
- argv: string[] | readonly string[],
8
- importMeta: ImportMeta,
9
- {
10
- parentName
11
- }: {
12
- parentName: string
13
- }
14
- ): Promise<void>
15
- export {}
16
- //# sourceMappingURL=cmd-package-score.d.mts.map
2
+ description: string;
3
+ hidden: boolean;
4
+ run: typeof run;
5
+ };
6
+ declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
7
+ parentName: string;
8
+ }): Promise<void>;
9
+ export {};
10
+ //# sourceMappingURL=cmd-package-score.d.mts.map
@@ -1,23 +1,17 @@
1
1
  export declare const cmdPackageShallow: {
2
- description: string
3
- hidden: boolean
4
- alias: {
5
- shallowScore: {
6
- description: string
7
- hidden: boolean
8
- argv: never[]
9
- }
10
- }
11
- run: typeof run
12
- }
13
- declare function run(
14
- argv: string[] | readonly string[],
15
- importMeta: ImportMeta,
16
- {
17
- parentName
18
- }: {
19
- parentName: string
20
- }
21
- ): Promise<void>
22
- export {}
23
- //# sourceMappingURL=cmd-package-shallow.d.mts.map
2
+ description: string;
3
+ hidden: boolean;
4
+ alias: {
5
+ shallowScore: {
6
+ description: string;
7
+ hidden: boolean;
8
+ argv: never[];
9
+ };
10
+ };
11
+ run: typeof run;
12
+ };
13
+ declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
14
+ parentName: string;
15
+ }): Promise<void>;
16
+ export {};
17
+ //# sourceMappingURL=cmd-package-shallow.d.mts.map
@@ -1,3 +1,3 @@
1
- import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts'
2
- export declare const cmdPackage: CliSubcommand
3
- //# sourceMappingURL=cmd-package.d.mts.map
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdPackage: CliSubcommand;
3
+ //# sourceMappingURL=cmd-package.d.mts.map