@socketsecurity/cli-with-sentry 0.15.42 → 0.15.44

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 (556) hide show
  1. package/dist/cli.js +592 -455
  2. package/dist/cli.js.map +1 -1
  3. package/dist/constants.js +3 -3
  4. package/dist/constants.js.map +1 -1
  5. package/dist/shadow-inject.js +10 -3
  6. package/dist/shadow-inject.js.map +1 -1
  7. package/dist/types/cli.d.mts +2 -0
  8. package/dist/types/cli.d.mts.map +1 -0
  9. package/dist/types/commands/analytics/cmd-analytics.d.mts +10 -0
  10. package/dist/types/commands/analytics/cmd-analytics.d.mts.map +1 -0
  11. package/dist/types/commands/analytics/fetch-org-analytics.d.mts +4 -0
  12. package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +1 -0
  13. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +4 -0
  14. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +1 -0
  15. package/dist/types/commands/analytics/handle-analytics.d.mts +9 -0
  16. package/dist/types/commands/analytics/handle-analytics.d.mts.map +1 -0
  17. package/dist/types/commands/analytics/output-analytics.d.mts +28 -0
  18. package/dist/types/commands/analytics/output-analytics.d.mts.map +1 -0
  19. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +10 -0
  20. package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +1 -0
  21. package/dist/types/commands/audit-log/fetch-audit-log.d.mts +10 -0
  22. package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +1 -0
  23. package/dist/types/commands/audit-log/handle-audit-log.d.mts +9 -0
  24. package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +1 -0
  25. package/dist/types/commands/audit-log/output-audit-log.d.mts +22 -0
  26. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +1 -0
  27. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts +10 -0
  28. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts.map +1 -0
  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 +10 -0
  32. package/dist/types/commands/ci/cmd-ci.d.mts.map +1 -0
  33. package/dist/types/commands/ci/fetch-default-org-slug.d.mts +4 -0
  34. package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +1 -0
  35. package/dist/types/commands/ci/handle-ci.d.mts +2 -0
  36. package/dist/types/commands/ci/handle-ci.d.mts.map +1 -0
  37. package/dist/types/commands/config/cmd-config-auto.d.mts +10 -0
  38. package/dist/types/commands/config/cmd-config-auto.d.mts.map +1 -0
  39. package/dist/types/commands/config/cmd-config-get.d.mts +10 -0
  40. package/dist/types/commands/config/cmd-config-get.d.mts.map +1 -0
  41. package/dist/types/commands/config/cmd-config-list.d.mts +10 -0
  42. package/dist/types/commands/config/cmd-config-list.d.mts.map +1 -0
  43. package/dist/types/commands/config/cmd-config-set.d.mts +10 -0
  44. package/dist/types/commands/config/cmd-config-set.d.mts.map +1 -0
  45. package/dist/types/commands/config/cmd-config-unset.d.mts +10 -0
  46. package/dist/types/commands/config/cmd-config-unset.d.mts.map +1 -0
  47. package/dist/types/commands/config/cmd-config.d.mts +3 -0
  48. package/dist/types/commands/config/cmd-config.d.mts.map +1 -0
  49. package/dist/types/commands/config/discover-config-value.d.mts +3 -0
  50. package/dist/types/commands/config/discover-config-value.d.mts.map +1 -0
  51. package/dist/types/commands/config/handle-config-auto.d.mts +7 -0
  52. package/dist/types/commands/config/handle-config-auto.d.mts.map +1 -0
  53. package/dist/types/commands/config/handle-config-get.d.mts +7 -0
  54. package/dist/types/commands/config/handle-config-get.d.mts.map +1 -0
  55. package/dist/types/commands/config/handle-config-set.d.mts +8 -0
  56. package/dist/types/commands/config/handle-config-set.d.mts.map +1 -0
  57. package/dist/types/commands/config/handle-config-unset.d.mts +7 -0
  58. package/dist/types/commands/config/handle-config-unset.d.mts.map +1 -0
  59. package/dist/types/commands/config/output-config-auto.d.mts +4 -0
  60. package/dist/types/commands/config/output-config-auto.d.mts.map +1 -0
  61. package/dist/types/commands/config/output-config-get.d.mts +4 -0
  62. package/dist/types/commands/config/output-config-get.d.mts.map +1 -0
  63. package/dist/types/commands/config/output-config-list.d.mts +6 -0
  64. package/dist/types/commands/config/output-config-list.d.mts.map +1 -0
  65. package/dist/types/commands/config/output-config-set.d.mts +3 -0
  66. package/dist/types/commands/config/output-config-set.d.mts.map +1 -0
  67. package/dist/types/commands/config/output-config-unset.d.mts +3 -0
  68. package/dist/types/commands/config/output-config-unset.d.mts.map +1 -0
  69. package/dist/types/commands/dependencies/cmd-dependencies.d.mts +10 -0
  70. package/dist/types/commands/dependencies/cmd-dependencies.d.mts.map +1 -0
  71. package/dist/types/commands/dependencies/fetch-dependencies.d.mts +7 -0
  72. package/dist/types/commands/dependencies/fetch-dependencies.d.mts.map +1 -0
  73. package/dist/types/commands/dependencies/handle-dependencies.d.mts +7 -0
  74. package/dist/types/commands/dependencies/handle-dependencies.d.mts.map +1 -0
  75. package/dist/types/commands/dependencies/output-dependencies.d.mts +8 -0
  76. package/dist/types/commands/dependencies/output-dependencies.d.mts.map +1 -0
  77. package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts +10 -0
  78. package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts.map +1 -0
  79. package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts +3 -0
  80. package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts.map +1 -0
  81. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts +8 -0
  82. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts.map +1 -0
  83. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts +10 -0
  84. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts.map +1 -0
  85. package/dist/types/commands/diff-scan/output-diff-scan.d.mts +8 -0
  86. package/dist/types/commands/diff-scan/output-diff-scan.d.mts.map +1 -0
  87. package/dist/types/commands/fix/cmd-fix.d.mts +10 -0
  88. package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -0
  89. package/dist/types/commands/fix/git.d.mts +40 -0
  90. package/dist/types/commands/fix/git.d.mts.map +1 -0
  91. package/dist/types/commands/fix/handle-fix.d.mts +13 -0
  92. package/dist/types/commands/fix/handle-fix.d.mts.map +1 -0
  93. package/dist/types/commands/fix/npm-fix.d.mts +15 -0
  94. package/dist/types/commands/fix/npm-fix.d.mts.map +1 -0
  95. package/dist/types/commands/fix/open-pr.d.mts +49 -0
  96. package/dist/types/commands/fix/open-pr.d.mts.map +1 -0
  97. package/dist/types/commands/fix/output-fix-result.d.mts +3 -0
  98. package/dist/types/commands/fix/output-fix-result.d.mts.map +1 -0
  99. package/dist/types/commands/fix/pnpm-fix.d.mts +15 -0
  100. package/dist/types/commands/fix/pnpm-fix.d.mts.map +1 -0
  101. package/dist/types/commands/fix/run-fix.d.mts +12 -0
  102. package/dist/types/commands/fix/run-fix.d.mts.map +1 -0
  103. package/dist/types/commands/fix/shared.d.mts +9 -0
  104. package/dist/types/commands/fix/shared.d.mts.map +1 -0
  105. package/dist/types/commands/info/cmd-info.d.mts +10 -0
  106. package/dist/types/commands/info/cmd-info.d.mts.map +1 -0
  107. package/dist/types/commands/info/fetch-package-info.d.mts +3 -0
  108. package/dist/types/commands/info/fetch-package-info.d.mts.map +1 -0
  109. package/dist/types/commands/info/handle-package-info.d.mts +17 -0
  110. package/dist/types/commands/info/handle-package-info.d.mts.map +1 -0
  111. package/dist/types/commands/info/output-package-info.d.mts +10 -0
  112. package/dist/types/commands/info/output-package-info.d.mts.map +1 -0
  113. package/dist/types/commands/install/cmd-install-completion.d.mts +10 -0
  114. package/dist/types/commands/install/cmd-install-completion.d.mts.map +1 -0
  115. package/dist/types/commands/install/cmd-install.d.mts +3 -0
  116. package/dist/types/commands/install/cmd-install.d.mts.map +1 -0
  117. package/dist/types/commands/install/handle-install-completion.d.mts +2 -0
  118. package/dist/types/commands/install/handle-install-completion.d.mts.map +1 -0
  119. package/dist/types/commands/install/output-install-completion.d.mts +12 -0
  120. package/dist/types/commands/install/output-install-completion.d.mts.map +1 -0
  121. package/dist/types/commands/install/setup-tab-completion.d.mts +13 -0
  122. package/dist/types/commands/install/setup-tab-completion.d.mts.map +1 -0
  123. package/dist/types/commands/login/apply-login.d.mts +2 -0
  124. package/dist/types/commands/login/apply-login.d.mts.map +1 -0
  125. package/dist/types/commands/login/attempt-login.d.mts +2 -0
  126. package/dist/types/commands/login/attempt-login.d.mts.map +1 -0
  127. package/dist/types/commands/login/cmd-login.d.mts +10 -0
  128. package/dist/types/commands/login/cmd-login.d.mts.map +1 -0
  129. package/dist/types/commands/logout/apply-logout.d.mts +2 -0
  130. package/dist/types/commands/logout/apply-logout.d.mts.map +1 -0
  131. package/dist/types/commands/logout/attempt-logout.d.mts +2 -0
  132. package/dist/types/commands/logout/attempt-logout.d.mts.map +1 -0
  133. package/dist/types/commands/logout/cmd-logout.d.mts +10 -0
  134. package/dist/types/commands/logout/cmd-logout.d.mts.map +1 -0
  135. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +10 -0
  136. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +1 -0
  137. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +10 -0
  138. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -0
  139. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +10 -0
  140. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +1 -0
  141. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +10 -0
  142. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +1 -0
  143. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +10 -0
  144. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +1 -0
  145. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +10 -0
  146. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +1 -0
  147. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +10 -0
  148. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +1 -0
  149. package/dist/types/commands/manifest/cmd-manifest.d.mts +10 -0
  150. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -0
  151. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +8 -0
  152. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +1 -0
  153. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +7 -0
  154. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +1 -0
  155. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +8 -0
  156. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +1 -0
  157. package/dist/types/commands/manifest/detect-manifest-actions.d.mts +13 -0
  158. package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +1 -0
  159. package/dist/types/commands/manifest/generate_auto_manifest.d.mts +9 -0
  160. package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -0
  161. package/dist/types/commands/manifest/handle-manifest-conda.d.mts +9 -0
  162. package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +1 -0
  163. package/dist/types/commands/manifest/handle-manifest-setup.d.mts +2 -0
  164. package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +1 -0
  165. package/dist/types/commands/manifest/output-manifest-setup.d.mts +3 -0
  166. package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +1 -0
  167. package/dist/types/commands/manifest/output-requirements.d.mts +6 -0
  168. package/dist/types/commands/manifest/output-requirements.d.mts.map +1 -0
  169. package/dist/types/commands/manifest/run-cdxgen.d.mts +2 -0
  170. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -0
  171. package/dist/types/commands/manifest/setup-manifest-config.d.mts +3 -0
  172. package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +1 -0
  173. package/dist/types/commands/npm/cmd-npm.d.mts +10 -0
  174. package/dist/types/commands/npm/cmd-npm.d.mts.map +1 -0
  175. package/dist/types/commands/npx/cmd-npx.d.mts +10 -0
  176. package/dist/types/commands/npx/cmd-npx.d.mts.map +1 -0
  177. package/dist/types/commands/oops/cmd-oops.d.mts +10 -0
  178. package/dist/types/commands/oops/cmd-oops.d.mts.map +1 -0
  179. package/dist/types/commands/optimize/add-overrides.d.mts +20 -0
  180. package/dist/types/commands/optimize/add-overrides.d.mts.map +1 -0
  181. package/dist/types/commands/optimize/apply-optimization.d.mts +9 -0
  182. package/dist/types/commands/optimize/apply-optimization.d.mts.map +1 -0
  183. package/dist/types/commands/optimize/cmd-optimize.d.mts +10 -0
  184. package/dist/types/commands/optimize/cmd-optimize.d.mts.map +1 -0
  185. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +4 -0
  186. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +1 -0
  187. package/dist/types/commands/optimize/get-dependency-entries.d.mts +3 -0
  188. package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +1 -0
  189. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +9 -0
  190. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +1 -0
  191. package/dist/types/commands/optimize/handle-optimize.d.mts +8 -0
  192. package/dist/types/commands/optimize/handle-optimize.d.mts.map +1 -0
  193. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +3 -0
  194. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +1 -0
  195. package/dist/types/commands/optimize/ls-by-agent.d.mts +7 -0
  196. package/dist/types/commands/optimize/ls-by-agent.d.mts.map +1 -0
  197. package/dist/types/commands/optimize/output-optimize-result.d.mts +9 -0
  198. package/dist/types/commands/optimize/output-optimize-result.d.mts.map +1 -0
  199. package/dist/types/commands/optimize/shared.d.mts +2 -0
  200. package/dist/types/commands/optimize/shared.d.mts.map +1 -0
  201. package/dist/types/commands/optimize/types.d.mts +9 -0
  202. package/dist/types/commands/optimize/types.d.mts.map +1 -0
  203. package/dist/types/commands/optimize/update-lockfile.d.mts +11 -0
  204. package/dist/types/commands/optimize/update-lockfile.d.mts.map +1 -0
  205. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +5 -0
  206. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +1 -0
  207. package/dist/types/commands/organization/cmd-organization-list.d.mts +10 -0
  208. package/dist/types/commands/organization/cmd-organization-list.d.mts.map +1 -0
  209. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +10 -0
  210. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +1 -0
  211. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +10 -0
  212. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +1 -0
  213. package/dist/types/commands/organization/cmd-organization-policy.d.mts +3 -0
  214. package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +1 -0
  215. package/dist/types/commands/organization/cmd-organization-quota.d.mts +10 -0
  216. package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +1 -0
  217. package/dist/types/commands/organization/cmd-organization.d.mts +3 -0
  218. package/dist/types/commands/organization/cmd-organization.d.mts.map +1 -0
  219. package/dist/types/commands/organization/fetch-license-policy.d.mts +4 -0
  220. package/dist/types/commands/organization/fetch-license-policy.d.mts.map +1 -0
  221. package/dist/types/commands/organization/fetch-organization-list.d.mts +4 -0
  222. package/dist/types/commands/organization/fetch-organization-list.d.mts.map +1 -0
  223. package/dist/types/commands/organization/fetch-quota.d.mts +4 -0
  224. package/dist/types/commands/organization/fetch-quota.d.mts.map +1 -0
  225. package/dist/types/commands/organization/fetch-security-policy.d.mts +4 -0
  226. package/dist/types/commands/organization/fetch-security-policy.d.mts.map +1 -0
  227. package/dist/types/commands/organization/handle-license-policy.d.mts +3 -0
  228. package/dist/types/commands/organization/handle-license-policy.d.mts.map +1 -0
  229. package/dist/types/commands/organization/handle-organization-list.d.mts +3 -0
  230. package/dist/types/commands/organization/handle-organization-list.d.mts.map +1 -0
  231. package/dist/types/commands/organization/handle-quota.d.mts +3 -0
  232. package/dist/types/commands/organization/handle-quota.d.mts.map +1 -0
  233. package/dist/types/commands/organization/handle-security-policy.d.mts +3 -0
  234. package/dist/types/commands/organization/handle-security-policy.d.mts.map +1 -0
  235. package/dist/types/commands/organization/output-license-policy.d.mts +4 -0
  236. package/dist/types/commands/organization/output-license-policy.d.mts.map +1 -0
  237. package/dist/types/commands/organization/output-organization-list.d.mts +4 -0
  238. package/dist/types/commands/organization/output-organization-list.d.mts.map +1 -0
  239. package/dist/types/commands/organization/output-quota.d.mts +4 -0
  240. package/dist/types/commands/organization/output-quota.d.mts.map +1 -0
  241. package/dist/types/commands/organization/output-security-policy.d.mts +4 -0
  242. package/dist/types/commands/organization/output-security-policy.d.mts.map +1 -0
  243. package/dist/types/commands/package/cmd-package-score.d.mts +10 -0
  244. package/dist/types/commands/package/cmd-package-score.d.mts.map +1 -0
  245. package/dist/types/commands/package/cmd-package-shallow.d.mts +17 -0
  246. package/dist/types/commands/package/cmd-package-shallow.d.mts.map +1 -0
  247. package/dist/types/commands/package/cmd-package.d.mts +3 -0
  248. package/dist/types/commands/package/cmd-package.d.mts.map +1 -0
  249. package/dist/types/commands/package/fetch-purl-deep-score.d.mts +51 -0
  250. package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +1 -0
  251. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +4 -0
  252. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +1 -0
  253. package/dist/types/commands/package/handle-purl-deep-score.d.mts +3 -0
  254. package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +1 -0
  255. package/dist/types/commands/package/handle-purls-shallow-score.d.mts +6 -0
  256. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +1 -0
  257. package/dist/types/commands/package/output-purl-score.d.mts +4 -0
  258. package/dist/types/commands/package/output-purl-score.d.mts.map +1 -0
  259. package/dist/types/commands/package/output-purls-shallow-score.d.mts +4 -0
  260. package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +1 -0
  261. package/dist/types/commands/package/parse-package-specifiers.d.mts +9 -0
  262. package/dist/types/commands/package/parse-package-specifiers.d.mts.map +1 -0
  263. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +10 -0
  264. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +1 -0
  265. package/dist/types/commands/raw-npm/run-raw-npm.d.mts +2 -0
  266. package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +1 -0
  267. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +10 -0
  268. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +1 -0
  269. package/dist/types/commands/raw-npx/run-raw-npx.d.mts +2 -0
  270. package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +1 -0
  271. package/dist/types/commands/report/cmd-report-create.d.mts +10 -0
  272. package/dist/types/commands/report/cmd-report-create.d.mts.map +1 -0
  273. package/dist/types/commands/report/cmd-report-view.d.mts +10 -0
  274. package/dist/types/commands/report/cmd-report-view.d.mts.map +1 -0
  275. package/dist/types/commands/report/cmd-report.d.mts +3 -0
  276. package/dist/types/commands/report/cmd-report.d.mts.map +1 -0
  277. package/dist/types/commands/repos/cmd-repos-create.d.mts +10 -0
  278. package/dist/types/commands/repos/cmd-repos-create.d.mts.map +1 -0
  279. package/dist/types/commands/repos/cmd-repos-del.d.mts +10 -0
  280. package/dist/types/commands/repos/cmd-repos-del.d.mts.map +1 -0
  281. package/dist/types/commands/repos/cmd-repos-list.d.mts +10 -0
  282. package/dist/types/commands/repos/cmd-repos-list.d.mts.map +1 -0
  283. package/dist/types/commands/repos/cmd-repos-update.d.mts +10 -0
  284. package/dist/types/commands/repos/cmd-repos-update.d.mts.map +1 -0
  285. package/dist/types/commands/repos/cmd-repos-view.d.mts +10 -0
  286. package/dist/types/commands/repos/cmd-repos-view.d.mts.map +1 -0
  287. package/dist/types/commands/repos/cmd-repos.d.mts +3 -0
  288. package/dist/types/commands/repos/cmd-repos.d.mts.map +1 -0
  289. package/dist/types/commands/repos/fetch-create-repo.d.mts +11 -0
  290. package/dist/types/commands/repos/fetch-create-repo.d.mts.map +1 -0
  291. package/dist/types/commands/repos/fetch-delete-repo.d.mts +4 -0
  292. package/dist/types/commands/repos/fetch-delete-repo.d.mts.map +1 -0
  293. package/dist/types/commands/repos/fetch-list-all-repos.d.mts +8 -0
  294. package/dist/types/commands/repos/fetch-list-all-repos.d.mts.map +1 -0
  295. package/dist/types/commands/repos/fetch-list-repos.d.mts +10 -0
  296. package/dist/types/commands/repos/fetch-list-repos.d.mts.map +1 -0
  297. package/dist/types/commands/repos/fetch-update-repo.d.mts +11 -0
  298. package/dist/types/commands/repos/fetch-update-repo.d.mts.map +1 -0
  299. package/dist/types/commands/repos/fetch-view-repo.d.mts +4 -0
  300. package/dist/types/commands/repos/fetch-view-repo.d.mts.map +1 -0
  301. package/dist/types/commands/repos/handle-create-repo.d.mts +10 -0
  302. package/dist/types/commands/repos/handle-create-repo.d.mts.map +1 -0
  303. package/dist/types/commands/repos/handle-delete-repo.d.mts +3 -0
  304. package/dist/types/commands/repos/handle-delete-repo.d.mts.map +1 -0
  305. package/dist/types/commands/repos/handle-list-repos.d.mts +11 -0
  306. package/dist/types/commands/repos/handle-list-repos.d.mts.map +1 -0
  307. package/dist/types/commands/repos/handle-update-repo.d.mts +10 -0
  308. package/dist/types/commands/repos/handle-update-repo.d.mts.map +1 -0
  309. package/dist/types/commands/repos/handle-view-repo.d.mts +3 -0
  310. package/dist/types/commands/repos/handle-view-repo.d.mts.map +1 -0
  311. package/dist/types/commands/repos/output-create-repo.d.mts +4 -0
  312. package/dist/types/commands/repos/output-create-repo.d.mts.map +1 -0
  313. package/dist/types/commands/repos/output-delete-repo.d.mts +4 -0
  314. package/dist/types/commands/repos/output-delete-repo.d.mts.map +1 -0
  315. package/dist/types/commands/repos/output-list-repos.d.mts +4 -0
  316. package/dist/types/commands/repos/output-list-repos.d.mts.map +1 -0
  317. package/dist/types/commands/repos/output-update-repo.d.mts +4 -0
  318. package/dist/types/commands/repos/output-update-repo.d.mts.map +1 -0
  319. package/dist/types/commands/repos/output-view-repo.d.mts +4 -0
  320. package/dist/types/commands/repos/output-view-repo.d.mts.map +1 -0
  321. package/dist/types/commands/scan/cmd-scan-create.d.mts +10 -0
  322. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -0
  323. package/dist/types/commands/scan/cmd-scan-del.d.mts +10 -0
  324. package/dist/types/commands/scan/cmd-scan-del.d.mts.map +1 -0
  325. package/dist/types/commands/scan/cmd-scan-diff.d.mts +10 -0
  326. package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +1 -0
  327. package/dist/types/commands/scan/cmd-scan-github.d.mts +10 -0
  328. package/dist/types/commands/scan/cmd-scan-github.d.mts.map +1 -0
  329. package/dist/types/commands/scan/cmd-scan-list.d.mts +3 -0
  330. package/dist/types/commands/scan/cmd-scan-list.d.mts.map +1 -0
  331. package/dist/types/commands/scan/cmd-scan-metadata.d.mts +3 -0
  332. package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +1 -0
  333. package/dist/types/commands/scan/cmd-scan-reach.d.mts +10 -0
  334. package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +1 -0
  335. package/dist/types/commands/scan/cmd-scan-report.d.mts +3 -0
  336. package/dist/types/commands/scan/cmd-scan-report.d.mts.map +1 -0
  337. package/dist/types/commands/scan/cmd-scan-setup.d.mts +10 -0
  338. package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +1 -0
  339. package/dist/types/commands/scan/cmd-scan-view.d.mts +3 -0
  340. package/dist/types/commands/scan/cmd-scan-view.d.mts.map +1 -0
  341. package/dist/types/commands/scan/cmd-scan.d.mts +3 -0
  342. package/dist/types/commands/scan/cmd-scan.d.mts.map +1 -0
  343. package/dist/types/commands/scan/create-scan-from-github.d.mts +12 -0
  344. package/dist/types/commands/scan/create-scan-from-github.d.mts.map +1 -0
  345. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +11 -0
  346. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -0
  347. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +4 -0
  348. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +1 -0
  349. package/dist/types/commands/scan/fetch-diff-scan.d.mts +8 -0
  350. package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +1 -0
  351. package/dist/types/commands/scan/fetch-list-scans.d.mts +13 -0
  352. package/dist/types/commands/scan/fetch-list-scans.d.mts.map +1 -0
  353. package/dist/types/commands/scan/fetch-report-data.d.mts +12 -0
  354. package/dist/types/commands/scan/fetch-report-data.d.mts.map +1 -0
  355. package/dist/types/commands/scan/fetch-scan-metadata.d.mts +4 -0
  356. package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +1 -0
  357. package/dist/types/commands/scan/fetch-scan.d.mts +4 -0
  358. package/dist/types/commands/scan/fetch-scan.d.mts.map +1 -0
  359. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +4 -0
  360. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +1 -0
  361. package/dist/types/commands/scan/generate-report.d.mts +43 -0
  362. package/dist/types/commands/scan/generate-report.d.mts.map +1 -0
  363. package/dist/types/commands/scan/handle-create-github-scan.d.mts +12 -0
  364. package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +1 -0
  365. package/dist/types/commands/scan/handle-create-new-scan.d.mts +21 -0
  366. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -0
  367. package/dist/types/commands/scan/handle-delete-scan.d.mts +3 -0
  368. package/dist/types/commands/scan/handle-delete-scan.d.mts.map +1 -0
  369. package/dist/types/commands/scan/handle-diff-scan.d.mts +10 -0
  370. package/dist/types/commands/scan/handle-diff-scan.d.mts.map +1 -0
  371. package/dist/types/commands/scan/handle-list-scans.d.mts +13 -0
  372. package/dist/types/commands/scan/handle-list-scans.d.mts.map +1 -0
  373. package/dist/types/commands/scan/handle-reach-scan.d.mts +3 -0
  374. package/dist/types/commands/scan/handle-reach-scan.d.mts.map +1 -0
  375. package/dist/types/commands/scan/handle-scan-config.d.mts +2 -0
  376. package/dist/types/commands/scan/handle-scan-config.d.mts.map +1 -0
  377. package/dist/types/commands/scan/handle-scan-metadata.d.mts +3 -0
  378. package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +1 -0
  379. package/dist/types/commands/scan/handle-scan-report.d.mts +12 -0
  380. package/dist/types/commands/scan/handle-scan-report.d.mts.map +1 -0
  381. package/dist/types/commands/scan/handle-scan-view.d.mts +3 -0
  382. package/dist/types/commands/scan/handle-scan-view.d.mts.map +1 -0
  383. package/dist/types/commands/scan/output-create-new-scan.d.mts +4 -0
  384. package/dist/types/commands/scan/output-create-new-scan.d.mts.map +1 -0
  385. package/dist/types/commands/scan/output-delete-scan.d.mts +4 -0
  386. package/dist/types/commands/scan/output-delete-scan.d.mts.map +1 -0
  387. package/dist/types/commands/scan/output-diff-scan.d.mts +8 -0
  388. package/dist/types/commands/scan/output-diff-scan.d.mts.map +1 -0
  389. package/dist/types/commands/scan/output-list-scans.d.mts +4 -0
  390. package/dist/types/commands/scan/output-list-scans.d.mts.map +1 -0
  391. package/dist/types/commands/scan/output-scan-config-result.d.mts +3 -0
  392. package/dist/types/commands/scan/output-scan-config-result.d.mts.map +1 -0
  393. package/dist/types/commands/scan/output-scan-metadata.d.mts +4 -0
  394. package/dist/types/commands/scan/output-scan-metadata.d.mts.map +1 -0
  395. package/dist/types/commands/scan/output-scan-reach.d.mts +3 -0
  396. package/dist/types/commands/scan/output-scan-reach.d.mts.map +1 -0
  397. package/dist/types/commands/scan/output-scan-report.d.mts +20 -0
  398. package/dist/types/commands/scan/output-scan-report.d.mts.map +1 -0
  399. package/dist/types/commands/scan/output-scan-view.d.mts +4 -0
  400. package/dist/types/commands/scan/output-scan-view.d.mts.map +1 -0
  401. package/dist/types/commands/scan/scan-reachability.d.mts +3 -0
  402. package/dist/types/commands/scan/scan-reachability.d.mts.map +1 -0
  403. package/dist/types/commands/scan/setup-scan-config.d.mts +3 -0
  404. package/dist/types/commands/scan/setup-scan-config.d.mts.map +1 -0
  405. package/dist/types/commands/scan/stream-scan.d.mts +2 -0
  406. package/dist/types/commands/scan/stream-scan.d.mts.map +1 -0
  407. package/dist/types/commands/scan/suggest-org-slug.d.mts +2 -0
  408. package/dist/types/commands/scan/suggest-org-slug.d.mts.map +1 -0
  409. package/dist/types/commands/scan/suggest-repo-slug.d.mts +5 -0
  410. package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +1 -0
  411. package/dist/types/commands/scan/suggest_branch_slug.d.mts +2 -0
  412. package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +1 -0
  413. package/dist/types/commands/scan/suggest_target.d.mts +2 -0
  414. package/dist/types/commands/scan/suggest_target.d.mts.map +1 -0
  415. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +10 -0
  416. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +1 -0
  417. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +10 -0
  418. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +1 -0
  419. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +10 -0
  420. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +1 -0
  421. package/dist/types/commands/threat-feed/output-threat-feed.d.mts +4 -0
  422. package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +1 -0
  423. package/dist/types/commands/threat-feed/types.d.mts +15 -0
  424. package/dist/types/commands/threat-feed/types.d.mts.map +1 -0
  425. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +9 -0
  426. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +1 -0
  427. package/dist/types/commands/uninstall/cmd-uninstall.d.mts +3 -0
  428. package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +1 -0
  429. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +2 -0
  430. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +1 -0
  431. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +6 -0
  432. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +1 -0
  433. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +6 -0
  434. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +1 -0
  435. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +2 -0
  436. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +1 -0
  437. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +2 -0
  438. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +1 -0
  439. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +10 -0
  440. package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +1 -0
  441. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +2 -0
  442. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +1 -0
  443. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +2 -0
  444. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +1 -0
  445. package/dist/types/constants.d.mts +128 -0
  446. package/dist/types/constants.d.mts.map +1 -0
  447. package/dist/types/flags.d.mts +16 -0
  448. package/dist/types/flags.d.mts.map +1 -0
  449. package/dist/types/instrument-with-sentry.d.mts +2 -0
  450. package/dist/types/instrument-with-sentry.d.mts.map +1 -0
  451. package/dist/types/shadow/npm/arborist/index.d.mts +19 -0
  452. package/dist/types/shadow/npm/arborist/index.d.mts.map +1 -0
  453. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +24 -0
  454. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +1 -0
  455. package/dist/types/shadow/npm/arborist/types.d.mts +119 -0
  456. package/dist/types/shadow/npm/arborist/types.d.mts.map +1 -0
  457. package/dist/types/shadow/npm/arborist-helpers.d.mts +35 -0
  458. package/dist/types/shadow/npm/arborist-helpers.d.mts.map +1 -0
  459. package/dist/types/shadow/npm/bin.d.mts +2 -0
  460. package/dist/types/shadow/npm/bin.d.mts.map +1 -0
  461. package/dist/types/shadow/npm/inject.d.mts +2 -0
  462. package/dist/types/shadow/npm/inject.d.mts.map +1 -0
  463. package/dist/types/shadow/npm/install.d.mts +13 -0
  464. package/dist/types/shadow/npm/install.d.mts.map +1 -0
  465. package/dist/types/shadow/npm/link.d.mts +2 -0
  466. package/dist/types/shadow/npm/link.d.mts.map +1 -0
  467. package/dist/types/shadow/npm/paths.d.mts +7 -0
  468. package/dist/types/shadow/npm/paths.d.mts.map +1 -0
  469. package/dist/types/shadow/npm/proc-log/index.d.mts +3 -0
  470. package/dist/types/shadow/npm/proc-log/index.d.mts.map +1 -0
  471. package/dist/types/types.d.mts +29 -0
  472. package/dist/types/types.d.mts.map +1 -0
  473. package/dist/types/utils/agent.d.mts +12 -0
  474. package/dist/types/utils/agent.d.mts.map +1 -0
  475. package/dist/types/utils/alert/artifact.d.mts +35 -0
  476. package/dist/types/utils/alert/artifact.d.mts.map +1 -0
  477. package/dist/types/utils/alert/fix.d.mts +6 -0
  478. package/dist/types/utils/alert/fix.d.mts.map +1 -0
  479. package/dist/types/utils/alert/severity.d.mts +14 -0
  480. package/dist/types/utils/alert/severity.d.mts.map +1 -0
  481. package/dist/types/utils/alerts-map.d.mts +25 -0
  482. package/dist/types/utils/alerts-map.d.mts.map +1 -0
  483. package/dist/types/utils/api.d.mts +13 -0
  484. package/dist/types/utils/api.d.mts.map +1 -0
  485. package/dist/types/utils/check-input.d.mts +9 -0
  486. package/dist/types/utils/check-input.d.mts.map +1 -0
  487. package/dist/types/utils/cmd.d.mts +4 -0
  488. package/dist/types/utils/cmd.d.mts.map +1 -0
  489. package/dist/types/utils/color-or-markdown.d.mts +16 -0
  490. package/dist/types/utils/color-or-markdown.d.mts.map +1 -0
  491. package/dist/types/utils/completion.d.mts +11 -0
  492. package/dist/types/utils/completion.d.mts.map +1 -0
  493. package/dist/types/utils/config.d.mts +31 -0
  494. package/dist/types/utils/config.d.mts.map +1 -0
  495. package/dist/types/utils/determine-org-slug.d.mts +2 -0
  496. package/dist/types/utils/determine-org-slug.d.mts.map +1 -0
  497. package/dist/types/utils/errors.d.mts +14 -0
  498. package/dist/types/utils/errors.d.mts.map +1 -0
  499. package/dist/types/utils/fail-msg-with-badge.d.mts +2 -0
  500. package/dist/types/utils/fail-msg-with-badge.d.mts.map +1 -0
  501. package/dist/types/utils/fs.d.mts +22 -0
  502. package/dist/types/utils/fs.d.mts.map +1 -0
  503. package/dist/types/utils/get-output-kind.d.mts +3 -0
  504. package/dist/types/utils/get-output-kind.d.mts.map +1 -0
  505. package/dist/types/utils/glob.d.mts +14 -0
  506. package/dist/types/utils/glob.d.mts.map +1 -0
  507. package/dist/types/utils/map-to-object.d.mts +10 -0
  508. package/dist/types/utils/map-to-object.d.mts.map +1 -0
  509. package/dist/types/utils/markdown.d.mts +10 -0
  510. package/dist/types/utils/markdown.d.mts.map +1 -0
  511. package/dist/types/utils/meow-with-subcommands.d.mts +50 -0
  512. package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -0
  513. package/dist/types/utils/npm-package-arg.d.mts +4 -0
  514. package/dist/types/utils/npm-package-arg.d.mts.map +1 -0
  515. package/dist/types/utils/npm-paths.d.mts +7 -0
  516. package/dist/types/utils/npm-paths.d.mts.map +1 -0
  517. package/dist/types/utils/objects.d.mts +3 -0
  518. package/dist/types/utils/objects.d.mts.map +1 -0
  519. package/dist/types/utils/output-formatting.d.mts +15 -0
  520. package/dist/types/utils/output-formatting.d.mts.map +1 -0
  521. package/dist/types/utils/package-environment.d.mts +57 -0
  522. package/dist/types/utils/package-environment.d.mts.map +1 -0
  523. package/dist/types/utils/path-resolve.d.mts +10 -0
  524. package/dist/types/utils/path-resolve.d.mts.map +1 -0
  525. package/dist/types/utils/pnpm.d.mts +11 -0
  526. package/dist/types/utils/pnpm.d.mts.map +1 -0
  527. package/dist/types/utils/purl.d.mts +97 -0
  528. package/dist/types/utils/purl.d.mts.map +1 -0
  529. package/dist/types/utils/sdk.d.mts +8 -0
  530. package/dist/types/utils/sdk.d.mts.map +1 -0
  531. package/dist/types/utils/semver.d.mts +8 -0
  532. package/dist/types/utils/semver.d.mts.map +1 -0
  533. package/dist/types/utils/serialize-result-json.d.mts +5 -0
  534. package/dist/types/utils/serialize-result-json.d.mts.map +1 -0
  535. package/dist/types/utils/socket-package-alert.d.mts +78 -0
  536. package/dist/types/utils/socket-package-alert.d.mts.map +1 -0
  537. package/dist/types/utils/socket-url.d.mts +7 -0
  538. package/dist/types/utils/socket-url.d.mts.map +1 -0
  539. package/dist/types/utils/socketjson.d.mts +56 -0
  540. package/dist/types/utils/socketjson.d.mts.map +1 -0
  541. package/dist/types/utils/spec.d.mts +5 -0
  542. package/dist/types/utils/spec.d.mts.map +1 -0
  543. package/dist/types/utils/strings.d.mts +2 -0
  544. package/dist/types/utils/strings.d.mts.map +1 -0
  545. package/dist/types/utils/translations.d.mts +593 -0
  546. package/dist/types/utils/translations.d.mts.map +1 -0
  547. package/dist/types/utils/walk-nested-map.d.mts +7 -0
  548. package/dist/types/utils/walk-nested-map.d.mts.map +1 -0
  549. package/dist/utils.js +278 -168
  550. package/dist/utils.js.map +1 -1
  551. package/dist/vendor.js +57456 -53054
  552. package/external/@socketsecurity/registry/external/browserslist.js +395 -358
  553. package/external/@socketsecurity/registry/lib/debug.js +15 -5
  554. package/external/@socketsecurity/registry/lib/logger.js +3 -10
  555. package/external/@socketsecurity/registry/lib/strings.js +9 -1
  556. package/package.json +26 -26
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lockfile-includes-by-agent.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/lockfile-includes-by-agent.mts"],"names":[],"mappings":"AAMA,MAAM,MAAM,mBAAmB,GAAG,CAChC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,KACrB,OAAO,CAAA;AAqDZ,eAAO,MAAM,uBAAuB,0FAOlC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { EnvDetails } from '../../utils/package-environment.mts';
2
+ export type AgentListDepsOptions = {
3
+ npmExecPath?: string;
4
+ };
5
+ export type AgentListDepsFn = (pkgEnvDetails: EnvDetails, cwd: string, options?: AgentListDepsOptions | undefined) => Promise<string>;
6
+ export declare const lsByAgent: Map<"bun" | "npm" | "pnpm" | "vlt" | "yarn/berry" | "yarn/classic", AgentListDepsFn>;
7
+ //# sourceMappingURL=ls-by-agent.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ls-by-agent.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/ls-by-agent.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAS,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAyK5E,MAAM,MAAM,oBAAoB,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAE3D,MAAM,MAAM,eAAe,GAAG,CAC5B,aAAa,EAAE,UAAU,EACzB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,oBAAoB,GAAG,SAAS,KACvC,OAAO,CAAC,MAAM,CAAC,CAAA;AAEpB,eAAO,MAAM,SAAS,sFAOpB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ export declare function outputOptimizeResult(result: CResult<{
3
+ addedCount: number;
4
+ updatedCount: number;
5
+ pkgJsonChanged: boolean;
6
+ updatedInWorkspaces: number;
7
+ addedInWorkspaces: number;
8
+ }>, outputKind: OutputKind): Promise<void>;
9
+ //# sourceMappingURL=output-optimize-result.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-optimize-result.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/output-optimize-result.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,OAAO,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAC,EACF,UAAU,EAAE,UAAU,iBAkCvB"}
@@ -0,0 +1,2 @@
1
+ export declare const CMD_NAME = "socket optimize";
2
+ //# sourceMappingURL=shared.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/shared.mts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,oBAAoB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import type { StringKeyValueObject } from '../../types.mts';
2
+ export type NpmOverrides = {
3
+ [key: string]: string | StringKeyValueObject;
4
+ };
5
+ export type PnpmOrYarnOverrides = {
6
+ [key: string]: string;
7
+ };
8
+ export type Overrides = NpmOverrides | PnpmOrYarnOverrides;
9
+ //# sourceMappingURL=types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/types.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAE3D,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,oBAAoB,CAAA;CAAE,CAAA;AAE3E,MAAM,MAAM,mBAAmB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AAE3D,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,mBAAmB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Spinner } from '@socketsecurity/registry/lib/spinner';
2
+ import type { CResult } from '../../types.mts';
3
+ import type { EnvDetails } from '../../utils/package-environment.mts';
4
+ import type { Logger } from '@socketsecurity/registry/lib/logger';
5
+ export type UpdateLockfileOptions = {
6
+ cmdName?: string | undefined;
7
+ logger?: Logger | undefined;
8
+ spinner?: Spinner | undefined;
9
+ };
10
+ export declare function updateLockfile(pkgEnvDetails: EnvDetails, options: UpdateLockfileOptions): Promise<CResult<unknown>>;
11
+ //# sourceMappingURL=update-lockfile.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-lockfile.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/update-lockfile.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAA;AAM9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAA;AACrE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAIjE,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,CAAA;AAED,wBAAsB,cAAc,CAClC,aAAa,EAAE,UAAU,EACzB,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CA2C3B"}
@@ -0,0 +1,5 @@
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<"bun" | "npm" | "pnpm" | "vlt" | "yarn/berry" | "yarn/classic", AgentModifyManifestFn>;
5
+ //# sourceMappingURL=update-manifest-by-agent.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-manifest-by-agent.d.mts","sourceRoot":"","sources":["../../../../src/commands/optimize/update-manifest-by-agent.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAS,UAAU,EAAE,MAAM,qCAAqC,CAAA;AA0J5E,MAAM,MAAM,qBAAqB,GAAG,CAClC,aAAa,EAAE,UAAU,EACzB,SAAS,EAAE,SAAS,KACjB,IAAI,CAAA;AAET,eAAO,MAAM,qBAAqB,4FAOhC,CAAA"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdOrganizationList: {
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-organization-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-list.mts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAA;AAED,iBAAe,GAAG,CAChB,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,CA0Cf"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdOrganizationPolicyLicense: {
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-organization-policy-license.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-policy-license.mts"],"names":[],"mappings":"AAyDA,eAAO,MAAM,4BAA4B;;;;CAIxC,CAAA;AAED,iBAAe,GAAG,CAChB,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,CAyDf"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdOrganizationPolicyPolicy: {
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-organization-policy-security.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-policy-security.mts"],"names":[],"mappings":"AAyDA,eAAO,MAAM,2BAA2B;;;;CAIvC,CAAA;AAED,iBAAe,GAAG,CAChB,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,CAuDf"}
@@ -0,0 +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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-organization-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-policy.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,qBAAqB,EAAE,aAsBnC,CAAA"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdOrganizationQuota: {
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-organization-quota.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization-quota.mts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,oBAAoB;;;;CAIhC,CAAA;AAED,iBAAe,GAAG,CAChB,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,CA0Cf"}
@@ -0,0 +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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-organization.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/cmd-organization.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,eAAe,EAAE,aAuB7B,CAAA"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-license-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/fetch-license-policy.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWtE"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-organization-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/fetch-organization-list.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,iBAAiB,IAAI,OAAO,CAChD,OAAO,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,CACzD,CAQA"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-quota.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/fetch-quota.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,UAAU,IAAI,OAAO,CACzC,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,CACjD,CAQA"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-security-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/fetch-security-policy.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWvE"}
@@ -0,0 +1,3 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-license-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/handle-license-policy.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf"}
@@ -0,0 +1,3 @@
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleOrganizationList(outputKind?: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-organization-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-organization-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/handle-organization-list.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,sBAAsB,CAC1C,UAAU,GAAE,UAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAIf"}
@@ -0,0 +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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-quota.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/handle-quota.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,WAAW,CAC/B,UAAU,GAAE,UAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAIf"}
@@ -0,0 +1,3 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-security-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/handle-security-policy.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-license-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/output-license-policy.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,EACnE,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CA4Bf"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-organization-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/output-organization-list.mts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,EAChE,UAAU,GAAE,UAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CA+Df"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-quota.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/output-quota.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,WAAW,CAC/B,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,EACxD,UAAU,GAAE,UAAmB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAwBf"}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-security-policy.d.mts","sourceRoot":"","sources":["../../../../src/commands/organization/output-security-policy.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,EACpE,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAmCf"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdPackageScore: {
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-package-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/cmd-package-score.mts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AAED,iBAAe,GAAG,CAChB,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,CAyDf"}
@@ -0,0 +1,17 @@
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(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
14
+ parentName: string;
15
+ }): Promise<void>;
16
+ export {};
17
+ //# sourceMappingURL=cmd-package-shallow.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-package-shallow.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/cmd-package-shallow.mts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,iBAAiB;;;;;;;;;;;CAW7B,CAAA;AAED,iBAAe,GAAG,CAChB,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,CAmDf"}
@@ -0,0 +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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-package.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/cmd-package.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,UAAU,EAAE,aAwBxB,CAAA"}
@@ -0,0 +1,51 @@
1
+ import type { CResult } from '../../types.mts';
2
+ export interface PurlDataResponse {
3
+ purl: string;
4
+ self: {
5
+ purl: string;
6
+ score: {
7
+ license: number;
8
+ maintenance: number;
9
+ overall: number;
10
+ quality: number;
11
+ supplyChain: number;
12
+ vulnerability: number;
13
+ };
14
+ capabilities: string[];
15
+ alerts: Array<{
16
+ name: string;
17
+ severity: string;
18
+ category: string;
19
+ example: string;
20
+ }>;
21
+ };
22
+ transitively: {
23
+ dependencyCount: number;
24
+ func: string;
25
+ score: {
26
+ license: number;
27
+ maintenance: number;
28
+ overall: number;
29
+ quality: number;
30
+ supplyChain: number;
31
+ vulnerability: number;
32
+ };
33
+ lowest: {
34
+ license: string;
35
+ maintenance: string;
36
+ overall: string;
37
+ quality: string;
38
+ supplyChain: string;
39
+ vulnerability: string;
40
+ };
41
+ capabilities: string[];
42
+ alerts: Array<{
43
+ name: string;
44
+ severity: string;
45
+ category: string;
46
+ example: string;
47
+ }>;
48
+ };
49
+ }
50
+ export declare function fetchPurlDeepScore(purl: string): Promise<CResult<PurlDataResponse>>;
51
+ //# sourceMappingURL=fetch-purl-deep-score.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-purl-deep-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/fetch-purl-deep-score.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE;YACL,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,OAAO,EAAE,MAAM,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;QACD,YAAY,EAAE,MAAM,EAAE,CAAA;QACtB,MAAM,EAAE,KAAK,CAAC;YACZ,IAAI,EAAE,MAAM,CAAA;YACZ,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;YAChB,OAAO,EAAE,MAAM,CAAA;SAChB,CAAC,CAAA;KACH,CAAA;IACD,YAAY,EAAE;QACZ,eAAe,EAAE,MAAM,CAAA;QACvB,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE;YACL,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,OAAO,EAAE,MAAM,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;QACD,MAAM,EAAE;YACN,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,OAAO,EAAE,MAAM,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,WAAW,EAAE,MAAM,CAAA;YACnB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;QACD,YAAY,EAAE,MAAM,EAAE,CAAA;QACtB,MAAM,EAAE,KAAK,CAAC;YACZ,IAAI,EAAE,MAAM,CAAA;YACZ,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;YAChB,OAAO,EAAE,MAAM,CAAA;SAChB,CAAC,CAAA;KACH,CAAA;CACF;AAED,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAOpC"}
@@ -0,0 +1,4 @@
1
+ import type { CResult } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function fetchPurlsShallowScore(purls: string[]): Promise<CResult<SocketSdkReturnType<'batchPackageFetch'>>>;
4
+ //# sourceMappingURL=fetch-purls-shallow-score.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-purls-shallow-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/fetch-purls-shallow-score.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,MAAM,EAAE,GACd,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CA8B5D"}
@@ -0,0 +1,3 @@
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handlePurlDeepScore(purl: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-purl-deep-score.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-purl-deep-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/handle-purl-deep-score.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,UAAU,iBAKvB"}
@@ -0,0 +1,6 @@
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handlePurlsShallowScore({ outputKind, purls }: {
3
+ outputKind: OutputKind;
4
+ purls: string[];
5
+ }): Promise<void>;
6
+ //# sourceMappingURL=handle-purls-shallow-score.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-purls-shallow-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/handle-purls-shallow-score.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAW,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAG1D,wBAAsB,uBAAuB,CAAC,EAC5C,UAAU,EACV,KAAK,EACN,EAAE;IACD,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB,iBAQA"}
@@ -0,0 +1,4 @@
1
+ import type { PurlDataResponse } from './fetch-purl-deep-score.mts';
2
+ import type { CResult, OutputKind } from '../../types.mts';
3
+ export declare function outputPurlScore(purl: string, result: CResult<PurlDataResponse>, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-purl-score.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-purl-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/output-purl-score.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,EACjC,UAAU,EAAE,UAAU,iBAuMvB"}
@@ -0,0 +1,4 @@
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketArtifact } from '../../utils/alert/artifact.mts';
3
+ export declare function outputPurlsShallowScore(purls: string[], result: CResult<SocketArtifact[]>, outputKind: OutputKind): void;
4
+ //# sourceMappingURL=output-purls-shallow-score.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-purls-shallow-score.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/output-purls-shallow-score.mts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAGpE,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,EAAE,EACf,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC,EACjC,UAAU,EAAE,UAAU,GACrB,IAAI,CAkEN"}
@@ -0,0 +1,9 @@
1
+ // Either an ecosystem was given or all args must be (namespaced) purls
2
+ // The `pkg:` part is optional here. We'll scan for `eco/name@version`.
3
+ // Not hardcoding the namespace since we don't know what the server accepts.
4
+ // The ecosystem is considered as the first package if it is not an a-z string.
5
+ export declare function parsePackageSpecifiers(ecosystem: string, pkgs: string[]): {
6
+ purls: string[];
7
+ valid: boolean;
8
+ };
9
+ //# sourceMappingURL=parse-package-specifiers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse-package-specifiers.d.mts","sourceRoot":"","sources":["../../../../src/commands/package/parse-package-specifiers.mts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,uEAAuE;AACvE,4EAA4E;AAC5E,+EAA+E;AAC/E,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EAAE,GACb;IAAE,KAAK,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CA4CrC"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdRawNpm: {
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-raw-npm.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-raw-npm.d.mts","sourceRoot":"","sources":["../../../../src/commands/raw-npm/cmd-raw-npm.mts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS;;;;CAIrB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAef"}
@@ -0,0 +1,2 @@
1
+ export declare function runRawNpm(argv: string[] | readonly string[]): Promise<void>;
2
+ //# sourceMappingURL=run-raw-npm.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-raw-npm.d.mts","sourceRoot":"","sources":["../../../../src/commands/raw-npm/run-raw-npm.mts"],"names":[],"mappings":"AAKA,wBAAsB,SAAS,CAC7B,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GACjC,OAAO,CAAC,IAAI,CAAC,CAgBf"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdRawNpx: {
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-raw-npx.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-raw-npx.d.mts","sourceRoot":"","sources":["../../../../src/commands/raw-npx/cmd-raw-npx.mts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS;;;;CAIrB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAef"}
@@ -0,0 +1,2 @@
1
+ export declare function runRawNpx(argv: string[] | readonly string[]): Promise<void>;
2
+ //# sourceMappingURL=run-raw-npx.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-raw-npx.d.mts","sourceRoot":"","sources":["../../../../src/commands/raw-npx/run-raw-npx.mts"],"names":[],"mappings":"AAKA,wBAAsB,SAAS,CAC7B,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GACjC,OAAO,CAAC,IAAI,CAAC,CAgBf"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdReportCreate: {
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-report-create.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-report-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/report/cmd-report-create.mts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AAED,iBAAe,GAAG,CAChB,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,CAaf"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdReportView: {
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-report-view.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-report-view.d.mts","sourceRoot":"","sources":["../../../../src/commands/report/cmd-report-view.mts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,aAAa;;;;CAIzB,CAAA;AAED,iBAAe,GAAG,CAChB,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,CAaf"}
@@ -0,0 +1,3 @@
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdReport: CliSubcommand;
3
+ //# sourceMappingURL=cmd-report.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/report/cmd-report.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,SAAS,EAAE,aAiBvB,CAAA"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdReposCreate: {
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-repos-create.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-repos-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/cmd-repos-create.mts"],"names":[],"mappings":"AAkFA,eAAO,MAAM,cAAc;;;;CAI1B,CAAA;AAED,iBAAe,GAAG,CAChB,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,CAoFf"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdReposDel: {
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-repos-del.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-repos-del.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/cmd-repos-del.mts"],"names":[],"mappings":"AAoDA,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,iBAAe,GAAG,CAChB,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,CA6Df"}
@@ -0,0 +1,10 @@
1
+ export declare const cmdReposList: {
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-repos-list.d.mts.map