@socketsecurity/cli 1.14.1 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (784) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +42 -10
  3. package/dist/.config/tsconfig.dts.tsbuildinfo +1 -0
  4. package/dist/cli.js +2811 -1149
  5. package/dist/cli.js.map +1 -1
  6. package/dist/constants.js +53 -19
  7. package/dist/constants.js.map +1 -1
  8. package/dist/manifest-scripts/dotnet-tool/socket-facts-dotnet.deps.json +2 -1
  9. package/dist/manifest-scripts/dotnet-tool/socket-facts-dotnet.dll +0 -0
  10. package/dist/manifest-scripts/maven-extension/coana-maven-extension.jar +0 -0
  11. package/dist/shadow-npm-bin2.js +5 -2
  12. package/dist/shadow-npm-bin2.js.map +1 -1
  13. package/dist/shadow-pnpm-bin2.js +3 -2
  14. package/dist/shadow-pnpm-bin2.js.map +1 -1
  15. package/dist/shadow-yarn-bin.js +4 -2
  16. package/dist/shadow-yarn-bin.js.map +1 -1
  17. package/dist/types/cli.d.mts +0 -1
  18. package/dist/types/commands/analytics/cmd-analytics.d.mts +0 -1
  19. package/dist/types/commands/analytics/fetch-org-analytics.d.mts +0 -1
  20. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +0 -1
  21. package/dist/types/commands/analytics/handle-analytics.d.mts +0 -1
  22. package/dist/types/commands/analytics/output-analytics.d.mts +0 -1
  23. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +0 -1
  24. package/dist/types/commands/audit-log/fetch-audit-log.d.mts +0 -1
  25. package/dist/types/commands/audit-log/handle-audit-log.d.mts +0 -1
  26. package/dist/types/commands/audit-log/output-audit-log.d.mts +0 -1
  27. package/dist/types/commands/ci/cmd-ci.d.mts +0 -1
  28. package/dist/types/commands/ci/fetch-default-org-slug.d.mts +0 -1
  29. package/dist/types/commands/ci/handle-ci.d.mts +0 -1
  30. package/dist/types/commands/config/cmd-config-auto.d.mts +0 -1
  31. package/dist/types/commands/config/cmd-config-get.d.mts +0 -1
  32. package/dist/types/commands/config/cmd-config-list.d.mts +0 -1
  33. package/dist/types/commands/config/cmd-config-set.d.mts +0 -1
  34. package/dist/types/commands/config/cmd-config-unset.d.mts +0 -1
  35. package/dist/types/commands/config/cmd-config.d.mts +0 -1
  36. package/dist/types/commands/config/discover-config-value.d.mts +0 -1
  37. package/dist/types/commands/config/handle-config-auto.d.mts +0 -1
  38. package/dist/types/commands/config/handle-config-get.d.mts +0 -1
  39. package/dist/types/commands/config/handle-config-set.d.mts +0 -1
  40. package/dist/types/commands/config/handle-config-unset.d.mts +0 -1
  41. package/dist/types/commands/config/output-config-auto.d.mts +0 -1
  42. package/dist/types/commands/config/output-config-get.d.mts +0 -1
  43. package/dist/types/commands/config/output-config-list.d.mts +0 -1
  44. package/dist/types/commands/config/output-config-set.d.mts +0 -1
  45. package/dist/types/commands/config/output-config-unset.d.mts +0 -1
  46. package/dist/types/commands/fix/branch-cleanup.d.mts +0 -1
  47. package/dist/types/commands/fix/cmd-fix.d.mts +0 -1
  48. package/dist/types/commands/fix/coana-fix.d.mts +0 -1
  49. package/dist/types/commands/fix/env-helpers.d.mts +0 -1
  50. package/dist/types/commands/fix/generated-socket-facts.d.mts +2 -1
  51. package/dist/types/commands/fix/git.d.mts +0 -1
  52. package/dist/types/commands/fix/handle-fix.d.mts +0 -1
  53. package/dist/types/commands/fix/output-fix-result.d.mts +0 -1
  54. package/dist/types/commands/fix/pull-request.d.mts +0 -1
  55. package/dist/types/commands/fix/types.d.mts +0 -1
  56. package/dist/types/commands/install/cmd-install-completion.d.mts +0 -1
  57. package/dist/types/commands/install/cmd-install.d.mts +0 -1
  58. package/dist/types/commands/install/handle-install-completion.d.mts +0 -1
  59. package/dist/types/commands/install/output-install-completion.d.mts +0 -1
  60. package/dist/types/commands/install/setup-tab-completion.d.mts +0 -1
  61. package/dist/types/commands/json/cmd-json.d.mts +0 -1
  62. package/dist/types/commands/json/handle-cmd-json.d.mts +0 -1
  63. package/dist/types/commands/json/output-cmd-json.d.mts +0 -1
  64. package/dist/types/commands/login/apply-login.d.mts +0 -1
  65. package/dist/types/commands/login/attempt-login.d.mts +5 -2
  66. package/dist/types/commands/login/cmd-login.d.mts +0 -1
  67. package/dist/types/commands/logout/apply-logout.d.mts +0 -1
  68. package/dist/types/commands/logout/attempt-logout.d.mts +1 -2
  69. package/dist/types/commands/logout/cmd-logout.d.mts +0 -1
  70. package/dist/types/commands/manifest/bazel/bazel-socket-json-trust.d.mts +34 -0
  71. package/dist/types/commands/manifest/bazel/{bazel-bin-detect.d.mts → bin-detect.d.mts} +0 -1
  72. package/dist/types/commands/manifest/bazel/{bazel-cleanup.d.mts → cleanup.d.mts} +1 -2
  73. package/dist/types/commands/manifest/bazel/cmd-manifest-bazel.d.mts +0 -1
  74. package/dist/types/commands/manifest/bazel/{bazel-cquery.d.mts → cquery.d.mts} +1 -2
  75. package/dist/types/commands/manifest/bazel/extract_bazel_to_maven.d.mts +1 -2
  76. package/dist/types/commands/manifest/bazel/extract_bazel_to_pypi.d.mts +1 -1
  77. package/dist/types/commands/manifest/bazel/{bazel-java-shim.d.mts → java-shim.d.mts} +0 -1
  78. package/dist/types/commands/manifest/bazel/{bazel-output-base-check.d.mts → output-base-check.d.mts} +0 -1
  79. package/dist/types/commands/manifest/bazel/paths/manifest.d.mts +7 -0
  80. package/dist/types/commands/manifest/bazel/{bazel-process.d.mts → process.d.mts} +1 -1
  81. package/dist/types/commands/manifest/bazel/{bazel-pypi-discovery.d.mts → pypi-discovery.d.mts} +1 -2
  82. package/dist/types/commands/manifest/bazel/{bazel-pypi-parser.d.mts → pypi-parser.d.mts} +0 -1
  83. package/dist/types/commands/manifest/bazel/{bazel-python-shim.d.mts → python-shim.d.mts} +0 -1
  84. package/dist/types/commands/manifest/bazel/{bazel-query-runner.d.mts → query-runner.d.mts} +5 -6
  85. package/dist/types/commands/manifest/bazel/{bazel-repo-discovery.d.mts → repo-discovery.d.mts} +0 -1
  86. package/dist/types/commands/manifest/bazel/{bazel-workspace-detect.d.mts → workspace-detect.d.mts} +0 -1
  87. package/dist/types/commands/manifest/bazel/{bazel-workspace-walk.d.mts → workspace-walk.d.mts} +0 -1
  88. package/dist/types/commands/manifest/build-root-config.d.mts +27 -0
  89. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -1
  90. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -1
  91. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -1
  92. package/dist/types/commands/manifest/cmd-manifest-dotnet.d.mts +0 -1
  93. package/dist/types/commands/manifest/cmd-manifest-dynamic-sbom-inference.d.mts +0 -1
  94. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -1
  95. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -1
  96. package/dist/types/commands/manifest/cmd-manifest-maven.d.mts +0 -1
  97. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -1
  98. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +0 -1
  99. package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -1
  100. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +0 -1
  101. package/dist/types/commands/manifest/convert-dotnet-to-facts.d.mts +0 -1
  102. package/dist/types/commands/manifest/convert-gradle-to-facts.d.mts +0 -1
  103. package/dist/types/commands/manifest/convert-maven-to-facts.d.mts +0 -1
  104. package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts +0 -1
  105. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +0 -1
  106. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +0 -1
  107. package/dist/types/commands/manifest/detect-manifest-actions.d.mts +0 -1
  108. package/dist/types/commands/manifest/discover-manifest-roots.d.mts +23 -8
  109. package/dist/types/commands/manifest/enumerate-workspaces.d.mts +3 -5
  110. package/dist/types/commands/manifest/expand-env-var-refs.d.mts +0 -1
  111. package/dist/types/commands/manifest/generate-recursive-manifests.d.mts +15 -7
  112. package/dist/types/commands/manifest/generate_auto_manifest.d.mts +0 -1
  113. package/dist/types/commands/manifest/handle-manifest-conda.d.mts +0 -1
  114. package/dist/types/commands/manifest/handle-manifest-dynamic-sbom-inference.d.mts +0 -1
  115. package/dist/types/commands/manifest/handle-manifest-setup.d.mts +0 -1
  116. package/dist/types/commands/manifest/load-build.d.mts +19 -0
  117. package/dist/types/commands/manifest/manifest-flags.d.mts +0 -1
  118. package/dist/types/commands/manifest/output-manifest-dynamic-sbom-inference.d.mts +0 -1
  119. package/dist/types/commands/manifest/output-manifest-setup.d.mts +0 -1
  120. package/dist/types/commands/manifest/output-requirements.d.mts +0 -1
  121. package/dist/types/commands/manifest/parse-build-tool-opts.d.mts +0 -1
  122. package/dist/types/commands/manifest/run-cdxgen.d.mts +0 -1
  123. package/dist/types/commands/manifest/run-manifest-facts.d.mts +3 -1
  124. package/dist/types/commands/manifest/scripts/assemble.d.mts +0 -1
  125. package/dist/types/commands/manifest/scripts/build-tool.d.mts +9 -5
  126. package/dist/types/commands/manifest/scripts/exclude-paths-glob.d.mts +0 -1
  127. package/dist/types/commands/manifest/scripts/facts.d.mts +4 -3
  128. package/dist/types/commands/manifest/scripts/records.d.mts +2 -1
  129. package/dist/types/commands/manifest/scripts/resolution-report-gradle.d.mts +0 -1
  130. package/dist/types/commands/manifest/scripts/resolution-report-ivy.d.mts +0 -1
  131. package/dist/types/commands/manifest/scripts/resolution-report-maven.d.mts +0 -1
  132. package/dist/types/commands/manifest/scripts/resolution-report-nuget.d.mts +0 -1
  133. package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts +0 -1
  134. package/dist/types/commands/manifest/scripts/resolution-report.d.mts +0 -1
  135. package/dist/types/commands/manifest/scripts/run.d.mts +0 -1
  136. package/dist/types/commands/manifest/scripts/sidecar.d.mts +1 -3
  137. package/dist/types/commands/manifest/scripts/test/assemble-records.d.mts +1 -0
  138. package/dist/types/commands/manifest/setup-manifest-config.d.mts +0 -1
  139. package/dist/types/commands/manifest/setup-recursive-manifest-config.d.mts +10 -65
  140. package/dist/types/commands/npm/cmd-npm.d.mts +0 -1
  141. package/dist/types/commands/npx/cmd-npx.d.mts +0 -1
  142. package/dist/types/commands/oops/cmd-oops.d.mts +0 -1
  143. package/dist/types/commands/optimize/add-overrides.d.mts +0 -1
  144. package/dist/types/commands/optimize/apply-optimization.d.mts +0 -1
  145. package/dist/types/commands/optimize/cmd-optimize.d.mts +0 -1
  146. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +0 -1
  147. package/dist/types/commands/optimize/get-dependency-entries.d.mts +0 -1
  148. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +0 -1
  149. package/dist/types/commands/optimize/handle-optimize.d.mts +0 -1
  150. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +0 -1
  151. package/dist/types/commands/optimize/ls-by-agent.d.mts +0 -1
  152. package/dist/types/commands/optimize/output-optimize-result.d.mts +0 -1
  153. package/dist/types/commands/optimize/shared.d.mts +0 -1
  154. package/dist/types/commands/optimize/types.d.mts +0 -1
  155. package/dist/types/commands/optimize/update-lockfile.d.mts +0 -1
  156. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +0 -1
  157. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +0 -1
  158. package/dist/types/commands/organization/cmd-organization-list.d.mts +0 -1
  159. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +0 -1
  160. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +0 -1
  161. package/dist/types/commands/organization/cmd-organization-policy.d.mts +0 -1
  162. package/dist/types/commands/organization/cmd-organization-quota.d.mts +0 -1
  163. package/dist/types/commands/organization/cmd-organization.d.mts +0 -1
  164. package/dist/types/commands/organization/dependencies-filters.d.mts +10 -0
  165. package/dist/types/commands/organization/fetch-dependencies.d.mts +1 -1
  166. package/dist/types/commands/organization/fetch-license-policy.d.mts +0 -1
  167. package/dist/types/commands/organization/fetch-organization-list.d.mts +0 -1
  168. package/dist/types/commands/organization/fetch-quota.d.mts +0 -1
  169. package/dist/types/commands/organization/fetch-security-policy.d.mts +0 -1
  170. package/dist/types/commands/organization/handle-dependencies.d.mts +2 -2
  171. package/dist/types/commands/organization/handle-license-policy.d.mts +0 -1
  172. package/dist/types/commands/organization/handle-organization-list.d.mts +0 -1
  173. package/dist/types/commands/organization/handle-quota.d.mts +0 -1
  174. package/dist/types/commands/organization/handle-security-policy.d.mts +0 -1
  175. package/dist/types/commands/organization/output-dependencies.d.mts +0 -1
  176. package/dist/types/commands/organization/output-license-policy.d.mts +0 -1
  177. package/dist/types/commands/organization/output-organization-list.d.mts +0 -1
  178. package/dist/types/commands/organization/output-quota.d.mts +0 -1
  179. package/dist/types/commands/organization/output-security-policy.d.mts +0 -1
  180. package/dist/types/commands/package/cmd-package-score.d.mts +0 -1
  181. package/dist/types/commands/package/cmd-package-shallow.d.mts +0 -1
  182. package/dist/types/commands/package/cmd-package.d.mts +0 -1
  183. package/dist/types/commands/package/fetch-purl-deep-score.d.mts +0 -1
  184. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +0 -1
  185. package/dist/types/commands/package/handle-purl-deep-score.d.mts +0 -1
  186. package/dist/types/commands/package/handle-purls-shallow-score.d.mts +0 -1
  187. package/dist/types/commands/package/output-purls-deep-score.d.mts +0 -1
  188. package/dist/types/commands/package/output-purls-shallow-score.d.mts +0 -1
  189. package/dist/types/commands/package/parse-package-specifiers.d.mts +0 -1
  190. package/dist/types/commands/patch/cmd-patch.d.mts +0 -1
  191. package/dist/types/commands/pnpm/cmd-pnpm.d.mts +0 -1
  192. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -1
  193. package/dist/types/commands/raw-npm/run-raw-npm.d.mts +0 -1
  194. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +0 -1
  195. package/dist/types/commands/raw-npx/run-raw-npx.d.mts +0 -1
  196. package/dist/types/commands/repository/cmd-repository-create.d.mts +0 -1
  197. package/dist/types/commands/repository/cmd-repository-del.d.mts +0 -1
  198. package/dist/types/commands/repository/cmd-repository-list.d.mts +0 -1
  199. package/dist/types/commands/repository/cmd-repository-update.d.mts +0 -1
  200. package/dist/types/commands/repository/cmd-repository-view.d.mts +0 -1
  201. package/dist/types/commands/repository/cmd-repository.d.mts +0 -1
  202. package/dist/types/commands/repository/fetch-create-repo.d.mts +0 -1
  203. package/dist/types/commands/repository/fetch-delete-repo.d.mts +0 -1
  204. package/dist/types/commands/repository/fetch-list-all-repos.d.mts +0 -1
  205. package/dist/types/commands/repository/fetch-list-repos.d.mts +0 -1
  206. package/dist/types/commands/repository/fetch-update-repo.d.mts +0 -1
  207. package/dist/types/commands/repository/fetch-view-repo.d.mts +0 -1
  208. package/dist/types/commands/repository/handle-create-repo.d.mts +0 -1
  209. package/dist/types/commands/repository/handle-delete-repo.d.mts +0 -1
  210. package/dist/types/commands/repository/handle-list-repos.d.mts +0 -1
  211. package/dist/types/commands/repository/handle-update-repo.d.mts +0 -1
  212. package/dist/types/commands/repository/handle-view-repo.d.mts +0 -1
  213. package/dist/types/commands/repository/output-create-repo.d.mts +0 -1
  214. package/dist/types/commands/repository/output-delete-repo.d.mts +0 -1
  215. package/dist/types/commands/repository/output-list-repos.d.mts +0 -1
  216. package/dist/types/commands/repository/output-update-repo.d.mts +0 -1
  217. package/dist/types/commands/repository/output-view-repo.d.mts +0 -1
  218. package/dist/types/commands/repository/types.d.mts +0 -1
  219. package/dist/types/commands/scan/cmd-scan-create.d.mts +0 -1
  220. package/dist/types/commands/scan/cmd-scan-del.d.mts +0 -1
  221. package/dist/types/commands/scan/cmd-scan-diff.d.mts +0 -1
  222. package/dist/types/commands/scan/cmd-scan-github.d.mts +0 -1
  223. package/dist/types/commands/scan/cmd-scan-list.d.mts +0 -1
  224. package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -1
  225. package/dist/types/commands/scan/cmd-scan-reach.d.mts +0 -1
  226. package/dist/types/commands/scan/cmd-scan-report.d.mts +0 -1
  227. package/dist/types/commands/scan/cmd-scan-setup.d.mts +0 -1
  228. package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -1
  229. package/dist/types/commands/scan/cmd-scan.d.mts +0 -1
  230. package/dist/types/commands/scan/create-scan-from-github.d.mts +0 -1
  231. package/dist/types/commands/scan/exclude-paths.d.mts +0 -1
  232. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +0 -1
  233. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +0 -1
  234. package/dist/types/commands/scan/fetch-diff-scan.d.mts +0 -1
  235. package/dist/types/commands/scan/fetch-list-scans.d.mts +0 -1
  236. package/dist/types/commands/scan/fetch-report-data.d.mts +1 -9
  237. package/dist/types/commands/scan/fetch-scan-metadata.d.mts +0 -1
  238. package/dist/types/commands/scan/fetch-scan.d.mts +0 -1
  239. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +0 -1
  240. package/dist/types/commands/scan/finalize-tier1-scan.d.mts +0 -1
  241. package/dist/types/commands/scan/generate-report.d.mts +1 -3
  242. package/dist/types/commands/scan/generate-uv-member-sboms.d.mts +0 -1
  243. package/dist/types/commands/scan/handle-create-github-scan.d.mts +0 -1
  244. package/dist/types/commands/scan/handle-create-new-scan.d.mts +0 -1
  245. package/dist/types/commands/scan/handle-delete-scan.d.mts +0 -1
  246. package/dist/types/commands/scan/handle-diff-scan.d.mts +0 -1
  247. package/dist/types/commands/scan/handle-list-scans.d.mts +0 -1
  248. package/dist/types/commands/scan/handle-scan-config.d.mts +0 -1
  249. package/dist/types/commands/scan/handle-scan-metadata.d.mts +0 -1
  250. package/dist/types/commands/scan/handle-scan-reach.d.mts +0 -1
  251. package/dist/types/commands/scan/handle-scan-report.d.mts +0 -1
  252. package/dist/types/commands/scan/handle-scan-view.d.mts +0 -1
  253. package/dist/types/commands/scan/output-create-new-scan.d.mts +0 -1
  254. package/dist/types/commands/scan/output-delete-scan.d.mts +0 -1
  255. package/dist/types/commands/scan/output-diff-scan.d.mts +0 -1
  256. package/dist/types/commands/scan/output-list-scans.d.mts +0 -1
  257. package/dist/types/commands/scan/output-scan-config-result.d.mts +0 -1
  258. package/dist/types/commands/scan/output-scan-github.d.mts +0 -1
  259. package/dist/types/commands/scan/output-scan-metadata.d.mts +0 -1
  260. package/dist/types/commands/scan/output-scan-reach.d.mts +0 -1
  261. package/dist/types/commands/scan/output-scan-report.d.mts +12 -3
  262. package/dist/types/commands/scan/output-scan-view.d.mts +0 -1
  263. package/dist/types/commands/scan/perform-reachability-analysis.d.mts +0 -2
  264. package/dist/types/commands/scan/reach-advisories.d.mts +0 -1
  265. package/dist/types/commands/scan/reachability-flags.d.mts +0 -1
  266. package/dist/types/commands/scan/reachability-units.d.mts +0 -1
  267. package/dist/types/commands/scan/run-dynamic-sbom-inference.d.mts +5 -1
  268. package/dist/types/commands/scan/setup-scan-config.d.mts +0 -1
  269. package/dist/types/commands/scan/stream-scan.d.mts +0 -1
  270. package/dist/types/commands/scan/suggest-org-slug.d.mts +0 -1
  271. package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts +0 -1
  272. package/dist/types/commands/scan/suggest_branch_slug.d.mts +0 -1
  273. package/dist/types/commands/scan/suggest_target.d.mts +0 -1
  274. package/dist/types/commands/scan/types.d.mts +0 -1
  275. package/dist/types/commands/scan/validate-reachability-target.d.mts +0 -1
  276. package/dist/types/commands/scan/warn-socket-json-only-flags.d.mts +0 -1
  277. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +0 -1
  278. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +0 -1
  279. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +0 -1
  280. package/dist/types/commands/threat-feed/output-threat-feed.d.mts +0 -1
  281. package/dist/types/commands/threat-feed/types.d.mts +0 -1
  282. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +0 -1
  283. package/dist/types/commands/uninstall/cmd-uninstall.d.mts +0 -1
  284. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +0 -1
  285. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +0 -1
  286. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +0 -1
  287. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +0 -1
  288. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +0 -1
  289. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +0 -1
  290. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +0 -1
  291. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +0 -1
  292. package/dist/types/commands/yarn/cmd-yarn.d.mts +0 -1
  293. package/dist/types/commands.d.mts +0 -1
  294. package/dist/types/constants.d.mts +9 -6
  295. package/dist/types/flags.d.mts +0 -1
  296. package/dist/types/instrument-with-sentry.d.mts +0 -1
  297. package/dist/types/npm-cli.d.mts +0 -1
  298. package/dist/types/npx-cli.d.mts +0 -1
  299. package/dist/types/pnpm-cli.d.mts +0 -1
  300. package/dist/types/sea/adapters/cdxgen.d.mts +8 -0
  301. package/dist/types/sea/adapters/synp.d.mts +9 -0
  302. package/dist/types/sea/archive-paths.d.mts +6 -0
  303. package/dist/types/sea/bootstrap.d.mts +0 -1
  304. package/dist/types/sea/build/lock.d.mts +2 -0
  305. package/dist/types/sea/build/publish.d.mts +13 -0
  306. package/dist/types/sea/build-sea.d.mts +14 -24
  307. package/dist/types/sea/capabilities.d.mts +21 -0
  308. package/dist/types/sea/download-bytes.d.mts +14 -0
  309. package/dist/types/sea/download-cache.d.mts +15 -0
  310. package/dist/types/sea/node-version.d.mts +1 -0
  311. package/dist/types/sea/readme-version.d.mts +4 -0
  312. package/dist/types/sea/runtime.d.mts +34 -0
  313. package/dist/types/sea/stage/synp.d.mts +15 -0
  314. package/dist/types/sea/stage/uv.d.mts +34 -0
  315. package/dist/types/sea/version.d.mts +34 -0
  316. package/dist/types/shadow/common.d.mts +0 -1
  317. package/dist/types/shadow/npm/arborist/index.d.mts +0 -1
  318. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +0 -1
  319. package/dist/types/shadow/npm/arborist/types.d.mts +0 -1
  320. package/dist/types/shadow/npm/arborist-helpers.d.mts +0 -1
  321. package/dist/types/shadow/npm/bin.d.mts +0 -1
  322. package/dist/types/shadow/npm/inject.d.mts +0 -1
  323. package/dist/types/shadow/npm/install.d.mts +0 -1
  324. package/dist/types/shadow/npm/paths.d.mts +0 -1
  325. package/dist/types/shadow/npm-base.d.mts +0 -1
  326. package/dist/types/shadow/npx/bin.d.mts +0 -1
  327. package/dist/types/shadow/pnpm/bin.d.mts +0 -1
  328. package/dist/types/shadow/stdio-ipc.d.mts +0 -1
  329. package/dist/types/shadow/yarn/bin.d.mts +0 -1
  330. package/dist/types/test/json-output-validation.d.mts +0 -1
  331. package/dist/types/test/mocks/socket-auth.d.mts +0 -1
  332. package/dist/types/types.d.mts +0 -1
  333. package/dist/types/utils/advisory-ids.d.mts +0 -1
  334. package/dist/types/utils/agent.d.mts +5 -11
  335. package/dist/types/utils/alert/artifact.d.mts +0 -1
  336. package/dist/types/utils/alert/fix.d.mts +0 -1
  337. package/dist/types/utils/alert/severity.d.mts +0 -1
  338. package/dist/types/utils/alerts-map.d.mts +0 -1
  339. package/dist/types/utils/api-transport.d.mts +3 -0
  340. package/dist/types/utils/api.d.mts +4 -2
  341. package/dist/types/utils/check-input.d.mts +0 -1
  342. package/dist/types/utils/cmd.d.mts +0 -1
  343. package/dist/types/utils/coana-release.d.mts +5 -1
  344. package/dist/types/utils/coana.d.mts +0 -1
  345. package/dist/types/utils/color-or-markdown.d.mts +0 -1
  346. package/dist/types/utils/completion.d.mts +0 -1
  347. package/dist/types/utils/config.d.mts +1 -1
  348. package/dist/types/utils/cve-to-ghsa.d.mts +0 -1
  349. package/dist/types/utils/debug.d.mts +0 -1
  350. package/dist/types/utils/determine-org-slug.d.mts +0 -1
  351. package/dist/types/utils/dlx-detection.d.mts +0 -1
  352. package/dist/types/utils/dlx.d.mts +0 -1
  353. package/dist/types/utils/ecosystem.d.mts +0 -1
  354. package/dist/types/utils/editable-json.d.mts +0 -1
  355. package/dist/types/utils/errors.d.mts +0 -1
  356. package/dist/types/utils/extract-names.d.mts +0 -1
  357. package/dist/types/utils/fail-msg-with-badge.d.mts +0 -1
  358. package/dist/types/utils/filter-config.d.mts +0 -1
  359. package/dist/types/utils/fs.d.mts +0 -1
  360. package/dist/types/utils/get-or-insert.d.mts +0 -1
  361. package/dist/types/utils/get-output-kind.d.mts +0 -1
  362. package/dist/types/utils/git.d.mts +0 -1
  363. package/dist/types/utils/github-errors.d.mts +0 -1
  364. package/dist/types/utils/github.d.mts +0 -1
  365. package/dist/types/utils/glob.d.mts +0 -1
  366. package/dist/types/utils/lockfile.d.mts +0 -1
  367. package/dist/types/utils/map-to-object.d.mts +0 -1
  368. package/dist/types/utils/markdown.d.mts +0 -1
  369. package/dist/types/utils/meow-with-subcommands.d.mts +0 -1
  370. package/dist/types/utils/ms-at-home.d.mts +0 -1
  371. package/dist/types/utils/npm-config.d.mts +0 -1
  372. package/dist/types/utils/npm-package-arg.d.mts +0 -1
  373. package/dist/types/utils/npm-paths.d.mts +0 -1
  374. package/dist/types/utils/npm-spec.d.mts +0 -1
  375. package/dist/types/utils/oauth.d.mts +32 -0
  376. package/dist/types/utils/objects.d.mts +0 -1
  377. package/dist/types/utils/organization.d.mts +0 -1
  378. package/dist/types/utils/output-formatting.d.mts +0 -1
  379. package/dist/types/utils/package-environment.d.mts +0 -1
  380. package/dist/types/utils/package-manager.d.mts +2 -3
  381. package/dist/types/utils/path-resolve.d.mts +0 -1
  382. package/dist/types/utils/pnpm-paths.d.mts +0 -1
  383. package/dist/types/utils/pnpm.d.mts +0 -1
  384. package/dist/types/utils/purl-to-ghsa.d.mts +0 -1
  385. package/dist/types/utils/purl.d.mts +0 -1
  386. package/dist/types/utils/quote-powershell.d.mts +2 -0
  387. package/dist/types/utils/requirements.d.mts +0 -1
  388. package/dist/types/utils/sdk.d.mts +14 -7
  389. package/dist/types/utils/self-update.d.mts +2 -1
  390. package/dist/types/utils/semver.d.mts +0 -1
  391. package/dist/types/utils/serialize-result-json.d.mts +0 -1
  392. package/dist/types/utils/shadow-links.d.mts +0 -1
  393. package/dist/types/utils/socket-json.d.mts +15 -5
  394. package/dist/types/utils/socket-package-alert.d.mts +0 -1
  395. package/dist/types/utils/socket-url.d.mts +0 -1
  396. package/dist/types/utils/spec.d.mts +0 -1
  397. package/dist/types/utils/strings.d.mts +0 -1
  398. package/dist/types/utils/telemetry/integration.d.mts +0 -1
  399. package/dist/types/utils/telemetry/service.d.mts +0 -1
  400. package/dist/types/utils/telemetry/types.d.mts +0 -1
  401. package/dist/types/utils/terminal-link.d.mts +0 -1
  402. package/dist/types/utils/tildify.d.mts +0 -1
  403. package/dist/types/utils/translations.d.mts +0 -1
  404. package/dist/types/utils/walk-nested-map.d.mts +0 -1
  405. package/dist/types/utils/yarn-paths.d.mts +0 -1
  406. package/dist/types/utils/yarn-version.d.mts +0 -1
  407. package/dist/types/yarn-cli.d.mts +0 -1
  408. package/dist/utils.js +1318 -244
  409. package/dist/utils.js.map +1 -1
  410. package/dist/vendor.js +567 -567
  411. package/external/@socketsecurity/registry/lib/packages.js +12 -9
  412. package/package.json +30 -10
  413. package/requirements.json +2 -2
  414. package/dist/tsconfig.dts.tsbuildinfo +0 -1
  415. package/dist/types/cli.d.mts.map +0 -1
  416. package/dist/types/commands/analytics/cmd-analytics.d.mts.map +0 -1
  417. package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +0 -1
  418. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +0 -1
  419. package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
  420. package/dist/types/commands/analytics/output-analytics.d.mts.map +0 -1
  421. package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +0 -1
  422. package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +0 -1
  423. package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +0 -1
  424. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +0 -1
  425. package/dist/types/commands/ci/cmd-ci.d.mts.map +0 -1
  426. package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +0 -1
  427. package/dist/types/commands/ci/handle-ci.d.mts.map +0 -1
  428. package/dist/types/commands/config/cmd-config-auto.d.mts.map +0 -1
  429. package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
  430. package/dist/types/commands/config/cmd-config-list.d.mts.map +0 -1
  431. package/dist/types/commands/config/cmd-config-set.d.mts.map +0 -1
  432. package/dist/types/commands/config/cmd-config-unset.d.mts.map +0 -1
  433. package/dist/types/commands/config/cmd-config.d.mts.map +0 -1
  434. package/dist/types/commands/config/discover-config-value.d.mts.map +0 -1
  435. package/dist/types/commands/config/handle-config-auto.d.mts.map +0 -1
  436. package/dist/types/commands/config/handle-config-get.d.mts.map +0 -1
  437. package/dist/types/commands/config/handle-config-set.d.mts.map +0 -1
  438. package/dist/types/commands/config/handle-config-unset.d.mts.map +0 -1
  439. package/dist/types/commands/config/output-config-auto.d.mts.map +0 -1
  440. package/dist/types/commands/config/output-config-get.d.mts.map +0 -1
  441. package/dist/types/commands/config/output-config-list.d.mts.map +0 -1
  442. package/dist/types/commands/config/output-config-set.d.mts.map +0 -1
  443. package/dist/types/commands/config/output-config-unset.d.mts.map +0 -1
  444. package/dist/types/commands/fix/branch-cleanup.d.mts.map +0 -1
  445. package/dist/types/commands/fix/cmd-fix.d.mts.map +0 -1
  446. package/dist/types/commands/fix/coana-fix.d.mts.map +0 -1
  447. package/dist/types/commands/fix/env-helpers.d.mts.map +0 -1
  448. package/dist/types/commands/fix/generated-socket-facts.d.mts.map +0 -1
  449. package/dist/types/commands/fix/git.d.mts.map +0 -1
  450. package/dist/types/commands/fix/handle-fix.d.mts.map +0 -1
  451. package/dist/types/commands/fix/output-fix-result.d.mts.map +0 -1
  452. package/dist/types/commands/fix/pull-request.d.mts.map +0 -1
  453. package/dist/types/commands/fix/types.d.mts.map +0 -1
  454. package/dist/types/commands/install/cmd-install-completion.d.mts.map +0 -1
  455. package/dist/types/commands/install/cmd-install.d.mts.map +0 -1
  456. package/dist/types/commands/install/handle-install-completion.d.mts.map +0 -1
  457. package/dist/types/commands/install/output-install-completion.d.mts.map +0 -1
  458. package/dist/types/commands/install/setup-tab-completion.d.mts.map +0 -1
  459. package/dist/types/commands/json/cmd-json.d.mts.map +0 -1
  460. package/dist/types/commands/json/handle-cmd-json.d.mts.map +0 -1
  461. package/dist/types/commands/json/output-cmd-json.d.mts.map +0 -1
  462. package/dist/types/commands/login/apply-login.d.mts.map +0 -1
  463. package/dist/types/commands/login/attempt-login.d.mts.map +0 -1
  464. package/dist/types/commands/login/cmd-login.d.mts.map +0 -1
  465. package/dist/types/commands/logout/apply-logout.d.mts.map +0 -1
  466. package/dist/types/commands/logout/attempt-logout.d.mts.map +0 -1
  467. package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
  468. package/dist/types/commands/manifest/bazel/bazel-bin-detect.d.mts.map +0 -1
  469. package/dist/types/commands/manifest/bazel/bazel-cleanup.d.mts.map +0 -1
  470. package/dist/types/commands/manifest/bazel/bazel-cquery.d.mts.map +0 -1
  471. package/dist/types/commands/manifest/bazel/bazel-java-shim.d.mts.map +0 -1
  472. package/dist/types/commands/manifest/bazel/bazel-output-base-check.d.mts.map +0 -1
  473. package/dist/types/commands/manifest/bazel/bazel-process.d.mts.map +0 -1
  474. package/dist/types/commands/manifest/bazel/bazel-pypi-discovery.d.mts.map +0 -1
  475. package/dist/types/commands/manifest/bazel/bazel-pypi-parser.d.mts.map +0 -1
  476. package/dist/types/commands/manifest/bazel/bazel-python-shim.d.mts.map +0 -1
  477. package/dist/types/commands/manifest/bazel/bazel-query-runner.d.mts.map +0 -1
  478. package/dist/types/commands/manifest/bazel/bazel-repo-discovery.d.mts.map +0 -1
  479. package/dist/types/commands/manifest/bazel/bazel-workspace-detect.d.mts.map +0 -1
  480. package/dist/types/commands/manifest/bazel/bazel-workspace-walk.d.mts.map +0 -1
  481. package/dist/types/commands/manifest/bazel/cmd-manifest-bazel.d.mts.map +0 -1
  482. package/dist/types/commands/manifest/bazel/extract_bazel_to_maven.d.mts.map +0 -1
  483. package/dist/types/commands/manifest/bazel/extract_bazel_to_pypi.d.mts.map +0 -1
  484. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
  485. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
  486. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
  487. package/dist/types/commands/manifest/cmd-manifest-dotnet.d.mts.map +0 -1
  488. package/dist/types/commands/manifest/cmd-manifest-dynamic-sbom-inference.d.mts.map +0 -1
  489. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
  490. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
  491. package/dist/types/commands/manifest/cmd-manifest-maven.d.mts.map +0 -1
  492. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
  493. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +0 -1
  494. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +0 -1
  495. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +0 -1
  496. package/dist/types/commands/manifest/convert-dotnet-to-facts.d.mts.map +0 -1
  497. package/dist/types/commands/manifest/convert-gradle-to-facts.d.mts.map +0 -1
  498. package/dist/types/commands/manifest/convert-maven-to-facts.d.mts.map +0 -1
  499. package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts.map +0 -1
  500. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +0 -1
  501. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +0 -1
  502. package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +0 -1
  503. package/dist/types/commands/manifest/discover-manifest-roots.d.mts.map +0 -1
  504. package/dist/types/commands/manifest/enumerate-workspaces.d.mts.map +0 -1
  505. package/dist/types/commands/manifest/expand-env-var-refs.d.mts.map +0 -1
  506. package/dist/types/commands/manifest/generate-recursive-manifests.d.mts.map +0 -1
  507. package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +0 -1
  508. package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +0 -1
  509. package/dist/types/commands/manifest/handle-manifest-dynamic-sbom-inference.d.mts.map +0 -1
  510. package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +0 -1
  511. package/dist/types/commands/manifest/manifest-flags.d.mts.map +0 -1
  512. package/dist/types/commands/manifest/output-manifest-dynamic-sbom-inference.d.mts.map +0 -1
  513. package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +0 -1
  514. package/dist/types/commands/manifest/output-requirements.d.mts.map +0 -1
  515. package/dist/types/commands/manifest/parse-build-tool-opts.d.mts.map +0 -1
  516. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +0 -1
  517. package/dist/types/commands/manifest/run-manifest-facts.d.mts.map +0 -1
  518. package/dist/types/commands/manifest/scripts/assemble.d.mts.map +0 -1
  519. package/dist/types/commands/manifest/scripts/build-tool.d.mts.map +0 -1
  520. package/dist/types/commands/manifest/scripts/exclude-paths-glob.d.mts.map +0 -1
  521. package/dist/types/commands/manifest/scripts/facts.d.mts.map +0 -1
  522. package/dist/types/commands/manifest/scripts/records.d.mts.map +0 -1
  523. package/dist/types/commands/manifest/scripts/resolution-report-gradle.d.mts.map +0 -1
  524. package/dist/types/commands/manifest/scripts/resolution-report-ivy.d.mts.map +0 -1
  525. package/dist/types/commands/manifest/scripts/resolution-report-maven.d.mts.map +0 -1
  526. package/dist/types/commands/manifest/scripts/resolution-report-nuget.d.mts.map +0 -1
  527. package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts.map +0 -1
  528. package/dist/types/commands/manifest/scripts/resolution-report.d.mts.map +0 -1
  529. package/dist/types/commands/manifest/scripts/run.d.mts.map +0 -1
  530. package/dist/types/commands/manifest/scripts/sidecar.d.mts.map +0 -1
  531. package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +0 -1
  532. package/dist/types/commands/manifest/setup-recursive-manifest-config.d.mts.map +0 -1
  533. package/dist/types/commands/npm/cmd-npm.d.mts.map +0 -1
  534. package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
  535. package/dist/types/commands/oops/cmd-oops.d.mts.map +0 -1
  536. package/dist/types/commands/optimize/add-overrides.d.mts.map +0 -1
  537. package/dist/types/commands/optimize/apply-optimization.d.mts.map +0 -1
  538. package/dist/types/commands/optimize/cmd-optimize.d.mts.map +0 -1
  539. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +0 -1
  540. package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +0 -1
  541. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +0 -1
  542. package/dist/types/commands/optimize/handle-optimize.d.mts.map +0 -1
  543. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +0 -1
  544. package/dist/types/commands/optimize/ls-by-agent.d.mts.map +0 -1
  545. package/dist/types/commands/optimize/output-optimize-result.d.mts.map +0 -1
  546. package/dist/types/commands/optimize/shared.d.mts.map +0 -1
  547. package/dist/types/commands/optimize/types.d.mts.map +0 -1
  548. package/dist/types/commands/optimize/update-lockfile.d.mts.map +0 -1
  549. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +0 -1
  550. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +0 -1
  551. package/dist/types/commands/organization/cmd-organization-list.d.mts.map +0 -1
  552. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +0 -1
  553. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +0 -1
  554. package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +0 -1
  555. package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +0 -1
  556. package/dist/types/commands/organization/cmd-organization.d.mts.map +0 -1
  557. package/dist/types/commands/organization/fetch-dependencies.d.mts.map +0 -1
  558. package/dist/types/commands/organization/fetch-license-policy.d.mts.map +0 -1
  559. package/dist/types/commands/organization/fetch-organization-list.d.mts.map +0 -1
  560. package/dist/types/commands/organization/fetch-quota.d.mts.map +0 -1
  561. package/dist/types/commands/organization/fetch-security-policy.d.mts.map +0 -1
  562. package/dist/types/commands/organization/handle-dependencies.d.mts.map +0 -1
  563. package/dist/types/commands/organization/handle-license-policy.d.mts.map +0 -1
  564. package/dist/types/commands/organization/handle-organization-list.d.mts.map +0 -1
  565. package/dist/types/commands/organization/handle-quota.d.mts.map +0 -1
  566. package/dist/types/commands/organization/handle-security-policy.d.mts.map +0 -1
  567. package/dist/types/commands/organization/output-dependencies.d.mts.map +0 -1
  568. package/dist/types/commands/organization/output-license-policy.d.mts.map +0 -1
  569. package/dist/types/commands/organization/output-organization-list.d.mts.map +0 -1
  570. package/dist/types/commands/organization/output-quota.d.mts.map +0 -1
  571. package/dist/types/commands/organization/output-security-policy.d.mts.map +0 -1
  572. package/dist/types/commands/package/cmd-package-score.d.mts.map +0 -1
  573. package/dist/types/commands/package/cmd-package-shallow.d.mts.map +0 -1
  574. package/dist/types/commands/package/cmd-package.d.mts.map +0 -1
  575. package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +0 -1
  576. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +0 -1
  577. package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +0 -1
  578. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +0 -1
  579. package/dist/types/commands/package/output-purls-deep-score.d.mts.map +0 -1
  580. package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +0 -1
  581. package/dist/types/commands/package/parse-package-specifiers.d.mts.map +0 -1
  582. package/dist/types/commands/patch/cmd-patch.d.mts.map +0 -1
  583. package/dist/types/commands/pnpm/cmd-pnpm.d.mts.map +0 -1
  584. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +0 -1
  585. package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +0 -1
  586. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +0 -1
  587. package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +0 -1
  588. package/dist/types/commands/repository/cmd-repository-create.d.mts.map +0 -1
  589. package/dist/types/commands/repository/cmd-repository-del.d.mts.map +0 -1
  590. package/dist/types/commands/repository/cmd-repository-list.d.mts.map +0 -1
  591. package/dist/types/commands/repository/cmd-repository-update.d.mts.map +0 -1
  592. package/dist/types/commands/repository/cmd-repository-view.d.mts.map +0 -1
  593. package/dist/types/commands/repository/cmd-repository.d.mts.map +0 -1
  594. package/dist/types/commands/repository/fetch-create-repo.d.mts.map +0 -1
  595. package/dist/types/commands/repository/fetch-delete-repo.d.mts.map +0 -1
  596. package/dist/types/commands/repository/fetch-list-all-repos.d.mts.map +0 -1
  597. package/dist/types/commands/repository/fetch-list-repos.d.mts.map +0 -1
  598. package/dist/types/commands/repository/fetch-update-repo.d.mts.map +0 -1
  599. package/dist/types/commands/repository/fetch-view-repo.d.mts.map +0 -1
  600. package/dist/types/commands/repository/handle-create-repo.d.mts.map +0 -1
  601. package/dist/types/commands/repository/handle-delete-repo.d.mts.map +0 -1
  602. package/dist/types/commands/repository/handle-list-repos.d.mts.map +0 -1
  603. package/dist/types/commands/repository/handle-update-repo.d.mts.map +0 -1
  604. package/dist/types/commands/repository/handle-view-repo.d.mts.map +0 -1
  605. package/dist/types/commands/repository/output-create-repo.d.mts.map +0 -1
  606. package/dist/types/commands/repository/output-delete-repo.d.mts.map +0 -1
  607. package/dist/types/commands/repository/output-list-repos.d.mts.map +0 -1
  608. package/dist/types/commands/repository/output-update-repo.d.mts.map +0 -1
  609. package/dist/types/commands/repository/output-view-repo.d.mts.map +0 -1
  610. package/dist/types/commands/repository/types.d.mts.map +0 -1
  611. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +0 -1
  612. package/dist/types/commands/scan/cmd-scan-del.d.mts.map +0 -1
  613. package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +0 -1
  614. package/dist/types/commands/scan/cmd-scan-github.d.mts.map +0 -1
  615. package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
  616. package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +0 -1
  617. package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +0 -1
  618. package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
  619. package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +0 -1
  620. package/dist/types/commands/scan/cmd-scan-view.d.mts.map +0 -1
  621. package/dist/types/commands/scan/cmd-scan.d.mts.map +0 -1
  622. package/dist/types/commands/scan/create-scan-from-github.d.mts.map +0 -1
  623. package/dist/types/commands/scan/exclude-paths.d.mts.map +0 -1
  624. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +0 -1
  625. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +0 -1
  626. package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +0 -1
  627. package/dist/types/commands/scan/fetch-list-scans.d.mts.map +0 -1
  628. package/dist/types/commands/scan/fetch-report-data.d.mts.map +0 -1
  629. package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +0 -1
  630. package/dist/types/commands/scan/fetch-scan.d.mts.map +0 -1
  631. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
  632. package/dist/types/commands/scan/finalize-tier1-scan.d.mts.map +0 -1
  633. package/dist/types/commands/scan/generate-report.d.mts.map +0 -1
  634. package/dist/types/commands/scan/generate-uv-member-sboms.d.mts.map +0 -1
  635. package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +0 -1
  636. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +0 -1
  637. package/dist/types/commands/scan/handle-delete-scan.d.mts.map +0 -1
  638. package/dist/types/commands/scan/handle-diff-scan.d.mts.map +0 -1
  639. package/dist/types/commands/scan/handle-list-scans.d.mts.map +0 -1
  640. package/dist/types/commands/scan/handle-scan-config.d.mts.map +0 -1
  641. package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +0 -1
  642. package/dist/types/commands/scan/handle-scan-reach.d.mts.map +0 -1
  643. package/dist/types/commands/scan/handle-scan-report.d.mts.map +0 -1
  644. package/dist/types/commands/scan/handle-scan-view.d.mts.map +0 -1
  645. package/dist/types/commands/scan/output-create-new-scan.d.mts.map +0 -1
  646. package/dist/types/commands/scan/output-delete-scan.d.mts.map +0 -1
  647. package/dist/types/commands/scan/output-diff-scan.d.mts.map +0 -1
  648. package/dist/types/commands/scan/output-list-scans.d.mts.map +0 -1
  649. package/dist/types/commands/scan/output-scan-config-result.d.mts.map +0 -1
  650. package/dist/types/commands/scan/output-scan-github.d.mts.map +0 -1
  651. package/dist/types/commands/scan/output-scan-metadata.d.mts.map +0 -1
  652. package/dist/types/commands/scan/output-scan-reach.d.mts.map +0 -1
  653. package/dist/types/commands/scan/output-scan-report.d.mts.map +0 -1
  654. package/dist/types/commands/scan/output-scan-view.d.mts.map +0 -1
  655. package/dist/types/commands/scan/perform-reachability-analysis.d.mts.map +0 -1
  656. package/dist/types/commands/scan/reach-advisories.d.mts.map +0 -1
  657. package/dist/types/commands/scan/reachability-flags.d.mts.map +0 -1
  658. package/dist/types/commands/scan/reachability-units.d.mts.map +0 -1
  659. package/dist/types/commands/scan/run-dynamic-sbom-inference.d.mts.map +0 -1
  660. package/dist/types/commands/scan/setup-scan-config.d.mts.map +0 -1
  661. package/dist/types/commands/scan/stream-scan.d.mts.map +0 -1
  662. package/dist/types/commands/scan/suggest-org-slug.d.mts.map +0 -1
  663. package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts.map +0 -1
  664. package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +0 -1
  665. package/dist/types/commands/scan/suggest_target.d.mts.map +0 -1
  666. package/dist/types/commands/scan/types.d.mts.map +0 -1
  667. package/dist/types/commands/scan/validate-reachability-target.d.mts.map +0 -1
  668. package/dist/types/commands/scan/warn-socket-json-only-flags.d.mts.map +0 -1
  669. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +0 -1
  670. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +0 -1
  671. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +0 -1
  672. package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +0 -1
  673. package/dist/types/commands/threat-feed/types.d.mts.map +0 -1
  674. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +0 -1
  675. package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +0 -1
  676. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +0 -1
  677. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +0 -1
  678. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +0 -1
  679. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +0 -1
  680. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +0 -1
  681. package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +0 -1
  682. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +0 -1
  683. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +0 -1
  684. package/dist/types/commands/yarn/cmd-yarn.d.mts.map +0 -1
  685. package/dist/types/commands.d.mts.map +0 -1
  686. package/dist/types/constants.d.mts.map +0 -1
  687. package/dist/types/flags.d.mts.map +0 -1
  688. package/dist/types/instrument-with-sentry.d.mts.map +0 -1
  689. package/dist/types/npm-cli.d.mts.map +0 -1
  690. package/dist/types/npx-cli.d.mts.map +0 -1
  691. package/dist/types/pnpm-cli.d.mts.map +0 -1
  692. package/dist/types/sea/bootstrap.d.mts.map +0 -1
  693. package/dist/types/sea/build-sea.d.mts.map +0 -1
  694. package/dist/types/shadow/common.d.mts.map +0 -1
  695. package/dist/types/shadow/npm/arborist/index.d.mts.map +0 -1
  696. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +0 -1
  697. package/dist/types/shadow/npm/arborist/types.d.mts.map +0 -1
  698. package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
  699. package/dist/types/shadow/npm/bin.d.mts.map +0 -1
  700. package/dist/types/shadow/npm/inject.d.mts.map +0 -1
  701. package/dist/types/shadow/npm/install.d.mts.map +0 -1
  702. package/dist/types/shadow/npm/paths.d.mts.map +0 -1
  703. package/dist/types/shadow/npm-base.d.mts.map +0 -1
  704. package/dist/types/shadow/npx/bin.d.mts.map +0 -1
  705. package/dist/types/shadow/pnpm/bin.d.mts.map +0 -1
  706. package/dist/types/shadow/stdio-ipc.d.mts.map +0 -1
  707. package/dist/types/shadow/yarn/bin.d.mts.map +0 -1
  708. package/dist/types/test/json-output-validation.d.mts.map +0 -1
  709. package/dist/types/test/mocks/socket-auth.d.mts.map +0 -1
  710. package/dist/types/types.d.mts.map +0 -1
  711. package/dist/types/utils/advisory-ids.d.mts.map +0 -1
  712. package/dist/types/utils/agent.d.mts.map +0 -1
  713. package/dist/types/utils/alert/artifact.d.mts.map +0 -1
  714. package/dist/types/utils/alert/fix.d.mts.map +0 -1
  715. package/dist/types/utils/alert/severity.d.mts.map +0 -1
  716. package/dist/types/utils/alerts-map.d.mts.map +0 -1
  717. package/dist/types/utils/api.d.mts.map +0 -1
  718. package/dist/types/utils/check-input.d.mts.map +0 -1
  719. package/dist/types/utils/cmd.d.mts.map +0 -1
  720. package/dist/types/utils/coana-release.d.mts.map +0 -1
  721. package/dist/types/utils/coana.d.mts.map +0 -1
  722. package/dist/types/utils/color-or-markdown.d.mts.map +0 -1
  723. package/dist/types/utils/completion.d.mts.map +0 -1
  724. package/dist/types/utils/config.d.mts.map +0 -1
  725. package/dist/types/utils/cve-to-ghsa.d.mts.map +0 -1
  726. package/dist/types/utils/debug.d.mts.map +0 -1
  727. package/dist/types/utils/determine-org-slug.d.mts.map +0 -1
  728. package/dist/types/utils/dlx-binary.d.mts +0 -58
  729. package/dist/types/utils/dlx-binary.d.mts.map +0 -1
  730. package/dist/types/utils/dlx-detection.d.mts.map +0 -1
  731. package/dist/types/utils/dlx.d.mts.map +0 -1
  732. package/dist/types/utils/ecosystem.d.mts.map +0 -1
  733. package/dist/types/utils/editable-json.d.mts.map +0 -1
  734. package/dist/types/utils/errors.d.mts.map +0 -1
  735. package/dist/types/utils/extract-names.d.mts.map +0 -1
  736. package/dist/types/utils/fail-msg-with-badge.d.mts.map +0 -1
  737. package/dist/types/utils/filter-config.d.mts.map +0 -1
  738. package/dist/types/utils/fs.d.mts.map +0 -1
  739. package/dist/types/utils/get-or-insert.d.mts.map +0 -1
  740. package/dist/types/utils/get-output-kind.d.mts.map +0 -1
  741. package/dist/types/utils/git.d.mts.map +0 -1
  742. package/dist/types/utils/github-errors.d.mts.map +0 -1
  743. package/dist/types/utils/github.d.mts.map +0 -1
  744. package/dist/types/utils/glob.d.mts.map +0 -1
  745. package/dist/types/utils/lockfile.d.mts.map +0 -1
  746. package/dist/types/utils/map-to-object.d.mts.map +0 -1
  747. package/dist/types/utils/markdown.d.mts.map +0 -1
  748. package/dist/types/utils/meow-with-subcommands.d.mts.map +0 -1
  749. package/dist/types/utils/ms-at-home.d.mts.map +0 -1
  750. package/dist/types/utils/npm-config.d.mts.map +0 -1
  751. package/dist/types/utils/npm-package-arg.d.mts.map +0 -1
  752. package/dist/types/utils/npm-paths.d.mts.map +0 -1
  753. package/dist/types/utils/npm-spec.d.mts.map +0 -1
  754. package/dist/types/utils/objects.d.mts.map +0 -1
  755. package/dist/types/utils/organization.d.mts.map +0 -1
  756. package/dist/types/utils/output-formatting.d.mts.map +0 -1
  757. package/dist/types/utils/package-environment.d.mts.map +0 -1
  758. package/dist/types/utils/package-manager.d.mts.map +0 -1
  759. package/dist/types/utils/path-resolve.d.mts.map +0 -1
  760. package/dist/types/utils/pnpm-paths.d.mts.map +0 -1
  761. package/dist/types/utils/pnpm.d.mts.map +0 -1
  762. package/dist/types/utils/purl-to-ghsa.d.mts.map +0 -1
  763. package/dist/types/utils/purl.d.mts.map +0 -1
  764. package/dist/types/utils/requirements.d.mts.map +0 -1
  765. package/dist/types/utils/sdk.d.mts.map +0 -1
  766. package/dist/types/utils/self-update.d.mts.map +0 -1
  767. package/dist/types/utils/semver.d.mts.map +0 -1
  768. package/dist/types/utils/serialize-result-json.d.mts.map +0 -1
  769. package/dist/types/utils/shadow-links.d.mts.map +0 -1
  770. package/dist/types/utils/socket-json.d.mts.map +0 -1
  771. package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
  772. package/dist/types/utils/socket-url.d.mts.map +0 -1
  773. package/dist/types/utils/spec.d.mts.map +0 -1
  774. package/dist/types/utils/strings.d.mts.map +0 -1
  775. package/dist/types/utils/telemetry/integration.d.mts.map +0 -1
  776. package/dist/types/utils/telemetry/service.d.mts.map +0 -1
  777. package/dist/types/utils/telemetry/types.d.mts.map +0 -1
  778. package/dist/types/utils/terminal-link.d.mts.map +0 -1
  779. package/dist/types/utils/tildify.d.mts.map +0 -1
  780. package/dist/types/utils/translations.d.mts.map +0 -1
  781. package/dist/types/utils/walk-nested-map.d.mts.map +0 -1
  782. package/dist/types/utils/yarn-paths.d.mts.map +0 -1
  783. package/dist/types/utils/yarn-version.d.mts.map +0 -1
  784. package/dist/types/yarn-cli.d.mts.map +0 -1
