socket 1.1.25 → 2.0.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 (913) hide show
  1. package/README.md +25 -83
  2. package/dist/bootstrap.js +213 -0
  3. package/package.json +25 -270
  4. package/CHANGELOG.md +0 -553
  5. package/LICENSE +0 -21
  6. package/bin/cli.js +0 -52
  7. package/bin/npm-cli.js +0 -29
  8. package/bin/npx-cli.js +0 -29
  9. package/bin/pnpm-cli.js +0 -29
  10. package/bin/yarn-cli.js +0 -29
  11. package/dist/cli.js +0 -14999
  12. package/dist/cli.js.map +0 -1
  13. package/dist/constants.js +0 -845
  14. package/dist/constants.js.map +0 -1
  15. package/dist/flags.js +0 -212
  16. package/dist/flags.js.map +0 -1
  17. package/dist/init.gradle +0 -250
  18. package/dist/npm-cli.js +0 -30
  19. package/dist/npm-cli.js.map +0 -1
  20. package/dist/npx-cli.js +0 -26
  21. package/dist/npx-cli.js.map +0 -1
  22. package/dist/pnpm-cli.js +0 -30
  23. package/dist/pnpm-cli.js.map +0 -1
  24. package/dist/shadow-npm-bin.js +0 -8
  25. package/dist/shadow-npm-bin.js.map +0 -1
  26. package/dist/shadow-npm-bin2.js +0 -102
  27. package/dist/shadow-npm-bin2.js.map +0 -1
  28. package/dist/shadow-npm-inject.js +0 -307
  29. package/dist/shadow-npm-inject.js.map +0 -1
  30. package/dist/shadow-npx-bin.js +0 -12
  31. package/dist/shadow-npx-bin.js.map +0 -1
  32. package/dist/shadow-pnpm-bin.js +0 -8
  33. package/dist/shadow-pnpm-bin.js.map +0 -1
  34. package/dist/shadow-pnpm-bin2.js +0 -300
  35. package/dist/shadow-pnpm-bin2.js.map +0 -1
  36. package/dist/shadow-yarn-bin.js +0 -96
  37. package/dist/shadow-yarn-bin.js.map +0 -1
  38. package/dist/socket-completion.bash +0 -237
  39. package/dist/tsconfig.dts.tsbuildinfo +0 -1
  40. package/dist/types/cli.d.mts +0 -3
  41. package/dist/types/cli.d.mts.map +0 -1
  42. package/dist/types/commands/analytics/cmd-analytics.d.mts +0 -10
  43. package/dist/types/commands/analytics/cmd-analytics.d.mts.map +0 -1
  44. package/dist/types/commands/analytics/fetch-org-analytics.d.mts +0 -8
  45. package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +0 -1
  46. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +0 -8
  47. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +0 -1
  48. package/dist/types/commands/analytics/handle-analytics.d.mts +0 -10
  49. package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
  50. package/dist/types/commands/analytics/output-analytics.d.mts +0 -29
  51. package/dist/types/commands/analytics/output-analytics.d.mts.map +0 -1
  52. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +0 -10
  53. package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +0 -1
  54. package/dist/types/commands/audit-log/fetch-audit-log.d.mts +0 -15
  55. package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +0 -1
  56. package/dist/types/commands/audit-log/handle-audit-log.d.mts +0 -9
  57. package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +0 -1
  58. package/dist/types/commands/audit-log/output-audit-log.d.mts +0 -22
  59. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +0 -1
  60. package/dist/types/commands/ci/cmd-ci.d.mts +0 -9
  61. package/dist/types/commands/ci/cmd-ci.d.mts.map +0 -1
  62. package/dist/types/commands/ci/fetch-default-org-slug.d.mts +0 -4
  63. package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +0 -1
  64. package/dist/types/commands/ci/handle-ci.d.mts +0 -2
  65. package/dist/types/commands/ci/handle-ci.d.mts.map +0 -1
  66. package/dist/types/commands/config/cmd-config-auto.d.mts +0 -10
  67. package/dist/types/commands/config/cmd-config-auto.d.mts.map +0 -1
  68. package/dist/types/commands/config/cmd-config-get.d.mts +0 -9
  69. package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
  70. package/dist/types/commands/config/cmd-config-list.d.mts +0 -9
  71. package/dist/types/commands/config/cmd-config-list.d.mts.map +0 -1
  72. package/dist/types/commands/config/cmd-config-set.d.mts +0 -10
  73. package/dist/types/commands/config/cmd-config-set.d.mts.map +0 -1
  74. package/dist/types/commands/config/cmd-config-unset.d.mts +0 -10
  75. package/dist/types/commands/config/cmd-config-unset.d.mts.map +0 -1
  76. package/dist/types/commands/config/cmd-config.d.mts +0 -3
  77. package/dist/types/commands/config/cmd-config.d.mts.map +0 -1
  78. package/dist/types/commands/config/discover-config-value.d.mts +0 -3
  79. package/dist/types/commands/config/discover-config-value.d.mts.map +0 -1
  80. package/dist/types/commands/config/handle-config-auto.d.mts +0 -7
  81. package/dist/types/commands/config/handle-config-auto.d.mts.map +0 -1
  82. package/dist/types/commands/config/handle-config-get.d.mts +0 -7
  83. package/dist/types/commands/config/handle-config-get.d.mts.map +0 -1
  84. package/dist/types/commands/config/handle-config-set.d.mts +0 -8
  85. package/dist/types/commands/config/handle-config-set.d.mts.map +0 -1
  86. package/dist/types/commands/config/handle-config-unset.d.mts +0 -7
  87. package/dist/types/commands/config/handle-config-unset.d.mts.map +0 -1
  88. package/dist/types/commands/config/output-config-auto.d.mts +0 -4
  89. package/dist/types/commands/config/output-config-auto.d.mts.map +0 -1
  90. package/dist/types/commands/config/output-config-get.d.mts +0 -4
  91. package/dist/types/commands/config/output-config-get.d.mts.map +0 -1
  92. package/dist/types/commands/config/output-config-list.d.mts +0 -6
  93. package/dist/types/commands/config/output-config-list.d.mts.map +0 -1
  94. package/dist/types/commands/config/output-config-set.d.mts +0 -3
  95. package/dist/types/commands/config/output-config-set.d.mts.map +0 -1
  96. package/dist/types/commands/config/output-config-unset.d.mts +0 -3
  97. package/dist/types/commands/config/output-config-unset.d.mts.map +0 -1
  98. package/dist/types/commands/fix/cmd-fix.d.mts +0 -10
  99. package/dist/types/commands/fix/cmd-fix.d.mts.map +0 -1
  100. package/dist/types/commands/fix/coana-fix.d.mts +0 -6
  101. package/dist/types/commands/fix/coana-fix.d.mts.map +0 -1
  102. package/dist/types/commands/fix/env-helpers.d.mts +0 -26
  103. package/dist/types/commands/fix/env-helpers.d.mts.map +0 -1
  104. package/dist/types/commands/fix/git.d.mts +0 -13
  105. package/dist/types/commands/fix/git.d.mts.map +0 -1
  106. package/dist/types/commands/fix/handle-fix.d.mts +0 -20
  107. package/dist/types/commands/fix/handle-fix.d.mts.map +0 -1
  108. package/dist/types/commands/fix/output-fix-result.d.mts +0 -3
  109. package/dist/types/commands/fix/output-fix-result.d.mts.map +0 -1
  110. package/dist/types/commands/fix/pull-request.d.mts +0 -31
  111. package/dist/types/commands/fix/pull-request.d.mts.map +0 -1
  112. package/dist/types/commands/fix/types.d.mts +0 -21
  113. package/dist/types/commands/fix/types.d.mts.map +0 -1
  114. package/dist/types/commands/install/cmd-install-completion.d.mts +0 -9
  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/json/cmd-json.d.mts +0 -9
  125. package/dist/types/commands/json/cmd-json.d.mts.map +0 -1
  126. package/dist/types/commands/json/handle-cmd-json.d.mts +0 -2
  127. package/dist/types/commands/json/handle-cmd-json.d.mts.map +0 -1
  128. package/dist/types/commands/json/output-cmd-json.d.mts +0 -2
  129. package/dist/types/commands/json/output-cmd-json.d.mts.map +0 -1
  130. package/dist/types/commands/login/apply-login.d.mts +0 -2
  131. package/dist/types/commands/login/apply-login.d.mts.map +0 -1
  132. package/dist/types/commands/login/attempt-login.d.mts +0 -6
  133. package/dist/types/commands/login/attempt-login.d.mts.map +0 -1
  134. package/dist/types/commands/login/cmd-login.d.mts +0 -10
  135. package/dist/types/commands/login/cmd-login.d.mts.map +0 -1
  136. package/dist/types/commands/logout/apply-logout.d.mts +0 -2
  137. package/dist/types/commands/logout/apply-logout.d.mts.map +0 -1
  138. package/dist/types/commands/logout/attempt-logout.d.mts +0 -2
  139. package/dist/types/commands/logout/attempt-logout.d.mts.map +0 -1
  140. package/dist/types/commands/logout/cmd-logout.d.mts +0 -9
  141. package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
  142. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -9
  143. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
  144. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -9
  145. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
  146. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -9
  147. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
  148. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -9
  149. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
  150. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -9
  151. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
  152. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -9
  153. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
  154. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +0 -9
  155. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +0 -1
  156. package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -9
  157. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +0 -1
  158. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +0 -8
  159. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +0 -1
  160. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +0 -7
  161. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +0 -1
  162. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +0 -8
  163. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +0 -1
  164. package/dist/types/commands/manifest/detect-manifest-actions.d.mts +0 -13
  165. package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +0 -1
  166. package/dist/types/commands/manifest/generate_auto_manifest.d.mts +0 -9
  167. package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +0 -1
  168. package/dist/types/commands/manifest/handle-manifest-conda.d.mts +0 -9
  169. package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +0 -1
  170. package/dist/types/commands/manifest/handle-manifest-setup.d.mts +0 -2
  171. package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +0 -1
  172. package/dist/types/commands/manifest/output-manifest-setup.d.mts +0 -3
  173. package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +0 -1
  174. package/dist/types/commands/manifest/output-requirements.d.mts +0 -6
  175. package/dist/types/commands/manifest/output-requirements.d.mts.map +0 -1
  176. package/dist/types/commands/manifest/run-cdxgen.d.mts +0 -6
  177. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +0 -1
  178. package/dist/types/commands/manifest/setup-manifest-config.d.mts +0 -3
  179. package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +0 -1
  180. package/dist/types/commands/npm/cmd-npm.d.mts +0 -10
  181. package/dist/types/commands/npm/cmd-npm.d.mts.map +0 -1
  182. package/dist/types/commands/npx/cmd-npx.d.mts +0 -9
  183. package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
  184. package/dist/types/commands/oops/cmd-oops.d.mts +0 -9
  185. package/dist/types/commands/oops/cmd-oops.d.mts.map +0 -1
  186. package/dist/types/commands/optimize/add-overrides.d.mts +0 -20
  187. package/dist/types/commands/optimize/add-overrides.d.mts.map +0 -1
  188. package/dist/types/commands/optimize/apply-optimization.d.mts +0 -14
  189. package/dist/types/commands/optimize/apply-optimization.d.mts.map +0 -1
  190. package/dist/types/commands/optimize/cmd-optimize.d.mts +0 -10
  191. package/dist/types/commands/optimize/cmd-optimize.d.mts.map +0 -1
  192. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +0 -5
  193. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +0 -1
  194. package/dist/types/commands/optimize/get-dependency-entries.d.mts +0 -3
  195. package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +0 -1
  196. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +0 -42
  197. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +0 -1
  198. package/dist/types/commands/optimize/handle-optimize.d.mts +0 -8
  199. package/dist/types/commands/optimize/handle-optimize.d.mts.map +0 -1
  200. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +0 -8
  201. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +0 -1
  202. package/dist/types/commands/optimize/ls-by-agent.d.mts +0 -13
  203. package/dist/types/commands/optimize/ls-by-agent.d.mts.map +0 -1
  204. package/dist/types/commands/optimize/output-optimize-result.d.mts +0 -9
  205. package/dist/types/commands/optimize/output-optimize-result.d.mts.map +0 -1
  206. package/dist/types/commands/optimize/shared.d.mts +0 -2
  207. package/dist/types/commands/optimize/shared.d.mts.map +0 -1
  208. package/dist/types/commands/optimize/types.d.mts +0 -9
  209. package/dist/types/commands/optimize/types.d.mts.map +0 -1
  210. package/dist/types/commands/optimize/update-lockfile.d.mts +0 -11
  211. package/dist/types/commands/optimize/update-lockfile.d.mts.map +0 -1
  212. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +0 -8
  213. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +0 -1
  214. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +0 -10
  215. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +0 -1
  216. package/dist/types/commands/organization/cmd-organization-list.d.mts +0 -10
  217. package/dist/types/commands/organization/cmd-organization-list.d.mts.map +0 -1
  218. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +0 -10
  219. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +0 -1
  220. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +0 -10
  221. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +0 -1
  222. package/dist/types/commands/organization/cmd-organization-policy.d.mts +0 -3
  223. package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +0 -1
  224. package/dist/types/commands/organization/cmd-organization-quota.d.mts +0 -9
  225. package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +0 -1
  226. package/dist/types/commands/organization/cmd-organization.d.mts +0 -3
  227. package/dist/types/commands/organization/cmd-organization.d.mts.map +0 -1
  228. package/dist/types/commands/organization/fetch-dependencies.d.mts +0 -12
  229. package/dist/types/commands/organization/fetch-dependencies.d.mts.map +0 -1
  230. package/dist/types/commands/organization/fetch-license-policy.d.mts +0 -8
  231. package/dist/types/commands/organization/fetch-license-policy.d.mts.map +0 -1
  232. package/dist/types/commands/organization/fetch-organization-list.d.mts +0 -20
  233. package/dist/types/commands/organization/fetch-organization-list.d.mts.map +0 -1
  234. package/dist/types/commands/organization/fetch-quota.d.mts +0 -8
  235. package/dist/types/commands/organization/fetch-quota.d.mts.map +0 -1
  236. package/dist/types/commands/organization/fetch-security-policy.d.mts +0 -8
  237. package/dist/types/commands/organization/fetch-security-policy.d.mts.map +0 -1
  238. package/dist/types/commands/organization/handle-dependencies.d.mts +0 -7
  239. package/dist/types/commands/organization/handle-dependencies.d.mts.map +0 -1
  240. package/dist/types/commands/organization/handle-license-policy.d.mts +0 -3
  241. package/dist/types/commands/organization/handle-license-policy.d.mts.map +0 -1
  242. package/dist/types/commands/organization/handle-organization-list.d.mts +0 -3
  243. package/dist/types/commands/organization/handle-organization-list.d.mts.map +0 -1
  244. package/dist/types/commands/organization/handle-quota.d.mts +0 -3
  245. package/dist/types/commands/organization/handle-quota.d.mts.map +0 -1
  246. package/dist/types/commands/organization/handle-security-policy.d.mts +0 -3
  247. package/dist/types/commands/organization/handle-security-policy.d.mts.map +0 -1
  248. package/dist/types/commands/organization/output-dependencies.d.mts +0 -8
  249. package/dist/types/commands/organization/output-dependencies.d.mts.map +0 -1
  250. package/dist/types/commands/organization/output-license-policy.d.mts +0 -4
  251. package/dist/types/commands/organization/output-license-policy.d.mts.map +0 -1
  252. package/dist/types/commands/organization/output-organization-list.d.mts +0 -4
  253. package/dist/types/commands/organization/output-organization-list.d.mts.map +0 -1
  254. package/dist/types/commands/organization/output-quota.d.mts +0 -4
  255. package/dist/types/commands/organization/output-quota.d.mts.map +0 -1
  256. package/dist/types/commands/organization/output-security-policy.d.mts +0 -4
  257. package/dist/types/commands/organization/output-security-policy.d.mts.map +0 -1
  258. package/dist/types/commands/package/cmd-package-score.d.mts +0 -10
  259. package/dist/types/commands/package/cmd-package-score.d.mts.map +0 -1
  260. package/dist/types/commands/package/cmd-package-shallow.d.mts +0 -17
  261. package/dist/types/commands/package/cmd-package-shallow.d.mts.map +0 -1
  262. package/dist/types/commands/package/cmd-package.d.mts +0 -3
  263. package/dist/types/commands/package/cmd-package.d.mts.map +0 -1
  264. package/dist/types/commands/package/fetch-purl-deep-score.d.mts +0 -51
  265. package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +0 -1
  266. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +0 -8
  267. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +0 -1
  268. package/dist/types/commands/package/handle-purl-deep-score.d.mts +0 -3
  269. package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +0 -1
  270. package/dist/types/commands/package/handle-purls-shallow-score.d.mts +0 -6
  271. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +0 -1
  272. package/dist/types/commands/package/output-purls-deep-score.d.mts +0 -5
  273. package/dist/types/commands/package/output-purls-deep-score.d.mts.map +0 -1
  274. package/dist/types/commands/package/output-purls-shallow-score.d.mts +0 -29
  275. package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +0 -1
  276. package/dist/types/commands/package/parse-package-specifiers.d.mts +0 -9
  277. package/dist/types/commands/package/parse-package-specifiers.d.mts.map +0 -1
  278. package/dist/types/commands/patch/cmd-patch.d.mts +0 -10
  279. package/dist/types/commands/patch/cmd-patch.d.mts.map +0 -1
  280. package/dist/types/commands/patch/handle-patch.d.mts +0 -12
  281. package/dist/types/commands/patch/handle-patch.d.mts.map +0 -1
  282. package/dist/types/commands/patch/manifest-schema.d.mts +0 -34
  283. package/dist/types/commands/patch/manifest-schema.d.mts.map +0 -1
  284. package/dist/types/commands/patch/output-patch-result.d.mts +0 -5
  285. package/dist/types/commands/patch/output-patch-result.d.mts.map +0 -1
  286. package/dist/types/commands/pnpm/cmd-pnpm.d.mts +0 -10
  287. package/dist/types/commands/pnpm/cmd-pnpm.d.mts.map +0 -1
  288. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -9
  289. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +0 -1
  290. package/dist/types/commands/raw-npm/run-raw-npm.d.mts +0 -2
  291. package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +0 -1
  292. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +0 -9
  293. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +0 -1
  294. package/dist/types/commands/raw-npx/run-raw-npx.d.mts +0 -2
  295. package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +0 -1
  296. package/dist/types/commands/repository/cmd-repository-create.d.mts +0 -10
  297. package/dist/types/commands/repository/cmd-repository-create.d.mts.map +0 -1
  298. package/dist/types/commands/repository/cmd-repository-del.d.mts +0 -10
  299. package/dist/types/commands/repository/cmd-repository-del.d.mts.map +0 -1
  300. package/dist/types/commands/repository/cmd-repository-list.d.mts +0 -10
  301. package/dist/types/commands/repository/cmd-repository-list.d.mts.map +0 -1
  302. package/dist/types/commands/repository/cmd-repository-update.d.mts +0 -10
  303. package/dist/types/commands/repository/cmd-repository-update.d.mts.map +0 -1
  304. package/dist/types/commands/repository/cmd-repository-view.d.mts +0 -10
  305. package/dist/types/commands/repository/cmd-repository-view.d.mts.map +0 -1
  306. package/dist/types/commands/repository/cmd-repository.d.mts +0 -3
  307. package/dist/types/commands/repository/cmd-repository.d.mts.map +0 -1
  308. package/dist/types/commands/repository/fetch-create-repo.d.mts +0 -16
  309. package/dist/types/commands/repository/fetch-create-repo.d.mts.map +0 -1
  310. package/dist/types/commands/repository/fetch-delete-repo.d.mts +0 -8
  311. package/dist/types/commands/repository/fetch-delete-repo.d.mts.map +0 -1
  312. package/dist/types/commands/repository/fetch-list-all-repos.d.mts +0 -10
  313. package/dist/types/commands/repository/fetch-list-all-repos.d.mts.map +0 -1
  314. package/dist/types/commands/repository/fetch-list-repos.d.mts +0 -15
  315. package/dist/types/commands/repository/fetch-list-repos.d.mts.map +0 -1
  316. package/dist/types/commands/repository/fetch-update-repo.d.mts +0 -16
  317. package/dist/types/commands/repository/fetch-update-repo.d.mts.map +0 -1
  318. package/dist/types/commands/repository/fetch-view-repo.d.mts +0 -8
  319. package/dist/types/commands/repository/fetch-view-repo.d.mts.map +0 -1
  320. package/dist/types/commands/repository/handle-create-repo.d.mts +0 -10
  321. package/dist/types/commands/repository/handle-create-repo.d.mts.map +0 -1
  322. package/dist/types/commands/repository/handle-delete-repo.d.mts +0 -3
  323. package/dist/types/commands/repository/handle-delete-repo.d.mts.map +0 -1
  324. package/dist/types/commands/repository/handle-list-repos.d.mts +0 -12
  325. package/dist/types/commands/repository/handle-list-repos.d.mts.map +0 -1
  326. package/dist/types/commands/repository/handle-update-repo.d.mts +0 -10
  327. package/dist/types/commands/repository/handle-update-repo.d.mts.map +0 -1
  328. package/dist/types/commands/repository/handle-view-repo.d.mts +0 -3
  329. package/dist/types/commands/repository/handle-view-repo.d.mts.map +0 -1
  330. package/dist/types/commands/repository/output-create-repo.d.mts +0 -4
  331. package/dist/types/commands/repository/output-create-repo.d.mts.map +0 -1
  332. package/dist/types/commands/repository/output-delete-repo.d.mts +0 -4
  333. package/dist/types/commands/repository/output-delete-repo.d.mts.map +0 -1
  334. package/dist/types/commands/repository/output-list-repos.d.mts +0 -5
  335. package/dist/types/commands/repository/output-list-repos.d.mts.map +0 -1
  336. package/dist/types/commands/repository/output-update-repo.d.mts +0 -4
  337. package/dist/types/commands/repository/output-update-repo.d.mts.map +0 -1
  338. package/dist/types/commands/repository/output-view-repo.d.mts +0 -4
  339. package/dist/types/commands/repository/output-view-repo.d.mts.map +0 -1
  340. package/dist/types/commands/repository/types.d.mts +0 -2
  341. package/dist/types/commands/repository/types.d.mts.map +0 -1
  342. package/dist/types/commands/scan/cmd-scan-create.d.mts +0 -10
  343. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +0 -1
  344. package/dist/types/commands/scan/cmd-scan-del.d.mts +0 -10
  345. package/dist/types/commands/scan/cmd-scan-del.d.mts.map +0 -1
  346. package/dist/types/commands/scan/cmd-scan-diff.d.mts +0 -10
  347. package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +0 -1
  348. package/dist/types/commands/scan/cmd-scan-github.d.mts +0 -10
  349. package/dist/types/commands/scan/cmd-scan-github.d.mts.map +0 -1
  350. package/dist/types/commands/scan/cmd-scan-list.d.mts +0 -4
  351. package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
  352. package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -4
  353. package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +0 -1
  354. package/dist/types/commands/scan/cmd-scan-reach.d.mts +0 -10
  355. package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +0 -1
  356. package/dist/types/commands/scan/cmd-scan-report.d.mts +0 -4
  357. package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
  358. package/dist/types/commands/scan/cmd-scan-setup.d.mts +0 -9
  359. package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +0 -1
  360. package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -4
  361. package/dist/types/commands/scan/cmd-scan-view.d.mts.map +0 -1
  362. package/dist/types/commands/scan/cmd-scan.d.mts +0 -3
  363. package/dist/types/commands/scan/cmd-scan.d.mts.map +0 -1
  364. package/dist/types/commands/scan/create-scan-from-github.d.mts +0 -12
  365. package/dist/types/commands/scan/create-scan-from-github.d.mts.map +0 -1
  366. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +0 -20
  367. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +0 -1
  368. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +0 -8
  369. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +0 -1
  370. package/dist/types/commands/scan/fetch-diff-scan.d.mts +0 -8
  371. package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +0 -1
  372. package/dist/types/commands/scan/fetch-list-scans.d.mts +0 -18
  373. package/dist/types/commands/scan/fetch-list-scans.d.mts.map +0 -1
  374. package/dist/types/commands/scan/fetch-report-data.d.mts +0 -17
  375. package/dist/types/commands/scan/fetch-report-data.d.mts.map +0 -1
  376. package/dist/types/commands/scan/fetch-scan-metadata.d.mts +0 -8
  377. package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +0 -1
  378. package/dist/types/commands/scan/fetch-scan.d.mts +0 -4
  379. package/dist/types/commands/scan/fetch-scan.d.mts.map +0 -1
  380. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +0 -10
  381. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
  382. package/dist/types/commands/scan/finalize-tier1-scan.d.mts +0 -12
  383. package/dist/types/commands/scan/finalize-tier1-scan.d.mts.map +0 -1
  384. package/dist/types/commands/scan/generate-report.d.mts +0 -44
  385. package/dist/types/commands/scan/generate-report.d.mts.map +0 -1
  386. package/dist/types/commands/scan/handle-create-github-scan.d.mts +0 -12
  387. package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +0 -1
  388. package/dist/types/commands/scan/handle-create-new-scan.d.mts +0 -29
  389. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +0 -1
  390. package/dist/types/commands/scan/handle-delete-scan.d.mts +0 -3
  391. package/dist/types/commands/scan/handle-delete-scan.d.mts.map +0 -1
  392. package/dist/types/commands/scan/handle-diff-scan.d.mts +0 -10
  393. package/dist/types/commands/scan/handle-diff-scan.d.mts.map +0 -1
  394. package/dist/types/commands/scan/handle-list-scans.d.mts +0 -13
  395. package/dist/types/commands/scan/handle-list-scans.d.mts.map +0 -1
  396. package/dist/types/commands/scan/handle-scan-config.d.mts +0 -2
  397. package/dist/types/commands/scan/handle-scan-config.d.mts.map +0 -1
  398. package/dist/types/commands/scan/handle-scan-metadata.d.mts +0 -3
  399. package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +0 -1
  400. package/dist/types/commands/scan/handle-scan-reach.d.mts +0 -12
  401. package/dist/types/commands/scan/handle-scan-reach.d.mts.map +0 -1
  402. package/dist/types/commands/scan/handle-scan-report.d.mts +0 -14
  403. package/dist/types/commands/scan/handle-scan-report.d.mts.map +0 -1
  404. package/dist/types/commands/scan/handle-scan-view.d.mts +0 -3
  405. package/dist/types/commands/scan/handle-scan-view.d.mts.map +0 -1
  406. package/dist/types/commands/scan/output-create-new-scan.d.mts +0 -10
  407. package/dist/types/commands/scan/output-create-new-scan.d.mts.map +0 -1
  408. package/dist/types/commands/scan/output-delete-scan.d.mts +0 -4
  409. package/dist/types/commands/scan/output-delete-scan.d.mts.map +0 -1
  410. package/dist/types/commands/scan/output-diff-scan.d.mts +0 -8
  411. package/dist/types/commands/scan/output-diff-scan.d.mts.map +0 -1
  412. package/dist/types/commands/scan/output-list-scans.d.mts +0 -4
  413. package/dist/types/commands/scan/output-list-scans.d.mts.map +0 -1
  414. package/dist/types/commands/scan/output-scan-config-result.d.mts +0 -3
  415. package/dist/types/commands/scan/output-scan-config-result.d.mts.map +0 -1
  416. package/dist/types/commands/scan/output-scan-github.d.mts +0 -3
  417. package/dist/types/commands/scan/output-scan-github.d.mts.map +0 -1
  418. package/dist/types/commands/scan/output-scan-metadata.d.mts +0 -4
  419. package/dist/types/commands/scan/output-scan-metadata.d.mts.map +0 -1
  420. package/dist/types/commands/scan/output-scan-reach.d.mts +0 -7
  421. package/dist/types/commands/scan/output-scan-reach.d.mts.map +0 -1
  422. package/dist/types/commands/scan/output-scan-report.d.mts +0 -22
  423. package/dist/types/commands/scan/output-scan-report.d.mts.map +0 -1
  424. package/dist/types/commands/scan/output-scan-view.d.mts +0 -4
  425. package/dist/types/commands/scan/output-scan-view.d.mts.map +0 -1
  426. package/dist/types/commands/scan/perform-reachability-analysis.d.mts +0 -27
  427. package/dist/types/commands/scan/perform-reachability-analysis.d.mts.map +0 -1
  428. package/dist/types/commands/scan/reachability-flags.d.mts +0 -3
  429. package/dist/types/commands/scan/reachability-flags.d.mts.map +0 -1
  430. package/dist/types/commands/scan/setup-scan-config.d.mts +0 -3
  431. package/dist/types/commands/scan/setup-scan-config.d.mts.map +0 -1
  432. package/dist/types/commands/scan/stream-scan.d.mts +0 -7
  433. package/dist/types/commands/scan/stream-scan.d.mts.map +0 -1
  434. package/dist/types/commands/scan/suggest-org-slug.d.mts +0 -2
  435. package/dist/types/commands/scan/suggest-org-slug.d.mts.map +0 -1
  436. package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts +0 -2
  437. package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts.map +0 -1
  438. package/dist/types/commands/scan/suggest_branch_slug.d.mts +0 -2
  439. package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +0 -1
  440. package/dist/types/commands/scan/suggest_target.d.mts +0 -2
  441. package/dist/types/commands/scan/suggest_target.d.mts.map +0 -1
  442. package/dist/types/commands/scan/types.d.mts +0 -3
  443. package/dist/types/commands/scan/types.d.mts.map +0 -1
  444. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +0 -10
  445. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +0 -1
  446. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +0 -13
  447. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +0 -1
  448. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +0 -13
  449. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +0 -1
  450. package/dist/types/commands/threat-feed/output-threat-feed.d.mts +0 -4
  451. package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +0 -1
  452. package/dist/types/commands/threat-feed/types.d.mts +0 -15
  453. package/dist/types/commands/threat-feed/types.d.mts.map +0 -1
  454. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +0 -8
  455. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +0 -1
  456. package/dist/types/commands/uninstall/cmd-uninstall.d.mts +0 -3
  457. package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +0 -1
  458. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +0 -2
  459. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +0 -1
  460. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +0 -6
  461. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +0 -1
  462. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +0 -6
  463. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +0 -1
  464. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +0 -2
  465. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +0 -1
  466. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +0 -2
  467. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +0 -1
  468. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +0 -9
  469. package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +0 -1
  470. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +0 -2
  471. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +0 -1
  472. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +0 -2
  473. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +0 -1
  474. package/dist/types/commands/yarn/cmd-yarn.d.mts +0 -10
  475. package/dist/types/commands/yarn/cmd-yarn.d.mts.map +0 -1
  476. package/dist/types/commands.d.mts +0 -203
  477. package/dist/types/commands.d.mts.map +0 -1
  478. package/dist/types/constants.d.mts +0 -299
  479. package/dist/types/constants.d.mts.map +0 -1
  480. package/dist/types/flags.d.mts +0 -18
  481. package/dist/types/flags.d.mts.map +0 -1
  482. package/dist/types/instrument-with-sentry.d.mts +0 -2
  483. package/dist/types/instrument-with-sentry.d.mts.map +0 -1
  484. package/dist/types/npm-cli.d.mts +0 -3
  485. package/dist/types/npm-cli.d.mts.map +0 -1
  486. package/dist/types/npx-cli.d.mts +0 -3
  487. package/dist/types/npx-cli.d.mts.map +0 -1
  488. package/dist/types/pnpm-cli.d.mts +0 -3
  489. package/dist/types/pnpm-cli.d.mts.map +0 -1
  490. package/dist/types/sea/bootstrap.d.mts +0 -2
  491. package/dist/types/sea/bootstrap.d.mts.map +0 -1
  492. package/dist/types/sea/build-sea.d.mts +0 -27
  493. package/dist/types/sea/build-sea.d.mts.map +0 -1
  494. package/dist/types/shadow/common.d.mts +0 -23
  495. package/dist/types/shadow/common.d.mts.map +0 -1
  496. package/dist/types/shadow/npm/arborist/index.d.mts +0 -8
  497. package/dist/types/shadow/npm/arborist/index.d.mts.map +0 -1
  498. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +0 -35
  499. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +0 -1
  500. package/dist/types/shadow/npm/arborist/types.d.mts +0 -123
  501. package/dist/types/shadow/npm/arborist/types.d.mts.map +0 -1
  502. package/dist/types/shadow/npm/arborist-helpers.d.mts +0 -24
  503. package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
  504. package/dist/types/shadow/npm/bin.d.mts +0 -5
  505. package/dist/types/shadow/npm/bin.d.mts.map +0 -1
  506. package/dist/types/shadow/npm/inject.d.mts +0 -2
  507. package/dist/types/shadow/npm/inject.d.mts.map +0 -1
  508. package/dist/types/shadow/npm/install.d.mts +0 -13
  509. package/dist/types/shadow/npm/install.d.mts.map +0 -1
  510. package/dist/types/shadow/npm/paths.d.mts +0 -6
  511. package/dist/types/shadow/npm/paths.d.mts.map +0 -1
  512. package/dist/types/shadow/npm-base.d.mts +0 -11
  513. package/dist/types/shadow/npm-base.d.mts.map +0 -1
  514. package/dist/types/shadow/npx/bin.d.mts +0 -5
  515. package/dist/types/shadow/npx/bin.d.mts.map +0 -1
  516. package/dist/types/shadow/pnpm/bin.d.mts +0 -10
  517. package/dist/types/shadow/pnpm/bin.d.mts.map +0 -1
  518. package/dist/types/shadow/stdio-ipc.d.mts +0 -7
  519. package/dist/types/shadow/stdio-ipc.d.mts.map +0 -1
  520. package/dist/types/shadow/yarn/bin.d.mts +0 -10
  521. package/dist/types/shadow/yarn/bin.d.mts.map +0 -1
  522. package/dist/types/test/json-output-validation.d.mts +0 -37
  523. package/dist/types/test/json-output-validation.d.mts.map +0 -1
  524. package/dist/types/test/mocks/socket-auth.d.mts +0 -88
  525. package/dist/types/test/mocks/socket-auth.d.mts.map +0 -1
  526. package/dist/types/types.d.mts +0 -29
  527. package/dist/types/types.d.mts.map +0 -1
  528. package/dist/types/utils/agent.d.mts +0 -12
  529. package/dist/types/utils/agent.d.mts.map +0 -1
  530. package/dist/types/utils/alert/artifact.d.mts +0 -21
  531. package/dist/types/utils/alert/artifact.d.mts.map +0 -1
  532. package/dist/types/utils/alert/fix.d.mts +0 -6
  533. package/dist/types/utils/alert/fix.d.mts.map +0 -1
  534. package/dist/types/utils/alert/severity.d.mts +0 -14
  535. package/dist/types/utils/alert/severity.d.mts.map +0 -1
  536. package/dist/types/utils/alerts-map.d.mts +0 -27
  537. package/dist/types/utils/alerts-map.d.mts.map +0 -1
  538. package/dist/types/utils/api.d.mts +0 -44
  539. package/dist/types/utils/api.d.mts.map +0 -1
  540. package/dist/types/utils/check-input.d.mts +0 -9
  541. package/dist/types/utils/check-input.d.mts.map +0 -1
  542. package/dist/types/utils/cmd.d.mts +0 -50
  543. package/dist/types/utils/cmd.d.mts.map +0 -1
  544. package/dist/types/utils/coana.d.mts +0 -2
  545. package/dist/types/utils/coana.d.mts.map +0 -1
  546. package/dist/types/utils/color-or-markdown.d.mts +0 -16
  547. package/dist/types/utils/color-or-markdown.d.mts.map +0 -1
  548. package/dist/types/utils/completion.d.mts +0 -11
  549. package/dist/types/utils/completion.d.mts.map +0 -1
  550. package/dist/types/utils/config.d.mts +0 -34
  551. package/dist/types/utils/config.d.mts.map +0 -1
  552. package/dist/types/utils/cve-to-ghsa.d.mts +0 -6
  553. package/dist/types/utils/cve-to-ghsa.d.mts.map +0 -1
  554. package/dist/types/utils/debug.d.mts +0 -45
  555. package/dist/types/utils/debug.d.mts.map +0 -1
  556. package/dist/types/utils/determine-org-slug.d.mts +0 -2
  557. package/dist/types/utils/determine-org-slug.d.mts.map +0 -1
  558. package/dist/types/utils/dlx-binary.d.mts +0 -58
  559. package/dist/types/utils/dlx-binary.d.mts.map +0 -1
  560. package/dist/types/utils/dlx-detection.d.mts +0 -29
  561. package/dist/types/utils/dlx-detection.d.mts.map +0 -1
  562. package/dist/types/utils/dlx.d.mts +0 -36
  563. package/dist/types/utils/dlx.d.mts.map +0 -1
  564. package/dist/types/utils/ecosystem.d.mts +0 -20
  565. package/dist/types/utils/ecosystem.d.mts.map +0 -1
  566. package/dist/types/utils/errors.d.mts +0 -62
  567. package/dist/types/utils/errors.d.mts.map +0 -1
  568. package/dist/types/utils/extract-names.d.mts +0 -15
  569. package/dist/types/utils/extract-names.d.mts.map +0 -1
  570. package/dist/types/utils/fail-msg-with-badge.d.mts +0 -2
  571. package/dist/types/utils/fail-msg-with-badge.d.mts.map +0 -1
  572. package/dist/types/utils/filter-config.d.mts +0 -5
  573. package/dist/types/utils/filter-config.d.mts.map +0 -1
  574. package/dist/types/utils/fs.d.mts +0 -8
  575. package/dist/types/utils/fs.d.mts.map +0 -1
  576. package/dist/types/utils/get-output-kind.d.mts +0 -3
  577. package/dist/types/utils/get-output-kind.d.mts.map +0 -1
  578. package/dist/types/utils/git.d.mts +0 -35
  579. package/dist/types/utils/git.d.mts.map +0 -1
  580. package/dist/types/utils/github.d.mts +0 -38
  581. package/dist/types/utils/github.d.mts.map +0 -1
  582. package/dist/types/utils/glob.d.mts +0 -15
  583. package/dist/types/utils/glob.d.mts.map +0 -1
  584. package/dist/types/utils/lockfile.d.mts +0 -2
  585. package/dist/types/utils/lockfile.d.mts.map +0 -1
  586. package/dist/types/utils/map-to-object.d.mts +0 -10
  587. package/dist/types/utils/map-to-object.d.mts.map +0 -1
  588. package/dist/types/utils/markdown.d.mts +0 -27
  589. package/dist/types/utils/markdown.d.mts.map +0 -1
  590. package/dist/types/utils/meow-with-subcommands.d.mts +0 -83
  591. package/dist/types/utils/meow-with-subcommands.d.mts.map +0 -1
  592. package/dist/types/utils/ms-at-home.d.mts +0 -2
  593. package/dist/types/utils/ms-at-home.d.mts.map +0 -1
  594. package/dist/types/utils/npm-config.d.mts +0 -14
  595. package/dist/types/utils/npm-config.d.mts.map +0 -1
  596. package/dist/types/utils/npm-package-arg.d.mts +0 -8
  597. package/dist/types/utils/npm-package-arg.d.mts.map +0 -1
  598. package/dist/types/utils/npm-paths.d.mts +0 -7
  599. package/dist/types/utils/npm-paths.d.mts.map +0 -1
  600. package/dist/types/utils/npm-spec.d.mts +0 -57
  601. package/dist/types/utils/npm-spec.d.mts.map +0 -1
  602. package/dist/types/utils/objects.d.mts +0 -3
  603. package/dist/types/utils/objects.d.mts.map +0 -1
  604. package/dist/types/utils/organization.d.mts +0 -5
  605. package/dist/types/utils/organization.d.mts.map +0 -1
  606. package/dist/types/utils/output-formatting.d.mts +0 -20
  607. package/dist/types/utils/output-formatting.d.mts.map +0 -1
  608. package/dist/types/utils/package-environment.d.mts +0 -57
  609. package/dist/types/utils/package-environment.d.mts.map +0 -1
  610. package/dist/types/utils/path-resolve.d.mts +0 -14
  611. package/dist/types/utils/path-resolve.d.mts.map +0 -1
  612. package/dist/types/utils/pnpm-paths.d.mts +0 -5
  613. package/dist/types/utils/pnpm-paths.d.mts.map +0 -1
  614. package/dist/types/utils/pnpm.d.mts +0 -11
  615. package/dist/types/utils/pnpm.d.mts.map +0 -1
  616. package/dist/types/utils/purl-to-ghsa.d.mts +0 -6
  617. package/dist/types/utils/purl-to-ghsa.d.mts.map +0 -1
  618. package/dist/types/utils/purl.d.mts +0 -71
  619. package/dist/types/utils/purl.d.mts.map +0 -1
  620. package/dist/types/utils/requirements.d.mts +0 -125
  621. package/dist/types/utils/requirements.d.mts.map +0 -1
  622. package/dist/types/utils/sdk.d.mts +0 -17
  623. package/dist/types/utils/sdk.d.mts.map +0 -1
  624. package/dist/types/utils/semver.d.mts +0 -7
  625. package/dist/types/utils/semver.d.mts.map +0 -1
  626. package/dist/types/utils/serialize-result-json.d.mts +0 -5
  627. package/dist/types/utils/serialize-result-json.d.mts.map +0 -1
  628. package/dist/types/utils/shadow-links.d.mts +0 -5
  629. package/dist/types/utils/shadow-links.d.mts.map +0 -1
  630. package/dist/types/utils/socket-json.d.mts +0 -59
  631. package/dist/types/utils/socket-json.d.mts.map +0 -1
  632. package/dist/types/utils/socket-package-alert.d.mts +0 -80
  633. package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
  634. package/dist/types/utils/socket-url.d.mts +0 -8
  635. package/dist/types/utils/socket-url.d.mts.map +0 -1
  636. package/dist/types/utils/spec.d.mts +0 -5
  637. package/dist/types/utils/spec.d.mts.map +0 -1
  638. package/dist/types/utils/strings.d.mts +0 -14
  639. package/dist/types/utils/strings.d.mts.map +0 -1
  640. package/dist/types/utils/terminal-link.d.mts +0 -52
  641. package/dist/types/utils/terminal-link.d.mts.map +0 -1
  642. package/dist/types/utils/tildify.d.mts +0 -2
  643. package/dist/types/utils/tildify.d.mts.map +0 -1
  644. package/dist/types/utils/translations.d.mts +0 -617
  645. package/dist/types/utils/translations.d.mts.map +0 -1
  646. package/dist/types/utils/walk-nested-map.d.mts +0 -7
  647. package/dist/types/utils/walk-nested-map.d.mts.map +0 -1
  648. package/dist/types/utils/yarn-paths.d.mts +0 -5
  649. package/dist/types/utils/yarn-paths.d.mts.map +0 -1
  650. package/dist/types/utils/yarn-version.d.mts +0 -2
  651. package/dist/types/utils/yarn-version.d.mts.map +0 -1
  652. package/dist/types/yarn-cli.d.mts +0 -3
  653. package/dist/types/yarn-cli.d.mts.map +0 -1
  654. package/dist/utils.js +0 -6146
  655. package/dist/utils.js.map +0 -1
  656. package/dist/vendor.js +0 -162074
  657. package/dist/yarn-cli.js +0 -30
  658. package/dist/yarn-cli.js.map +0 -1
  659. package/external/@socketsecurity/registry/LICENSE +0 -21
  660. package/external/@socketsecurity/registry/README.md +0 -9
  661. package/external/@socketsecurity/registry/extensions.json +0 -28
  662. package/external/@socketsecurity/registry/external/@inquirer/confirm.js +0 -3165
  663. package/external/@socketsecurity/registry/external/@inquirer/input.js +0 -3202
  664. package/external/@socketsecurity/registry/external/@inquirer/password.js +0 -3307
  665. package/external/@socketsecurity/registry/external/@inquirer/search.js +0 -3519
  666. package/external/@socketsecurity/registry/external/@inquirer/select.js +0 -3655
  667. package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +0 -21406
  668. package/external/@socketsecurity/registry/external/@npmcli/package-json/lib/read-package.js +0 -183
  669. package/external/@socketsecurity/registry/external/@npmcli/package-json/lib/sort.js +0 -274
  670. package/external/@socketsecurity/registry/external/@npmcli/promise-spawn.js +0 -704
  671. package/external/@socketsecurity/registry/external/@socketregistry/is-unicode-supported.js +0 -54
  672. package/external/@socketsecurity/registry/external/@socketregistry/packageurl-js.js +0 -4516
  673. package/external/@socketsecurity/registry/external/@socketregistry/yocto-spinner.js +0 -453
  674. package/external/@socketsecurity/registry/external/@yarnpkg/extensions.js +0 -1406
  675. package/external/@socketsecurity/registry/external/browserslist.js +0 -20496
  676. package/external/@socketsecurity/registry/external/cacache.js +0 -16208
  677. package/external/@socketsecurity/registry/external/debug.js +0 -1163
  678. package/external/@socketsecurity/registry/external/fast-glob.js +0 -7994
  679. package/external/@socketsecurity/registry/external/fast-sort.js +0 -181
  680. package/external/@socketsecurity/registry/external/libnpmpack.js +0 -106271
  681. package/external/@socketsecurity/registry/external/make-fetch-happen.js +0 -38997
  682. package/external/@socketsecurity/registry/external/normalize-package-data.js +0 -5343
  683. package/external/@socketsecurity/registry/external/npm-package-arg.js +0 -5773
  684. package/external/@socketsecurity/registry/external/pacote.js +0 -74109
  685. package/external/@socketsecurity/registry/external/picomatch.js +0 -2307
  686. package/external/@socketsecurity/registry/external/semver.js +0 -2618
  687. package/external/@socketsecurity/registry/external/signal-exit.js +0 -336
  688. package/external/@socketsecurity/registry/external/spdx-correct.js +0 -1457
  689. package/external/@socketsecurity/registry/external/spdx-expression-parse.js +0 -1043
  690. package/external/@socketsecurity/registry/external/streaming-iterables.js +0 -326
  691. package/external/@socketsecurity/registry/external/validate-npm-package-name.js +0 -108
  692. package/external/@socketsecurity/registry/external/which.js +0 -405
  693. package/external/@socketsecurity/registry/external/yoctocolors-cjs.js +0 -101
  694. package/external/@socketsecurity/registry/index.js +0 -31
  695. package/external/@socketsecurity/registry/lib/agent.js +0 -390
  696. package/external/@socketsecurity/registry/lib/arrays.js +0 -89
  697. package/external/@socketsecurity/registry/lib/bin.js +0 -650
  698. package/external/@socketsecurity/registry/lib/constants/abort-controller.js +0 -15
  699. package/external/@socketsecurity/registry/lib/constants/abort-signal.js +0 -27
  700. package/external/@socketsecurity/registry/lib/constants/at-latest.js +0 -3
  701. package/external/@socketsecurity/registry/lib/constants/biome-json.js +0 -3
  702. package/external/@socketsecurity/registry/lib/constants/bun-lock.js +0 -3
  703. package/external/@socketsecurity/registry/lib/constants/bun-lockb.js +0 -3
  704. package/external/@socketsecurity/registry/lib/constants/bun.js +0 -3
  705. package/external/@socketsecurity/registry/lib/constants/ci.js +0 -3
  706. package/external/@socketsecurity/registry/lib/constants/column-limit.js +0 -3
  707. package/external/@socketsecurity/registry/lib/constants/copy-left-licenses.js +0 -27
  708. package/external/@socketsecurity/registry/lib/constants/darwin.js +0 -3
  709. package/external/@socketsecurity/registry/lib/constants/dot-git-dir.js +0 -3
  710. package/external/@socketsecurity/registry/lib/constants/dot-package-lock-json.js +0 -3
  711. package/external/@socketsecurity/registry/lib/constants/dot-socket-dir.js +0 -3
  712. package/external/@socketsecurity/registry/lib/constants/empty-file.js +0 -3
  713. package/external/@socketsecurity/registry/lib/constants/empty-value.js +0 -3
  714. package/external/@socketsecurity/registry/lib/constants/env.js +0 -59
  715. package/external/@socketsecurity/registry/lib/constants/eslint-config-js.js +0 -3
  716. package/external/@socketsecurity/registry/lib/constants/esnext.js +0 -3
  717. package/external/@socketsecurity/registry/lib/constants/exec-path.js +0 -3
  718. package/external/@socketsecurity/registry/lib/constants/ext-cjs.js +0 -3
  719. package/external/@socketsecurity/registry/lib/constants/ext-cmd.js +0 -3
  720. package/external/@socketsecurity/registry/lib/constants/ext-cts.js +0 -3
  721. package/external/@socketsecurity/registry/lib/constants/ext-dts.js +0 -3
  722. package/external/@socketsecurity/registry/lib/constants/ext-js.js +0 -3
  723. package/external/@socketsecurity/registry/lib/constants/ext-json.js +0 -3
  724. package/external/@socketsecurity/registry/lib/constants/ext-lock.js +0 -3
  725. package/external/@socketsecurity/registry/lib/constants/ext-lockb.js +0 -3
  726. package/external/@socketsecurity/registry/lib/constants/ext-md.js +0 -3
  727. package/external/@socketsecurity/registry/lib/constants/ext-mjs.js +0 -3
  728. package/external/@socketsecurity/registry/lib/constants/ext-mts.js +0 -3
  729. package/external/@socketsecurity/registry/lib/constants/ext-ps1.js +0 -3
  730. package/external/@socketsecurity/registry/lib/constants/ext-yaml.js +0 -3
  731. package/external/@socketsecurity/registry/lib/constants/ext-yml.js +0 -3
  732. package/external/@socketsecurity/registry/lib/constants/extensions-json.js +0 -3
  733. package/external/@socketsecurity/registry/lib/constants/extensions.js +0 -3
  734. package/external/@socketsecurity/registry/lib/constants/get-ipc.js +0 -10
  735. package/external/@socketsecurity/registry/lib/constants/gitignore.js +0 -3
  736. package/external/@socketsecurity/registry/lib/constants/index.js +0 -139
  737. package/external/@socketsecurity/registry/lib/constants/ipc-handler.js +0 -19
  738. package/external/@socketsecurity/registry/lib/constants/ipc-object.js +0 -6
  739. package/external/@socketsecurity/registry/lib/constants/ipc-promise.js +0 -47
  740. package/external/@socketsecurity/registry/lib/constants/ipc-target.js +0 -3
  741. package/external/@socketsecurity/registry/lib/constants/k-internals-symbol.js +0 -3
  742. package/external/@socketsecurity/registry/lib/constants/latest.js +0 -3
  743. package/external/@socketsecurity/registry/lib/constants/license-glob-recursive.js +0 -3
  744. package/external/@socketsecurity/registry/lib/constants/license-glob.js +0 -3
  745. package/external/@socketsecurity/registry/lib/constants/license-original-glob-recursive.js +0 -3
  746. package/external/@socketsecurity/registry/lib/constants/license-original-glob.js +0 -3
  747. package/external/@socketsecurity/registry/lib/constants/license-original.js +0 -3
  748. package/external/@socketsecurity/registry/lib/constants/license.js +0 -3
  749. package/external/@socketsecurity/registry/lib/constants/lifecycle-script-names.js +0 -18
  750. package/external/@socketsecurity/registry/lib/constants/loop-sentinel.js +0 -3
  751. package/external/@socketsecurity/registry/lib/constants/maintained-node-versions.js +0 -47
  752. package/external/@socketsecurity/registry/lib/constants/manifest-json.js +0 -3
  753. package/external/@socketsecurity/registry/lib/constants/mit.js +0 -3
  754. package/external/@socketsecurity/registry/lib/constants/node-auth-token.js +0 -3
  755. package/external/@socketsecurity/registry/lib/constants/node-debug-flags.js +0 -9
  756. package/external/@socketsecurity/registry/lib/constants/node-env.js +0 -3
  757. package/external/@socketsecurity/registry/lib/constants/node-harden-flags.js +0 -29
  758. package/external/@socketsecurity/registry/lib/constants/node-modules-glob-recursive.js +0 -3
  759. package/external/@socketsecurity/registry/lib/constants/node-modules.js +0 -3
  760. package/external/@socketsecurity/registry/lib/constants/node-no-warnings-flags.js +0 -16
  761. package/external/@socketsecurity/registry/lib/constants/node-version.js +0 -3
  762. package/external/@socketsecurity/registry/lib/constants/npm-exec-path.js +0 -5
  763. package/external/@socketsecurity/registry/lib/constants/npm-real-exec-path.js +0 -6
  764. package/external/@socketsecurity/registry/lib/constants/npm-shrinkwrap-json.js +0 -3
  765. package/external/@socketsecurity/registry/lib/constants/npm.js +0 -3
  766. package/external/@socketsecurity/registry/lib/constants/npx.js +0 -3
  767. package/external/@socketsecurity/registry/lib/constants/overrides.js +0 -3
  768. package/external/@socketsecurity/registry/lib/constants/package-default-node-range.js +0 -6
  769. package/external/@socketsecurity/registry/lib/constants/package-default-socket-categories.js +0 -3
  770. package/external/@socketsecurity/registry/lib/constants/package-default-version.js +0 -3
  771. package/external/@socketsecurity/registry/lib/constants/package-extensions.js +0 -47
  772. package/external/@socketsecurity/registry/lib/constants/package-json.js +0 -3
  773. package/external/@socketsecurity/registry/lib/constants/package-lock-json.js +0 -3
  774. package/external/@socketsecurity/registry/lib/constants/packument-cache.js +0 -3
  775. package/external/@socketsecurity/registry/lib/constants/pacote-cache-path.js +0 -9
  776. package/external/@socketsecurity/registry/lib/constants/pnpm-exec-path.js +0 -5
  777. package/external/@socketsecurity/registry/lib/constants/pnpm-lock-yaml.js +0 -3
  778. package/external/@socketsecurity/registry/lib/constants/pnpm.js +0 -3
  779. package/external/@socketsecurity/registry/lib/constants/pre-commit.js +0 -3
  780. package/external/@socketsecurity/registry/lib/constants/readme-glob-recursive.js +0 -3
  781. package/external/@socketsecurity/registry/lib/constants/readme-glob.js +0 -3
  782. package/external/@socketsecurity/registry/lib/constants/readme-md.js +0 -3
  783. package/external/@socketsecurity/registry/lib/constants/registry-scope-delimiter.js +0 -3
  784. package/external/@socketsecurity/registry/lib/constants/registry.js +0 -3
  785. package/external/@socketsecurity/registry/lib/constants/resolutions.js +0 -3
  786. package/external/@socketsecurity/registry/lib/constants/socket-github-org.js +0 -3
  787. package/external/@socketsecurity/registry/lib/constants/socket-ipc-handshake.js +0 -3
  788. package/external/@socketsecurity/registry/lib/constants/socket-override-scope.js +0 -3
  789. package/external/@socketsecurity/registry/lib/constants/socket-public-api-token.js +0 -3
  790. package/external/@socketsecurity/registry/lib/constants/socket-registry-npm-org.js +0 -3
  791. package/external/@socketsecurity/registry/lib/constants/socket-registry-package-name.js +0 -3
  792. package/external/@socketsecurity/registry/lib/constants/socket-registry-repo-name.js +0 -3
  793. package/external/@socketsecurity/registry/lib/constants/socket-registry-scope.js +0 -3
  794. package/external/@socketsecurity/registry/lib/constants/socket-security-scope.js +0 -3
  795. package/external/@socketsecurity/registry/lib/constants/spinner.js +0 -4
  796. package/external/@socketsecurity/registry/lib/constants/supports-node-compile-cache-api.js +0 -8
  797. package/external/@socketsecurity/registry/lib/constants/supports-node-compile-cache-env-var.js +0 -8
  798. package/external/@socketsecurity/registry/lib/constants/supports-node-disable-warning-flag.js +0 -8
  799. package/external/@socketsecurity/registry/lib/constants/supports-node-permission-flag.js +0 -8
  800. package/external/@socketsecurity/registry/lib/constants/supports-node-require-module.js +0 -3
  801. package/external/@socketsecurity/registry/lib/constants/supports-node-run.js +0 -8
  802. package/external/@socketsecurity/registry/lib/constants/supports-process-send.js +0 -5
  803. package/external/@socketsecurity/registry/lib/constants/ts-libs-available.js +0 -22
  804. package/external/@socketsecurity/registry/lib/constants/ts-types-available.js +0 -3
  805. package/external/@socketsecurity/registry/lib/constants/tsconfig-json.js +0 -3
  806. package/external/@socketsecurity/registry/lib/constants/undefined-token.js +0 -3
  807. package/external/@socketsecurity/registry/lib/constants/unknown-error.js +0 -3
  808. package/external/@socketsecurity/registry/lib/constants/unknown-value.js +0 -3
  809. package/external/@socketsecurity/registry/lib/constants/unlicenced.js +0 -3
  810. package/external/@socketsecurity/registry/lib/constants/unlicensed.js +0 -3
  811. package/external/@socketsecurity/registry/lib/constants/utf8.js +0 -3
  812. package/external/@socketsecurity/registry/lib/constants/vitest.js +0 -3
  813. package/external/@socketsecurity/registry/lib/constants/vlt-lock-json.js +0 -3
  814. package/external/@socketsecurity/registry/lib/constants/vlt.js +0 -3
  815. package/external/@socketsecurity/registry/lib/constants/win32.js +0 -3
  816. package/external/@socketsecurity/registry/lib/constants/yarn-berry.js +0 -3
  817. package/external/@socketsecurity/registry/lib/constants/yarn-classic.js +0 -3
  818. package/external/@socketsecurity/registry/lib/constants/yarn-exec-path.js +0 -5
  819. package/external/@socketsecurity/registry/lib/constants/yarn-lock.js +0 -3
  820. package/external/@socketsecurity/registry/lib/constants/yarn.js +0 -3
  821. package/external/@socketsecurity/registry/lib/debug.js +0 -264
  822. package/external/@socketsecurity/registry/lib/env.js +0 -62
  823. package/external/@socketsecurity/registry/lib/fs.js +0 -556
  824. package/external/@socketsecurity/registry/lib/functions.js +0 -20
  825. package/external/@socketsecurity/registry/lib/globs.js +0 -145
  826. package/external/@socketsecurity/registry/lib/json.js +0 -69
  827. package/external/@socketsecurity/registry/lib/logger.js +0 -534
  828. package/external/@socketsecurity/registry/lib/objects.js +0 -422
  829. package/external/@socketsecurity/registry/lib/packages.js +0 -1376
  830. package/external/@socketsecurity/registry/lib/path.js +0 -231
  831. package/external/@socketsecurity/registry/lib/promises.js +0 -286
  832. package/external/@socketsecurity/registry/lib/prompts.js +0 -63
  833. package/external/@socketsecurity/registry/lib/regexps.js +0 -23
  834. package/external/@socketsecurity/registry/lib/sorts.js +0 -70
  835. package/external/@socketsecurity/registry/lib/spawn.js +0 -252
  836. package/external/@socketsecurity/registry/lib/spinner.js +0 -205
  837. package/external/@socketsecurity/registry/lib/streams.js +0 -84
  838. package/external/@socketsecurity/registry/lib/strings.js +0 -235
  839. package/external/@socketsecurity/registry/lib/url.js +0 -68
  840. package/external/@socketsecurity/registry/lib/words.js +0 -45
  841. package/external/@socketsecurity/registry/manifest.json +0 -1875
  842. package/external/blessed/LICENSE +0 -20
  843. package/external/blessed/README.md +0 -2421
  844. package/external/blessed/lib/alias.js +0 -528
  845. package/external/blessed/lib/blessed.js +0 -34
  846. package/external/blessed/lib/colors.js +0 -532
  847. package/external/blessed/lib/events.js +0 -191
  848. package/external/blessed/lib/gpmclient.js +0 -223
  849. package/external/blessed/lib/helpers.js +0 -167
  850. package/external/blessed/lib/keys.js +0 -341
  851. package/external/blessed/lib/program.js +0 -4297
  852. package/external/blessed/lib/tput.js +0 -3020
  853. package/external/blessed/lib/unicode.js +0 -792
  854. package/external/blessed/lib/widget.js +0 -62
  855. package/external/blessed/lib/widgets/ansiimage.js +0 -169
  856. package/external/blessed/lib/widgets/bigtext.js +0 -161
  857. package/external/blessed/lib/widgets/box.js +0 -36
  858. package/external/blessed/lib/widgets/button.js +0 -64
  859. package/external/blessed/lib/widgets/checkbox.js +0 -93
  860. package/external/blessed/lib/widgets/element.js +0 -2572
  861. package/external/blessed/lib/widgets/filemanager.js +0 -214
  862. package/external/blessed/lib/widgets/form.js +0 -269
  863. package/external/blessed/lib/widgets/image.js +0 -63
  864. package/external/blessed/lib/widgets/input.js +0 -36
  865. package/external/blessed/lib/widgets/layout.js +0 -235
  866. package/external/blessed/lib/widgets/line.js +0 -58
  867. package/external/blessed/lib/widgets/list.js +0 -601
  868. package/external/blessed/lib/widgets/listbar.js +0 -413
  869. package/external/blessed/lib/widgets/listtable.js +0 -254
  870. package/external/blessed/lib/widgets/loading.js +0 -90
  871. package/external/blessed/lib/widgets/log.js +0 -85
  872. package/external/blessed/lib/widgets/message.js +0 -125
  873. package/external/blessed/lib/widgets/node.js +0 -284
  874. package/external/blessed/lib/widgets/overlayimage.js +0 -719
  875. package/external/blessed/lib/widgets/progressbar.js +0 -159
  876. package/external/blessed/lib/widgets/prompt.js +0 -122
  877. package/external/blessed/lib/widgets/question.js +0 -118
  878. package/external/blessed/lib/widgets/radiobutton.js +0 -63
  879. package/external/blessed/lib/widgets/radioset.js +0 -38
  880. package/external/blessed/lib/widgets/screen.js +0 -2300
  881. package/external/blessed/lib/widgets/scrollablebox.js +0 -391
  882. package/external/blessed/lib/widgets/scrollabletext.js +0 -37
  883. package/external/blessed/lib/widgets/table.js +0 -356
  884. package/external/blessed/lib/widgets/terminal.js +0 -414
  885. package/external/blessed/lib/widgets/text.js +0 -37
  886. package/external/blessed/lib/widgets/textarea.js +0 -344
  887. package/external/blessed/lib/widgets/textbox.js +0 -79
  888. package/external/blessed/lib/widgets/video.js +0 -128
  889. package/external/blessed/usr/fonts/AUTHORS +0 -1
  890. package/external/blessed/usr/fonts/LICENSE +0 -94
  891. package/external/blessed/usr/fonts/README +0 -340
  892. package/external/blessed/usr/fonts/ter-u14b.json +0 -17826
  893. package/external/blessed/usr/fonts/ter-u14n.json +0 -17826
  894. package/external/blessed/usr/linux +0 -0
  895. package/external/blessed/usr/windows-ansi +0 -0
  896. package/external/blessed/usr/xterm +0 -0
  897. package/external/blessed/usr/xterm-256color +0 -0
  898. package/external/blessed/usr/xterm.termcap +0 -243
  899. package/external/blessed/usr/xterm.terminfo +0 -1977
  900. package/external/blessed/vendor/tng.js +0 -1757
  901. package/external/blessed-contrib/LICENSE.md +0 -21
  902. package/external/blessed-contrib/lib/layout/grid.js +0 -409
  903. package/external/blessed-contrib/lib/widget/charts/bar.js +0 -8370
  904. package/external/blessed-contrib/lib/widget/charts/line.js +0 -17924
  905. package/external/blessed-contrib/lib/widget/table.js +0 -187
  906. package/logo-dark.png +0 -0
  907. package/logo-light.png +0 -0
  908. package/requirements.json +0 -120
  909. package/shadow-bin/npm +0 -27
  910. package/shadow-bin/npx +0 -27
  911. package/shadow-bin/pnpm +0 -27
  912. package/shadow-bin/yarn +0 -27
  913. package/translations.json +0 -616
