socket 1.1.24 → 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 +26 -202
  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 -14968
  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 -19
  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 -160982
  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
package/dist/constants.js DELETED
@@ -1,845 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var fs = require('node:fs');
6
- var require$$5 = require('node:module');
7
- var os = require('node:os');
8
- var path = require('node:path');
9
- var require$$0 = require('node:url');
10
- var registryConstants = require('../external/@socketsecurity/registry/lib/constants');
11
-
12
- var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
13
- const require$1 = require$$5.createRequire((typeof document === 'undefined' ? require$$0.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('constants.js', document.baseURI).href)));
14
- const __filename$1 = require$$0.fileURLToPath((typeof document === 'undefined' ? require$$0.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('constants.js', document.baseURI).href)));
15
- // Using `path.dirname(__filename)` to resolve `__dirname` works for both 'dist'
16
- // AND 'src' directories because constants.js and constants.mts respectively are
17
- // in the root of each.
18
- const __dirname$1 = path.dirname(__filename$1);
19
- const {
20
- AT_LATEST,
21
- BIOME_JSON,
22
- BUN,
23
- CI,
24
- COLUMN_LIMIT,
25
- DOT_GIT_DIR,
26
- DOT_SOCKET_DIR,
27
- EMPTY_FILE,
28
- EMPTY_VALUE,
29
- ESLINT_CONFIG_JS,
30
- ESNEXT,
31
- EXT_CJS,
32
- EXT_CMD,
33
- EXT_CTS,
34
- EXT_DTS,
35
- EXT_JS,
36
- EXT_JSON,
37
- EXT_LOCK,
38
- EXT_LOCKB,
39
- EXT_MD,
40
- EXT_MJS,
41
- EXT_MTS,
42
- EXT_PS1,
43
- EXT_YAML,
44
- EXT_YML,
45
- EXTENSIONS,
46
- EXTENSIONS_JSON,
47
- GITIGNORE,
48
- DOT_PACKAGE_LOCK_JSON,
49
- LATEST,
50
- LICENSE,
51
- LICENSE_GLOB,
52
- LICENSE_GLOB_RECURSIVE,
53
- LICENSE_ORIGINAL,
54
- LICENSE_ORIGINAL_GLOB,
55
- LICENSE_ORIGINAL_GLOB_RECURSIVE,
56
- LOOP_SENTINEL,
57
- MANIFEST_JSON,
58
- MIT,
59
- NODE_AUTH_TOKEN,
60
- NODE_ENV,
61
- NODE_MODULES,
62
- NODE_MODULES_GLOB_RECURSIVE,
63
- NPM,
64
- NPX,
65
- OVERRIDES,
66
- PACKAGE_DEFAULT_VERSION,
67
- PACKAGE_JSON,
68
- PACKAGE_LOCK_JSON,
69
- PNPM,
70
- PNPM_LOCK_YAML,
71
- PRE_COMMIT,
72
- README_GLOB,
73
- README_GLOB_RECURSIVE,
74
- REGISTRY_SCOPE_DELIMITER,
75
- README_MD,
76
- REGISTRY,
77
- RESOLUTIONS,
78
- SOCKET_GITHUB_ORG,
79
- SOCKET_IPC_HANDSHAKE,
80
- SOCKET_OVERRIDE_SCOPE,
81
- SOCKET_PUBLIC_API_TOKEN,
82
- SOCKET_REGISTRY_NPM_ORG,
83
- SOCKET_REGISTRY_PACKAGE_NAME,
84
- SOCKET_REGISTRY_REPO_NAME,
85
- SOCKET_REGISTRY_SCOPE,
86
- SOCKET_SECURITY_SCOPE,
87
- TSCONFIG_JSON,
88
- UNKNOWN_ERROR,
89
- UNKNOWN_VALUE,
90
- UNLICENCED,
91
- UNLICENSED,
92
- UTF8,
93
- VITEST,
94
- VLT,
95
- YARN,
96
- YARN_BERRY,
97
- YARN_CLASSIC,
98
- YARN_LOCK,
99
- kInternalsSymbol,
100
- [kInternalsSymbol]: {
101
- attributes: registryConstantsAttribs,
102
- createConstantsObject,
103
- getIpc
104
- }
105
- } = registryConstants;
106
- // Socket CLI specific constants that are not in socket-registry.
107
- const ALERT_TYPE_CRITICAL_CVE = 'criticalCVE';
108
- const ALERT_TYPE_CVE = 'cve';
109
- const ALERT_TYPE_MEDIUM_CVE = 'mediumCVE';
110
- const ALERT_TYPE_MILD_CVE = 'mildCVE';
111
- const API_V0_URL = 'https://api.socket.dev/v0/';
112
- const CONFIG_KEY_API_BASE_URL = 'apiBaseUrl';
113
- const CONFIG_KEY_API_PROXY = 'apiProxy';
114
- const CONFIG_KEY_API_TOKEN = 'apiToken';
115
- const CONFIG_KEY_DEFAULT_ORG = 'defaultOrg';
116
- const CONFIG_KEY_ENFORCED_ORGS = 'enforcedOrgs';
117
- const CONFIG_KEY_ORG = 'org';
118
- const DOT_SOCKET_DOT_FACTS_JSON = `${DOT_SOCKET_DIR}.facts.json`;
119
- const DLX_BINARY_CACHE_TTL = 7 * 24 * 60 * 60 * 1_000; // 7 days in milliseconds.
120
- const DRY_RUN_LABEL = '[DryRun]';
121
- const DRY_RUN_BAILING_NOW = `${DRY_RUN_LABEL}: Bailing now`;
122
- const DRY_RUN_NOT_SAVING = `${DRY_RUN_LABEL}: Not saving`;
123
- const ENVIRONMENT_YAML = 'environment.yaml';
124
- const ENVIRONMENT_YML = 'environment.yml';
125
- const ERROR_NO_MANIFEST_FILES = 'No manifest files found';
126
- const ERROR_NO_PACKAGE_JSON = 'No package.json found';
127
- const ERROR_NO_REPO_FOUND = 'No repo found';
128
- const ERROR_NO_SOCKET_DIR = 'No .socket directory found';
129
- const ERROR_UNABLE_RESOLVE_ORG = 'Unable to resolve a Socket account organization';
130
- const FLAG_CONFIG = '--config';
131
- const FLAG_DRY_RUN = '--dry-run';
132
- const FLAG_HELP = '--help';
133
- const FLAG_HELP_FULL = '--help-full';
134
- const FLAG_ID = '--id';
135
- const FLAG_JSON = '--json';
136
- const FLAG_LOGLEVEL = '--loglevel';
137
- const FLAG_MARKDOWN = '--markdown';
138
- const FLAG_ORG = '--org';
139
- const FLAG_PIN = '--pin';
140
- const FLAG_PROD = '--prod';
141
- const FLAG_QUIET = '--quiet';
142
- const FLAG_SILENT = '--silent';
143
- const FLAG_TEXT = '--text';
144
- const FLAG_VERBOSE = '--verbose';
145
- const FLAG_VERSION = '--version';
146
- const FOLD_SETTING_FILE = 'file';
147
- const FOLD_SETTING_NONE = 'none';
148
- const FOLD_SETTING_PKG = 'pkg';
149
- const FOLD_SETTING_VERSION = 'version';
150
- const GQL_PAGE_SENTINEL = 100;
151
- const GQL_PR_STATE_CLOSED = 'CLOSED';
152
- const GQL_PR_STATE_MERGED = 'MERGED';
153
- const GQL_PR_STATE_OPEN = 'OPEN';
154
- const HTTP_STATUS_BAD_REQUEST = 400;
155
- const HTTP_STATUS_FORBIDDEN = 403;
156
- const HTTP_STATUS_INTERNAL_SERVER_ERROR = 500;
157
- const HTTP_STATUS_NOT_FOUND = 404;
158
- const HTTP_STATUS_UNAUTHORIZED = 401;
159
- const NPM_BUGGY_OVERRIDES_PATCHED_VERSION = '11.2.0';
160
- const NPM_REGISTRY_URL = 'https://registry.npmjs.org';
161
- const OUTPUT_JSON = 'json';
162
- const OUTPUT_MARKDOWN = 'markdown';
163
- const OUTPUT_TEXT = 'text';
164
- const PNPM_WORKSPACE_YAML = 'pnpm-workspace.yaml';
165
- const REDACTED = '<redacted>';
166
- const REPORT_LEVEL_DEFER = 'defer';
167
- const REPORT_LEVEL_ERROR = 'error';
168
- const REPORT_LEVEL_IGNORE = 'ignore';
169
- const REPORT_LEVEL_MONITOR = 'monitor';
170
- const REPORT_LEVEL_WARN = 'warn';
171
- const REQUIREMENTS_TXT = 'requirements.txt';
172
- const SOCKET_CLI_ACCEPT_RISKS = 'SOCKET_CLI_ACCEPT_RISKS';
173
- const SOCKET_CLI_BIN_NAME = 'socket';
174
- const SOCKET_CLI_ISSUES_URL = 'https://github.com/SocketDev/socket-cli/issues';
175
- const SOCKET_CLI_SHADOW_ACCEPT_RISKS = 'SOCKET_CLI_SHADOW_ACCEPT_RISKS';
176
- const SOCKET_CLI_SHADOW_API_TOKEN = 'SOCKET_CLI_SHADOW_API_TOKEN';
177
- const SOCKET_CLI_SHADOW_BIN = 'SOCKET_CLI_SHADOW_BIN';
178
- const SOCKET_CLI_SHADOW_PROGRESS = 'SOCKET_CLI_SHADOW_PROGRESS';
179
- const SOCKET_CLI_SHADOW_SILENT = 'SOCKET_CLI_SHADOW_SILENT';
180
- const SOCKET_CLI_VIEW_ALL_RISKS = 'SOCKET_CLI_VIEW_ALL_RISKS';
181
- const SOCKET_DEFAULT_BRANCH = 'socket-default-branch';
182
- const SOCKET_DEFAULT_REPOSITORY = 'socket-default-repository';
183
- const SOCKET_JSON = 'socket.json';
184
- const SOCKET_WEBSITE_URL = 'https://socket.dev';
185
- const SOCKET_YAML = 'socket.yaml';
186
- const SOCKET_YML = 'socket.yml';
187
- const V1_MIGRATION_GUIDE_URL = 'https://docs.socket.dev/docs/v1-migration-guide';
188
- let _Sentry;
189
- let _npmStdioPipeOptions;
190
- function getNpmStdioPipeOptions() {
191
- if (_npmStdioPipeOptions === undefined) {
192
- _npmStdioPipeOptions = {
193
- cwd: process.cwd(),
194
- // On Windows, npm is often a .cmd file that requires shell execution.
195
- // The spawn function from @socketsecurity/registry will handle this properly
196
- // when shell is true.
197
- shell: constants.WIN32
198
- };
199
- }
200
- return _npmStdioPipeOptions;
201
- }
202
- const LAZY_ENV = () => {
203
- const {
204
- env
205
- } = process;
206
- const envHelpers = /*@__PURE__*/require$1('../external/@socketsecurity/registry/lib/env');
207
- const utils = /*@__PURE__*/require$1(path.join(constants.rootPath, 'dist/utils.js'));
208
- const envAsBoolean = envHelpers.envAsBoolean;
209
- const envAsNumber = envHelpers.envAsNumber;
210
- const envAsString = envHelpers.envAsString;
211
- const getConfigValueOrUndef = utils.getConfigValueOrUndef;
212
- const readOrDefaultSocketJson = utils.readOrDefaultSocketJson;
213
- const GITHUB_TOKEN = envAsString(env['GITHUB_TOKEN']);
214
- const INLINED_SOCKET_CLI_PUBLISHED_BUILD = envAsBoolean(true);
215
- // We inline some environment values so that they CANNOT be influenced by user
216
- // provided environment variables.
217
- return Object.freeze({
218
- __proto__: null,
219
- // Lazily access registryConstants.ENV.
220
- ...registryConstants.ENV,
221
- // Disable using GitHub's workflow actions/cache.
222
- // https://github.com/actions/cache
223
- DISABLE_GITHUB_CACHE: envAsBoolean(env['DISABLE_GITHUB_CACHE']),
224
- // The API URL. For example, https://api.github.com.
225
- // https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
226
- GITHUB_API_URL: envAsString(env['GITHUB_API_URL']) || 'https://api.github.com',
227
- // The name of the base ref or target branch of the pull request in a workflow
228
- // run. This is only set when the event that triggers a workflow run is either
229
- // pull_request or pull_request_target. For example, main.
230
- // https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
231
- GITHUB_BASE_REF: envAsString(env['GITHUB_BASE_REF']),
232
- // The short ref name of the branch or tag that triggered the GitHub workflow
233
- // run. This value matches the branch or tag name shown on GitHub. For example,
234
- // feature-branch-1. For pull requests, the format is <pr_number>/merge.
235
- // https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
236
- GITHUB_REF_NAME: envAsString(env['GITHUB_REF_NAME']),
237
- // The type of ref that triggered the workflow run. Valid values are branch or tag.
238
- // https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
239
- GITHUB_REF_TYPE: envAsString(env['GITHUB_REF_TYPE']),
240
- // The owner and repository name. For example, octocat/Hello-World.
241
- // https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
242
- GITHUB_REPOSITORY: envAsString(env['GITHUB_REPOSITORY']),
243
- // The URL of the GitHub server. For example, https://github.com.
244
- // https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace#list-of-default-environment-variables
245
- GITHUB_SERVER_URL: envAsString(env['GITHUB_SERVER_URL']) || 'https://github.com',
246
- // The GITHUB_TOKEN secret is a GitHub App installation access token.
247
- // The token's permissions are limited to the repository that contains the
248
- // workflow.
249
- // https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#about-the-github_token-secret
250
- GITHUB_TOKEN,
251
- // Comp-time inlined @coana-tech/cli package version.
252
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_COANA_TECH_CLI_VERSION']".
253
- INLINED_SOCKET_CLI_COANA_TECH_CLI_VERSION: envAsString("14.12.28"),
254
- // Comp-time inlined @cyclonedx/cdxgen package version.
255
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_CYCLONEDX_CDXGEN_VERSION']".
256
- INLINED_SOCKET_CLI_CYCLONEDX_CDXGEN_VERSION: envAsString("11.7.0"),
257
- // Comp-time inlined Socket package homepage.
258
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_HOMEPAGE']".
259
- INLINED_SOCKET_CLI_HOMEPAGE: envAsString("https://github.com/SocketDev/socket-cli"),
260
- // Comp-time inlined flag to determine if this is the Legacy build.
261
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_LEGACY_BUILD']".
262
- INLINED_SOCKET_CLI_LEGACY_BUILD: envAsBoolean(false),
263
- // Comp-time inlined Socket package name.
264
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_NAME']".
265
- INLINED_SOCKET_CLI_NAME: envAsString("socket"),
266
- // Comp-time inlined flag to determine if this is a published build.
267
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_PUBLISHED_BUILD']".
268
- INLINED_SOCKET_CLI_PUBLISHED_BUILD,
269
- // Comp-time inlined flag to determine if this is the Sentry build.
270
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_SENTRY_BUILD']".
271
- INLINED_SOCKET_CLI_SENTRY_BUILD: envAsBoolean(false),
272
- // Comp-time inlined synp package version.
273
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_SYNP_VERSION']".
274
- INLINED_SOCKET_CLI_SYNP_VERSION: envAsString("1.9.14"),
275
- // Comp-time inlined Socket package version.
276
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
277
- INLINED_SOCKET_CLI_VERSION: envAsString("1.1.24"),
278
- // Comp-time inlined Socket package version hash.
279
- // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
280
- INLINED_SOCKET_CLI_VERSION_HASH: envAsString("1.1.24:9c06582:e7e92153"),
281
- // Enable the module compile cache for the Node.js instance.
282
- // https://nodejs.org/api/cli.html#node_compile_cachedir
283
- NODE_COMPILE_CACHE: constants.SUPPORTS_NODE_COMPILE_CACHE_ENV_VAR ? constants.socketCachePath : '',
284
- // Redefine registryConstants.ENV.NODE_ENV to account for the
285
- // INLINED_SOCKET_CLI_PUBLISHED_BUILD environment variable.
286
- NODE_ENV: envAsString(env['NODE_ENV']).toLowerCase() === 'production' ? 'production' : INLINED_SOCKET_CLI_PUBLISHED_BUILD ? '' : 'development',
287
- // Well known "root" CAs (like VeriSign) will be extended with the extra
288
- // certificates in file. The file should consist of one or more trusted
289
- // certificates in PEM format.
290
- // https://nodejs.org/api/cli.html#node_extra_ca_certsfile
291
- NODE_EXTRA_CA_CERTS: envAsString(env['NODE_EXTRA_CA_CERTS']) ||
292
- // Commonly used environment variable to specify the path to a single
293
- // PEM-encoded certificate file.
294
- envAsString(env['SSL_CERT_FILE']),
295
- // npm cache directory path. Used to detect if running from npm's npx cache
296
- // for temporary execution contexts.
297
- npm_config_cache: envAsString(env['npm_config_cache']),
298
- // Package manager user agent string that identifies which package manager
299
- // is executing commands. Used to detect temporary execution contexts like
300
- // npx, pnpm dlx, or yarn dlx.
301
- // Expected values:
302
- // - npm: 'npm/version node/version os arch' (e.g., 'npm/10.0.0 node/v20.0.0 darwin x64')
303
- // - npx: Similar to npm but may include 'npx' or 'exec' in the string
304
- // - yarn: 'yarn/version npm/? node/version os arch' (e.g., 'yarn/1.22.0 npm/? node/v20.0.0 darwin x64')
305
- // - pnpm: 'pnpm/version node/version os arch' (Note: Not set for pnpm dlx/create/init)
306
- // - When running via exec/npx/dlx, the string may contain 'exec', 'npx', or 'dlx'
307
- npm_config_user_agent: envAsString(env['npm_config_user_agent']),
308
- // PATH is an environment variable that lists directories where executable
309
- // programs are located. When a command is run, the system searches these
310
- // directories to find the executable.
311
- PATH: envAsString(env['PATH']),
312
- // Accept risks of a Socket wrapped npm/npx run.
313
- SOCKET_CLI_ACCEPT_RISKS: envAsBoolean(env[SOCKET_CLI_ACCEPT_RISKS]),
314
- // Change the base URL for Socket API calls.
315
- // https://github.com/SocketDev/socket-cli?tab=readme-ov-file#environment-variables-for-development
316
- SOCKET_CLI_API_BASE_URL: envAsString(env['SOCKET_CLI_API_BASE_URL']) ||
317
- // TODO: Remove legacy environment variable name.
318
- envAsString(env['SOCKET_SECURITY_API_BASE_URL']) || getConfigValueOrUndef('apiBaseUrl') || API_V0_URL,
319
- // Set the proxy that all requests are routed through.
320
- // https://github.com/SocketDev/socket-cli?tab=readme-ov-file#environment-variables-for-development
321
- SOCKET_CLI_API_PROXY: envAsString(env['SOCKET_CLI_API_PROXY']) ||
322
- // TODO: Remove legacy environment variable name.
323
- envAsString(env['SOCKET_SECURITY_API_PROXY']) ||
324
- // Commonly used environment variables to specify routing requests through
325
- // a proxy server.
326
- envAsString(env['HTTPS_PROXY']) || envAsString(env['https_proxy']) || envAsString(env['HTTP_PROXY']) || envAsString(env['http_proxy']),
327
- // Set the timeout in milliseconds for Socket API requests.
328
- // https://nodejs.org/api/http.html#httprequesturl-options-callback
329
- SOCKET_CLI_API_TIMEOUT: envAsNumber(env['SOCKET_CLI_API_TIMEOUT']),
330
- // Set the Socket API token.
331
- // https://github.com/SocketDev/socket-cli?tab=readme-ov-file#environment-variables
332
- SOCKET_CLI_API_TOKEN: envAsString(env['SOCKET_CLI_API_TOKEN']) ||
333
- // TODO: Remove legacy environment variable names.
334
- envAsString(env['SOCKET_CLI_API_KEY']) || envAsString(env['SOCKET_SECURITY_API_TOKEN']) || envAsString(env['SOCKET_SECURITY_API_KEY']),
335
- // A JSON stringified Socket configuration object.
336
- SOCKET_CLI_CONFIG: envAsString(env['SOCKET_CLI_CONFIG']),
337
- // The git config user.email used by Socket CLI.
338
- SOCKET_CLI_GIT_USER_EMAIL: envAsString(env['SOCKET_CLI_GIT_USER_EMAIL']) || 'github-actions[bot]@users.noreply.github.com',
339
- // The git config user.name used by Socket CLI.
340
- SOCKET_CLI_GIT_USER_NAME: envAsString(env['SOCKET_CLI_GIT_USER_NAME']) || envAsString(env['SOCKET_CLI_GIT_USERNAME']) || 'github-actions[bot]',
341
- // Change the base URL for GitHub REST API calls.
342
- // https://docs.github.com/en/rest
343
- SOCKET_CLI_GITHUB_API_URL: envAsString(env['SOCKET_CLI_GITHUB_API_URL']) || readOrDefaultSocketJson(process.cwd())?.defaults?.scan?.github?.githubApiUrl || 'https://api.github.com',
344
- // A classic GitHub personal access token with the "repo" scope or a
345
- // fine-grained access token with at least read/write permissions set for
346
- // "Contents" and "Pull Request".
347
- // https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
348
- SOCKET_CLI_GITHUB_TOKEN: envAsString(env['SOCKET_CLI_GITHUB_TOKEN']) ||
349
- // TODO: Remove undocumented legacy environment variable name.
350
- envAsString(env['SOCKET_SECURITY_GITHUB_PAT']) || GITHUB_TOKEN,
351
- // Make the default API token `undefined`.
352
- SOCKET_CLI_NO_API_TOKEN: envAsBoolean(env['SOCKET_CLI_NO_API_TOKEN']),
353
- // The absolute location of the npm directory.
354
- SOCKET_CLI_NPM_PATH: envAsString(env['SOCKET_CLI_NPM_PATH']),
355
- // Specify the Socket organization slug.
356
- SOCKET_CLI_ORG_SLUG: envAsString(env['SOCKET_CLI_ORG_SLUG']) ||
357
- // Coana CLI accepts the SOCKET_ORG_SLUG environment variable.
358
- envAsString(env['SOCKET_ORG_SLUG']),
359
- // View all risks of a Socket wrapped npm/npx run.
360
- SOCKET_CLI_VIEW_ALL_RISKS: envAsBoolean(env[SOCKET_CLI_VIEW_ALL_RISKS]),
361
- // Specifies the type of terminal or terminal emulator being used by the process.
362
- TERM: envAsString(env['TERM']),
363
- // Redefine registryConstants.ENV.VITEST to account for the
364
- // INLINED_SOCKET_CLI_PUBLISHED_BUILD environment variable.
365
- VITEST: INLINED_SOCKET_CLI_PUBLISHED_BUILD ? false : envAsBoolean(false)
366
- });
367
- };
368
- const lazyBashRcPath = () => path.join(constants.homePath, '.bashrc');
369
- const lazyBinPath = () => path.join(constants.rootPath, 'bin');
370
- const lazyBinCliPath = () => path.join(constants.binPath, 'cli.js');
371
- const lazyBlessedContribPath = () => path.join(constants.externalPath, 'blessed-contrib');
372
- const lazyBlessedOptions = () => Object.freeze({
373
- smartCSR: true,
374
- term: constants.WIN32 ? 'windows-ansi' : 'xterm',
375
- useBCE: true
376
- });
377
- const lazyBlessedPath = () => path.join(constants.externalPath, 'blessed');
378
- const lazyDistCliPath = () => path.join(constants.distPath, 'cli.js');
379
- const lazyDistPath = () => path.join(constants.rootPath, 'dist');
380
- const lazyExternalPath = () => path.join(constants.rootPath, 'external');
381
- const lazyGithubCachePath = () => path.join(constants.socketCachePath, 'github');
382
- const lazyHomePath = () => os.homedir();
383
- const lazyInstrumentWithSentryPath = () => path.join(constants.distPath, 'instrument-with-sentry.js');
384
- const lazyMinimumVersionByAgent = () => new Map([
385
- // Bun >=1.1.39 supports the text-based lockfile.
386
- // https://bun.sh/blog/bun-lock-text-lockfile
387
- [BUN, '1.1.39'],
388
- // The npm version bundled with Node 18.
389
- // https://nodejs.org/en/about/previous-releases#looking-for-the-latest-release-of-a-version-branch
390
- [NPM, '10.8.2'],
391
- // 8.x is the earliest version to support Node 18.
392
- // https://pnpm.io/installation#compatibility
393
- // https://www.npmjs.com/package/pnpm?activeTab=versions
394
- [PNPM, '8.15.7'],
395
- // 4.x supports >= Node 18.12.0
396
- // https://github.com/yarnpkg/berry/blob/%40yarnpkg/core/4.1.0/CHANGELOG.md#400
397
- [YARN_BERRY, '4.0.0'],
398
- // Latest 1.x.
399
- // https://www.npmjs.com/package/yarn?activeTab=versions
400
- [YARN_CLASSIC, '1.22.22'],
401
- // vlt does not support overrides so we don't gate on it.
402
- [VLT, '*']]);
403
- const lazyNmBinPath = () => path.join(constants.rootPath, 'node_modules/.bin');
404
- const lazyNodeDebugFlags = () => constants.ENV.SOCKET_CLI_DEBUG ? ['--trace-uncaught', '--trace-warnings'] : [];
405
-
406
- // Redefine registryConstants.nodeHardenFlags to account for the
407
- // INLINED_SOCKET_CLI_SENTRY_BUILD environment variable.
408
- const lazyNodeHardenFlags = () => Object.freeze(
409
- // Harden Node security.
410
- // https://nodejs.org/en/learn/getting-started/security-best-practices
411
- constants.ENV.INLINED_SOCKET_CLI_SENTRY_BUILD || constants.WIN32 ? [
412
- // https://nodejs.org/api/cli.html#--disallow-code-generation-from-strings
413
- // '--disallow-code-generation-from-strings'
414
- ] : [
415
- // '--disallow-code-generation-from-strings',
416
- // https://nodejs.org/api/cli.html#--disable-protomode
417
- // '--disable-proto',
418
- // 'throw',
419
- // https://nodejs.org/api/cli.html#--frozen-intrinsics
420
- // We have contributed the following patches to our dependencies to make
421
- // Node's --frozen-intrinsics workable.
422
- // √ https://github.com/SBoudrias/Inquirer.js/pull/1683
423
- // √ https://github.com/pnpm/components/pull/23
424
- // '--frozen-intrinsics',
425
- // https://nodejs.org/api/cli.html#--no-deprecation
426
- // '--no-deprecation',
427
- ]);
428
- const lazyNodeMemoryFlags = () => {
429
- const flags = /*@__PURE__*/require$1(path.join(constants.rootPath, 'dist/flags.js'));
430
- const getMaxOldSpaceSizeFlag = flags.getMaxOldSpaceSizeFlag;
431
- const getMaxSemiSpaceSizeFlag = flags.getMaxSemiSpaceSizeFlag;
432
- return Object.freeze([`--max-old-space-size=${getMaxOldSpaceSizeFlag()}`, `--max-semi-space-size=${getMaxSemiSpaceSizeFlag()}`]);
433
- };
434
- const lazyNpmCachePath = () => {
435
- const spawnHelpers = /*@__PURE__*/require$1('../external/@socketsecurity/registry/lib/spawn');
436
- const spawnSync = spawnHelpers.spawnSync;
437
- return spawnSync(constants.npmExecPath, ['config', 'get', 'cache'], getNpmStdioPipeOptions()).stdout;
438
- };
439
- const lazyNpmGlobalPrefix = () => {
440
- const spawnHelpers = /*@__PURE__*/require$1('../external/@socketsecurity/registry/lib/spawn');
441
- const spawnSync = spawnHelpers.spawnSync;
442
- return spawnSync(constants.npmExecPath, ['prefix', '-g'], getNpmStdioPipeOptions()).stdout;
443
- };
444
- const lazyNpmNmNodeGypPath = () => path.join(constants.npmRealExecPath, '../../node_modules/node-gyp/bin/node-gyp.js');
445
- const lazyProcessEnv = () => Object.setPrototypeOf(Object.fromEntries(Object.entries(constants.ENV).reduce((entries, entry) => {
446
- const {
447
- 0: key,
448
- 1: value
449
- } = entry;
450
- if (key.startsWith('INLINED_SOCKET_CLI_')) {
451
- return entries;
452
- }
453
- if (typeof value === 'string') {
454
- if (value) {
455
- entries.push(entry);
456
- }
457
- } else if (typeof value === 'boolean' && value) {
458
- entries.push([key, '1']);
459
- }
460
- return entries;
461
- }, [])), null);
462
- const lazyRootPath = () => path.join(fs.realpathSync.native(__dirname$1), '..');
463
- const lazyShadowBinPath = () => path.join(constants.rootPath, 'shadow-npm-bin');
464
- const lazyShadowNpmBinPath = () => path.join(constants.distPath, 'shadow-npm-bin.js');
465
- const lazyShadowNpmInjectPath = () => path.join(constants.distPath, 'shadow-npm-inject.js');
466
- const lazyShadowNpxBinPath = () => path.join(constants.distPath, 'shadow-npx-bin.js');
467
- const lazyShadowPnpmBinPath = () => path.join(constants.distPath, 'shadow-pnpm-bin.js');
468
- const lazyShadowYarnBinPath = () => path.join(constants.distPath, 'shadow-yarn-bin.js');
469
- const lazySocketAppDataPath = () => {
470
- // Get the OS app data directory:
471
- // - Win: %LOCALAPPDATA% or fail?
472
- // - Mac: %XDG_DATA_HOME% or fallback to "~/Library/Application Support/"
473
- // - Linux: %XDG_DATA_HOME% or fallback to "~/.local/share/"
474
- // Note: LOCALAPPDATA is typically: C:\Users\USERNAME\AppData
475
- // Note: XDG stands for "X Desktop Group", nowadays "freedesktop.org"
476
- // On most systems that path is: $HOME/.local/share
477
- // Then append `socket/settings`, so:
478
- // - Win: %LOCALAPPDATA%\socket\settings or return undefined
479
- // - Mac: %XDG_DATA_HOME%/socket/settings or "~/Library/Application Support/socket/settings"
480
- // - Linux: %XDG_DATA_HOME%/socket/settings or "~/.local/share/socket/settings"
481
- const {
482
- WIN32
483
- } = constants;
484
- let dataHome = WIN32 ? constants.ENV.LOCALAPPDATA : constants.ENV.XDG_DATA_HOME;
485
- if (!dataHome) {
486
- if (WIN32) {
487
- const logger = /*@__PURE__*/require$1('../external/@socketsecurity/registry/lib/logger');
488
- logger.warn(`Missing %LOCALAPPDATA%.`);
489
- } else {
490
- dataHome = path.join(constants.homePath, constants.DARWIN ? 'Library/Application Support' : '.local/share');
491
- }
492
- }
493
- return dataHome ? path.join(dataHome, 'socket/settings') : undefined;
494
- };
495
- const lazySocketCachePath = () => path.join(constants.rootPath, '.cache');
496
- const lazySocketRegistryPath = () => path.join(constants.externalPath, '@socketsecurity/registry');
497
- const lazyZshRcPath = () => path.join(constants.homePath, '.zshrc');
498
- const constants = createConstantsObject({
499
- ...registryConstantsAttribs.props,
500
- ALERT_TYPE_CRITICAL_CVE,
501
- ALERT_TYPE_CVE,
502
- ALERT_TYPE_MEDIUM_CVE,
503
- ALERT_TYPE_MILD_CVE,
504
- API_V0_URL,
505
- BUN,
506
- CONFIG_KEY_API_BASE_URL,
507
- CONFIG_KEY_API_PROXY,
508
- CONFIG_KEY_API_TOKEN,
509
- CONFIG_KEY_DEFAULT_ORG,
510
- CONFIG_KEY_ENFORCED_ORGS,
511
- CONFIG_KEY_ORG,
512
- DOT_GIT_DIR,
513
- DOT_SOCKET_DIR,
514
- DOT_SOCKET_DOT_FACTS_JSON,
515
- DRY_RUN_BAILING_NOW,
516
- DRY_RUN_LABEL,
517
- DRY_RUN_NOT_SAVING,
518
- ENV: undefined,
519
- ENVIRONMENT_YAML,
520
- ENVIRONMENT_YML,
521
- ERROR_NO_MANIFEST_FILES,
522
- ERROR_NO_PACKAGE_JSON,
523
- ERROR_NO_REPO_FOUND,
524
- ERROR_NO_SOCKET_DIR,
525
- ERROR_UNABLE_RESOLVE_ORG,
526
- EXT_YAML,
527
- EXT_YML,
528
- FLAG_CONFIG,
529
- FLAG_DRY_RUN,
530
- FLAG_HELP,
531
- FLAG_HELP_FULL,
532
- FLAG_ID,
533
- FLAG_JSON,
534
- FLAG_LOGLEVEL,
535
- FLAG_MARKDOWN,
536
- FLAG_ORG,
537
- FLAG_PIN,
538
- FLAG_PROD,
539
- FLAG_QUIET,
540
- FLAG_SILENT,
541
- FLAG_TEXT,
542
- FLAG_VERBOSE,
543
- FLAG_VERSION,
544
- FOLD_SETTING_FILE,
545
- FOLD_SETTING_NONE,
546
- FOLD_SETTING_PKG,
547
- FOLD_SETTING_VERSION,
548
- GQL_PAGE_SENTINEL,
549
- GQL_PR_STATE_CLOSED,
550
- GQL_PR_STATE_MERGED,
551
- GQL_PR_STATE_OPEN,
552
- HTTP_STATUS_BAD_REQUEST,
553
- HTTP_STATUS_FORBIDDEN,
554
- HTTP_STATUS_INTERNAL_SERVER_ERROR,
555
- HTTP_STATUS_NOT_FOUND,
556
- HTTP_STATUS_UNAUTHORIZED,
557
- NODE_MODULES,
558
- NPM_BUGGY_OVERRIDES_PATCHED_VERSION,
559
- NPM_REGISTRY_URL,
560
- NPX,
561
- OUTPUT_JSON,
562
- OUTPUT_MARKDOWN,
563
- OUTPUT_TEXT,
564
- PACKAGE_JSON,
565
- PACKAGE_LOCK_JSON,
566
- PNPM,
567
- PNPM_LOCK_YAML,
568
- PNPM_WORKSPACE_YAML,
569
- REDACTED,
570
- REPORT_LEVEL_DEFER,
571
- REPORT_LEVEL_ERROR,
572
- REPORT_LEVEL_IGNORE,
573
- REPORT_LEVEL_MONITOR,
574
- REPORT_LEVEL_WARN,
575
- REQUIREMENTS_TXT,
576
- SOCKET_CLI_ACCEPT_RISKS,
577
- SOCKET_CLI_BIN_NAME,
578
- SOCKET_CLI_ISSUES_URL,
579
- SOCKET_CLI_SHADOW_ACCEPT_RISKS,
580
- SOCKET_CLI_SHADOW_API_TOKEN,
581
- SOCKET_CLI_SHADOW_BIN,
582
- SOCKET_CLI_SHADOW_PROGRESS,
583
- SOCKET_CLI_SHADOW_SILENT,
584
- SOCKET_CLI_VIEW_ALL_RISKS,
585
- SOCKET_DEFAULT_BRANCH,
586
- SOCKET_DEFAULT_REPOSITORY,
587
- SOCKET_JSON,
588
- SOCKET_WEBSITE_URL,
589
- SOCKET_YAML,
590
- SOCKET_YML,
591
- TSCONFIG_JSON,
592
- UNKNOWN_ERROR,
593
- UNKNOWN_VALUE,
594
- V1_MIGRATION_GUIDE_URL,
595
- VLT,
596
- YARN,
597
- YARN_BERRY,
598
- YARN_CLASSIC,
599
- bashRcPath: undefined,
600
- binPath: undefined,
601
- binCliPath: undefined,
602
- blessedContribPath: undefined,
603
- blessedOptions: undefined,
604
- blessedPath: undefined,
605
- distCliPath: undefined,
606
- distPath: undefined,
607
- externalPath: undefined,
608
- githubCachePath: undefined,
609
- homePath: undefined,
610
- instrumentWithSentryPath: undefined,
611
- minimumVersionByAgent: undefined,
612
- nmBinPath: undefined,
613
- nodeHardenFlags: undefined,
614
- nodeDebugFlags: undefined,
615
- nodeMemoryFlags: undefined,
616
- npmCachePath: undefined,
617
- npmGlobalPrefix: undefined,
618
- npmNmNodeGypPath: undefined,
619
- processEnv: undefined,
620
- rootPath: undefined,
621
- shadowBinPath: undefined,
622
- shadowNpmInjectPath: undefined,
623
- shadowNpmBinPath: undefined,
624
- shadowPnpmBinPath: undefined,
625
- shadowYarnBinPath: undefined,
626
- socketAppDataPath: undefined,
627
- socketCachePath: undefined,
628
- socketRegistryPath: undefined,
629
- zshRcPath: undefined
630
- }, {
631
- getters: {
632
- ...registryConstantsAttribs.getters,
633
- ENV: LAZY_ENV,
634
- bashRcPath: lazyBashRcPath,
635
- binCliPath: lazyBinCliPath,
636
- binPath: lazyBinPath,
637
- blessedContribPath: lazyBlessedContribPath,
638
- blessedOptions: lazyBlessedOptions,
639
- blessedPath: lazyBlessedPath,
640
- distCliPath: lazyDistCliPath,
641
- distPath: lazyDistPath,
642
- externalPath: lazyExternalPath,
643
- githubCachePath: lazyGithubCachePath,
644
- homePath: lazyHomePath,
645
- instrumentWithSentryPath: lazyInstrumentWithSentryPath,
646
- minimumVersionByAgent: lazyMinimumVersionByAgent,
647
- nmBinPath: lazyNmBinPath,
648
- nodeDebugFlags: lazyNodeDebugFlags,
649
- nodeHardenFlags: lazyNodeHardenFlags,
650
- nodeMemoryFlags: lazyNodeMemoryFlags,
651
- npmCachePath: lazyNpmCachePath,
652
- npmGlobalPrefix: lazyNpmGlobalPrefix,
653
- npmNmNodeGypPath: lazyNpmNmNodeGypPath,
654
- processEnv: lazyProcessEnv,
655
- rootPath: lazyRootPath,
656
- shadowBinPath: lazyShadowBinPath,
657
- shadowNpmBinPath: lazyShadowNpmBinPath,
658
- shadowNpmInjectPath: lazyShadowNpmInjectPath,
659
- shadowNpxBinPath: lazyShadowNpxBinPath,
660
- shadowPnpmBinPath: lazyShadowPnpmBinPath,
661
- shadowYarnBinPath: lazyShadowYarnBinPath,
662
- socketAppDataPath: lazySocketAppDataPath,
663
- socketCachePath: lazySocketCachePath,
664
- socketRegistryPath: lazySocketRegistryPath,
665
- zshRcPath: lazyZshRcPath
666
- },
667
- internals: {
668
- ...registryConstantsAttribs.internals,
669
- getIpc,
670
- getSentry() {
671
- return _Sentry;
672
- },
673
- setSentry(Sentry) {
674
- if (_Sentry === undefined) {
675
- _Sentry = Sentry;
676
- return true;
677
- }
678
- return false;
679
- }
680
- }
681
- });
682
-
683
- exports.ALERT_TYPE_CRITICAL_CVE = ALERT_TYPE_CRITICAL_CVE;
684
- exports.ALERT_TYPE_CVE = ALERT_TYPE_CVE;
685
- exports.ALERT_TYPE_MEDIUM_CVE = ALERT_TYPE_MEDIUM_CVE;
686
- exports.ALERT_TYPE_MILD_CVE = ALERT_TYPE_MILD_CVE;
687
- exports.API_V0_URL = API_V0_URL;
688
- exports.AT_LATEST = AT_LATEST;
689
- exports.BIOME_JSON = BIOME_JSON;
690
- exports.BUN = BUN;
691
- exports.CI = CI;
692
- exports.COLUMN_LIMIT = COLUMN_LIMIT;
693
- exports.CONFIG_KEY_API_BASE_URL = CONFIG_KEY_API_BASE_URL;
694
- exports.CONFIG_KEY_API_PROXY = CONFIG_KEY_API_PROXY;
695
- exports.CONFIG_KEY_API_TOKEN = CONFIG_KEY_API_TOKEN;
696
- exports.CONFIG_KEY_DEFAULT_ORG = CONFIG_KEY_DEFAULT_ORG;
697
- exports.CONFIG_KEY_ENFORCED_ORGS = CONFIG_KEY_ENFORCED_ORGS;
698
- exports.CONFIG_KEY_ORG = CONFIG_KEY_ORG;
699
- exports.DLX_BINARY_CACHE_TTL = DLX_BINARY_CACHE_TTL;
700
- exports.DOT_GIT_DIR = DOT_GIT_DIR;
701
- exports.DOT_PACKAGE_LOCK_JSON = DOT_PACKAGE_LOCK_JSON;
702
- exports.DOT_SOCKET_DIR = DOT_SOCKET_DIR;
703
- exports.DOT_SOCKET_DOT_FACTS_JSON = DOT_SOCKET_DOT_FACTS_JSON;
704
- exports.DRY_RUN_BAILING_NOW = DRY_RUN_BAILING_NOW;
705
- exports.DRY_RUN_LABEL = DRY_RUN_LABEL;
706
- exports.DRY_RUN_NOT_SAVING = DRY_RUN_NOT_SAVING;
707
- exports.EMPTY_FILE = EMPTY_FILE;
708
- exports.EMPTY_VALUE = EMPTY_VALUE;
709
- exports.ENVIRONMENT_YAML = ENVIRONMENT_YAML;
710
- exports.ENVIRONMENT_YML = ENVIRONMENT_YML;
711
- exports.ERROR_NO_MANIFEST_FILES = ERROR_NO_MANIFEST_FILES;
712
- exports.ERROR_NO_PACKAGE_JSON = ERROR_NO_PACKAGE_JSON;
713
- exports.ERROR_NO_REPO_FOUND = ERROR_NO_REPO_FOUND;
714
- exports.ERROR_NO_SOCKET_DIR = ERROR_NO_SOCKET_DIR;
715
- exports.ERROR_UNABLE_RESOLVE_ORG = ERROR_UNABLE_RESOLVE_ORG;
716
- exports.ESLINT_CONFIG_JS = ESLINT_CONFIG_JS;
717
- exports.ESNEXT = ESNEXT;
718
- exports.EXTENSIONS = EXTENSIONS;
719
- exports.EXTENSIONS_JSON = EXTENSIONS_JSON;
720
- exports.EXT_CJS = EXT_CJS;
721
- exports.EXT_CMD = EXT_CMD;
722
- exports.EXT_CTS = EXT_CTS;
723
- exports.EXT_DTS = EXT_DTS;
724
- exports.EXT_JS = EXT_JS;
725
- exports.EXT_JSON = EXT_JSON;
726
- exports.EXT_LOCK = EXT_LOCK;
727
- exports.EXT_LOCKB = EXT_LOCKB;
728
- exports.EXT_MD = EXT_MD;
729
- exports.EXT_MJS = EXT_MJS;
730
- exports.EXT_MTS = EXT_MTS;
731
- exports.EXT_PS1 = EXT_PS1;
732
- exports.EXT_YAML = EXT_YAML;
733
- exports.EXT_YML = EXT_YML;
734
- exports.FLAG_CONFIG = FLAG_CONFIG;
735
- exports.FLAG_DRY_RUN = FLAG_DRY_RUN;
736
- exports.FLAG_HELP = FLAG_HELP;
737
- exports.FLAG_HELP_FULL = FLAG_HELP_FULL;
738
- exports.FLAG_ID = FLAG_ID;
739
- exports.FLAG_JSON = FLAG_JSON;
740
- exports.FLAG_LOGLEVEL = FLAG_LOGLEVEL;
741
- exports.FLAG_MARKDOWN = FLAG_MARKDOWN;
742
- exports.FLAG_ORG = FLAG_ORG;
743
- exports.FLAG_PIN = FLAG_PIN;
744
- exports.FLAG_PROD = FLAG_PROD;
745
- exports.FLAG_QUIET = FLAG_QUIET;
746
- exports.FLAG_SILENT = FLAG_SILENT;
747
- exports.FLAG_TEXT = FLAG_TEXT;
748
- exports.FLAG_VERBOSE = FLAG_VERBOSE;
749
- exports.FLAG_VERSION = FLAG_VERSION;
750
- exports.FOLD_SETTING_FILE = FOLD_SETTING_FILE;
751
- exports.FOLD_SETTING_NONE = FOLD_SETTING_NONE;
752
- exports.FOLD_SETTING_PKG = FOLD_SETTING_PKG;
753
- exports.FOLD_SETTING_VERSION = FOLD_SETTING_VERSION;
754
- exports.GITIGNORE = GITIGNORE;
755
- exports.GQL_PAGE_SENTINEL = GQL_PAGE_SENTINEL;
756
- exports.GQL_PR_STATE_CLOSED = GQL_PR_STATE_CLOSED;
757
- exports.GQL_PR_STATE_MERGED = GQL_PR_STATE_MERGED;
758
- exports.GQL_PR_STATE_OPEN = GQL_PR_STATE_OPEN;
759
- exports.HTTP_STATUS_BAD_REQUEST = HTTP_STATUS_BAD_REQUEST;
760
- exports.HTTP_STATUS_FORBIDDEN = HTTP_STATUS_FORBIDDEN;
761
- exports.HTTP_STATUS_INTERNAL_SERVER_ERROR = HTTP_STATUS_INTERNAL_SERVER_ERROR;
762
- exports.HTTP_STATUS_NOT_FOUND = HTTP_STATUS_NOT_FOUND;
763
- exports.HTTP_STATUS_UNAUTHORIZED = HTTP_STATUS_UNAUTHORIZED;
764
- exports.LATEST = LATEST;
765
- exports.LICENSE = LICENSE;
766
- exports.LICENSE_GLOB = LICENSE_GLOB;
767
- exports.LICENSE_GLOB_RECURSIVE = LICENSE_GLOB_RECURSIVE;
768
- exports.LICENSE_ORIGINAL = LICENSE_ORIGINAL;
769
- exports.LICENSE_ORIGINAL_GLOB = LICENSE_ORIGINAL_GLOB;
770
- exports.LICENSE_ORIGINAL_GLOB_RECURSIVE = LICENSE_ORIGINAL_GLOB_RECURSIVE;
771
- exports.LOOP_SENTINEL = LOOP_SENTINEL;
772
- exports.MANIFEST_JSON = MANIFEST_JSON;
773
- exports.MIT = MIT;
774
- exports.NODE_AUTH_TOKEN = NODE_AUTH_TOKEN;
775
- exports.NODE_ENV = NODE_ENV;
776
- exports.NODE_MODULES = NODE_MODULES;
777
- exports.NODE_MODULES_GLOB_RECURSIVE = NODE_MODULES_GLOB_RECURSIVE;
778
- exports.NPM = NPM;
779
- exports.NPM_BUGGY_OVERRIDES_PATCHED_VERSION = NPM_BUGGY_OVERRIDES_PATCHED_VERSION;
780
- exports.NPM_REGISTRY_URL = NPM_REGISTRY_URL;
781
- exports.NPX = NPX;
782
- exports.OUTPUT_JSON = OUTPUT_JSON;
783
- exports.OUTPUT_MARKDOWN = OUTPUT_MARKDOWN;
784
- exports.OUTPUT_TEXT = OUTPUT_TEXT;
785
- exports.OVERRIDES = OVERRIDES;
786
- exports.PACKAGE_DEFAULT_VERSION = PACKAGE_DEFAULT_VERSION;
787
- exports.PACKAGE_JSON = PACKAGE_JSON;
788
- exports.PACKAGE_LOCK_JSON = PACKAGE_LOCK_JSON;
789
- exports.PNPM = PNPM;
790
- exports.PNPM_LOCK_YAML = PNPM_LOCK_YAML;
791
- exports.PNPM_WORKSPACE_YAML = PNPM_WORKSPACE_YAML;
792
- exports.PRE_COMMIT = PRE_COMMIT;
793
- exports.README_GLOB = README_GLOB;
794
- exports.README_GLOB_RECURSIVE = README_GLOB_RECURSIVE;
795
- exports.README_MD = README_MD;
796
- exports.REDACTED = REDACTED;
797
- exports.REGISTRY = REGISTRY;
798
- exports.REGISTRY_SCOPE_DELIMITER = REGISTRY_SCOPE_DELIMITER;
799
- exports.REPORT_LEVEL_DEFER = REPORT_LEVEL_DEFER;
800
- exports.REPORT_LEVEL_ERROR = REPORT_LEVEL_ERROR;
801
- exports.REPORT_LEVEL_IGNORE = REPORT_LEVEL_IGNORE;
802
- exports.REPORT_LEVEL_MONITOR = REPORT_LEVEL_MONITOR;
803
- exports.REPORT_LEVEL_WARN = REPORT_LEVEL_WARN;
804
- exports.REQUIREMENTS_TXT = REQUIREMENTS_TXT;
805
- exports.RESOLUTIONS = RESOLUTIONS;
806
- exports.SOCKET_CLI_ACCEPT_RISKS = SOCKET_CLI_ACCEPT_RISKS;
807
- exports.SOCKET_CLI_BIN_NAME = SOCKET_CLI_BIN_NAME;
808
- exports.SOCKET_CLI_ISSUES_URL = SOCKET_CLI_ISSUES_URL;
809
- exports.SOCKET_CLI_SHADOW_ACCEPT_RISKS = SOCKET_CLI_SHADOW_ACCEPT_RISKS;
810
- exports.SOCKET_CLI_SHADOW_API_TOKEN = SOCKET_CLI_SHADOW_API_TOKEN;
811
- exports.SOCKET_CLI_SHADOW_BIN = SOCKET_CLI_SHADOW_BIN;
812
- exports.SOCKET_CLI_SHADOW_PROGRESS = SOCKET_CLI_SHADOW_PROGRESS;
813
- exports.SOCKET_CLI_SHADOW_SILENT = SOCKET_CLI_SHADOW_SILENT;
814
- exports.SOCKET_CLI_VIEW_ALL_RISKS = SOCKET_CLI_VIEW_ALL_RISKS;
815
- exports.SOCKET_DEFAULT_BRANCH = SOCKET_DEFAULT_BRANCH;
816
- exports.SOCKET_DEFAULT_REPOSITORY = SOCKET_DEFAULT_REPOSITORY;
817
- exports.SOCKET_GITHUB_ORG = SOCKET_GITHUB_ORG;
818
- exports.SOCKET_IPC_HANDSHAKE = SOCKET_IPC_HANDSHAKE;
819
- exports.SOCKET_JSON = SOCKET_JSON;
820
- exports.SOCKET_OVERRIDE_SCOPE = SOCKET_OVERRIDE_SCOPE;
821
- exports.SOCKET_PUBLIC_API_TOKEN = SOCKET_PUBLIC_API_TOKEN;
822
- exports.SOCKET_REGISTRY_NPM_ORG = SOCKET_REGISTRY_NPM_ORG;
823
- exports.SOCKET_REGISTRY_PACKAGE_NAME = SOCKET_REGISTRY_PACKAGE_NAME;
824
- exports.SOCKET_REGISTRY_REPO_NAME = SOCKET_REGISTRY_REPO_NAME;
825
- exports.SOCKET_REGISTRY_SCOPE = SOCKET_REGISTRY_SCOPE;
826
- exports.SOCKET_SECURITY_SCOPE = SOCKET_SECURITY_SCOPE;
827
- exports.SOCKET_WEBSITE_URL = SOCKET_WEBSITE_URL;
828
- exports.SOCKET_YAML = SOCKET_YAML;
829
- exports.SOCKET_YML = SOCKET_YML;
830
- exports.TSCONFIG_JSON = TSCONFIG_JSON;
831
- exports.UNKNOWN_ERROR = UNKNOWN_ERROR;
832
- exports.UNKNOWN_VALUE = UNKNOWN_VALUE;
833
- exports.UNLICENCED = UNLICENCED;
834
- exports.UNLICENSED = UNLICENSED;
835
- exports.UTF8 = UTF8;
836
- exports.V1_MIGRATION_GUIDE_URL = V1_MIGRATION_GUIDE_URL;
837
- exports.VITEST = VITEST;
838
- exports.VLT = VLT;
839
- exports.YARN = YARN;
840
- exports.YARN_BERRY = YARN_BERRY;
841
- exports.YARN_CLASSIC = YARN_CLASSIC;
842
- exports.YARN_LOCK = YARN_LOCK;
843
- exports.default = constants;
844
- //# debugId=7db945a2-05dd-43b9-ab08-10645ff0357
845
- //# sourceMappingURL=constants.js.map