@socketsecurity/cli-with-sentry 0.15.20 → 0.15.21

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 (517) hide show
  1. package/README.md +3 -3
  2. package/dist/cli.js +1220 -431
  3. package/dist/cli.js.map +1 -1
  4. package/dist/constants.js +17 -29
  5. package/dist/constants.js.map +1 -1
  6. package/dist/utils.js +14 -14
  7. package/dist/utils.js.map +1 -1
  8. package/package.json +9 -8
  9. package/dist/.config/tsconfig.dts.tsbuildinfo +0 -1
  10. package/dist/types/cli.d.mts +0 -3
  11. package/dist/types/cli.d.mts.map +0 -1
  12. package/dist/types/commands/analytics/cmd-analytics.d.mts +0 -10
  13. package/dist/types/commands/analytics/cmd-analytics.d.mts.map +0 -1
  14. package/dist/types/commands/analytics/fetch-org-analytics.d.mts +0 -4
  15. package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +0 -1
  16. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +0 -4
  17. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +0 -1
  18. package/dist/types/commands/analytics/handle-analytics.d.mts +0 -9
  19. package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
  20. package/dist/types/commands/analytics/output-analytics.d.mts +0 -28
  21. package/dist/types/commands/analytics/output-analytics.d.mts.map +0 -1
  22. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +0 -10
  23. package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +0 -1
  24. package/dist/types/commands/audit-log/fetch-audit-log.d.mts +0 -10
  25. package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +0 -1
  26. package/dist/types/commands/audit-log/handle-audit-log.d.mts +0 -9
  27. package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +0 -1
  28. package/dist/types/commands/audit-log/output-audit-log.d.mts +0 -22
  29. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +0 -1
  30. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts +0 -10
  31. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts.map +0 -1
  32. package/dist/types/commands/cdxgen/handle-cdxgen.d.mts +0 -4
  33. package/dist/types/commands/cdxgen/handle-cdxgen.d.mts.map +0 -1
  34. package/dist/types/commands/ci/cmd-ci.d.mts +0 -10
  35. package/dist/types/commands/ci/cmd-ci.d.mts.map +0 -1
  36. package/dist/types/commands/ci/fetch-default-org-slug.d.mts +0 -3
  37. package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +0 -1
  38. package/dist/types/commands/ci/handle-ci.d.mts +0 -2
  39. package/dist/types/commands/ci/handle-ci.d.mts.map +0 -1
  40. package/dist/types/commands/config/cmd-config-auto.d.mts +0 -10
  41. package/dist/types/commands/config/cmd-config-auto.d.mts.map +0 -1
  42. package/dist/types/commands/config/cmd-config-get.d.mts +0 -10
  43. package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
  44. package/dist/types/commands/config/cmd-config-list.d.mts +0 -10
  45. package/dist/types/commands/config/cmd-config-list.d.mts.map +0 -1
  46. package/dist/types/commands/config/cmd-config-set.d.mts +0 -10
  47. package/dist/types/commands/config/cmd-config-set.d.mts.map +0 -1
  48. package/dist/types/commands/config/cmd-config-unset.d.mts +0 -10
  49. package/dist/types/commands/config/cmd-config-unset.d.mts.map +0 -1
  50. package/dist/types/commands/config/cmd-config.d.mts +0 -3
  51. package/dist/types/commands/config/cmd-config.d.mts.map +0 -1
  52. package/dist/types/commands/config/discover-config-value.d.mts +0 -3
  53. package/dist/types/commands/config/discover-config-value.d.mts.map +0 -1
  54. package/dist/types/commands/config/handle-config-auto.d.mts +0 -7
  55. package/dist/types/commands/config/handle-config-auto.d.mts.map +0 -1
  56. package/dist/types/commands/config/handle-config-get.d.mts +0 -7
  57. package/dist/types/commands/config/handle-config-get.d.mts.map +0 -1
  58. package/dist/types/commands/config/handle-config-set.d.mts +0 -8
  59. package/dist/types/commands/config/handle-config-set.d.mts.map +0 -1
  60. package/dist/types/commands/config/handle-config-unset.d.mts +0 -7
  61. package/dist/types/commands/config/handle-config-unset.d.mts.map +0 -1
  62. package/dist/types/commands/config/output-config-auto.d.mts +0 -4
  63. package/dist/types/commands/config/output-config-auto.d.mts.map +0 -1
  64. package/dist/types/commands/config/output-config-get.d.mts +0 -4
  65. package/dist/types/commands/config/output-config-get.d.mts.map +0 -1
  66. package/dist/types/commands/config/output-config-list.d.mts +0 -6
  67. package/dist/types/commands/config/output-config-list.d.mts.map +0 -1
  68. package/dist/types/commands/config/output-config-set.d.mts +0 -3
  69. package/dist/types/commands/config/output-config-set.d.mts.map +0 -1
  70. package/dist/types/commands/config/output-config-unset.d.mts +0 -3
  71. package/dist/types/commands/config/output-config-unset.d.mts.map +0 -1
  72. package/dist/types/commands/dependencies/cmd-dependencies.d.mts +0 -10
  73. package/dist/types/commands/dependencies/cmd-dependencies.d.mts.map +0 -1
  74. package/dist/types/commands/dependencies/fetch-dependencies.d.mts +0 -7
  75. package/dist/types/commands/dependencies/fetch-dependencies.d.mts.map +0 -1
  76. package/dist/types/commands/dependencies/handle-dependencies.d.mts +0 -7
  77. package/dist/types/commands/dependencies/handle-dependencies.d.mts.map +0 -1
  78. package/dist/types/commands/dependencies/output-dependencies.d.mts +0 -8
  79. package/dist/types/commands/dependencies/output-dependencies.d.mts.map +0 -1
  80. package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts +0 -10
  81. package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts.map +0 -1
  82. package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts +0 -3
  83. package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts.map +0 -1
  84. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts +0 -8
  85. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts.map +0 -1
  86. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts +0 -10
  87. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts.map +0 -1
  88. package/dist/types/commands/diff-scan/output-diff-scan.d.mts +0 -8
  89. package/dist/types/commands/diff-scan/output-diff-scan.d.mts.map +0 -1
  90. package/dist/types/commands/fix/cmd-fix.d.mts +0 -10
  91. package/dist/types/commands/fix/cmd-fix.d.mts.map +0 -1
  92. package/dist/types/commands/fix/git.d.mts +0 -14
  93. package/dist/types/commands/fix/git.d.mts.map +0 -1
  94. package/dist/types/commands/fix/npm-fix.d.mts +0 -4
  95. package/dist/types/commands/fix/npm-fix.d.mts.map +0 -1
  96. package/dist/types/commands/fix/open-pr.d.mts +0 -28
  97. package/dist/types/commands/fix/open-pr.d.mts.map +0 -1
  98. package/dist/types/commands/fix/pnpm-fix.d.mts +0 -4
  99. package/dist/types/commands/fix/pnpm-fix.d.mts.map +0 -1
  100. package/dist/types/commands/fix/run-fix.d.mts +0 -3
  101. package/dist/types/commands/fix/run-fix.d.mts.map +0 -1
  102. package/dist/types/commands/fix/shared.d.mts +0 -9
  103. package/dist/types/commands/fix/shared.d.mts.map +0 -1
  104. package/dist/types/commands/fix/types.d.mts +0 -18
  105. package/dist/types/commands/fix/types.d.mts.map +0 -1
  106. package/dist/types/commands/info/cmd-info.d.mts +0 -10
  107. package/dist/types/commands/info/cmd-info.d.mts.map +0 -1
  108. package/dist/types/commands/info/fetch-package-info.d.mts +0 -3
  109. package/dist/types/commands/info/fetch-package-info.d.mts.map +0 -1
  110. package/dist/types/commands/info/handle-package-info.d.mts +0 -17
  111. package/dist/types/commands/info/handle-package-info.d.mts.map +0 -1
  112. package/dist/types/commands/info/output-package-info.d.mts +0 -10
  113. package/dist/types/commands/info/output-package-info.d.mts.map +0 -1
  114. package/dist/types/commands/install/cmd-install-completion.d.mts +0 -10
  115. package/dist/types/commands/install/cmd-install-completion.d.mts.map +0 -1
  116. package/dist/types/commands/install/cmd-install.d.mts +0 -3
  117. package/dist/types/commands/install/cmd-install.d.mts.map +0 -1
  118. package/dist/types/commands/install/handle-install-completion.d.mts +0 -2
  119. package/dist/types/commands/install/handle-install-completion.d.mts.map +0 -1
  120. package/dist/types/commands/install/output-install-completion.d.mts +0 -12
  121. package/dist/types/commands/install/output-install-completion.d.mts.map +0 -1
  122. package/dist/types/commands/install/setup-tab-completion.d.mts +0 -13
  123. package/dist/types/commands/install/setup-tab-completion.d.mts.map +0 -1
  124. package/dist/types/commands/login/apply-login.d.mts +0 -2
  125. package/dist/types/commands/login/apply-login.d.mts.map +0 -1
  126. package/dist/types/commands/login/attempt-login.d.mts +0 -2
  127. package/dist/types/commands/login/attempt-login.d.mts.map +0 -1
  128. package/dist/types/commands/login/cmd-login.d.mts +0 -10
  129. package/dist/types/commands/login/cmd-login.d.mts.map +0 -1
  130. package/dist/types/commands/logout/apply-logout.d.mts +0 -2
  131. package/dist/types/commands/logout/apply-logout.d.mts.map +0 -1
  132. package/dist/types/commands/logout/attempt-logout.d.mts +0 -2
  133. package/dist/types/commands/logout/attempt-logout.d.mts.map +0 -1
  134. package/dist/types/commands/logout/cmd-logout.d.mts +0 -10
  135. package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
  136. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -10
  137. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
  138. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -10
  139. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
  140. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -10
  141. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
  142. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -10
  143. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
  144. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -10
  145. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
  146. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -10
  147. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
  148. package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -10
  149. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +0 -1
  150. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +0 -7
  151. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +0 -1
  152. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +0 -2
  153. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +0 -1
  154. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +0 -2
  155. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +0 -1
  156. package/dist/types/commands/manifest/detect-manifest-actions.d.mts +0 -9
  157. package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +0 -1
  158. package/dist/types/commands/manifest/generate_auto_manifest.d.mts +0 -4
  159. package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +0 -1
  160. package/dist/types/commands/manifest/handle-manifest-conda.d.mts +0 -3
  161. package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +0 -1
  162. package/dist/types/commands/manifest/output-requirements.d.mts +0 -6
  163. package/dist/types/commands/manifest/output-requirements.d.mts.map +0 -1
  164. package/dist/types/commands/manifest/run-cdxgen.d.mts +0 -2
  165. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +0 -1
  166. package/dist/types/commands/npm/cmd-npm.d.mts +0 -10
  167. package/dist/types/commands/npm/cmd-npm.d.mts.map +0 -1
  168. package/dist/types/commands/npx/cmd-npx.d.mts +0 -10
  169. package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
  170. package/dist/types/commands/oops/cmd-oops.d.mts +0 -10
  171. package/dist/types/commands/oops/cmd-oops.d.mts.map +0 -1
  172. package/dist/types/commands/optimize/add-overrides.d.mts +0 -20
  173. package/dist/types/commands/optimize/add-overrides.d.mts.map +0 -1
  174. package/dist/types/commands/optimize/apply-optimization.d.mts +0 -2
  175. package/dist/types/commands/optimize/apply-optimization.d.mts.map +0 -1
  176. package/dist/types/commands/optimize/cmd-optimize.d.mts +0 -10
  177. package/dist/types/commands/optimize/cmd-optimize.d.mts.map +0 -1
  178. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +0 -4
  179. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +0 -1
  180. package/dist/types/commands/optimize/get-dependency-entries.d.mts +0 -3
  181. package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +0 -1
  182. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +0 -9
  183. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +0 -1
  184. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +0 -3
  185. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +0 -1
  186. package/dist/types/commands/optimize/ls-by-agent.d.mts +0 -7
  187. package/dist/types/commands/optimize/ls-by-agent.d.mts.map +0 -1
  188. package/dist/types/commands/optimize/shared.d.mts +0 -2
  189. package/dist/types/commands/optimize/shared.d.mts.map +0 -1
  190. package/dist/types/commands/optimize/types.d.mts +0 -9
  191. package/dist/types/commands/optimize/types.d.mts.map +0 -1
  192. package/dist/types/commands/optimize/update-lockfile.d.mts +0 -10
  193. package/dist/types/commands/optimize/update-lockfile.d.mts.map +0 -1
  194. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +0 -5
  195. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +0 -1
  196. package/dist/types/commands/organization/cmd-organization-list.d.mts +0 -10
  197. package/dist/types/commands/organization/cmd-organization-list.d.mts.map +0 -1
  198. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +0 -10
  199. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +0 -1
  200. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +0 -10
  201. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +0 -1
  202. package/dist/types/commands/organization/cmd-organization-policy.d.mts +0 -3
  203. package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +0 -1
  204. package/dist/types/commands/organization/cmd-organization-quota.d.mts +0 -10
  205. package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +0 -1
  206. package/dist/types/commands/organization/cmd-organization.d.mts +0 -3
  207. package/dist/types/commands/organization/cmd-organization.d.mts.map +0 -1
  208. package/dist/types/commands/organization/fetch-license-policy.d.mts +0 -4
  209. package/dist/types/commands/organization/fetch-license-policy.d.mts.map +0 -1
  210. package/dist/types/commands/organization/fetch-organization-list.d.mts +0 -4
  211. package/dist/types/commands/organization/fetch-organization-list.d.mts.map +0 -1
  212. package/dist/types/commands/organization/fetch-quota.d.mts +0 -4
  213. package/dist/types/commands/organization/fetch-quota.d.mts.map +0 -1
  214. package/dist/types/commands/organization/fetch-security-policy.d.mts +0 -4
  215. package/dist/types/commands/organization/fetch-security-policy.d.mts.map +0 -1
  216. package/dist/types/commands/organization/handle-license-policy.d.mts +0 -3
  217. package/dist/types/commands/organization/handle-license-policy.d.mts.map +0 -1
  218. package/dist/types/commands/organization/handle-organization-list.d.mts +0 -3
  219. package/dist/types/commands/organization/handle-organization-list.d.mts.map +0 -1
  220. package/dist/types/commands/organization/handle-quota.d.mts +0 -3
  221. package/dist/types/commands/organization/handle-quota.d.mts.map +0 -1
  222. package/dist/types/commands/organization/handle-security-policy.d.mts +0 -3
  223. package/dist/types/commands/organization/handle-security-policy.d.mts.map +0 -1
  224. package/dist/types/commands/organization/output-license-policy.d.mts +0 -4
  225. package/dist/types/commands/organization/output-license-policy.d.mts.map +0 -1
  226. package/dist/types/commands/organization/output-organization-list.d.mts +0 -4
  227. package/dist/types/commands/organization/output-organization-list.d.mts.map +0 -1
  228. package/dist/types/commands/organization/output-quota.d.mts +0 -4
  229. package/dist/types/commands/organization/output-quota.d.mts.map +0 -1
  230. package/dist/types/commands/organization/output-security-policy.d.mts +0 -4
  231. package/dist/types/commands/organization/output-security-policy.d.mts.map +0 -1
  232. package/dist/types/commands/package/cmd-package-score.d.mts +0 -10
  233. package/dist/types/commands/package/cmd-package-score.d.mts.map +0 -1
  234. package/dist/types/commands/package/cmd-package-shallow.d.mts +0 -17
  235. package/dist/types/commands/package/cmd-package-shallow.d.mts.map +0 -1
  236. package/dist/types/commands/package/cmd-package.d.mts +0 -3
  237. package/dist/types/commands/package/cmd-package.d.mts.map +0 -1
  238. package/dist/types/commands/package/fetch-purl-deep-score.d.mts +0 -51
  239. package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +0 -1
  240. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +0 -4
  241. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +0 -1
  242. package/dist/types/commands/package/handle-purl-deep-score.d.mts +0 -3
  243. package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +0 -1
  244. package/dist/types/commands/package/handle-purls-shallow-score.d.mts +0 -6
  245. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +0 -1
  246. package/dist/types/commands/package/output-purl-score.d.mts +0 -4
  247. package/dist/types/commands/package/output-purl-score.d.mts.map +0 -1
  248. package/dist/types/commands/package/output-purls-shallow-score.d.mts +0 -4
  249. package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +0 -1
  250. package/dist/types/commands/package/parse-package-specifiers.d.mts +0 -5
  251. package/dist/types/commands/package/parse-package-specifiers.d.mts.map +0 -1
  252. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -10
  253. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +0 -1
  254. package/dist/types/commands/raw-npm/run-raw-npm.d.mts +0 -2
  255. package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +0 -1
  256. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +0 -10
  257. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +0 -1
  258. package/dist/types/commands/raw-npx/run-raw-npx.d.mts +0 -2
  259. package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +0 -1
  260. package/dist/types/commands/report/cmd-report-create.d.mts +0 -10
  261. package/dist/types/commands/report/cmd-report-create.d.mts.map +0 -1
  262. package/dist/types/commands/report/cmd-report-view.d.mts +0 -10
  263. package/dist/types/commands/report/cmd-report-view.d.mts.map +0 -1
  264. package/dist/types/commands/report/cmd-report.d.mts +0 -3
  265. package/dist/types/commands/report/cmd-report.d.mts.map +0 -1
  266. package/dist/types/commands/repos/cmd-repos-create.d.mts +0 -10
  267. package/dist/types/commands/repos/cmd-repos-create.d.mts.map +0 -1
  268. package/dist/types/commands/repos/cmd-repos-del.d.mts +0 -10
  269. package/dist/types/commands/repos/cmd-repos-del.d.mts.map +0 -1
  270. package/dist/types/commands/repos/cmd-repos-list.d.mts +0 -10
  271. package/dist/types/commands/repos/cmd-repos-list.d.mts.map +0 -1
  272. package/dist/types/commands/repos/cmd-repos-update.d.mts +0 -10
  273. package/dist/types/commands/repos/cmd-repos-update.d.mts.map +0 -1
  274. package/dist/types/commands/repos/cmd-repos-view.d.mts +0 -10
  275. package/dist/types/commands/repos/cmd-repos-view.d.mts.map +0 -1
  276. package/dist/types/commands/repos/cmd-repos.d.mts +0 -3
  277. package/dist/types/commands/repos/cmd-repos.d.mts.map +0 -1
  278. package/dist/types/commands/repos/fetch-create-repo.d.mts +0 -11
  279. package/dist/types/commands/repos/fetch-create-repo.d.mts.map +0 -1
  280. package/dist/types/commands/repos/fetch-delete-repo.d.mts +0 -4
  281. package/dist/types/commands/repos/fetch-delete-repo.d.mts.map +0 -1
  282. package/dist/types/commands/repos/fetch-list-all-repos.d.mts +0 -8
  283. package/dist/types/commands/repos/fetch-list-all-repos.d.mts.map +0 -1
  284. package/dist/types/commands/repos/fetch-list-repos.d.mts +0 -10
  285. package/dist/types/commands/repos/fetch-list-repos.d.mts.map +0 -1
  286. package/dist/types/commands/repos/fetch-update-repo.d.mts +0 -11
  287. package/dist/types/commands/repos/fetch-update-repo.d.mts.map +0 -1
  288. package/dist/types/commands/repos/fetch-view-repo.d.mts +0 -4
  289. package/dist/types/commands/repos/fetch-view-repo.d.mts.map +0 -1
  290. package/dist/types/commands/repos/handle-create-repo.d.mts +0 -10
  291. package/dist/types/commands/repos/handle-create-repo.d.mts.map +0 -1
  292. package/dist/types/commands/repos/handle-delete-repo.d.mts +0 -3
  293. package/dist/types/commands/repos/handle-delete-repo.d.mts.map +0 -1
  294. package/dist/types/commands/repos/handle-list-repos.d.mts +0 -11
  295. package/dist/types/commands/repos/handle-list-repos.d.mts.map +0 -1
  296. package/dist/types/commands/repos/handle-update-repo.d.mts +0 -10
  297. package/dist/types/commands/repos/handle-update-repo.d.mts.map +0 -1
  298. package/dist/types/commands/repos/handle-view-repo.d.mts +0 -3
  299. package/dist/types/commands/repos/handle-view-repo.d.mts.map +0 -1
  300. package/dist/types/commands/repos/output-create-repo.d.mts +0 -4
  301. package/dist/types/commands/repos/output-create-repo.d.mts.map +0 -1
  302. package/dist/types/commands/repos/output-delete-repo.d.mts +0 -4
  303. package/dist/types/commands/repos/output-delete-repo.d.mts.map +0 -1
  304. package/dist/types/commands/repos/output-list-repos.d.mts +0 -4
  305. package/dist/types/commands/repos/output-list-repos.d.mts.map +0 -1
  306. package/dist/types/commands/repos/output-update-repo.d.mts +0 -4
  307. package/dist/types/commands/repos/output-update-repo.d.mts.map +0 -1
  308. package/dist/types/commands/repos/output-view-repo.d.mts +0 -4
  309. package/dist/types/commands/repos/output-view-repo.d.mts.map +0 -1
  310. package/dist/types/commands/scan/cmd-scan-create.d.mts +0 -10
  311. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +0 -1
  312. package/dist/types/commands/scan/cmd-scan-del.d.mts +0 -10
  313. package/dist/types/commands/scan/cmd-scan-del.d.mts.map +0 -1
  314. package/dist/types/commands/scan/cmd-scan-diff.d.mts +0 -10
  315. package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +0 -1
  316. package/dist/types/commands/scan/cmd-scan-list.d.mts +0 -3
  317. package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
  318. package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -3
  319. package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +0 -1
  320. package/dist/types/commands/scan/cmd-scan-report.d.mts +0 -3
  321. package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
  322. package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -3
  323. package/dist/types/commands/scan/cmd-scan-view.d.mts.map +0 -1
  324. package/dist/types/commands/scan/cmd-scan.d.mts +0 -3
  325. package/dist/types/commands/scan/cmd-scan.d.mts.map +0 -1
  326. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +0 -11
  327. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +0 -1
  328. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +0 -4
  329. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +0 -1
  330. package/dist/types/commands/scan/fetch-diff-scan.d.mts +0 -8
  331. package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +0 -1
  332. package/dist/types/commands/scan/fetch-list-scans.d.mts +0 -13
  333. package/dist/types/commands/scan/fetch-list-scans.d.mts.map +0 -1
  334. package/dist/types/commands/scan/fetch-report-data.d.mts +0 -12
  335. package/dist/types/commands/scan/fetch-report-data.d.mts.map +0 -1
  336. package/dist/types/commands/scan/fetch-scan-metadata.d.mts +0 -4
  337. package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +0 -1
  338. package/dist/types/commands/scan/fetch-scan.d.mts +0 -4
  339. package/dist/types/commands/scan/fetch-scan.d.mts.map +0 -1
  340. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +0 -4
  341. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
  342. package/dist/types/commands/scan/generate-report.d.mts +0 -41
  343. package/dist/types/commands/scan/generate-report.d.mts.map +0 -1
  344. package/dist/types/commands/scan/handle-create-new-scan.d.mts +0 -21
  345. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +0 -1
  346. package/dist/types/commands/scan/handle-delete-scan.d.mts +0 -3
  347. package/dist/types/commands/scan/handle-delete-scan.d.mts.map +0 -1
  348. package/dist/types/commands/scan/handle-diff-scan.d.mts +0 -10
  349. package/dist/types/commands/scan/handle-diff-scan.d.mts.map +0 -1
  350. package/dist/types/commands/scan/handle-list-scans.d.mts +0 -13
  351. package/dist/types/commands/scan/handle-list-scans.d.mts.map +0 -1
  352. package/dist/types/commands/scan/handle-scan-metadata.d.mts +0 -3
  353. package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +0 -1
  354. package/dist/types/commands/scan/handle-scan-report.d.mts +0 -12
  355. package/dist/types/commands/scan/handle-scan-report.d.mts.map +0 -1
  356. package/dist/types/commands/scan/handle-scan-view.d.mts +0 -3
  357. package/dist/types/commands/scan/handle-scan-view.d.mts.map +0 -1
  358. package/dist/types/commands/scan/output-create-new-scan.d.mts +0 -4
  359. package/dist/types/commands/scan/output-create-new-scan.d.mts.map +0 -1
  360. package/dist/types/commands/scan/output-delete-scan.d.mts +0 -4
  361. package/dist/types/commands/scan/output-delete-scan.d.mts.map +0 -1
  362. package/dist/types/commands/scan/output-diff-scan.d.mts +0 -8
  363. package/dist/types/commands/scan/output-diff-scan.d.mts.map +0 -1
  364. package/dist/types/commands/scan/output-list-scans.d.mts +0 -4
  365. package/dist/types/commands/scan/output-list-scans.d.mts.map +0 -1
  366. package/dist/types/commands/scan/output-scan-metadata.d.mts +0 -4
  367. package/dist/types/commands/scan/output-scan-metadata.d.mts.map +0 -1
  368. package/dist/types/commands/scan/output-scan-report.d.mts +0 -20
  369. package/dist/types/commands/scan/output-scan-report.d.mts.map +0 -1
  370. package/dist/types/commands/scan/output-scan-view.d.mts +0 -4
  371. package/dist/types/commands/scan/output-scan-view.d.mts.map +0 -1
  372. package/dist/types/commands/scan/stream-scan.d.mts +0 -2
  373. package/dist/types/commands/scan/stream-scan.d.mts.map +0 -1
  374. package/dist/types/commands/scan/suggest-org-slug.d.mts +0 -2
  375. package/dist/types/commands/scan/suggest-org-slug.d.mts.map +0 -1
  376. package/dist/types/commands/scan/suggest-repo-slug.d.mts +0 -5
  377. package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +0 -1
  378. package/dist/types/commands/scan/suggest_branch_slug.d.mts +0 -2
  379. package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +0 -1
  380. package/dist/types/commands/scan/suggest_target.d.mts +0 -2
  381. package/dist/types/commands/scan/suggest_target.d.mts.map +0 -1
  382. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +0 -10
  383. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +0 -1
  384. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +0 -10
  385. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +0 -1
  386. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +0 -10
  387. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +0 -1
  388. package/dist/types/commands/threat-feed/output-threat-feed.d.mts +0 -4
  389. package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +0 -1
  390. package/dist/types/commands/threat-feed/types.d.mts +0 -15
  391. package/dist/types/commands/threat-feed/types.d.mts.map +0 -1
  392. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +0 -9
  393. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +0 -1
  394. package/dist/types/commands/uninstall/cmd-uninstall.d.mts +0 -3
  395. package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +0 -1
  396. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +0 -2
  397. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +0 -1
  398. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +0 -6
  399. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +0 -1
  400. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +0 -6
  401. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +0 -1
  402. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +0 -2
  403. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +0 -1
  404. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +0 -2
  405. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +0 -1
  406. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +0 -10
  407. package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +0 -1
  408. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +0 -2
  409. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +0 -1
  410. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +0 -2
  411. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +0 -1
  412. package/dist/types/constants.d.mts +0 -127
  413. package/dist/types/constants.d.mts.map +0 -1
  414. package/dist/types/flags.d.mts +0 -14
  415. package/dist/types/flags.d.mts.map +0 -1
  416. package/dist/types/instrument-with-sentry.d.mts +0 -2
  417. package/dist/types/instrument-with-sentry.d.mts.map +0 -1
  418. package/dist/types/shadow/npm/arborist/index.d.mts +0 -2
  419. package/dist/types/shadow/npm/arborist/index.d.mts.map +0 -1
  420. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +0 -22
  421. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +0 -1
  422. package/dist/types/shadow/npm/arborist/lib/arborist/types.d.mts +0 -47
  423. package/dist/types/shadow/npm/arborist/lib/arborist/types.d.mts.map +0 -1
  424. package/dist/types/shadow/npm/arborist/lib/dep-valid.d.mts +0 -3
  425. package/dist/types/shadow/npm/arborist/lib/dep-valid.d.mts.map +0 -1
  426. package/dist/types/shadow/npm/arborist/lib/edge.d.mts +0 -62
  427. package/dist/types/shadow/npm/arborist/lib/edge.d.mts.map +0 -1
  428. package/dist/types/shadow/npm/arborist/lib/node.d.mts +0 -58
  429. package/dist/types/shadow/npm/arborist/lib/node.d.mts.map +0 -1
  430. package/dist/types/shadow/npm/arborist/lib/override-set.d.mts +0 -30
  431. package/dist/types/shadow/npm/arborist/lib/override-set.d.mts.map +0 -1
  432. package/dist/types/shadow/npm/arborist-helpers.d.mts +0 -37
  433. package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
  434. package/dist/types/shadow/npm/bin.d.mts +0 -2
  435. package/dist/types/shadow/npm/bin.d.mts.map +0 -1
  436. package/dist/types/shadow/npm/inject.d.mts +0 -2
  437. package/dist/types/shadow/npm/inject.d.mts.map +0 -1
  438. package/dist/types/shadow/npm/install.d.mts +0 -12
  439. package/dist/types/shadow/npm/install.d.mts.map +0 -1
  440. package/dist/types/shadow/npm/link.d.mts +0 -2
  441. package/dist/types/shadow/npm/link.d.mts.map +0 -1
  442. package/dist/types/shadow/npm/paths.d.mts +0 -7
  443. package/dist/types/shadow/npm/paths.d.mts.map +0 -1
  444. package/dist/types/shadow/npm/proc-log/index.d.mts +0 -3
  445. package/dist/types/shadow/npm/proc-log/index.d.mts.map +0 -1
  446. package/dist/types/types.d.mts +0 -16
  447. package/dist/types/types.d.mts.map +0 -1
  448. package/dist/types/utils/agent.d.mts +0 -12
  449. package/dist/types/utils/agent.d.mts.map +0 -1
  450. package/dist/types/utils/alert/artifact.d.mts +0 -33
  451. package/dist/types/utils/alert/artifact.d.mts.map +0 -1
  452. package/dist/types/utils/alert/fix.d.mts +0 -6
  453. package/dist/types/utils/alert/fix.d.mts.map +0 -1
  454. package/dist/types/utils/alert/severity.d.mts +0 -13
  455. package/dist/types/utils/alert/severity.d.mts.map +0 -1
  456. package/dist/types/utils/alerts-map.d.mts +0 -25
  457. package/dist/types/utils/alerts-map.d.mts.map +0 -1
  458. package/dist/types/utils/api.d.mts +0 -11
  459. package/dist/types/utils/api.d.mts.map +0 -1
  460. package/dist/types/utils/check-input.d.mts +0 -9
  461. package/dist/types/utils/check-input.d.mts.map +0 -1
  462. package/dist/types/utils/cmd.d.mts +0 -4
  463. package/dist/types/utils/cmd.d.mts.map +0 -1
  464. package/dist/types/utils/color-or-markdown.d.mts +0 -16
  465. package/dist/types/utils/color-or-markdown.d.mts.map +0 -1
  466. package/dist/types/utils/completion.d.mts +0 -11
  467. package/dist/types/utils/completion.d.mts.map +0 -1
  468. package/dist/types/utils/config.d.mts +0 -25
  469. package/dist/types/utils/config.d.mts.map +0 -1
  470. package/dist/types/utils/determine-org-slug.d.mts +0 -2
  471. package/dist/types/utils/determine-org-slug.d.mts.map +0 -1
  472. package/dist/types/utils/errors.d.mts +0 -14
  473. package/dist/types/utils/errors.d.mts.map +0 -1
  474. package/dist/types/utils/fail-msg-with-badge.d.mts +0 -2
  475. package/dist/types/utils/fail-msg-with-badge.d.mts.map +0 -1
  476. package/dist/types/utils/fs.d.mts +0 -22
  477. package/dist/types/utils/fs.d.mts.map +0 -1
  478. package/dist/types/utils/get-output-kind.d.mts +0 -3
  479. package/dist/types/utils/get-output-kind.d.mts.map +0 -1
  480. package/dist/types/utils/glob.d.mts +0 -14
  481. package/dist/types/utils/glob.d.mts.map +0 -1
  482. package/dist/types/utils/map-to-object.d.mts +0 -10
  483. package/dist/types/utils/map-to-object.d.mts.map +0 -1
  484. package/dist/types/utils/markdown.d.mts +0 -4
  485. package/dist/types/utils/markdown.d.mts.map +0 -1
  486. package/dist/types/utils/meow-with-subcommands.d.mts +0 -45
  487. package/dist/types/utils/meow-with-subcommands.d.mts.map +0 -1
  488. package/dist/types/utils/npm-paths.d.mts +0 -7
  489. package/dist/types/utils/npm-paths.d.mts.map +0 -1
  490. package/dist/types/utils/objects.d.mts +0 -3
  491. package/dist/types/utils/objects.d.mts.map +0 -1
  492. package/dist/types/utils/output-formatting.d.mts +0 -15
  493. package/dist/types/utils/output-formatting.d.mts.map +0 -1
  494. package/dist/types/utils/package-environment.d.mts +0 -54
  495. package/dist/types/utils/package-environment.d.mts.map +0 -1
  496. package/dist/types/utils/path-resolve.d.mts +0 -10
  497. package/dist/types/utils/path-resolve.d.mts.map +0 -1
  498. package/dist/types/utils/pnpm.d.mts +0 -9
  499. package/dist/types/utils/pnpm.d.mts.map +0 -1
  500. package/dist/types/utils/sdk.d.mts +0 -8
  501. package/dist/types/utils/sdk.d.mts.map +0 -1
  502. package/dist/types/utils/semver.d.mts +0 -5
  503. package/dist/types/utils/semver.d.mts.map +0 -1
  504. package/dist/types/utils/serialize-result-json.d.mts +0 -3
  505. package/dist/types/utils/serialize-result-json.d.mts.map +0 -1
  506. package/dist/types/utils/socket-package-alert.d.mts +0 -71
  507. package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
  508. package/dist/types/utils/socket-url.d.mts +0 -9
  509. package/dist/types/utils/socket-url.d.mts.map +0 -1
  510. package/dist/types/utils/spec.d.mts +0 -4
  511. package/dist/types/utils/spec.d.mts.map +0 -1
  512. package/dist/types/utils/strings.d.mts +0 -2
  513. package/dist/types/utils/strings.d.mts.map +0 -1
  514. package/dist/types/utils/translations.d.mts +0 -593
  515. package/dist/types/utils/translations.d.mts.map +0 -1
  516. package/dist/types/utils/walk-nested-map.d.mts +0 -7
  517. package/dist/types/utils/walk-nested-map.d.mts.map +0 -1