@@ -74,4 +74,3 @@ export declare function isFactsOnlyTypes(types: readonly PURL_Type[]): types is
74
74
  // Maven alone keeps the older flag, which Coana releases before 15.14.1 also
75
75
  // know.
76
76
  export declare function useOnlySocketFactsArtifactsFlags(types: FactsOnlyTypes): string[];
77
- //# sourceMappingURL=coana.d.mts.map
@@ -13,4 +13,3 @@ export declare class ColorOrMarkdown {
13
13
  json(value: any): string;
14
14
  list(items: string[]): string;
15
15
  }
16
- //# sourceMappingURL=color-or-markdown.d.mts.map
@@ -8,4 +8,3 @@ export declare function getBashrcDetails(targetCommandName: string): CResult<{
8
8
  targetName: string;
9
9
  targetPath: string;
10
10
  }>;
11
- //# sourceMappingURL=completion.d.mts.map
@@ -1,6 +1,7 @@
1
1
  import type { CResult } from '../types.mts';
2
2
  import type { SocketYml } from '@socketsecurity/config';
3
3
  export interface LocalConfig {
4
+ authType?: 'api-token' | 'oauth' | null | undefined;
4
5
  apiBaseUrl?: string | null | undefined;
5
6
  // @deprecated ; use apiToken. when loading a config, if this prop exists it
6
7
  // is deleted and set to apiToken instead, and then persisted.
@@ -38,4 +39,3 @@ export declare function resetConfigForTesting(): void;
38
39
  export declare function overrideCachedConfig(jsonConfig: unknown): CResult<undefined>;
39
40
  export declare function overrideConfigApiToken(apiToken: unknown): void;
40
41
  export declare function updateConfigValue<Key extends keyof LocalConfig>(configKey: keyof LocalConfig, value: LocalConfig[Key]): CResult<undefined | string>;
41
- //# sourceMappingURL=config.d.mts.map
@@ -6,4 +6,3 @@ export declare const GHSA_FORMAT_REGEXP: RegExp;
6
6
  * CVE to GHSA mappings are permanent, so we cache for 30 days.
7
7
  */
8
8
  export declare function convertCveToGhsa(cveId: string): Promise<CResult<string>>;
9
- //# sourceMappingURL=cve-to-ghsa.d.mts.map
@@ -47,4 +47,3 @@ export declare function debugConfig(source: string, found: boolean, error?: unkn
47
47
  */
48
48
  export declare function debugGit(operation: string, success: boolean, details?: Record<string, unknown> | undefined): void;
49
49
  export { debugDir, debugFn, isDebug };
50
- //# sourceMappingURL=debug.d.mts.map
@@ -1,2 +1 @@
1
1
  export declare function determineOrgSlug(orgFlag: string, interactive: boolean, dryRun: boolean): Promise<[string, string | undefined]>;
2
- //# sourceMappingURL=determine-org-slug.d.mts.map
@@ -26,4 +26,3 @@ export type ShadowInstallationOptions = {
26
26
  * @returns true if shadow installation should be skipped
27
27
  */
28
28
  export declare function shouldSkipShadow(binPath: string, options: ShadowInstallationOptions): boolean;
29
- //# sourceMappingURL=dlx-detection.d.mts.map
@@ -21,4 +21,3 @@ export declare function spawnCdxgenDlx(args: string[] | readonly string[], optio
21
21
  * Helper to spawn synp with dlx.
22
22
  */
23
23
  export declare function spawnSynpDlx(args: string[] | readonly string[], options?: DlxOptions | undefined, spawnExtra?: SpawnExtra | undefined): Promise<ShadowBinResult>;
24
- //# sourceMappingURL=dlx.d.mts.map
@@ -28,4 +28,3 @@ export declare function parseEcosystems(value: string | string[] | undefined): P
28
28
  export declare function parseEcosystemChoices(raw: readonly string[], choices: readonly string[]): PURL_Type[];
29
29
  export declare function parseReachEcosystems(raw: readonly string[]): PURL_Type[];
30
30
  export {};
31
- //# sourceMappingURL=ecosystem.d.mts.map
@@ -60,4 +60,3 @@ export declare class EditableJson<T = Record<string, unknown>> {
60
60
  */
61
61
  export declare function getEditableJsonClass<T = Record<string, unknown>>(): typeof EditableJson<T>;
62
62
  export {};
63
- //# sourceMappingURL=editable-json.d.mts.map
@@ -59,4 +59,3 @@ export declare function getErrorCause(error: unknown): string;
59
59
  */
60
60
  export declare function formatErrorWithDetail(baseMessage: string, error: unknown): string;
61
61
  export {};
62
- //# sourceMappingURL=errors.d.mts.map
@@ -12,4 +12,3 @@ export declare function extractName(name: string): string;
12
12
  * @returns Sanitized repository owner name, or undefined if input is empty
13
13
  */
14
14
  export declare function extractOwner(owner: string): string | undefined;
15
- //# sourceMappingURL=extract-names.d.mts.map
@@ -1,2 +1 @@
1
1
  export declare function failMsgWithBadge(badge: string, message: string | undefined): string;
2
- //# sourceMappingURL=fail-msg-with-badge.d.mts.map
@@ -2,4 +2,3 @@ export type FilterConfig = {
2
2
  [key: string]: boolean | string[];
3
3
  };
4
4
  export declare function toFilterConfig(obj: any): FilterConfig;
5
- //# sourceMappingURL=filter-config.d.mts.map
@@ -10,4 +10,3 @@ export declare function withTmpDir<T>(prefix: string, fn: (tmpDir: string) => Pr
10
10
  // /tmp -> /private/tmp); falls back to a plain resolve so a not-yet-existing
11
11
  // path still gets a usable absolute value instead of throwing.
12
12
  export declare function realpathOrResolved(target: string): Promise<string>;
13
- //# sourceMappingURL=fs.d.mts.map
@@ -1,2 +1 @@
1
1
  export declare function getOrInsert<K, V>(map: Map<K, V>, key: K, make: () => V): V;
2
- //# sourceMappingURL=get-or-insert.d.mts.map
@@ -1,3 +1,2 @@
1
1
  import type { OutputKind } from '../types.mts';
2
2
  export declare function getOutputKind(json: unknown, markdown: unknown): OutputKind;
3
- //# sourceMappingURL=get-output-kind.d.mts.map
@@ -39,4 +39,3 @@ export declare function gitResetHard(branch?: string, cwd?: string): Promise<boo
39
39
  export declare function gitUnstagedModifiedFiles(cwd?: string): Promise<CResult<string[]>>;
40
40
  export declare function gitUntrackedFiles(cwd?: string): Promise<CResult<string[]>>;
41
41
  export declare function parseGitRemoteUrl(remoteUrl: string): RepoInfo | undefined;
42
- //# sourceMappingURL=git.d.mts.map
@@ -49,4 +49,3 @@ fetchImpl?: (url: string, init: ApiFetchInit) => Promise<Response>): Promise<CRe
49
49
  response: Response;
50
50
  bodyText: string;
51
51
  }>>;
52
- //# sourceMappingURL=github-errors.d.mts.map
@@ -35,4 +35,3 @@ export type PrAutoMergeState = {
35
35
  export declare function enablePrAutoMerge({ node_id: prId }: Pr): Promise<PrAutoMergeState>;
36
36
  export declare function prExistForBranch(owner: string, repo: string, branch: string): Promise<boolean>;
37
37
  export declare function setGitRemoteGithubRepoUrl(owner: string, repo: string, token: string, cwd?: string): Promise<boolean>;
38
- //# sourceMappingURL=github.d.mts.map
@@ -32,4 +32,3 @@ export declare function globWorkspace(agent: Agent, cwd?: string): Promise<strin
32
32
  export declare function isReportSupportedFile(filepath: string, supportedFiles: SocketSdkSuccessResult<'getSupportedFiles'>['data']): boolean;
33
33
  export declare function pathsToGlobPatterns(paths: string[] | readonly string[], cwd?: string | undefined): string[];
34
34
  export {};
35
- //# sourceMappingURL=glob.d.mts.map
@@ -1,2 +1 @@
1
1
  export declare function readLockfile(lockfilePath: string): Promise<string | undefined>;
2
- //# sourceMappingURL=lockfile.d.mts.map
@@ -7,4 +7,3 @@ interface NestedRecord<T> {
7
7
  */
8
8
  export declare function mapToObject<T>(map: Map<string, T | Map<string, T | Map<string, T>>>): NestedRecord<T>;
9
9
  export {};
10
- //# sourceMappingURL=map-to-object.d.mts.map
@@ -24,4 +24,3 @@ export declare function mdTableOfPairs(arr: Array<[string, string]>,
24
24
  // This is saying "an array of strings and the strings are a valid key of elements of T"
25
25
  // In turn, T is defined above as the audit log event type from our OpenAPI docs.
26
26
  cols: string[]): string;
27
- //# sourceMappingURL=markdown.d.mts.map
@@ -80,4 +80,3 @@ export type MeowOrExitOptions = {
80
80
  * )
81
81
  */
82
82
  export declare function meowOrExit(config: MeowOrExitConfig, options?: MeowOrExitOptions | undefined): Result<MeowFlags>;
83
- //# sourceMappingURL=meow-with-subcommands.d.mts.map
@@ -1,2 +1 @@
1
1
  export declare function msAtHome(isoTimeStamp: string): string;
2
- //# sourceMappingURL=ms-at-home.d.mts.map
@@ -11,4 +11,3 @@ export type NpmConfigOptions = {
11
11
  platform?: NodeJS.Platform | undefined;
12
12
  };
13
13
  export declare function getNpmConfig(options?: NpmConfigOptions | undefined): Promise<ArboristOptions>;
14
- //# sourceMappingURL=npm-config.d.mts.map
@@ -5,4 +5,3 @@ export type { AliasResult, FileResult, HostedGit, HostedGitResult, RegistryResul
5
5
  * Returns undefined if parsing fails.
6
6
  */
7
7
  export declare function safeNpa(...args: Parameters<typeof npmPackageArg>): ReturnType<typeof npmPackageArg> | undefined;
8
- //# sourceMappingURL=npm-package-arg.d.mts.map
@@ -21,4 +21,3 @@ export declare function getNpmRequire(): NodeJS.Require;
21
21
  export declare function getNpxBinPath(): string;
22
22
  export declare function isNpmBinPathShadowed(): boolean;
23
23
  export declare function isNpxBinPathShadowed(): boolean;
24
- //# sourceMappingURL=npm-paths.d.mts.map
@@ -54,4 +54,3 @@ export declare function safeNpmSpecToPurl(pkgSpec: string): string | undefined;
54
54
  * Throws if conversion fails.
55
55
  */
56
56
  export declare function npmSpecToPurl(pkgSpec: string): string;
57
- //# sourceMappingURL=npm-spec.d.mts.map
@@ -0,0 +1,32 @@
1
+ export declare const OAUTH_ISSUER = "https://api.socket.dev";
2
+ export declare const OAUTH_RESOURCE = "https://mcp.socket.dev/";
3
+ export type OAuthCredentials = {
4
+ version: 1;
5
+ issuer: string;
6
+ resource: string;
7
+ apiOrigin: string;
8
+ clientId: string;
9
+ accessToken: string;
10
+ refreshToken?: string | undefined;
11
+ expiresAt: number;
12
+ scopes: string[];
13
+ tokenEndpoint: string;
14
+ revocationEndpoint?: string | undefined;
15
+ };
16
+ export type OAuthRequestOptions = {
17
+ signal?: AbortSignal | undefined;
18
+ apiProxy?: string | undefined;
19
+ requestTimeoutMs?: number | undefined;
20
+ };
21
+ export declare function oauthCancellationError(signal?: AbortSignal): Error;
22
+ export declare function beginOAuthLogin(options: OAuthRequestOptions & {
23
+ openBrowser?: boolean;
24
+ onAuthorizationUrl: (url: string) => void;
25
+ }): Promise<OAuthCredentials>;
26
+ export declare function readOAuthCredentials(directory: string): OAuthCredentials | undefined;
27
+ export declare function saveOAuthCredentials(directory: string, credentials: OAuthCredentials): Promise<void>;
28
+ export declare function resolveOAuthAccessToken(directory: string, options?: OAuthRequestOptions): Promise<string | undefined>;
29
+ export declare function logoutOAuth(directory: string, options?: OAuthRequestOptions): Promise<{
30
+ revoked: boolean;
31
+ warning?: string;
32
+ }>;
@@ -1,3 +1,2 @@
1
1
  export declare function createEnum<const T extends Record<string, any>>(obj: T): Readonly<T>;
2
2
  export declare function pick<T extends Record<string, any>, K extends keyof T>(input: T, keys: K[] | readonly K[]): Pick<T, K>;
3
- //# sourceMappingURL=objects.d.mts.map
@@ -2,4 +2,3 @@ import type { EnterpriseOrganizations, Organizations } from '../commands/organiz
2
2
  export declare function getEnterpriseOrgs(orgs: Organizations): EnterpriseOrganizations;
3
3
  export declare function getOrgSlugs(orgs: Organizations): string[];
4
4
  export declare function hasEnterpriseOrgPlan(orgs: Organizations): boolean;
5
- //# sourceMappingURL=organization.d.mts.map
@@ -17,4 +17,3 @@ export declare function getFlagApiRequirementsOutput(cmdPath: string, options?:
17
17
  export declare function getFlagListOutput(list: MeowFlags, options?: HelpListOptions | undefined): string;
18
18
  export declare function getHelpListOutput(list: Record<string, ListDescription>, options?: HelpListOptions | undefined): string;
19
19
  export {};
20
- //# sourceMappingURL=output-formatting.d.mts.map
@@ -54,4 +54,3 @@ export type PartialEnvDetails = Readonly<Remap<EnvBase & {
54
54
  export type ReadLockFile = ((lockPath: string) => Promise<string | undefined>) | ((lockPath: string, agentExecPath: string) => Promise<string | undefined>) | ((lockPath: string, agentExecPath: string, cwd: string) => Promise<string | undefined>);
55
55
  export declare function detectPackageEnvironment({ cwd, onUnknown }?: DetectOptions): Promise<EnvDetails | PartialEnvDetails>;
56
56
  export declare function detectAndValidatePackageEnvironment(cwd: string, options?: DetectAndValidateOptions | undefined): Promise<CResult<EnvDetails>>;
57
- //# sourceMappingURL=package-environment.d.mts.map
@@ -4,9 +4,8 @@
4
4
  * within an ecosystem (e.g. only PNPM artifacts in a mixed pnpm/yarn/npm repo).
5
5
  *
6
6
  * Mirrors the list returned by Coana's `getFilterablePackageManagers()` in
7
- * packages/web-compat-utils/src/package-manager-utils.ts.
7
+ * packages/utils/src/package-manager-utils.ts.
8
8
  */
9
- export declare const ALL_PACKAGE_MANAGERS: readonly ["CARGO", "COMPOSER", "GO", "GRADLE", "MAVEN", "NPM", "NUGET", "PIPENV", "PIP_REQUIREMENTS", "PNPM", "POETRY", "RUBYGEMS", "RUSH", "SBT", "YARN"];
9
+ export declare const ALL_PACKAGE_MANAGERS: readonly ["CARGO", "COMPOSER", "GO", "GRADLE", "MAVEN", "NPM", "NUGET", "PIPENV", "PIP_REQUIREMENTS", "PNPM", "POETRY", "RUBYGEMS", "RUSH", "SBT", "UV", "YARN"];
10
10
  export type PackageManager = (typeof ALL_PACKAGE_MANAGERS)[number];
11
11
  export declare function isValidPackageManager(value: string): value is PackageManager;
12
- //# sourceMappingURL=package-manager.d.mts.map
@@ -16,4 +16,3 @@ export type PackageFilesForScanOptions = {
16
16
  config?: SocketYml | undefined;
17
17
  };
18
18
  export declare function getPackageFilesForScan(inputPaths: string[], supportedFiles: SocketSdkSuccessResult<'getSupportedFiles'>['data'], options?: PackageFilesForScanOptions | undefined): Promise<string[]>;
19
- //# sourceMappingURL=path-resolve.d.mts.map
@@ -2,4 +2,3 @@ import { findBinPathDetailsSync } from './path-resolve.mts';
2
2
  export declare function getPnpmBinPath(): string;
3
3
  export declare function getPnpmBinPathDetails(): ReturnType<typeof findBinPathDetailsSync>;
4
4
  export declare function isPnpmBinPathShadowed(): boolean;
5
- //# sourceMappingURL=pnpm-paths.d.mts.map
@@ -8,4 +8,3 @@ export declare function parsePnpmLockfileVersion(version: unknown): SemVer | und
8
8
  export declare function readPnpmLockfile(lockfilePath: string): Promise<string | undefined>;
9
9
  export declare function stripLeadingPnpmDepPathSlash(depPath: string): string;
10
10
  export declare function stripPnpmPeerSuffix(depPath: string): string;
11
- //# sourceMappingURL=pnpm.d.mts.map
@@ -3,4 +3,3 @@ import type { CResult } from '../types.mts';
3
3
  * Converts PURL to GHSA IDs using GitHub API.
4
4
  */
5
5
  export declare function convertPurlToGhsas(purl: string): Promise<CResult<string[]>>;
6
- //# sourceMappingURL=purl-to-ghsa.d.mts.map
@@ -68,4 +68,3 @@ export declare function getPurlObject(purl: SocketArtifact, options?: PurlOption
68
68
  export declare function getPurlObject(purl: SocketArtifact, options: PurlOptionsNoThrows): PurlObject<SocketArtifact> | undefined;
69
69
  export declare function getPurlObject(purl: PurlLike, options?: PurlOptionsWithThrows | undefined): PurlObject<PackageURL | SocketArtifact>;
70
70
  export declare function normalizePurl(rawPurl: string): string;
71
- //# sourceMappingURL=purl.d.mts.map
@@ -0,0 +1,2 @@
1
+ /** Quote a value as a PowerShell single-quoted string literal. */
2
+ export declare function quotePowerShell(value: string): string;
@@ -122,4 +122,3 @@ export declare function getRequirements(): Readonly<{
122
122
  * Convert command path to requirements key.
123
123
  */
124
124
  export declare function getRequirementsKey(cmdPath: string): string;
125
- //# sourceMappingURL=requirements.d.mts.map
@@ -1,4 +1,5 @@
1
1
  import { SocketSdk } from '@socketsecurity/sdk';
2
+ import { getExtraCaCerts } from './api-transport.mts';
2
3
  import type { CResult } from '../types.mts';
3
4
  // Clamp a SOCKET_CLI_API_TIMEOUT value into the SDK's accepted range. The SDK
4
5
  // throws a TypeError on out-of-range timeouts, so an out-of-range user value
@@ -10,20 +11,26 @@ export declare function getCliUserAgent(): string;
10
11
  export declare function getDefaultApiBaseUrl(): string | undefined;
11
12
  // The Socket API server that should be used for operations.
12
13
  export declare function getDefaultProxyUrl(): string | undefined;
13
- // Returns combined root and extra CA certificates when SSL_CERT_FILE is set
14
- // but NODE_EXTRA_CA_CERTS is not. Node.js loads NODE_EXTRA_CA_CERTS at process
15
- // startup, so setting SSL_CERT_FILE alone does not affect the current process.
16
- // This function reads the certificate file manually and combines it with the
17
- // default root certificates for use in HTTPS agents.
18
- export declare function getExtraCaCerts(): string[] | undefined;
14
+ export { getExtraCaCerts };
19
15
  export declare function getDefaultApiToken(): string | undefined;
16
+ /** Whether saved OAuth auth is active instead of a flag or explicit token. */
17
+ export declare function isOAuthLoginActive(): boolean;
20
18
  export declare function getPublicApiToken(): string;
19
+ export declare function resolvePublicApiToken(options?: {
20
+ apiBaseUrl?: string | undefined;
21
+ apiProxy?: string | undefined;
22
+ signal?: AbortSignal | undefined;
23
+ }): Promise<string>;
21
24
  export declare function getVisibleTokenPrefix(): string;
22
25
  export declare function hasDefaultApiToken(): boolean;
26
+ export declare function resolveDefaultApiToken(options?: {
27
+ apiBaseUrl?: string | undefined;
28
+ apiProxy?: string | undefined;
29
+ signal?: AbortSignal | undefined;
30
+ }): Promise<string | undefined>;
23
31
  export type SetupSdkOptions = {
24
32
  apiBaseUrl?: string | undefined;
25
33
  apiProxy?: string | undefined;
26
34
  apiToken?: string | undefined;
27
35
  };
28
36
  export declare function setupSdk(options?: SetupSdkOptions | undefined): Promise<CResult<SocketSdk>>;
29
- //# sourceMappingURL=sdk.d.mts.map
@@ -1,3 +1,4 @@
1
+ /** Format a release notice for the current Socket distribution. */
2
+ export declare function formatUpdateNotice(current: string, latest: string): string;
1
3
  // Check the public npm registry for a newer socket release.
2
4
  export declare function runSelfUpdateCheck(): Promise<void>;
3
- //# sourceMappingURL=self-update.d.mts.map
@@ -4,4 +4,3 @@ export type RangeStyle = 'pin' | 'preserve';
4
4
  export type { SemVer };
5
5
  export declare function getMajor(version: unknown): number | undefined;
6
6
  export declare function getMinVersion(range: unknown): SemVer | undefined;
7
- //# sourceMappingURL=semver.d.mts.map
@@ -2,4 +2,3 @@ import type { CResult } from '../types.mts';
2
2
  // Serialize the final result object before printing it
3
3
  // All commands that support the --json flag should call this before printing
4
4
  export declare function serializeResultJson(data: CResult<unknown>): string;
5
- //# sourceMappingURL=serialize-result-json.d.mts.map
@@ -2,4 +2,3 @@ export declare function installNpmLinks(shadowBinPath: string): Promise<string>;
2
2
  export declare function installNpxLinks(shadowBinPath: string): Promise<string>;
3
3
  export declare function installPnpmLinks(shadowBinPath: string): Promise<string>;
4
4
  export declare function installYarnLinks(shadowBinPath: string): Promise<string>;
5
- //# sourceMappingURL=shadow-links.d.mts.map
@@ -18,6 +18,9 @@ export interface SocketJson {
18
18
  perRepoTimeout?: number | undefined;
19
19
  verbose?: boolean | undefined;
20
20
  };
21
+ // Keyed by the name of a build file in this file's directory: settings
22
+ // of that build tool's section for that build alone.
23
+ builds?: Record<string, SocketJsonBuildEntry> | undefined;
21
24
  conda?: {
22
25
  disabled?: boolean | undefined;
23
26
  infile?: string | undefined;
@@ -115,15 +118,22 @@ export interface SocketJson {
115
118
  };
116
119
  }
117
120
  export type ManifestDefaults<K extends keyof NonNullable<NonNullable<SocketJson['defaults']>['manifest']>> = NonNullable<NonNullable<NonNullable<SocketJson['defaults']>['manifest']>[K]>;
121
+ export type SocketJsonBuildEntry = {
122
+ disabled?: boolean | undefined;
123
+ [field: string]: unknown;
124
+ };
125
+ export type SocketJsonInDir = {
126
+ dir: string;
127
+ sockJson: SocketJson;
128
+ };
118
129
  export declare function readOrDefaultSocketJson(cwd: string): SocketJson;
119
130
  export declare function findSocketJsonUp(cwd: string): Promise<string | undefined>;
120
131
  export declare function readOrDefaultSocketJsonUp(cwd: string): Promise<SocketJson>;
121
- // Cascades `defaults.manifest.*` from `rootSockJson` down to `dir`: each
122
- // ancestor's own socket.json, between `dir` and `boundaryDir` (exclusive),
123
- // merges in, nearest-to-`dir` winning field by field.
124
- export declare function readSocketJsonCascade(dir: string, boundaryDir: string, rootSockJson: SocketJson): SocketJson;
132
+ // Merges `defaults.manifest.*` of `chain`, the nearest winning field by field.
133
+ export declare function mergeSocketJsonChain(chain: readonly SocketJsonInDir[]): SocketJson;
134
+ // Every socket.json from the filesystem root down to `dir`, farthest first.
135
+ export declare function readSocketJsonChain(dir: string): SocketJsonInDir[];
125
136
  export declare function getDefaultSocketJson(): SocketJson;
126
137
  export declare function readSocketJson(cwd: string, defaultOnError?: boolean): Promise<CResult<SocketJson>>;
127
138
  export declare function readSocketJsonSync(cwd: string, defaultOnError?: boolean): CResult<SocketJson>;
128
139
  export declare function writeSocketJson(cwd: string, sockJson: SocketJson): Promise<CResult<undefined>>;
129
- //# sourceMappingURL=socket-json.d.mts.map
@@ -77,4 +77,3 @@ export type LogAlertsMapOptions = {
77
77
  output?: NodeJS.WriteStream | undefined;
78
78
  };
79
79
  export declare function logAlertsMap(alertsMap: AlertsByPurl, options: LogAlertsMapOptions): void;
80
- //# sourceMappingURL=socket-package-alert.d.mts.map
@@ -5,4 +5,3 @@ export declare function getPkgFullNameFromPurl(purl: string | PackageURL | Socke
5
5
  export declare function getSocketDevAlertUrl(alertType: string): string;
6
6
  export declare function getSocketDevPackageOverviewUrlFromPurl(purl: string | PackageURL | SocketArtifact): string;
7
7
  export declare function getSocketDevPackageOverviewUrl(ecosystem: PURL_Type, fullName: string, version?: string | undefined): string;
8
- //# sourceMappingURL=socket-url.d.mts.map
@@ -2,4 +2,3 @@ import type { PackageURL } from '@socketregistry/packageurl-js';
2
2
  export declare function idToNpmPurl(id: string): string;
3
3
  export declare function idToPurl(id: string, type: string): string;
4
4
  export declare function resolvePackageVersion(purlObj: PackageURL): string;
5
- //# sourceMappingURL=spec.d.mts.map
@@ -11,4 +11,3 @@
11
11
  * - Consistent string formatting
12
12
  */
13
13
  export declare function camelToKebab(str: string): string;
14
- //# sourceMappingURL=strings.d.mts.map
@@ -143,4 +143,3 @@ export declare function trackSubprocessComplete(command: string, startTime: numb
143
143
  * @param metadata Optional additional metadata.
144
144
  */
145
145
  export declare function trackSubprocessError(command: string, startTime: number, error: unknown, exitCode?: number | null | undefined, metadata?: Record<string, unknown> | undefined): Promise<void>;
146
- //# sourceMappingURL=integration.d.mts.map
@@ -62,4 +62,3 @@ export declare class TelemetryService {
62
62
  */
63
63
  destroy(): Promise<void>;
64
64
  }
65
- //# sourceMappingURL=service.d.mts.map
@@ -37,4 +37,3 @@ export interface TelemetryEvent {
37
37
  metadata?: Record<string, unknown>;
38
38
  error?: TelemetryEventError | undefined;
39
39
  }
40
- //# sourceMappingURL=types.d.mts.map
@@ -49,4 +49,3 @@ export declare function socketPackageLink(ecosystem: string, packageName: string
49
49
  * @returns A terminal link to the URL
50
50
  */
51
51
  export declare function webLink(url: string, text?: string | undefined): string;
52
- //# sourceMappingURL=terminal-link.d.mts.map
@@ -1,2 +1 @@
1
1
  export declare function tildify(cwd: string): string;
2
- //# sourceMappingURL=tildify.d.mts.map
@@ -614,4 +614,3 @@ export declare function getTranslations(): Readonly<{
614
614
  };
615
615
  };
616
616
  }>;
617
- //# sourceMappingURL=translations.d.mts.map
@@ -4,4 +4,3 @@ export declare function walkNestedMap<T>(map: NestedMap<T>, keys?: string[]): Ge
4
4
  value: T;
5
5
  }>;
6
6
  export {};
7
- //# sourceMappingURL=walk-nested-map.d.mts.map
@@ -2,4 +2,3 @@ import { findBinPathDetailsSync } from './path-resolve.mts';
2
2
  export declare function getYarnBinPath(): string;
3
3
  export declare function getYarnBinPathDetails(): ReturnType<typeof findBinPathDetailsSync>;
4
4
  export declare function isYarnBinPathShadowed(): boolean;
5
- //# sourceMappingURL=yarn-paths.d.mts.map
@@ -1,2 +1 @@
1
1
  export declare function isYarnBerry(): boolean;
2
- //# sourceMappingURL=yarn-version.d.mts.map
@@ -1,3 +1,2 @@
1
1
  #!/usr/bin/env node
2
2
  export {};
3
- //# sourceMappingURL=yarn-cli.d.mts.map