@@ -1 +0,0 @@
1
- {"version":3,"file":"completion.d.mts","sourceRoot":"","sources":["../../../src/utils/completion.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,qBAAqB,mCAAmC,CAAA;AAErE,wBAAgB,4BAA4B,IAAI,OAAO,CAAC,MAAM,CAAC,CAgB9D;AAED,wBAAgB,gBAAgB,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC;IACnE,iBAAiB,EAAE,MAAM,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC,CA4CD"}
@@ -1,34 +0,0 @@
1
- import type { CResult } from '../types.mts';
2
- import type { SocketYml } from '@socketsecurity/config';
3
- export interface LocalConfig {
4
- apiBaseUrl?: string | null | undefined;
5
- // @deprecated ; use apiToken. when loading a config, if this prop exists it
6
- // is deleted and set to apiToken instead, and then persisted.
7
- // should only happen once for legacy users.
8
- apiKey?: string | null | undefined;
9
- apiProxy?: string | null | undefined;
10
- apiToken?: string | null | undefined;
11
- defaultOrg?: string | undefined;
12
- enforcedOrgs?: string[] | readonly string[] | null | undefined;
13
- skipAskToPersistDefaultOrg?: boolean | undefined;
14
- // Convenience alias for defaultOrg.
15
- org?: string | undefined;
16
- }
17
- export type FoundSocketYml = {
18
- path: string;
19
- parsed: SocketYml;
20
- };
21
- export declare function findSocketYmlSync(dir?: string): CResult<FoundSocketYml | undefined>;
22
- export declare function getConfigValue<Key extends keyof LocalConfig>(key: Key): CResult<LocalConfig[Key]>;
23
- // This version squashes errors, returning undefined instead.
24
- // Should be used when we can reasonably predict the call can't fail.
25
- export declare function getConfigValueOrUndef<Key extends keyof LocalConfig>(key: Key): LocalConfig[Key] | undefined;
26
- export declare function getSupportedConfigEntries(): [keyof LocalConfig, string][];
27
- export declare function getSupportedConfigKeys(): (keyof LocalConfig)[];
28
- export declare function isConfigFromFlag(): boolean;
29
- export declare function isSensitiveConfigKey(key: string): key is keyof LocalConfig;
30
- export declare function isSupportedConfigKey(key: string): key is keyof LocalConfig;
31
- export declare function overrideCachedConfig(jsonConfig: unknown): CResult<undefined>;
32
- export declare function overrideConfigApiToken(apiToken: unknown): void;
33
- export declare function updateConfigValue<Key extends keyof LocalConfig>(configKey: keyof LocalConfig, value: LocalConfig[Key]): CResult<undefined | string>;
34
- //# sourceMappingURL=config.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.mts","sourceRoot":"","sources":["../../../src/utils/config.mts"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAEvD,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACtC,4EAA4E;IAC5E,4EAA4E;IAC5E,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,CAAA;IAC9D,0BAA0B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAChD,oCAAoC;IACpC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACzB;AAwFD,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,wBAAgB,iBAAiB,CAC/B,GAAG,SAAgB,GAClB,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAgCrC;AAED,wBAAgB,cAAc,CAAC,GAAG,SAAS,MAAM,WAAW,EAC1D,GAAG,EAAE,GAAG,GACP,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAO3B;AAED,6DAA6D;AAC7D,qEAAqE;AACrE,wBAAgB,qBAAqB,CAAC,GAAG,SAAS,MAAM,WAAW,EACjE,GAAG,EAAE,GAAG,GACP,WAAW,CAAC,GAAG,CAAC,GAAG,SAAS,CAO9B;AASD,wBAAgB,yBAAyB,kCAExC;AAED,wBAAgB,sBAAsB,0BAErC;AAED,wBAAgB,gBAAgB,YAE/B;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,MAAM,WAAW,CAE1E;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,MAAM,WAAW,CAE1E;AAMD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,CA6C5E;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,OAAO,QAQvD;AAGD,wBAAgB,iBAAiB,CAAC,GAAG,SAAS,MAAM,WAAW,EAC7D,SAAS,EAAE,MAAM,WAAW,EAC5B,KAAK,EAAE,WAAW,CAAC,GAAG,CAAC,GACtB,OAAO,CAAC,SAAS,GAAG,MAAM,CAAC,CAmD7B"}
@@ -1,6 +0,0 @@
1
- import type { CResult } from '../types.mts';
2
- /**
3
- * Converts CVE IDs to GHSA IDs using GitHub API.
4
- */
5
- export declare function convertCveToGhsa(cveId: string): Promise<CResult<string>>;
6
- //# sourceMappingURL=cve-to-ghsa.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cve-to-ghsa.d.mts","sourceRoot":"","sources":["../../../src/utils/cve-to-ghsa.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CA6B1B"}
@@ -1,45 +0,0 @@
1
- /**
2
- * Debug utilities for Socket CLI.
3
- * Provides structured debugging with categorized levels and helpers.
4
- *
5
- * Debug Categories:
6
- * DEFAULT (shown with SOCKET_CLI_DEBUG=1):
7
- * - 'error': Critical errors that prevent operation
8
- * - 'warn': Important warnings that may affect behavior
9
- * - 'notice': Notable events and state changes
10
- * - 'silly': Very verbose debugging info
11
- *
12
- * OPT-IN ONLY (require explicit DEBUG='category' even with SOCKET_CLI_DEBUG=1):
13
- * - 'inspect': Detailed object inspection (DEBUG='inspect' or DEBUG='*')
14
- * - 'stdio': Command execution logs (DEBUG='stdio' or DEBUG='*')
15
- *
16
- * These opt-in categories are intentionally excluded from default debug output
17
- * to reduce noise. Enable them explicitly when needed for deep debugging.
18
- */
19
- import { debugDir, debugFn, isDebug } from '@socketsecurity/registry/lib/debug';
20
- /**
21
- * Debug an API response.
22
- * Logs essential info without exposing sensitive data.
23
- */
24
- export declare function debugApiResponse(endpoint: string, status?: number | undefined, error?: unknown | undefined): void;
25
- /**
26
- * Debug file operation.
27
- * Logs file operations with appropriate level.
28
- */
29
- export declare function debugFileOp(operation: 'read' | 'write' | 'delete' | 'create', filepath: string, error?: unknown | undefined): void;
30
- /**
31
- * Debug package scanning.
32
- * Provides insight into security scanning.
33
- */
34
- export declare function debugScan(phase: 'start' | 'progress' | 'complete' | 'error', packageCount?: number | undefined, details?: unknown | undefined): void;
35
- /**
36
- * Debug configuration loading.
37
- */
38
- export declare function debugConfig(source: string, found: boolean, error?: unknown | undefined): void;
39
- /**
40
- * Debug git operations.
41
- * Only logs important git operations, not every command.
42
- */
43
- export declare function debugGit(operation: string, success: boolean, details?: Record<string, unknown> | undefined): void;
44
- export { debugDir, debugFn, isDebug };
45
- //# sourceMappingURL=debug.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug.d.mts","sourceRoot":"","sources":["../../../src/utils/debug.mts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAE/E;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,EAC3B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,GAC1B,IAAI,CAWN;AAED;;;GAGG;AACH,wBAAgB,WAAW,CACzB,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,EACjD,QAAQ,EAAE,MAAM,EAChB,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,GAC1B,IAAI,CAUN;AAED;;;GAGG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,EAClD,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,EACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAC5B,IAAI,CAyBN;AAED;;GAEG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,OAAO,EACd,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,GAC1B,IAAI,CAWN;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CACtB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAC5C,IAAI,CAeN;AAED,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare function determineOrgSlug(orgFlag: string, interactive: boolean, dryRun: boolean): Promise<[string, string | undefined]>;
2
- //# sourceMappingURL=determine-org-slug.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"determine-org-slug.d.mts","sourceRoot":"","sources":["../../../src/utils/determine-org-slug.mts"],"names":[],"mappings":"AAWA,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,OAAO,EACpB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAqDvC"}
@@ -1,58 +0,0 @@
1
- import { spawn } from '@socketsecurity/registry/lib/spawn';
2
- import type { SpawnExtra, SpawnOptions } from '@socketsecurity/registry/lib/spawn';
3
- export interface DlxBinaryOptions {
4
- /** URL to download the binary from. */
5
- url: string;
6
- /** Optional name for the cached binary (defaults to URL hash). */
7
- name?: string;
8
- /** Expected checksum (sha256) for verification. */
9
- checksum?: string;
10
- /** Cache TTL in milliseconds (default: 7 days). */
11
- cacheTtl?: number;
12
- /** Force re-download even if cached. */
13
- force?: boolean;
14
- /** Platform override (defaults to current platform). */
15
- platform?: NodeJS.Platform;
16
- /** Architecture override (defaults to current arch). */
17
- arch?: string;
18
- /** Additional spawn options. */
19
- spawnOptions?: SpawnOptions;
20
- }
21
- export interface DlxBinaryResult {
22
- /** Path to the cached binary. */
23
- binaryPath: string;
24
- /** Whether the binary was newly downloaded. */
25
- downloaded: boolean;
26
- /** The spawn promise for the running process. */
27
- spawnPromise: ReturnType<typeof spawn>['promise'];
28
- }
29
- /**
30
- * Clean expired entries from the DLX cache.
31
- */
32
- export declare function cleanDlxCache(maxAge?: number): Promise<number>;
33
- /**
34
- * Download and execute a binary from a URL with caching.
35
- */
36
- export declare function dlxBinary(args: string[] | readonly string[], options?: DlxBinaryOptions | undefined, spawnExtra?: SpawnExtra | undefined): Promise<DlxBinaryResult>;
37
- /**
38
- * Get the DLX binary cache directory path.
39
- */
40
- export declare function getDlxCachePath(): string;
41
- /**
42
- * Get the base .socket directory path.
43
- * Uses %USERPROFILE% on Windows, $HOME on POSIX systems.
44
- */
45
- export declare function getSocketHomePath(): string;
46
- /**
47
- * Get information about cached binaries.
48
- */
49
- export declare function listDlxCache(): Promise<Array<{
50
- name: string;
51
- url: string;
52
- size: number;
53
- age: number;
54
- platform: string;
55
- arch: string;
56
- checksum: string;
57
- }>>;
58
- //# sourceMappingURL=dlx-binary.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dlx-binary.d.mts","sourceRoot":"","sources":["../../../src/utils/dlx-binary.mts"],"names":[],"mappings":"AA8BA,OAAO,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAA;AAK1D,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACb,MAAM,oCAAoC,CAAA;AAE3C,MAAM,WAAW,gBAAgB;IAC/B,uCAAuC;IACvC,GAAG,EAAE,MAAM,CAAA;IACX,kEAAkE;IAClE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wCAAwC;IACxC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAA;IAC1B,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gCAAgC;IAChC,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAA;IAClB,+CAA+C;IAC/C,UAAU,EAAE,OAAO,CAAA;IACnB,iDAAiD;IACjD,YAAY,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,SAAS,CAAC,CAAA;CAClD;AA8HD;;GAEG;AACH,wBAAsB,aAAa,CACjC,MAAM,GAAE,MAA6B,GACpC,OAAO,CAAC,MAAM,CAAC,CAmDjB;AAED;;GAEG;AACH,wBAAsB,SAAS,CAC7B,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,OAAO,CAAC,EAAE,gBAAgB,GAAG,SAAS,EACtC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,GAClC,OAAO,CAAC,eAAe,CAAC,CAiE1B;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAM1C;AAED;;GAEG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAC3C,KAAK,CAAC;IACJ,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAC,CACH,CAmDA"}
@@ -1,29 +0,0 @@
1
- /**
2
- * Detects if the current process is running in a temporary package execution context
3
- * such as npm exec, npx, pnpm dlx, or yarn dlx.
4
- *
5
- * When package managers run commands via exec/npx/dlx, they execute in temporary directories
6
- * that are cleaned up after execution. Creating persistent shadows or modifying PATH
7
- * in these contexts can break subsequent package manager commands.
8
- *
9
- * @returns true if running in an exec/npx/dlx context, false otherwise
10
- */
11
- export declare function isRunningInTemporaryExecutor(): boolean;
12
- export type ShadowInstallationOptions = {
13
- cwd?: string | undefined;
14
- win32?: boolean | undefined;
15
- };
16
- /**
17
- * Determines if shadow binaries should be installed.
18
- * Shadows should NOT be installed when:
19
- * - Running in a temporary execution context (exec/npx/dlx)
20
- * - On Windows with an existing binary path (required for Windows to function)
21
- *
22
- * @param binPath - Path to the binary being shadowed
23
- * @param options - Configuration options
24
- * @param options.cwd - Current working directory path to check
25
- * @param options.win32 - Whether running on Windows
26
- * @returns true if shadow installation should be skipped
27
- */
28
- export declare function shouldSkipShadow(binPath: string, options: ShadowInstallationOptions): boolean;
29
- //# sourceMappingURL=dlx-detection.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dlx-detection.d.mts","sourceRoot":"","sources":["../../../src/utils/dlx-detection.mts"],"names":[],"mappings":"AA8BA;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,IAAI,OAAO,CAgCtD;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC5B,CAAA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAsDT"}
@@ -1,36 +0,0 @@
1
- import type { ShadowBinOptions, ShadowBinResult } from '../shadow/npm-base.mts';
2
- import type { CResult } from '../types.mts';
3
- import type { SpawnExtra } from '@socketsecurity/registry/lib/spawn';
4
- export type DlxOptions = ShadowBinOptions & {
5
- force?: boolean | undefined;
6
- agent?: 'npm' | 'pnpm' | 'yarn' | undefined;
7
- silent?: boolean | undefined;
8
- };
9
- export type DlxPackageSpec = {
10
- name: string;
11
- version: string;
12
- };
13
- /**
14
- * Spawns a package using dlx-style execution (npx/pnpm dlx/yarn dlx).
15
- * Automatically detects the appropriate package manager if not specified.
16
- * Uses force/update flags to ensure the latest version within the range is fetched.
17
- */
18
- export declare function spawnDlx(packageSpec: DlxPackageSpec, args: string[] | readonly string[], options?: DlxOptions | undefined, spawnExtra?: SpawnExtra | undefined): Promise<ShadowBinResult>;
19
- /**
20
- * Helper to spawn coana with dlx.
21
- * Automatically uses force and silent when version is not pinned exactly.
22
- * Returns a CResult with stdout extraction for backward compatibility.
23
- *
24
- * If SOCKET_CLI_COANA_LOCAL_PATH environment variable is set, uses the local
25
- * Coana CLI at that path instead of downloading from npm.
26
- */
27
- export declare function spawnCoanaDlx(args: string[] | readonly string[], orgSlug?: string, options?: DlxOptions | undefined, spawnExtra?: SpawnExtra | undefined): Promise<CResult<string>>;
28
- /**
29
- * Helper to spawn cdxgen with dlx.
30
- */
31
- export declare function spawnCdxgenDlx(args: string[] | readonly string[], options?: DlxOptions | undefined, spawnExtra?: SpawnExtra | undefined): Promise<ShadowBinResult>;
32
- /**
33
- * Helper to spawn synp with dlx.
34
- */
35
- export declare function spawnSynpDlx(args: string[] | readonly string[], options?: DlxOptions | undefined, spawnExtra?: SpawnExtra | undefined): Promise<ShadowBinResult>;
36
- //# sourceMappingURL=dlx.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dlx.d.mts","sourceRoot":"","sources":["../../../src/utils/dlx.mts"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAMpE,MAAM,MAAM,UAAU,GAAG,gBAAgB,GAAG;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC3B,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IAC3C,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAQD;;;;GAIG;AACH,wBAAsB,QAAQ,CAC5B,WAAW,EAAE,cAAc,EAC3B,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,EAChC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,GAClC,OAAO,CAAC,eAAe,CAAC,CA4F1B;AAED;;;;;;;GAOG;AACH,wBAAsB,aAAa,CACjC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,OAAO,CAAC,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,EAChC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,GAClC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CA0F1B;AAED;;GAEG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,EAChC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,GAClC,OAAO,CAAC,eAAe,CAAC,CAU1B;AAED;;GAEG;AACH,wBAAsB,YAAY,CAChC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,EAChC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,GAClC,OAAO,CAAC,eAAe,CAAC,CAU1B"}
@@ -1,20 +0,0 @@
1
- import type { EcosystemString } from '@socketsecurity/registry';
2
- import type { components } from '@socketsecurity/sdk/types/api';
3
- export type PURL_Type = components['schemas']['SocketPURL_Type'];
4
- type ExpectNever<T extends never> = T;
5
- type MissingInEcosystemString = Exclude<PURL_Type, EcosystemString>;
6
- type ExtraInEcosystemString = Exclude<EcosystemString, PURL_Type>;
7
- export type _Check_EcosystemString_has_all_purl_types = ExpectNever<MissingInEcosystemString>;
8
- export type _Check_EcosystemString_has_no_extras = ExpectNever<ExtraInEcosystemString>;
9
- export declare const ALL_ECOSYSTEMS: readonly ["apk", "bitbucket", "cargo", "chrome", "cocoapods", "composer", "conan", "conda", "cran", "deb", "docker", "gem", "generic", "github", "golang", "hackage", "hex", "huggingface", "maven", "mlflow", "npm", "nuget", "oci", "pub", "pypi", "qpkg", "rpm", "swift", "swid", "unknown"];
10
- type AllEcosystemsUnion = (typeof ALL_ECOSYSTEMS)[number];
11
- type MissingInAllEcosystems = Exclude<PURL_Type, AllEcosystemsUnion>;
12
- type ExtraInAllEcosystems = Exclude<AllEcosystemsUnion, PURL_Type>;
13
- export type _Check_ALL_ECOSYSTEMS_has_all_purl_types = ExpectNever<MissingInAllEcosystems>;
14
- export type _Check_ALL_ECOSYSTEMS_has_no_extras = ExpectNever<ExtraInAllEcosystems>;
15
- export declare const ALL_SUPPORTED_ECOSYSTEMS: Set<string>;
16
- export declare function getEcosystemChoicesForMeow(): string[];
17
- export declare function isValidEcosystem(value: string): value is PURL_Type;
18
- export declare function parseEcosystems(value: string | string[] | undefined): PURL_Type[];
19
- export {};
20
- //# sourceMappingURL=ecosystem.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ecosystem.d.mts","sourceRoot":"","sources":["../../../src/utils/ecosystem.mts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE/D,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAAA;AAEhE,KAAK,WAAW,CAAC,CAAC,SAAS,KAAK,IAAI,CAAC,CAAA;AAErC,KAAK,wBAAwB,GAAG,OAAO,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;AACnE,KAAK,sBAAsB,GAAG,OAAO,CAAC,eAAe,EAAE,SAAS,CAAC,CAAA;AAEjE,MAAM,MAAM,yCAAyC,GACnD,WAAW,CAAC,wBAAwB,CAAC,CAAA;AACvC,MAAM,MAAM,oCAAoC,GAC9C,WAAW,CAAC,sBAAsB,CAAC,CAAA;AAErC,eAAO,MAAM,cAAc,iSA+Bc,CAAA;AAEzC,KAAK,kBAAkB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;AACzD,KAAK,sBAAsB,GAAG,OAAO,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAAA;AACpE,KAAK,oBAAoB,GAAG,OAAO,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAA;AAElE,MAAM,MAAM,wCAAwC,GAClD,WAAW,CAAC,sBAAsB,CAAC,CAAA;AACrC,MAAM,MAAM,mCAAmC,GAC7C,WAAW,CAAC,oBAAoB,CAAC,CAAA;AAEnC,eAAO,MAAM,wBAAwB,aAAkC,CAAA;AAEvE,wBAAgB,0BAA0B,IAAI,MAAM,EAAE,CAErD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAElE;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,GACnC,SAAS,EAAE,CAUb"}
@@ -1,62 +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 | undefined);
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
- /**
14
- * Extracts an error message from an unknown value.
15
- * Returns the message if it's an Error object, otherwise returns undefined.
16
- *
17
- * @param error - The error object to extract message from
18
- * @returns The error message or undefined
19
- */
20
- export declare function getErrorMessage(error: unknown): string | undefined;
21
- /**
22
- * Extracts an error message from an unknown value with a fallback.
23
- * Returns the message if it's an Error object, otherwise returns the fallback.
24
- *
25
- * @param error - The error object to extract message from
26
- * @param fallback - The fallback message if no error message is found
27
- * @returns The error message or fallback
28
- *
29
- * @example
30
- * getErrorMessageOr(error, 'Unknown error occurred')
31
- * // Returns: "ENOENT: no such file or directory" or "Unknown error occurred"
32
- */
33
- export declare function getErrorMessageOr(error: unknown, fallback: string): string;
34
- /**
35
- * Extracts an error cause from an unknown value.
36
- * Returns the error message if available, otherwise UNKNOWN_ERROR.
37
- * Commonly used for creating CResult error causes.
38
- *
39
- * @param error - The error object to extract message from
40
- * @returns The error message or UNKNOWN_ERROR constant
41
- *
42
- * @example
43
- * return { ok: false, message: 'Operation failed', cause: getErrorCause(e) }
44
- */
45
- export declare function getErrorCause(error: unknown): string;
46
- /**
47
- * Formats an error message with an optional error detail appended.
48
- * Extracts the message from an unknown error value and appends it
49
- * to the base message if available.
50
- *
51
- * @param baseMessage - The base message to display
52
- * @param error - The error object to extract message from
53
- * @returns Formatted message with error detail if available
54
- *
55
- * @example
56
- * formatErrorWithDetail('Failed to delete file', error)
57
- * // Returns: "Failed to delete file: ENOENT: no such file or directory"
58
- * // Or just: "Failed to delete file" if no error message
59
- */
60
- export declare function formatErrorWithDetail(baseMessage: string, error: unknown): string;
61
- export {};
62
- //# sourceMappingURL=errors.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.mts","sourceRoot":"","sources":["../../../src/utils/errors.mts"],"names":[],"mappings":"AA+BA,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;IAE/B,YAAY,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,EAGrD;CACF;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;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAElE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE1E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEpD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,OAAO,GACb,MAAM,CAGR"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Extracts and sanitizes a repository name.
3
- *
4
- * @param name - The repository name to extract and sanitize
5
- * @returns Sanitized repository name, or default repository name if empty
6
- */
7
- export declare function extractName(name: string): string;
8
- /**
9
- * Extracts and sanitizes a repository owner name.
10
- *
11
- * @param owner - The repository owner name to extract and sanitize
12
- * @returns Sanitized repository owner name, or undefined if input is empty
13
- */
14
- export declare function extractOwner(owner: string): string | undefined;
15
- //# sourceMappingURL=extract-names.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extract-names.d.mts","sourceRoot":"","sources":["../../../src/utils/extract-names.mts"],"names":[],"mappings":"AA+BA;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGhD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM9D"}
@@ -1,2 +0,0 @@
1
- export declare function failMsgWithBadge(badge: string, message: 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,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,MAAM,CAMR"}
@@ -1,5 +0,0 @@
1
- export type FilterConfig = {
2
- [key: string]: boolean | string[];
3
- };
4
- export declare function toFilterConfig(obj: any): FilterConfig;
5
- //# sourceMappingURL=filter-config.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-config.d.mts","sourceRoot":"","sources":["../../../src/utils/filter-config.mts"],"names":[],"mappings":"AAeA,MAAM,MAAM,YAAY,GAAG;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,CAAA;CAClC,CAAA;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,CAUrD"}
@@ -1,8 +0,0 @@
1
- export type FindUpOptions = {
2
- cwd?: string | undefined;
3
- onlyDirectories?: boolean | undefined;
4
- onlyFiles?: boolean | undefined;
5
- signal?: AbortSignal | undefined;
6
- };
7
- export declare function findUp(name: string | string[], options?: FindUpOptions | undefined): Promise<string | undefined>;
8
- //# sourceMappingURL=fs.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fs.d.mts","sourceRoot":"","sources":["../../../src/utils/fs.mts"],"names":[],"mappings":"AAwBA,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACrC,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC/B,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,wBAAsB,MAAM,CAC1B,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,GAClC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAiC7B"}
@@ -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":"AAoBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAE9C,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,UAAU,CAQ1E"}
@@ -1,35 +0,0 @@
1
- import type { CResult } from '../types.mts';
2
- export declare function getBaseBranch(cwd?: string): Promise<string>;
3
- export type RepoInfo = {
4
- owner: string;
5
- repo: string;
6
- };
7
- export declare function getRepoInfo(cwd?: string): Promise<RepoInfo | undefined>;
8
- export declare function getRepoName(cwd?: string): Promise<string>;
9
- export declare function getRepoOwner(cwd?: string): Promise<string | undefined>;
10
- export declare function gitBranch(cwd?: string): Promise<string | undefined>;
11
- /**
12
- * Try to detect the default branch name by checking common patterns.
13
- * Returns the first branch that exists in the repository.
14
- */
15
- export declare function detectDefaultBranch(cwd?: string): Promise<string>;
16
- export type GitCreateAndPushBranchOptions = {
17
- cwd?: string | undefined;
18
- email?: string | undefined;
19
- user?: string | undefined;
20
- };
21
- export declare function gitCleanFdx(cwd?: string): Promise<boolean>;
22
- export declare function gitCheckoutBranch(branch: string, cwd?: string): Promise<boolean>;
23
- export declare function gitCreateBranch(branch: string, cwd?: string): Promise<boolean>;
24
- export declare function gitPushBranch(branch: string, cwd?: string): Promise<boolean>;
25
- export declare function gitCommit(commitMsg: string, filepaths: string[], options?: GitCreateAndPushBranchOptions | undefined): Promise<boolean>;
26
- export declare function gitDeleteBranch(branch: string, cwd?: string): Promise<boolean>;
27
- export declare function gitDeleteRemoteBranch(branch: string, cwd?: string): Promise<boolean>;
28
- export declare function gitEnsureIdentity(name: string, email: string, cwd?: string): Promise<void>;
29
- export declare function gitLocalBranchExists(branch: string, cwd?: string): Promise<boolean>;
30
- export declare function gitRemoteBranchExists(branch: string, cwd?: string): Promise<boolean>;
31
- export declare function gitResetAndClean(branch?: string, cwd?: string): Promise<void>;
32
- export declare function gitResetHard(branch?: string, cwd?: string): Promise<boolean>;
33
- export declare function gitUnstagedModifiedFiles(cwd?: string): Promise<CResult<string[]>>;
34
- export declare function parseGitRemoteUrl(remoteUrl: string): RepoInfo | undefined;
35
- //# sourceMappingURL=git.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git.d.mts","sourceRoot":"","sources":["../../../src/utils/git.mts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAiB3C,wBAAsB,aAAa,CAAC,GAAG,SAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,CAyBxE;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,wBAAsB,WAAW,CAC/B,GAAG,SAAgB,GAClB,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAgB/B;AAED,wBAAsB,WAAW,CAAC,GAAG,SAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,CAKtE;AAED,wBAAsB,YAAY,CAChC,GAAG,SAAgB,GAClB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAG7B;AAED,wBAAsB,SAAS,CAC7B,GAAG,SAAgB,GAClB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA6B7B;AAED;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,GAAG,SAAgB,GAClB,OAAO,CAAC,MAAM,CAAC,CAgBjB;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B,CAAA;AAED,wBAAsB,WAAW,CAAC,GAAG,SAAgB,GAAG,OAAO,CAAC,OAAO,CAAC,CAavE;AAED,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,MAAM,EACd,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAalB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,MAAM,EACd,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAgBlB;AAED,wBAAsB,aAAa,CACjC,MAAM,EAAE,MAAM,EACd,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CA0BlB;AAED,wBAAsB,SAAS,CAC7B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EAAE,EACnB,OAAO,CAAC,EAAE,6BAA6B,GAAG,SAAS,GAClD,OAAO,CAAC,OAAO,CAAC,CAmClB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,MAAM,EACd,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,MAAM,EACd,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAqBlB;AAED,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,GAAG,SAAgB,GAClB,OAAO,CAAC,IAAI,CAAC,CAuCf;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,MAAM,EACd,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,MAAM,EACd,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED,wBAAsB,gBAAgB,CACpC,MAAM,SAAS,EACf,GAAG,SAAgB,GAClB,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAsB,YAAY,CAChC,MAAM,SAAS,EACf,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAalB;AAED,wBAAsB,wBAAwB,CAC5C,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAuB5B;AAID,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CA2BzE"}
@@ -1,38 +0,0 @@
1
- import { graphql as OctokitGraphql } from '@octokit/graphql';
2
- import { Octokit } from '@octokit/rest';
3
- import type { components } from '@octokit/openapi-types';
4
- import type { JsonContent } from '@socketsecurity/registry/lib/fs';
5
- export type Pr = components['schemas']['pull-request'];
6
- export declare function writeCache(key: string, data: JsonContent): Promise<void>;
7
- export declare function cacheFetch<T>(key: string, fetcher: () => Promise<T>, ttlMs?: number | undefined): Promise<T>;
8
- export type GhsaDetails = {
9
- ghsaId: string;
10
- cveId?: string | undefined;
11
- summary: string;
12
- severity: string;
13
- publishedAt: string;
14
- withdrawnAt?: string | undefined;
15
- references: Array<{
16
- url: string;
17
- }>;
18
- vulnerabilities: {
19
- nodes: Array<{
20
- package: {
21
- ecosystem: string;
22
- name: string;
23
- };
24
- vulnerableVersionRange: string;
25
- }>;
26
- };
27
- };
28
- export declare function fetchGhsaDetails(ids: string[]): Promise<Map<string, GhsaDetails>>;
29
- export declare function getOctokit(): Octokit;
30
- export declare function getOctokitGraphql(): typeof OctokitGraphql;
31
- export type PrAutoMergeState = {
32
- enabled: boolean;
33
- details?: string[] | undefined;
34
- };
35
- export declare function enablePrAutoMerge({ node_id: prId }: Pr): Promise<PrAutoMergeState>;
36
- export declare function prExistForBranch(owner: string, repo: string, branch: string): Promise<boolean>;
37
- export declare function setGitRemoteGithubRepoUrl(owner: string, repo: string, token: string, cwd?: string): Promise<boolean>;
38
- //# sourceMappingURL=github.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"github.d.mts","sourceRoot":"","sources":["../../../src/utils/github.mts"],"names":[],"mappings":"AA6BA,OAAO,EAEL,OAAO,IAAI,cAAc,EAC1B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAcvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAGlE,MAAM,MAAM,EAAE,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAA;AAkBtD,wBAAsB,UAAU,CAC9B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,WAAW,GAChB,OAAO,CAAC,IAAI,CAAC,CAOf;AAED,wBAAsB,UAAU,CAAC,CAAC,EAChC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACzB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GACzB,OAAO,CAAC,CAAC,CAAC,CAWZ;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,UAAU,EAAE,KAAK,CAAC;QAChB,GAAG,EAAE,MAAM,CAAA;KACZ,CAAC,CAAA;IACF,eAAe,EAAE;QACf,KAAK,EAAE,KAAK,CAAC;YACX,OAAO,EAAE;gBACP,SAAS,EAAE,MAAM,CAAA;gBACjB,IAAI,EAAE,MAAM,CAAA;aACb,CAAA;YACD,sBAAsB,EAAE,MAAM,CAAA;SAC/B,CAAC,CAAA;KACH,CAAA;CACF,CAAA;AAED,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EAAE,GACZ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAwDnC;AAGD,wBAAgB,UAAU,IAAI,OAAO,CAcpC;AAGD,wBAAgB,iBAAiB,IAAI,OAAO,cAAc,CAazD;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;CAC/B,CAAA;AAED,wBAAsB,iBAAiB,CAAC,EACtC,OAAO,EAAE,IAAI,EACd,EAAE,EAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAiChC;AAED,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,CAalB;AAED,wBAAsB,yBAAyB,CAC7C,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,GAAG,SAAgB,GAClB,OAAO,CAAC,OAAO,CAAC,CAyBlB"}
@@ -1,15 +0,0 @@
1
- import type { Agent } from './package-environment.mts';
2
- import type { SocketYml } from '@socketsecurity/config';
3
- import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
4
- import type { Options as GlobOptions } from 'fast-glob';
5
- export declare function filterBySupportedScanFiles(filepaths: string[] | readonly string[], supportedFiles: SocketSdkSuccessResult<'getReportSupportedFiles'>['data']): string[];
6
- export declare function getSupportedFilePatterns(supportedFiles: SocketSdkSuccessResult<'getReportSupportedFiles'>['data']): string[];
7
- type GlobWithGitIgnoreOptions = GlobOptions & {
8
- socketConfig?: SocketYml | undefined;
9
- };
10
- export declare function globWithGitIgnore(patterns: string[] | readonly string[], options: GlobWithGitIgnoreOptions): Promise<string[]>;
11
- export declare function globWorkspace(agent: Agent, cwd?: string): Promise<string[]>;
12
- export declare function isReportSupportedFile(filepath: string, supportedFiles: SocketSdkSuccessResult<'getReportSupportedFiles'>['data']): boolean;
13
- export declare function pathsToGlobPatterns(paths: string[] | readonly string[]): string[];
14
- export {};
15
- //# sourceMappingURL=glob.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"glob.d.mts","sourceRoot":"","sources":["../../../src/utils/glob.mts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,KAAK,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AA4IvD,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EACvC,cAAc,EAAE,sBAAsB,CAAC,yBAAyB,CAAC,CAAC,MAAM,CAAC,GACxE,MAAM,EAAE,CAGV;AAED,wBAAgB,wBAAwB,CACtC,cAAc,EAAE,sBAAsB,CAAC,yBAAyB,CAAC,CAAC,MAAM,CAAC,GACxE,MAAM,EAAE,CASV;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,GAChC,OAAO,CAAC,MAAM,EAAE,CAAC,CA+EnB;AAED,wBAAsB,aAAa,CACjC,KAAK,EAAE,KAAK,EACZ,GAAG,SAAgB,GAClB,OAAO,CAAC,MAAM,EAAE,CAAC,CASnB;AAED,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,sBAAsB,CAAC,yBAAyB,CAAC,CAAC,MAAM,CAAC,WAI1E;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GAClC,MAAM,EAAE,CAGV"}
@@ -1,2 +0,0 @@
1
- export declare function readLockfile(lockfilePath: string): Promise<string | undefined>;
2
- //# sourceMappingURL=lockfile.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lockfile.d.mts","sourceRoot":"","sources":["../../../src/utils/lockfile.mts"],"names":[],"mappings":"AAIA,wBAAsB,YAAY,CAChC,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAE7B"}
@@ -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,27 +0,0 @@
1
- /**
2
- * Markdown utilities for Socket CLI.
3
- * Generates formatted markdown output for reports and documentation.
4
- *
5
- * Key Functions:
6
- * - mdTableStringNumber: Create markdown table with string keys and number values
7
- *
8
- * Table Features:
9
- * - Auto-sizing columns based on content
10
- * - Proper alignment for headers and data
11
- * - Clean markdown-compliant formatting
12
- *
13
- * Usage:
14
- * - Analytics reports
15
- * - Scan result tables
16
- * - Statistical summaries
17
- */
18
- export declare function mdTableStringNumber(title1: string, title2: string, obj: Record<string, number | string>): string;
19
- export declare function mdTable<T extends Array<Record<string, string>>>(logs: T,
20
- // This is saying "an array of strings and the strings are a valid key of elements of T"
21
- // In turn, T is defined above as the audit log event type from our OpenAPI docs.
22
- cols: Array<string & keyof T[number]>, titles?: string[]): string;
23
- export declare function mdTableOfPairs(arr: Array<[string, string]>,
24
- // This is saying "an array of strings and the strings are a valid key of elements of T"
25
- // In turn, T is defined above as the audit log event type from our OpenAPI docs.
26
- cols: string[]): string;
27
- //# sourceMappingURL=markdown.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown.d.mts","sourceRoot":"","sources":["../../../src/utils/markdown.mts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,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;AACP,wFAAwF;AACxF,iFAAiF;AACjF,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;AAC5B,wFAAwF;AACxF,iFAAiF;AACjF,IAAI,EAAE,MAAM,EAAE,GACb,MAAM,CA4BR"}