@@ -1,14 +0,0 @@
1
- type EventHintOrCaptureContext = {
2
- [key: string]: any;
3
- } | Function;
4
- export declare class AuthError extends Error {
5
- }
6
- export declare class InputError extends Error {
7
- body: string | undefined;
8
- constructor(message: string, body?: string);
9
- }
10
- export declare function captureException(exception: unknown, hint?: EventHintOrCaptureContext | undefined): Promise<string>;
11
- export declare function captureExceptionSync(exception: unknown, hint?: EventHintOrCaptureContext | undefined): string;
12
- export declare function isErrnoException(value: unknown): value is NodeJS.ErrnoException;
13
- export {};
14
- //# sourceMappingURL=errors.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.mts","sourceRoot":"","sources":["../../../src/utils/errors.mts"],"names":[],"mappings":"AAWA,KAAK,yBAAyB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,QAAQ,CAAA;AAElE,qBAAa,SAAU,SAAQ,KAAK;CAAG;AAEvC,qBAAa,UAAW,SAAQ,KAAK;IAC5B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;gBAEnB,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM;CAI3C;AAED,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,OAAO,EAClB,IAAI,CAAC,EAAE,yBAAyB,GAAG,SAAS,GAC3C,OAAO,CAAC,MAAM,CAAC,CAKjB;AAED,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,OAAO,EAClB,IAAI,CAAC,EAAE,yBAAyB,GAAG,SAAS,GAC3C,MAAM,CAOR;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,MAAM,CAAC,cAAc,CAKhC"}
@@ -1,2 +0,0 @@
1
- export declare function failMsgWithBadge(badge: string, msg: string | undefined): string;
2
- //# sourceMappingURL=fail-msg-with-badge.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fail-msg-with-badge.d.mts","sourceRoot":"","sources":["../../../src/utils/fail-msg-with-badge.mts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,GAAG,SAAS,GACtB,MAAM,CAER"}
@@ -1,22 +0,0 @@
1
- import type { Remap } from '@socketsecurity/registry/lib/objects';
2
- import type { Abortable } from 'node:events';
3
- import type { ObjectEncodingOptions, OpenMode, PathLike, PathOrFileDescriptor } from 'node:fs';
4
- import type { FileHandle } from 'node:fs/promises';
5
- export declare function removeNodeModules(cwd?: string): Promise<void>;
6
- export type FindUpOptions = {
7
- cwd?: string | undefined;
8
- signal?: AbortSignal | undefined;
9
- };
10
- export declare function findUp(name: string | string[], { cwd, signal }: FindUpOptions): Promise<string | undefined>;
11
- export type ReadFileOptions = Remap<ObjectEncodingOptions & Abortable & {
12
- flag?: OpenMode | undefined;
13
- }>;
14
- export declare function readFileBinary(filepath: PathLike | FileHandle, options?: ReadFileOptions | undefined): Promise<Buffer>;
15
- export declare function readFileUtf8(filepath: PathLike | FileHandle, options?: ReadFileOptions | undefined): Promise<string>;
16
- export declare function safeReadFile(filepath: PathLike | FileHandle, options?: 'utf8' | 'utf-8' | {
17
- encoding: 'utf8' | 'utf-8';
18
- } | undefined): Promise<string | undefined>;
19
- export declare function safeReadFileSync(filepath: PathOrFileDescriptor, options?: 'utf8' | 'utf-8' | {
20
- encoding: 'utf8' | 'utf-8';
21
- } | undefined): string | undefined;
22
- //# sourceMappingURL=fs.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fs.d.mts","sourceRoot":"","sources":["../../../src/utils/fs.mts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EACV,qBAAqB,EACrB,QAAQ,EACR,QAAQ,EACR,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,wBAAsB,iBAAiB,CAAC,GAAG,SAAgB,iBAG1D;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,wBAAsB,MAAM,CAC1B,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,EAAE,GAAmB,EAAE,MAAoB,EAAE,EAAE,aAAa,GAC3D,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAqB7B;AAED,MAAM,MAAM,eAAe,GAAG,KAAK,CACjC,qBAAqB,GACnB,SAAS,GAAG;IACV,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC5B,CACJ,CAAA;AAED,wBAAsB,cAAc,CAClC,QAAQ,EAAE,QAAQ,GAAG,UAAU,EAC/B,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,GACpC,OAAO,CAAC,MAAM,CAAC,CAMjB;AAED,wBAAsB,YAAY,CAChC,QAAQ,EAAE,QAAQ,GAAG,UAAU,EAC/B,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,GACpC,OAAO,CAAC,MAAM,CAAC,CAMjB;AAED,wBAAsB,YAAY,CAChC,QAAQ,EAAE,QAAQ,GAAG,UAAU,EAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG;IAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,SAAS,GACtE,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;AAgB9B,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,oBAAoB,EAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG;IAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,SAAS,GACtE,MAAM,GAAG,SAAS,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { OutputKind } from '../types.mts';
2
- export declare function getOutputKind(json: unknown, markdown: unknown): OutputKind;
3
- //# sourceMappingURL=get-output-kind.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-output-kind.d.mts","sourceRoot":"","sources":["../../../src/utils/get-output-kind.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAE9C,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,UAAU,CAQ1E"}
@@ -1,14 +0,0 @@
1
- import type { Agent } from './package-environment.mts';
2
- import type { SocketYml } from '@socketsecurity/config';
3
- import type { SocketSdkReturnType } from '@socketsecurity/sdk';
4
- import type { GlobOptions } from 'tinyglobby';
5
- export declare function filterGlobResultToSupportedFiles(entries: string[] | readonly string[], supportedFiles: SocketSdkReturnType<'getReportSupportedFiles'>['data']): Promise<string[]>;
6
- type GlobWithGitIgnoreOptions = GlobOptions & {
7
- socketConfig?: SocketYml | undefined;
8
- };
9
- export declare function globWithGitIgnore(patterns: string[] | readonly string[], options: GlobWithGitIgnoreOptions): Promise<string[]>;
10
- export declare function globNodeModules(cwd?: string): Promise<string[]>;
11
- export declare function globWorkspace(agent: Agent, cwd?: string): Promise<string[]>;
12
- export declare function pathsToGlobPatterns(paths: string[] | readonly string[]): string[];
13
- export {};
14
- //# sourceMappingURL=glob.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"glob.d.mts","sourceRoot":"","sources":["../../../src/utils/glob.mts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAoJ7C,wBAAsB,gCAAgC,CACpD,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EACrC,cAAc,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAC,MAAM,CAAC,GACrE,OAAO,CAAC,MAAM,EAAE,CAAC,CAcnB;AAED,KAAK,wBAAwB,GAAG,WAAW,GAAG;IAC5C,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CACrC,CAAA;AAED,wBAAsB,iBAAiB,CACrC,QAAQ,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EACtC,OAAO,EAAE,wBAAwB,qBAsDlC;AAED,wBAAsB,eAAe,CAAC,GAAG,SAAgB,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAK5E;AAED,wBAAsB,aAAa,CACjC,KAAK,EAAE,KAAK,EACZ,GAAG,SAAgB,GAClB,OAAO,CAAC,MAAM,EAAE,CAAC,CASnB;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GAClC,MAAM,EAAE,CAGV"}
@@ -1,10 +0,0 @@
1
- interface NestedRecord<T> {
2
- [key: string]: T | NestedRecord<T>;
3
- }
4
- /**
5
- * Convert a Map<string, Map|string> to a nested object of similar shape.
6
- * The goal is to serialize it with JSON.stringify, which Map can't do.
7
- */
8
- export declare function mapToObject<T>(map: Map<string, T | Map<string, T | Map<string, T>>>): NestedRecord<T>;
9
- export {};
10
- //# sourceMappingURL=map-to-object.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"map-to-object.d.mts","sourceRoot":"","sources":["../../../src/utils/map-to-object.mts"],"names":[],"mappings":"AAAA,UAAU,YAAY,CAAC,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,CAAA;CACnC;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAC3B,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,GACpD,YAAY,CAAC,CAAC,CAAC,CAOjB"}
@@ -1,4 +0,0 @@
1
- export declare function mdTableStringNumber(title1: string, title2: string, obj: Record<string, number | string>): string;
2
- export declare function mdTable<T extends Array<Record<string, string>>>(logs: T, cols: Array<string & keyof T[number]>, titles?: string[]): string;
3
- export declare function mdTableOfPairs(arr: Array<[string, string]>, cols: string[]): string;
4
- //# sourceMappingURL=markdown.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown.d.mts","sourceRoot":"","sources":["../../../src/utils/markdown.mts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACnC,MAAM,CAuBR;AAED,wBAAgB,OAAO,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAC7D,IAAI,EAAE,CAAC,EAGP,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,EACrC,MAAM,GAAE,MAAM,EAAS,GACtB,MAAM,CAsCR;AAED,wBAAgB,cAAc,CAC5B,GAAG,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAG5B,IAAI,EAAE,MAAM,EAAE,GACb,MAAM,CA4BR"}
@@ -1,45 +0,0 @@
1
- import type { MeowFlags } from '../flags.mts';
2
- import type { Options } from 'meow';
3
- interface CliAlias {
4
- description: string;
5
- argv: readonly string[];
6
- hidden?: boolean | undefined;
7
- }
8
- type CliAliases = Record<string, CliAlias>;
9
- type CliSubcommandRun = (argv: string[] | readonly string[], importMeta: ImportMeta, context: {
10
- parentName: string;
11
- }) => Promise<void> | void;
12
- export interface CliSubcommand {
13
- description: string;
14
- hidden?: boolean | undefined;
15
- run: CliSubcommandRun;
16
- }
17
- export interface CliCommandConfig {
18
- commandName: string;
19
- description: string;
20
- hidden: boolean;
21
- flags: MeowFlags;
22
- help: (command: string, config: CliCommandConfig) => string;
23
- }
24
- interface MeowOptions extends Options<any> {
25
- aliases?: CliAliases | undefined;
26
- argv: readonly string[];
27
- name: string;
28
- defaultSub?: string;
29
- }
30
- export declare function getLastSeenCommand(): string;
31
- export declare function meowWithSubcommands(subcommands: Record<string, CliSubcommand>, options: MeowOptions): Promise<void>;
32
- /**
33
- * Note: meow will exit immediately if it calls its .showHelp()
34
- */
35
- export declare function meowOrExit({ allowUnknownFlags, // commands that pass-through args need to allow this
36
- argv, config, importMeta, parentName, }: {
37
- allowUnknownFlags?: boolean | undefined;
38
- argv: readonly string[];
39
- config: CliCommandConfig;
40
- parentName: string;
41
- importMeta: ImportMeta;
42
- }): import("meow").Result<MeowFlags>;
43
- export declare function emitBanner(name: string): void;
44
- export {};
45
- //# sourceMappingURL=meow-with-subcommands.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meow-with-subcommands.d.mts","sourceRoot":"","sources":["../../../src/utils/meow-with-subcommands.mts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAEnC,UAAU,QAAQ;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC7B;AAED,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;AAE1C,KAAK,gBAAgB,GAAG,CACtB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,KAC5B,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AAEzB,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,GAAG,EAAE,gBAAgB,CAAA;CACtB;AAKD,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,KAAK,MAAM,CAAA;CAC5D;AAED,UAAU,WAAY,SAAQ,OAAO,CAAC,GAAG,CAAC;IACxC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;IAChC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IAEZ,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAMD,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EAC1C,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,IAAI,CAAC,CA2Kf;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,EACzB,iBAAiB,EAAE,qDAAqD;AACxE,IAAI,EACJ,MAAM,EACN,UAAU,EACV,UAAU,GACX,EAAE;IACD,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACvC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;IACvB,MAAM,EAAE,gBAAgB,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,UAAU,CAAA;CACvB,oCAoDA;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,QAUtC"}
@@ -1,7 +0,0 @@
1
- export declare function isNpmBinPathShadowed(): boolean;
2
- export declare function isNpxBinPathShadowed(): boolean;
3
- export declare function getNpmBinPath(): string;
4
- export declare function getNpmPath(): string;
5
- export declare function getNpmRequire(): NodeJS.Require;
6
- export declare function getNpxBinPath(): string;
7
- //# sourceMappingURL=npm-paths.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"npm-paths.d.mts","sourceRoot":"","sources":["../../../src/utils/npm-paths.mts"],"names":[],"mappings":"AAqCA,wBAAgB,oBAAoB,YAEnC;AAED,wBAAgB,oBAAoB,YAEnC;AAGD,wBAAgB,aAAa,IAAI,MAAM,CAQtC;AAGD,wBAAgB,UAAU,WAkBzB;AAGD,wBAAgB,aAAa,IAAI,MAAM,CAAC,OAAO,CAY9C;AAGD,wBAAgB,aAAa,IAAI,MAAM,CAQtC"}
@@ -1,3 +0,0 @@
1
- export declare function createEnum<const T extends Record<string, any>>(obj: T): Readonly<T>;
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"objects.d.mts","sourceRoot":"","sources":["../../../src/utils/objects.mts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,KAAK,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5D,GAAG,EAAE,CAAC,GACL,QAAQ,CAAC,CAAC,CAAC,CAEb;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EACnE,KAAK,EAAE,CAAC,EACR,IAAI,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,GACvB,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAMZ"}
@@ -1,15 +0,0 @@
1
- import type { MeowFlags } from '../flags.mts';
2
- type HelpListOptions = {
3
- keyPrefix: string;
4
- padName: number;
5
- };
6
- type ListDescription = {
7
- description: string;
8
- } | {
9
- description: string;
10
- hidden: boolean;
11
- };
12
- export declare function getFlagListOutput(list: MeowFlags, indent: number, { keyPrefix, padName }?: HelpListOptions): string;
13
- export declare function getHelpListOutput(list: Record<string, ListDescription>, indent: number, { keyPrefix, padName }?: HelpListOptions): string;
14
- export {};
15
- //# sourceMappingURL=output-formatting.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"output-formatting.d.mts","sourceRoot":"","sources":["../../../src/utils/output-formatting.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,KAAK,eAAe,GAAG;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,KAAK,eAAe,GAChB;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,GACvB;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAAA;AAE5C,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,MAAM,EACd,EAAE,SAAgB,EAAE,OAAO,EAAE,kBAAwB,GACpD,MAAM,CAQR;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,EACrC,MAAM,EAAE,MAAM,EACd,EAAE,SAAc,EAAE,OAAY,EAAE,kBAAwB,GACvD,MAAM,CAiBR"}
@@ -1,54 +0,0 @@
1
- import { Logger } from '@socketsecurity/registry/lib/logger';
2
- import type { Remap } from '@socketsecurity/registry/lib/objects';
3
- import type { EditablePackageJson } from '@socketsecurity/registry/lib/packages';
4
- import type { SemVer } from 'semver';
5
- export declare const AGENTS: readonly ["bun", "npm", "pnpm", "yarn/berry", "yarn/classic", "vlt"];
6
- export type Agent = (typeof AGENTS)[number];
7
- type EnvBase = {
8
- agent: Agent;
9
- agentExecPath: string;
10
- agentSupported: boolean;
11
- features: {
12
- npmBuggyOverrides: boolean;
13
- };
14
- nodeSupported: boolean;
15
- nodeVersion: SemVer;
16
- npmExecPath: string;
17
- pkgRequirements: {
18
- agent: string;
19
- node: string;
20
- };
21
- pkgSupports: {
22
- agent: boolean;
23
- node: boolean;
24
- };
25
- };
26
- export type EnvDetails = Readonly<Remap<EnvBase & {
27
- agentVersion: SemVer;
28
- editablePkgJson: EditablePackageJson;
29
- lockName: string;
30
- lockPath: string;
31
- lockSrc: string;
32
- pkgPath: string;
33
- }>>;
34
- export type PartialEnvDetails = Readonly<Remap<EnvBase & {
35
- agentVersion: SemVer | undefined;
36
- editablePkgJson: EditablePackageJson | undefined;
37
- lockName: string | undefined;
38
- lockPath: string | undefined;
39
- lockSrc: string | undefined;
40
- pkgPath: string | undefined;
41
- }>>;
42
- export type DetectOptions = {
43
- cwd?: string | undefined;
44
- onUnknown?: (pkgManager: string | undefined) => void;
45
- };
46
- export declare function detectPackageEnvironment({ cwd, onUnknown, }?: DetectOptions): Promise<EnvDetails | PartialEnvDetails>;
47
- export type DetectAndValidateOptions = {
48
- cmdName?: string | undefined;
49
- logger?: Logger | undefined;
50
- prod?: boolean | undefined;
51
- };
52
- export declare function detectAndValidatePackageEnvironment(cwd: string, options?: DetectAndValidateOptions | undefined): Promise<void | EnvDetails>;
53
- export {};
54
- //# sourceMappingURL=package-environment.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package-environment.d.mts","sourceRoot":"","sources":["../../../src/utils/package-environment.mts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAU5D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAA;AAChF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiBpC,eAAO,MAAM,MAAM,sEAA2D,CAAA;AAE9E,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AA0I3C,KAAK,OAAO,GAAG;IACb,KAAK,EAAE,KAAK,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,OAAO,CAAA;IACvB,QAAQ,EAAE;QAGR,iBAAiB,EAAE,OAAO,CAAA;KAC3B,CAAA;IACD,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE;QACf,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,WAAW,EAAE;QACX,KAAK,EAAE,OAAO,CAAA;QACd,IAAI,EAAE,OAAO,CAAA;KACd,CAAA;CACF,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,QAAQ,CAC/B,KAAK,CACH,OAAO,GAAG;IACR,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,mBAAmB,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;CAChB,CACF,CACF,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CACtC,KAAK,CACH,OAAO,GAAG;IACR,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,eAAe,EAAE,mBAAmB,GAAG,SAAS,CAAA;IAChD,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,CACF,CACF,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;CACrD,CAAA;AAED,wBAAsB,wBAAwB,CAAC,EAC7C,GAAmB,EACnB,SAAS,GACV,GAAE,aAAkB,GAAG,OAAO,CAAC,UAAU,GAAG,iBAAiB,CAAC,CAgK9D;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,wBAAsB,mCAAmC,CACvD,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,wBAAwB,GAAG,SAAS,GAC7C,OAAO,CAAC,IAAI,GAAG,UAAU,CAAC,CA2G5B"}
@@ -1,10 +0,0 @@
1
- import type { SocketYml } from '@socketsecurity/config';
2
- import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
- export declare function findBinPathDetailsSync(binName: string): {
4
- name: string;
5
- path: string | undefined;
6
- shadowed: boolean;
7
- };
8
- export declare function findNpmPathSync(npmBinPath: string): string | undefined;
9
- export declare function getPackageFilesForScan(cwd: string, inputPaths: string[], supportedFiles: SocketSdkReturnType<'getReportSupportedFiles'>['data'], config?: SocketYml | undefined): Promise<string[]>;
10
- //# sourceMappingURL=path-resolve.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"path-resolve.d.mts","sourceRoot":"","sources":["../../../src/utils/path-resolve.mts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAI9D,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG;IACvD,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAmBA;AAED,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CA8CtE;AAED,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,EAAE,EACpB,cAAc,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAC,MAAM,CAAC,EACtE,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAC7B,OAAO,CAAC,MAAM,EAAE,CAAC,CA0CnB"}
@@ -1,9 +0,0 @@
1
- import type { LockfileObject } from '@pnpm/lockfile.fs';
2
- import type { SemVer } from 'semver';
3
- export declare function extractPurlsFromPnpmLockfile(lockfile: LockfileObject): Promise<string[]>;
4
- export declare function isPnpmDepPath(maybeDepPath: string): boolean;
5
- export declare function parsePnpmLockfileVersion(version: string): SemVer;
6
- export declare function readPnpmLockfile(lockfilePath: string): Promise<LockfileObject | null>;
7
- export declare function stripLeadingPnpmDepPathSlash(depPath: string): string;
8
- export declare function stripPnpmPeerSuffix(depPath: string): string;
9
- //# sourceMappingURL=pnpm.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pnpm.d.mts","sourceRoot":"","sources":["../../../src/utils/pnpm.mts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAmB,MAAM,mBAAmB,CAAA;AACxE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAEpC,wBAAsB,4BAA4B,CAChD,QAAQ,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,EAAE,CAAC,CA8BnB;AAED,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAE3D;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEhE;AAED,wBAAsB,gBAAgB,CACpC,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAIhC;AAED,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG3D"}
@@ -1,8 +0,0 @@
1
- import { SocketSdk } from '@socketsecurity/sdk';
2
- import type { CResult } from '../types.mts';
3
- export declare function getDefaultToken(): string | undefined;
4
- export declare function getVisibleTokenPrefix(): string;
5
- export declare function hasDefaultToken(): boolean;
6
- export declare function getPublicToken(): string;
7
- export declare function setupSdk(apiToken?: string | undefined, apiBaseUrl?: string | undefined, proxy?: string | undefined): Promise<CResult<SocketSdk>>;
8
- //# sourceMappingURL=sdk.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sdk.d.mts","sourceRoot":"","sources":["../../../src/utils/sdk.mts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAA8B,MAAM,qBAAqB,CAAA;AAK3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AA2B3C,wBAAgB,eAAe,IAAI,MAAM,GAAG,SAAS,CAapD;AAED,wBAAgB,qBAAqB,IAAI,MAAM,CAK9C;AAED,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED,wBAAgB,cAAc,IAAI,MAAM,CAMvC;AAED,wBAAsB,QAAQ,CAC5B,QAAQ,GAAE,MAAM,GAAG,SAA6B,EAChD,UAAU,GAAE,MAAM,GAAG,SAAkC,EACvD,KAAK,GAAE,MAAM,GAAG,SAAiC,GAChD,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CA8B7B"}
@@ -1,5 +0,0 @@
1
- export declare const RangeStyles: string[];
2
- export type RangeStyle = 'caret' | 'gt' | 'gte' | 'lt' | 'lte' | 'pin' | 'preserve' | 'tilde';
3
- export declare function applyRange(refRange: string, version: string, style?: RangeStyle): string;
4
- export declare function getMajor(version: string): number | null;
5
- //# sourceMappingURL=semver.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"semver.d.mts","sourceRoot":"","sources":["../../../src/utils/semver.mts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,UAAoD,CAAA;AAE5E,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,KAAK,GACL,UAAU,GACV,OAAO,CAAA;AAEX,wBAAgB,UAAU,CACxB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,UAAuB,GAC7B,MAAM,CAoCR;AAED,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAUvD"}
@@ -1,3 +0,0 @@
1
- import type { CResult } from '../types.mts';
2
- export declare function serializeResultJson(data: CResult<unknown>): string;
3
- //# sourceMappingURL=serialize-result-json.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serialize-result-json.d.mts","sourceRoot":"","sources":["../../../src/utils/serialize-result-json.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAI3C,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,MAAM,CAoClE"}
@@ -1,71 +0,0 @@
1
- import { ALERT_SEVERITY } from './alert/severity.mts';
2
- import type { ALERT_ACTION, CompactSocketArtifact, CompactSocketArtifactAlert } from './alert/artifact.mts';
3
- import type { Spinner } from '@socketsecurity/registry/lib/spinner';
4
- export declare const ALERT_SEVERITY_COLOR: Readonly<{
5
- readonly critical: "magenta";
6
- readonly high: "red";
7
- readonly middle: "yellow";
8
- readonly low: "white";
9
- }>;
10
- export declare const ALERT_SEVERITY_ORDER: Readonly<{
11
- readonly critical: 0;
12
- readonly high: 1;
13
- readonly middle: 2;
14
- readonly low: 3;
15
- readonly none: 4;
16
- }>;
17
- export type SocketPackageAlert = {
18
- name: string;
19
- version: string;
20
- key: string;
21
- type: string;
22
- blocked: boolean;
23
- critical: boolean;
24
- fixable: boolean;
25
- raw: CompactSocketArtifactAlert;
26
- upgradable: boolean;
27
- };
28
- export type AlertsByPkgId = Map<string, SocketPackageAlert[]>;
29
- export type RiskCounts = {
30
- critical: number;
31
- high: number;
32
- middle: number;
33
- low: number;
34
- };
35
- export type AlertIncludeFilter = {
36
- actions?: ALERT_ACTION[] | undefined;
37
- blocked?: boolean | undefined;
38
- critical?: boolean | undefined;
39
- cve?: boolean | undefined;
40
- existing?: boolean | undefined;
41
- unfixable?: boolean | undefined;
42
- upgradable?: boolean | undefined;
43
- };
44
- export type AddSocketArtifactAlertToAlertsMapOptions = {
45
- consolidate?: boolean | undefined;
46
- include?: AlertIncludeFilter | undefined;
47
- overrides?: {
48
- [key: string]: string;
49
- } | undefined;
50
- spinner?: Spinner | undefined;
51
- };
52
- export declare function addArtifactToAlertsMap<T extends AlertsByPkgId>(artifact: CompactSocketArtifact, alertsByPkgId: T, options?: AddSocketArtifactAlertToAlertsMapOptions | undefined): Promise<T>;
53
- export type CveExcludeFilter = {
54
- upgradable?: boolean | undefined;
55
- };
56
- export type CveInfoByAlertKey = Map<string, {
57
- firstPatchedVersionIdentifier: string;
58
- vulnerableVersionRange: string;
59
- }>;
60
- export type CveInfoByPkgName = Map<string, CveInfoByAlertKey>;
61
- export type GetCveInfoByPackageOptions = {
62
- exclude?: CveExcludeFilter | undefined;
63
- limit?: number | undefined;
64
- };
65
- export declare function getCveInfoFromAlertsMap(alertsMap: AlertsByPkgId, options?: GetCveInfoByPackageOptions | undefined): CveInfoByPkgName | null;
66
- export type LogAlertsMapOptions = {
67
- hideAt?: `${keyof typeof ALERT_SEVERITY}` | 'none' | undefined;
68
- output?: NodeJS.WriteStream | undefined;
69
- };
70
- export declare function logAlertsMap(alertsMap: AlertsByPkgId, options: LogAlertsMapOptions): void;
71
- //# sourceMappingURL=socket-package-alert.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"socket-package-alert.d.mts","sourceRoot":"","sources":["../../../src/utils/socket-package-alert.mts"],"names":[],"mappings":"AAYA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AASrD,OAAO,KAAK,EACV,YAAY,EAEZ,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAA;AAEnE,eAAO,MAAM,oBAAoB;;;;;EAK/B,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;EAM/B,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,GAAG,EAAE,0BAA0B,CAAA;IAC/B,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAA;AAsD7D,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAiDD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,YAAY,EAAE,GAAG,SAAS,CAAA;IACpC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC9B,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC9B,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC/B,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,wCAAwC,GAAG;IACrD,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACjC,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACxC,SAAS,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAA;IACjD,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,CAAA;AAED,wBAAsB,sBAAsB,CAAC,CAAC,SAAS,aAAa,EAClE,QAAQ,EAAE,qBAAqB,EAC/B,aAAa,EAAE,CAAC,EAChB,OAAO,CAAC,EAAE,wCAAwC,GAAG,SAAS,GAC7D,OAAO,CAAC,CAAC,CAAC,CA0HZ;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,GAAG,CACjC,MAAM,EACN;IACE,6BAA6B,EAAE,MAAM,CAAA;IACrC,sBAAsB,EAAE,MAAM,CAAA;CAC/B,CACF,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;AAE7D,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,aAAa,EACxB,OAAO,CAAC,EAAE,0BAA0B,GAAG,SAAS,GAC/C,gBAAgB,GAAG,IAAI,CA2DzB;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,CAAC,EAAE,GAAG,MAAM,OAAO,cAAc,EAAE,GAAG,MAAM,GAAG,SAAS,CAAA;IAC9D,MAAM,CAAC,EAAE,MAAM,CAAC,WAAW,GAAG,SAAS,CAAA;CACxC,CAAA;AAED,wBAAgB,YAAY,CAC1B,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,mBAAmB,QA2K7B"}
@@ -1,9 +0,0 @@
1
- import type { PackageURL } from '@socketregistry/packageurl-js';
2
- import type { components } from '@socketsecurity/sdk/types/api';
3
- type PurlLikeType = PackageURL | components['schemas']['SocketPURL'];
4
- export declare function getPkgFullNameFromPurlObj(purlObj: PurlLikeType): string;
5
- export declare function getSocketDevAlertUrl(alertType: string): string;
6
- export declare function getSocketDevPackageOverviewUrlFromPurl(purlObj: PurlLikeType): string;
7
- export declare function getSocketDevPackageOverviewUrl(ecosystem: string, fullName: string, version?: string | undefined): string;
8
- export {};
9
- //# sourceMappingURL=socket-url.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"socket-url.d.mts","sourceRoot":"","sources":["../../../src/utils/socket-url.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE/D,KAAK,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAA;AAIpE,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAKvE;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,sCAAsC,CACpD,OAAO,EAAE,YAAY,GACpB,MAAM,CAGR;AAED,wBAAgB,8BAA8B,CAC5C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAC3B,MAAM,CAKR"}
@@ -1,4 +0,0 @@
1
- import { PackageURL } from '@socketregistry/packageurl-js';
2
- export declare function idToPurl(id: string): string;
3
- export declare function resolvePackageVersion(purlObj: PackageURL): string;
4
- //# sourceMappingURL=spec.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spec.d.mts","sourceRoot":"","sources":["../../../src/utils/spec.mts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAI1D,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAE3C;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,UAAU,GAAG,MAAM,CAKjE"}
@@ -1,2 +0,0 @@
1
- export declare function stringJoinWithSeparateFinalSeparator(list: string[], separator?: string): string;
2
- //# sourceMappingURL=strings.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"strings.d.mts","sourceRoot":"","sources":["../../../src/utils/strings.mts"],"names":[],"mappings":"AAAA,wBAAgB,oCAAoC,CAClD,IAAI,EAAE,MAAM,EAAE,EACd,SAAS,GAAE,MAAgB,GAC1B,MAAM,CAWR"}