@socketsecurity/cli-with-sentry 1.0.85 → 1.0.87

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 (562) hide show
  1. package/README.md +41 -52
  2. package/dist/cli.js +323 -327
  3. package/dist/cli.js.map +1 -1
  4. package/dist/constants.js +20 -48
  5. package/dist/constants.js.map +1 -1
  6. package/dist/flags.js +5 -4
  7. package/dist/flags.js.map +1 -1
  8. package/dist/socket-completion.bash +0 -2
  9. package/dist/utils.js +122 -119
  10. package/dist/utils.js.map +1 -1
  11. package/dist/vendor.js +381 -381
  12. package/external/@coana-tech/cli/cli.mjs +25295 -30074
  13. package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +39 -1
  14. package/external/@socketsecurity/registry/external/browserslist.js +7 -1
  15. package/external/@socketsecurity/registry/external/libnpmpack.js +93488 -97365
  16. package/external/@socketsecurity/registry/external/make-fetch-happen.js +4689 -7729
  17. package/external/@socketsecurity/registry/external/pacote.js +51922 -72554
  18. package/external/@socketsecurity/registry/lib/constants/env.js +4 -4
  19. package/external/@socketsecurity/registry/lib/npm.js +2 -4
  20. package/external/@socketsecurity/registry/lib/path.js +17 -0
  21. package/package.json +13 -13
  22. package/dist/tsconfig.dts.tsbuildinfo +0 -1
  23. package/dist/types/cli.d.mts +0 -3
  24. package/dist/types/cli.d.mts.map +0 -1
  25. package/dist/types/commands/analytics/cmd-analytics.d.mts +0 -10
  26. package/dist/types/commands/analytics/cmd-analytics.d.mts.map +0 -1
  27. package/dist/types/commands/analytics/fetch-org-analytics.d.mts +0 -8
  28. package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +0 -1
  29. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +0 -8
  30. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +0 -1
  31. package/dist/types/commands/analytics/handle-analytics.d.mts +0 -9
  32. package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
  33. package/dist/types/commands/analytics/output-analytics.d.mts +0 -28
  34. package/dist/types/commands/analytics/output-analytics.d.mts.map +0 -1
  35. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +0 -10
  36. package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +0 -1
  37. package/dist/types/commands/audit-log/fetch-audit-log.d.mts +0 -15
  38. package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +0 -1
  39. package/dist/types/commands/audit-log/handle-audit-log.d.mts +0 -9
  40. package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +0 -1
  41. package/dist/types/commands/audit-log/output-audit-log.d.mts +0 -22
  42. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +0 -1
  43. package/dist/types/commands/ci/cmd-ci.d.mts +0 -10
  44. package/dist/types/commands/ci/cmd-ci.d.mts.map +0 -1
  45. package/dist/types/commands/ci/fetch-default-org-slug.d.mts +0 -4
  46. package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +0 -1
  47. package/dist/types/commands/ci/handle-ci.d.mts +0 -2
  48. package/dist/types/commands/ci/handle-ci.d.mts.map +0 -1
  49. package/dist/types/commands/config/cmd-config-auto.d.mts +0 -10
  50. package/dist/types/commands/config/cmd-config-auto.d.mts.map +0 -1
  51. package/dist/types/commands/config/cmd-config-get.d.mts +0 -10
  52. package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
  53. package/dist/types/commands/config/cmd-config-list.d.mts +0 -10
  54. package/dist/types/commands/config/cmd-config-list.d.mts.map +0 -1
  55. package/dist/types/commands/config/cmd-config-set.d.mts +0 -10
  56. package/dist/types/commands/config/cmd-config-set.d.mts.map +0 -1
  57. package/dist/types/commands/config/cmd-config-unset.d.mts +0 -10
  58. package/dist/types/commands/config/cmd-config-unset.d.mts.map +0 -1
  59. package/dist/types/commands/config/cmd-config.d.mts +0 -3
  60. package/dist/types/commands/config/cmd-config.d.mts.map +0 -1
  61. package/dist/types/commands/config/discover-config-value.d.mts +0 -3
  62. package/dist/types/commands/config/discover-config-value.d.mts.map +0 -1
  63. package/dist/types/commands/config/handle-config-auto.d.mts +0 -7
  64. package/dist/types/commands/config/handle-config-auto.d.mts.map +0 -1
  65. package/dist/types/commands/config/handle-config-get.d.mts +0 -7
  66. package/dist/types/commands/config/handle-config-get.d.mts.map +0 -1
  67. package/dist/types/commands/config/handle-config-set.d.mts +0 -8
  68. package/dist/types/commands/config/handle-config-set.d.mts.map +0 -1
  69. package/dist/types/commands/config/handle-config-unset.d.mts +0 -7
  70. package/dist/types/commands/config/handle-config-unset.d.mts.map +0 -1
  71. package/dist/types/commands/config/output-config-auto.d.mts +0 -4
  72. package/dist/types/commands/config/output-config-auto.d.mts.map +0 -1
  73. package/dist/types/commands/config/output-config-get.d.mts +0 -4
  74. package/dist/types/commands/config/output-config-get.d.mts.map +0 -1
  75. package/dist/types/commands/config/output-config-list.d.mts +0 -6
  76. package/dist/types/commands/config/output-config-list.d.mts.map +0 -1
  77. package/dist/types/commands/config/output-config-set.d.mts +0 -3
  78. package/dist/types/commands/config/output-config-set.d.mts.map +0 -1
  79. package/dist/types/commands/config/output-config-unset.d.mts +0 -3
  80. package/dist/types/commands/config/output-config-unset.d.mts.map +0 -1
  81. package/dist/types/commands/fix/agent-fix.d.mts +0 -42
  82. package/dist/types/commands/fix/agent-fix.d.mts.map +0 -1
  83. package/dist/types/commands/fix/cmd-fix.d.mts +0 -10
  84. package/dist/types/commands/fix/cmd-fix.d.mts.map +0 -1
  85. package/dist/types/commands/fix/coana-fix.d.mts +0 -6
  86. package/dist/types/commands/fix/coana-fix.d.mts.map +0 -1
  87. package/dist/types/commands/fix/fix-branch-helpers.d.mts +0 -4
  88. package/dist/types/commands/fix/fix-branch-helpers.d.mts.map +0 -1
  89. package/dist/types/commands/fix/fix-env-helpers.d.mts +0 -13
  90. package/dist/types/commands/fix/fix-env-helpers.d.mts.map +0 -1
  91. package/dist/types/commands/fix/get-actual-tree.d.mts +0 -3
  92. package/dist/types/commands/fix/get-actual-tree.d.mts.map +0 -1
  93. package/dist/types/commands/fix/handle-fix.d.mts +0 -11
  94. package/dist/types/commands/fix/handle-fix.d.mts.map +0 -1
  95. package/dist/types/commands/fix/npm-fix.d.mts +0 -7
  96. package/dist/types/commands/fix/npm-fix.d.mts.map +0 -1
  97. package/dist/types/commands/fix/output-fix-result.d.mts +0 -3
  98. package/dist/types/commands/fix/output-fix-result.d.mts.map +0 -1
  99. package/dist/types/commands/fix/pnpm-fix.d.mts +0 -7
  100. package/dist/types/commands/fix/pnpm-fix.d.mts.map +0 -1
  101. package/dist/types/commands/fix/pull-request.d.mts +0 -47
  102. package/dist/types/commands/fix/pull-request.d.mts.map +0 -1
  103. package/dist/types/commands/fix/shared.d.mts +0 -8
  104. package/dist/types/commands/fix/shared.d.mts.map +0 -1
  105. package/dist/types/commands/fix/socket-git.d.mts +0 -32
  106. package/dist/types/commands/fix/socket-git.d.mts.map +0 -1
  107. package/dist/types/commands/install/cmd-install-completion.d.mts +0 -10
  108. package/dist/types/commands/install/cmd-install-completion.d.mts.map +0 -1
  109. package/dist/types/commands/install/cmd-install.d.mts +0 -3
  110. package/dist/types/commands/install/cmd-install.d.mts.map +0 -1
  111. package/dist/types/commands/install/handle-install-completion.d.mts +0 -2
  112. package/dist/types/commands/install/handle-install-completion.d.mts.map +0 -1
  113. package/dist/types/commands/install/output-install-completion.d.mts +0 -12
  114. package/dist/types/commands/install/output-install-completion.d.mts.map +0 -1
  115. package/dist/types/commands/install/setup-tab-completion.d.mts +0 -13
  116. package/dist/types/commands/install/setup-tab-completion.d.mts.map +0 -1
  117. package/dist/types/commands/json/cmd-json.d.mts +0 -10
  118. package/dist/types/commands/json/cmd-json.d.mts.map +0 -1
  119. package/dist/types/commands/json/handle-cmd-json.d.mts +0 -2
  120. package/dist/types/commands/json/handle-cmd-json.d.mts.map +0 -1
  121. package/dist/types/commands/json/output-cmd-json.d.mts +0 -2
  122. package/dist/types/commands/json/output-cmd-json.d.mts.map +0 -1
  123. package/dist/types/commands/login/apply-login.d.mts +0 -2
  124. package/dist/types/commands/login/apply-login.d.mts.map +0 -1
  125. package/dist/types/commands/login/attempt-login.d.mts +0 -6
  126. package/dist/types/commands/login/attempt-login.d.mts.map +0 -1
  127. package/dist/types/commands/login/cmd-login.d.mts +0 -10
  128. package/dist/types/commands/login/cmd-login.d.mts.map +0 -1
  129. package/dist/types/commands/logout/apply-logout.d.mts +0 -2
  130. package/dist/types/commands/logout/apply-logout.d.mts.map +0 -1
  131. package/dist/types/commands/logout/attempt-logout.d.mts +0 -2
  132. package/dist/types/commands/logout/attempt-logout.d.mts.map +0 -1
  133. package/dist/types/commands/logout/cmd-logout.d.mts +0 -10
  134. package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
  135. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -10
  136. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
  137. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -10
  138. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
  139. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -10
  140. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
  141. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -10
  142. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
  143. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -10
  144. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
  145. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -10
  146. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
  147. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +0 -10
  148. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +0 -1
  149. package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -10
  150. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +0 -1
  151. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +0 -8
  152. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +0 -1
  153. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +0 -7
  154. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +0 -1
  155. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +0 -8
  156. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +0 -1
  157. package/dist/types/commands/manifest/detect-manifest-actions.d.mts +0 -13
  158. package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +0 -1
  159. package/dist/types/commands/manifest/generate_auto_manifest.d.mts +0 -9
  160. package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +0 -1
  161. package/dist/types/commands/manifest/handle-manifest-conda.d.mts +0 -9
  162. package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +0 -1
  163. package/dist/types/commands/manifest/handle-manifest-setup.d.mts +0 -2
  164. package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +0 -1
  165. package/dist/types/commands/manifest/output-manifest-setup.d.mts +0 -3
  166. package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +0 -1
  167. package/dist/types/commands/manifest/output-requirements.d.mts +0 -6
  168. package/dist/types/commands/manifest/output-requirements.d.mts.map +0 -1
  169. package/dist/types/commands/manifest/run-cdxgen.d.mts +0 -2
  170. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +0 -1
  171. package/dist/types/commands/manifest/setup-manifest-config.d.mts +0 -3
  172. package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +0 -1
  173. package/dist/types/commands/npm/cmd-npm.d.mts +0 -10
  174. package/dist/types/commands/npm/cmd-npm.d.mts.map +0 -1
  175. package/dist/types/commands/npx/cmd-npx.d.mts +0 -10
  176. package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
  177. package/dist/types/commands/oops/cmd-oops.d.mts +0 -10
  178. package/dist/types/commands/oops/cmd-oops.d.mts.map +0 -1
  179. package/dist/types/commands/optimize/add-overrides.d.mts +0 -20
  180. package/dist/types/commands/optimize/add-overrides.d.mts.map +0 -1
  181. package/dist/types/commands/optimize/apply-optimization.d.mts +0 -14
  182. package/dist/types/commands/optimize/apply-optimization.d.mts.map +0 -1
  183. package/dist/types/commands/optimize/cmd-optimize.d.mts +0 -10
  184. package/dist/types/commands/optimize/cmd-optimize.d.mts.map +0 -1
  185. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +0 -5
  186. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +0 -1
  187. package/dist/types/commands/optimize/get-dependency-entries.d.mts +0 -3
  188. package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +0 -1
  189. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +0 -42
  190. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +0 -1
  191. package/dist/types/commands/optimize/handle-optimize.d.mts +0 -8
  192. package/dist/types/commands/optimize/handle-optimize.d.mts.map +0 -1
  193. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +0 -8
  194. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +0 -1
  195. package/dist/types/commands/optimize/ls-by-agent.d.mts +0 -13
  196. package/dist/types/commands/optimize/ls-by-agent.d.mts.map +0 -1
  197. package/dist/types/commands/optimize/output-optimize-result.d.mts +0 -9
  198. package/dist/types/commands/optimize/output-optimize-result.d.mts.map +0 -1
  199. package/dist/types/commands/optimize/shared.d.mts +0 -2
  200. package/dist/types/commands/optimize/shared.d.mts.map +0 -1
  201. package/dist/types/commands/optimize/types.d.mts +0 -9
  202. package/dist/types/commands/optimize/types.d.mts.map +0 -1
  203. package/dist/types/commands/optimize/update-lockfile.d.mts +0 -11
  204. package/dist/types/commands/optimize/update-lockfile.d.mts.map +0 -1
  205. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +0 -8
  206. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +0 -1
  207. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +0 -10
  208. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +0 -1
  209. package/dist/types/commands/organization/cmd-organization-list.d.mts +0 -10
  210. package/dist/types/commands/organization/cmd-organization-list.d.mts.map +0 -1
  211. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +0 -10
  212. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +0 -1
  213. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +0 -10
  214. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +0 -1
  215. package/dist/types/commands/organization/cmd-organization-policy.d.mts +0 -3
  216. package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +0 -1
  217. package/dist/types/commands/organization/cmd-organization-quota.d.mts +0 -10
  218. package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +0 -1
  219. package/dist/types/commands/organization/cmd-organization.d.mts +0 -3
  220. package/dist/types/commands/organization/cmd-organization.d.mts.map +0 -1
  221. package/dist/types/commands/organization/fetch-dependencies.d.mts +0 -12
  222. package/dist/types/commands/organization/fetch-dependencies.d.mts.map +0 -1
  223. package/dist/types/commands/organization/fetch-license-policy.d.mts +0 -8
  224. package/dist/types/commands/organization/fetch-license-policy.d.mts.map +0 -1
  225. package/dist/types/commands/organization/fetch-organization-list.d.mts +0 -8
  226. package/dist/types/commands/organization/fetch-organization-list.d.mts.map +0 -1
  227. package/dist/types/commands/organization/fetch-quota.d.mts +0 -8
  228. package/dist/types/commands/organization/fetch-quota.d.mts.map +0 -1
  229. package/dist/types/commands/organization/fetch-security-policy.d.mts +0 -8
  230. package/dist/types/commands/organization/fetch-security-policy.d.mts.map +0 -1
  231. package/dist/types/commands/organization/handle-dependencies.d.mts +0 -7
  232. package/dist/types/commands/organization/handle-dependencies.d.mts.map +0 -1
  233. package/dist/types/commands/organization/handle-license-policy.d.mts +0 -3
  234. package/dist/types/commands/organization/handle-license-policy.d.mts.map +0 -1
  235. package/dist/types/commands/organization/handle-organization-list.d.mts +0 -3
  236. package/dist/types/commands/organization/handle-organization-list.d.mts.map +0 -1
  237. package/dist/types/commands/organization/handle-quota.d.mts +0 -3
  238. package/dist/types/commands/organization/handle-quota.d.mts.map +0 -1
  239. package/dist/types/commands/organization/handle-security-policy.d.mts +0 -3
  240. package/dist/types/commands/organization/handle-security-policy.d.mts.map +0 -1
  241. package/dist/types/commands/organization/output-dependencies.d.mts +0 -8
  242. package/dist/types/commands/organization/output-dependencies.d.mts.map +0 -1
  243. package/dist/types/commands/organization/output-license-policy.d.mts +0 -4
  244. package/dist/types/commands/organization/output-license-policy.d.mts.map +0 -1
  245. package/dist/types/commands/organization/output-organization-list.d.mts +0 -4
  246. package/dist/types/commands/organization/output-organization-list.d.mts.map +0 -1
  247. package/dist/types/commands/organization/output-quota.d.mts +0 -4
  248. package/dist/types/commands/organization/output-quota.d.mts.map +0 -1
  249. package/dist/types/commands/organization/output-security-policy.d.mts +0 -4
  250. package/dist/types/commands/organization/output-security-policy.d.mts.map +0 -1
  251. package/dist/types/commands/package/cmd-package-score.d.mts +0 -10
  252. package/dist/types/commands/package/cmd-package-score.d.mts.map +0 -1
  253. package/dist/types/commands/package/cmd-package-shallow.d.mts +0 -17
  254. package/dist/types/commands/package/cmd-package-shallow.d.mts.map +0 -1
  255. package/dist/types/commands/package/cmd-package.d.mts +0 -3
  256. package/dist/types/commands/package/cmd-package.d.mts.map +0 -1
  257. package/dist/types/commands/package/fetch-purl-deep-score.d.mts +0 -51
  258. package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +0 -1
  259. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +0 -8
  260. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +0 -1
  261. package/dist/types/commands/package/handle-purl-deep-score.d.mts +0 -3
  262. package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +0 -1
  263. package/dist/types/commands/package/handle-purls-shallow-score.d.mts +0 -6
  264. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +0 -1
  265. package/dist/types/commands/package/output-purls-deep-score.d.mts +0 -5
  266. package/dist/types/commands/package/output-purls-deep-score.d.mts.map +0 -1
  267. package/dist/types/commands/package/output-purls-shallow-score.d.mts +0 -29
  268. package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +0 -1
  269. package/dist/types/commands/package/parse-package-specifiers.d.mts +0 -9
  270. package/dist/types/commands/package/parse-package-specifiers.d.mts.map +0 -1
  271. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -10
  272. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +0 -1
  273. package/dist/types/commands/raw-npm/run-raw-npm.d.mts +0 -2
  274. package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +0 -1
  275. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +0 -10
  276. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +0 -1
  277. package/dist/types/commands/raw-npx/run-raw-npx.d.mts +0 -2
  278. package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +0 -1
  279. package/dist/types/commands/repository/cmd-repository-create.d.mts +0 -10
  280. package/dist/types/commands/repository/cmd-repository-create.d.mts.map +0 -1
  281. package/dist/types/commands/repository/cmd-repository-del.d.mts +0 -10
  282. package/dist/types/commands/repository/cmd-repository-del.d.mts.map +0 -1
  283. package/dist/types/commands/repository/cmd-repository-list.d.mts +0 -10
  284. package/dist/types/commands/repository/cmd-repository-list.d.mts.map +0 -1
  285. package/dist/types/commands/repository/cmd-repository-update.d.mts +0 -10
  286. package/dist/types/commands/repository/cmd-repository-update.d.mts.map +0 -1
  287. package/dist/types/commands/repository/cmd-repository-view.d.mts +0 -10
  288. package/dist/types/commands/repository/cmd-repository-view.d.mts.map +0 -1
  289. package/dist/types/commands/repository/cmd-repository.d.mts +0 -3
  290. package/dist/types/commands/repository/cmd-repository.d.mts.map +0 -1
  291. package/dist/types/commands/repository/fetch-create-repo.d.mts +0 -16
  292. package/dist/types/commands/repository/fetch-create-repo.d.mts.map +0 -1
  293. package/dist/types/commands/repository/fetch-delete-repo.d.mts +0 -8
  294. package/dist/types/commands/repository/fetch-delete-repo.d.mts.map +0 -1
  295. package/dist/types/commands/repository/fetch-list-all-repos.d.mts +0 -10
  296. package/dist/types/commands/repository/fetch-list-all-repos.d.mts.map +0 -1
  297. package/dist/types/commands/repository/fetch-list-repos.d.mts +0 -15
  298. package/dist/types/commands/repository/fetch-list-repos.d.mts.map +0 -1
  299. package/dist/types/commands/repository/fetch-update-repo.d.mts +0 -16
  300. package/dist/types/commands/repository/fetch-update-repo.d.mts.map +0 -1
  301. package/dist/types/commands/repository/fetch-view-repo.d.mts +0 -8
  302. package/dist/types/commands/repository/fetch-view-repo.d.mts.map +0 -1
  303. package/dist/types/commands/repository/handle-create-repo.d.mts +0 -10
  304. package/dist/types/commands/repository/handle-create-repo.d.mts.map +0 -1
  305. package/dist/types/commands/repository/handle-delete-repo.d.mts +0 -3
  306. package/dist/types/commands/repository/handle-delete-repo.d.mts.map +0 -1
  307. package/dist/types/commands/repository/handle-list-repos.d.mts +0 -11
  308. package/dist/types/commands/repository/handle-list-repos.d.mts.map +0 -1
  309. package/dist/types/commands/repository/handle-update-repo.d.mts +0 -10
  310. package/dist/types/commands/repository/handle-update-repo.d.mts.map +0 -1
  311. package/dist/types/commands/repository/handle-view-repo.d.mts +0 -3
  312. package/dist/types/commands/repository/handle-view-repo.d.mts.map +0 -1
  313. package/dist/types/commands/repository/output-create-repo.d.mts +0 -4
  314. package/dist/types/commands/repository/output-create-repo.d.mts.map +0 -1
  315. package/dist/types/commands/repository/output-delete-repo.d.mts +0 -4
  316. package/dist/types/commands/repository/output-delete-repo.d.mts.map +0 -1
  317. package/dist/types/commands/repository/output-list-repos.d.mts +0 -4
  318. package/dist/types/commands/repository/output-list-repos.d.mts.map +0 -1
  319. package/dist/types/commands/repository/output-update-repo.d.mts +0 -4
  320. package/dist/types/commands/repository/output-update-repo.d.mts.map +0 -1
  321. package/dist/types/commands/repository/output-view-repo.d.mts +0 -4
  322. package/dist/types/commands/repository/output-view-repo.d.mts.map +0 -1
  323. package/dist/types/commands/scan/cmd-scan-create.d.mts +0 -10
  324. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +0 -1
  325. package/dist/types/commands/scan/cmd-scan-del.d.mts +0 -10
  326. package/dist/types/commands/scan/cmd-scan-del.d.mts.map +0 -1
  327. package/dist/types/commands/scan/cmd-scan-diff.d.mts +0 -10
  328. package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +0 -1
  329. package/dist/types/commands/scan/cmd-scan-github.d.mts +0 -10
  330. package/dist/types/commands/scan/cmd-scan-github.d.mts.map +0 -1
  331. package/dist/types/commands/scan/cmd-scan-list.d.mts +0 -3
  332. package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
  333. package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -3
  334. package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +0 -1
  335. package/dist/types/commands/scan/cmd-scan-reach.d.mts +0 -10
  336. package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +0 -1
  337. package/dist/types/commands/scan/cmd-scan-report.d.mts +0 -3
  338. package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
  339. package/dist/types/commands/scan/cmd-scan-setup.d.mts +0 -10
  340. package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +0 -1
  341. package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -3
  342. package/dist/types/commands/scan/cmd-scan-view.d.mts.map +0 -1
  343. package/dist/types/commands/scan/cmd-scan.d.mts +0 -3
  344. package/dist/types/commands/scan/cmd-scan.d.mts.map +0 -1
  345. package/dist/types/commands/scan/create-scan-from-github.d.mts +0 -12
  346. package/dist/types/commands/scan/create-scan-from-github.d.mts.map +0 -1
  347. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +0 -20
  348. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +0 -1
  349. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +0 -8
  350. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +0 -1
  351. package/dist/types/commands/scan/fetch-diff-scan.d.mts +0 -8
  352. package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +0 -1
  353. package/dist/types/commands/scan/fetch-list-scans.d.mts +0 -18
  354. package/dist/types/commands/scan/fetch-list-scans.d.mts.map +0 -1
  355. package/dist/types/commands/scan/fetch-report-data.d.mts +0 -17
  356. package/dist/types/commands/scan/fetch-report-data.d.mts.map +0 -1
  357. package/dist/types/commands/scan/fetch-scan-metadata.d.mts +0 -8
  358. package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +0 -1
  359. package/dist/types/commands/scan/fetch-scan.d.mts +0 -4
  360. package/dist/types/commands/scan/fetch-scan.d.mts.map +0 -1
  361. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +0 -8
  362. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
  363. package/dist/types/commands/scan/generate-report.d.mts +0 -43
  364. package/dist/types/commands/scan/generate-report.d.mts.map +0 -1
  365. package/dist/types/commands/scan/handle-create-github-scan.d.mts +0 -12
  366. package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +0 -1
  367. package/dist/types/commands/scan/handle-create-new-scan.d.mts +0 -21
  368. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +0 -1
  369. package/dist/types/commands/scan/handle-delete-scan.d.mts +0 -3
  370. package/dist/types/commands/scan/handle-delete-scan.d.mts.map +0 -1
  371. package/dist/types/commands/scan/handle-diff-scan.d.mts +0 -10
  372. package/dist/types/commands/scan/handle-diff-scan.d.mts.map +0 -1
  373. package/dist/types/commands/scan/handle-list-scans.d.mts +0 -13
  374. package/dist/types/commands/scan/handle-list-scans.d.mts.map +0 -1
  375. package/dist/types/commands/scan/handle-scan-config.d.mts +0 -2
  376. package/dist/types/commands/scan/handle-scan-config.d.mts.map +0 -1
  377. package/dist/types/commands/scan/handle-scan-metadata.d.mts +0 -3
  378. package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +0 -1
  379. package/dist/types/commands/scan/handle-scan-reach.d.mts +0 -8
  380. package/dist/types/commands/scan/handle-scan-reach.d.mts.map +0 -1
  381. package/dist/types/commands/scan/handle-scan-report.d.mts +0 -12
  382. package/dist/types/commands/scan/handle-scan-report.d.mts.map +0 -1
  383. package/dist/types/commands/scan/handle-scan-view.d.mts +0 -3
  384. package/dist/types/commands/scan/handle-scan-view.d.mts.map +0 -1
  385. package/dist/types/commands/scan/output-create-new-scan.d.mts +0 -4
  386. package/dist/types/commands/scan/output-create-new-scan.d.mts.map +0 -1
  387. package/dist/types/commands/scan/output-delete-scan.d.mts +0 -4
  388. package/dist/types/commands/scan/output-delete-scan.d.mts.map +0 -1
  389. package/dist/types/commands/scan/output-diff-scan.d.mts +0 -8
  390. package/dist/types/commands/scan/output-diff-scan.d.mts.map +0 -1
  391. package/dist/types/commands/scan/output-list-scans.d.mts +0 -4
  392. package/dist/types/commands/scan/output-list-scans.d.mts.map +0 -1
  393. package/dist/types/commands/scan/output-scan-config-result.d.mts +0 -3
  394. package/dist/types/commands/scan/output-scan-config-result.d.mts.map +0 -1
  395. package/dist/types/commands/scan/output-scan-github.d.mts +0 -3
  396. package/dist/types/commands/scan/output-scan-github.d.mts.map +0 -1
  397. package/dist/types/commands/scan/output-scan-metadata.d.mts +0 -4
  398. package/dist/types/commands/scan/output-scan-metadata.d.mts.map +0 -1
  399. package/dist/types/commands/scan/output-scan-reach.d.mts +0 -3
  400. package/dist/types/commands/scan/output-scan-reach.d.mts.map +0 -1
  401. package/dist/types/commands/scan/output-scan-report.d.mts +0 -20
  402. package/dist/types/commands/scan/output-scan-report.d.mts.map +0 -1
  403. package/dist/types/commands/scan/output-scan-view.d.mts +0 -4
  404. package/dist/types/commands/scan/output-scan-view.d.mts.map +0 -1
  405. package/dist/types/commands/scan/setup-scan-config.d.mts +0 -3
  406. package/dist/types/commands/scan/setup-scan-config.d.mts.map +0 -1
  407. package/dist/types/commands/scan/stream-scan.d.mts +0 -7
  408. package/dist/types/commands/scan/stream-scan.d.mts.map +0 -1
  409. package/dist/types/commands/scan/suggest-org-slug.d.mts +0 -2
  410. package/dist/types/commands/scan/suggest-org-slug.d.mts.map +0 -1
  411. package/dist/types/commands/scan/suggest-repo-slug.d.mts +0 -9
  412. package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +0 -1
  413. package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts +0 -2
  414. package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts.map +0 -1
  415. package/dist/types/commands/scan/suggest_branch_slug.d.mts +0 -2
  416. package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +0 -1
  417. package/dist/types/commands/scan/suggest_target.d.mts +0 -2
  418. package/dist/types/commands/scan/suggest_target.d.mts.map +0 -1
  419. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +0 -10
  420. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +0 -1
  421. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +0 -13
  422. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +0 -1
  423. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +0 -13
  424. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +0 -1
  425. package/dist/types/commands/threat-feed/output-threat-feed.d.mts +0 -4
  426. package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +0 -1
  427. package/dist/types/commands/threat-feed/types.d.mts +0 -15
  428. package/dist/types/commands/threat-feed/types.d.mts.map +0 -1
  429. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +0 -9
  430. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +0 -1
  431. package/dist/types/commands/uninstall/cmd-uninstall.d.mts +0 -3
  432. package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +0 -1
  433. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +0 -2
  434. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +0 -1
  435. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +0 -6
  436. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +0 -1
  437. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +0 -6
  438. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +0 -1
  439. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +0 -2
  440. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +0 -1
  441. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +0 -2
  442. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +0 -1
  443. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +0 -10
  444. package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +0 -1
  445. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +0 -2
  446. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +0 -1
  447. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +0 -2
  448. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +0 -1
  449. package/dist/types/constants.d.mts +0 -149
  450. package/dist/types/constants.d.mts.map +0 -1
  451. package/dist/types/flags.d.mts +0 -17
  452. package/dist/types/flags.d.mts.map +0 -1
  453. package/dist/types/instrument-with-sentry.d.mts +0 -2
  454. package/dist/types/instrument-with-sentry.d.mts.map +0 -1
  455. package/dist/types/shadow/npm/arborist/index.d.mts +0 -8
  456. package/dist/types/shadow/npm/arborist/index.d.mts.map +0 -1
  457. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +0 -35
  458. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +0 -1
  459. package/dist/types/shadow/npm/arborist/types.d.mts +0 -123
  460. package/dist/types/shadow/npm/arborist/types.d.mts.map +0 -1
  461. package/dist/types/shadow/npm/arborist-helpers.d.mts +0 -39
  462. package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
  463. package/dist/types/shadow/npm/bin.d.mts +0 -2
  464. package/dist/types/shadow/npm/bin.d.mts.map +0 -1
  465. package/dist/types/shadow/npm/inject.d.mts +0 -2
  466. package/dist/types/shadow/npm/inject.d.mts.map +0 -1
  467. package/dist/types/shadow/npm/install.d.mts +0 -13
  468. package/dist/types/shadow/npm/install.d.mts.map +0 -1
  469. package/dist/types/shadow/npm/link.d.mts +0 -2
  470. package/dist/types/shadow/npm/link.d.mts.map +0 -1
  471. package/dist/types/shadow/npm/paths.d.mts +0 -7
  472. package/dist/types/shadow/npm/paths.d.mts.map +0 -1
  473. package/dist/types/types.d.mts +0 -29
  474. package/dist/types/types.d.mts.map +0 -1
  475. package/dist/types/utils/agent.d.mts +0 -12
  476. package/dist/types/utils/agent.d.mts.map +0 -1
  477. package/dist/types/utils/alert/artifact.d.mts +0 -35
  478. package/dist/types/utils/alert/artifact.d.mts.map +0 -1
  479. package/dist/types/utils/alert/fix.d.mts +0 -6
  480. package/dist/types/utils/alert/fix.d.mts.map +0 -1
  481. package/dist/types/utils/alert/severity.d.mts +0 -14
  482. package/dist/types/utils/alert/severity.d.mts.map +0 -1
  483. package/dist/types/utils/alerts-map.d.mts +0 -24
  484. package/dist/types/utils/alerts-map.d.mts.map +0 -1
  485. package/dist/types/utils/api.d.mts +0 -18
  486. package/dist/types/utils/api.d.mts.map +0 -1
  487. package/dist/types/utils/check-input.d.mts +0 -9
  488. package/dist/types/utils/check-input.d.mts.map +0 -1
  489. package/dist/types/utils/cmd.d.mts +0 -5
  490. package/dist/types/utils/cmd.d.mts.map +0 -1
  491. package/dist/types/utils/coana.d.mts +0 -4
  492. package/dist/types/utils/coana.d.mts.map +0 -1
  493. package/dist/types/utils/color-or-markdown.d.mts +0 -16
  494. package/dist/types/utils/color-or-markdown.d.mts.map +0 -1
  495. package/dist/types/utils/completion.d.mts +0 -11
  496. package/dist/types/utils/completion.d.mts.map +0 -1
  497. package/dist/types/utils/config.d.mts +0 -32
  498. package/dist/types/utils/config.d.mts.map +0 -1
  499. package/dist/types/utils/determine-org-slug.d.mts +0 -2
  500. package/dist/types/utils/determine-org-slug.d.mts.map +0 -1
  501. package/dist/types/utils/errors.d.mts +0 -14
  502. package/dist/types/utils/errors.d.mts.map +0 -1
  503. package/dist/types/utils/fail-msg-with-badge.d.mts +0 -2
  504. package/dist/types/utils/fail-msg-with-badge.d.mts.map +0 -1
  505. package/dist/types/utils/fs.d.mts +0 -9
  506. package/dist/types/utils/fs.d.mts.map +0 -1
  507. package/dist/types/utils/get-output-kind.d.mts +0 -3
  508. package/dist/types/utils/get-output-kind.d.mts.map +0 -1
  509. package/dist/types/utils/git.d.mts +0 -29
  510. package/dist/types/utils/git.d.mts.map +0 -1
  511. package/dist/types/utils/glob.d.mts +0 -16
  512. package/dist/types/utils/glob.d.mts.map +0 -1
  513. package/dist/types/utils/lockfile.d.mts +0 -2
  514. package/dist/types/utils/lockfile.d.mts.map +0 -1
  515. package/dist/types/utils/map-to-object.d.mts +0 -10
  516. package/dist/types/utils/map-to-object.d.mts.map +0 -1
  517. package/dist/types/utils/markdown.d.mts +0 -10
  518. package/dist/types/utils/markdown.d.mts.map +0 -1
  519. package/dist/types/utils/meow-with-subcommands.d.mts +0 -47
  520. package/dist/types/utils/meow-with-subcommands.d.mts.map +0 -1
  521. package/dist/types/utils/ms-at-home.d.mts +0 -2
  522. package/dist/types/utils/ms-at-home.d.mts.map +0 -1
  523. package/dist/types/utils/npm-config.d.mts +0 -14
  524. package/dist/types/utils/npm-config.d.mts.map +0 -1
  525. package/dist/types/utils/npm-package-arg.d.mts +0 -4
  526. package/dist/types/utils/npm-package-arg.d.mts.map +0 -1
  527. package/dist/types/utils/npm-paths.d.mts +0 -7
  528. package/dist/types/utils/npm-paths.d.mts.map +0 -1
  529. package/dist/types/utils/objects.d.mts +0 -3
  530. package/dist/types/utils/objects.d.mts.map +0 -1
  531. package/dist/types/utils/output-formatting.d.mts +0 -16
  532. package/dist/types/utils/output-formatting.d.mts.map +0 -1
  533. package/dist/types/utils/package-environment.d.mts +0 -57
  534. package/dist/types/utils/package-environment.d.mts.map +0 -1
  535. package/dist/types/utils/path-resolve.d.mts +0 -14
  536. package/dist/types/utils/path-resolve.d.mts.map +0 -1
  537. package/dist/types/utils/pnpm.d.mts +0 -11
  538. package/dist/types/utils/pnpm.d.mts.map +0 -1
  539. package/dist/types/utils/purl.d.mts +0 -15
  540. package/dist/types/utils/purl.d.mts.map +0 -1
  541. package/dist/types/utils/sdk.d.mts +0 -13
  542. package/dist/types/utils/sdk.d.mts.map +0 -1
  543. package/dist/types/utils/semver.d.mts +0 -8
  544. package/dist/types/utils/semver.d.mts.map +0 -1
  545. package/dist/types/utils/serialize-result-json.d.mts +0 -5
  546. package/dist/types/utils/serialize-result-json.d.mts.map +0 -1
  547. package/dist/types/utils/socket-package-alert.d.mts +0 -77
  548. package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
  549. package/dist/types/utils/socket-url.d.mts +0 -7
  550. package/dist/types/utils/socket-url.d.mts.map +0 -1
  551. package/dist/types/utils/socketjson.d.mts +0 -56
  552. package/dist/types/utils/socketjson.d.mts.map +0 -1
  553. package/dist/types/utils/spec.d.mts +0 -5
  554. package/dist/types/utils/spec.d.mts.map +0 -1
  555. package/dist/types/utils/strings.d.mts +0 -2
  556. package/dist/types/utils/strings.d.mts.map +0 -1
  557. package/dist/types/utils/tildify.d.mts +0 -4
  558. package/dist/types/utils/tildify.d.mts.map +0 -1
  559. package/dist/types/utils/translations.d.mts +0 -593
  560. package/dist/types/utils/translations.d.mts.map +0 -1
  561. package/dist/types/utils/walk-nested-map.d.mts +0 -7
  562. package/dist/types/utils/walk-nested-map.d.mts.map +0 -1
@@ -15,10 +15,10 @@ module.exports = ObjectFreeze({
15
15
  // Libraries like yocto-colors check for CI not by value but my existence,
16
16
  // e.g. `'CI' in process.env`.
17
17
  CI: ObjectHasOwn(env, 'CI'),
18
- // Flag set to enable debug logging.
18
+ // Enable debug logging based on the 'debug' package.
19
+ // https://socket.dev/npm/package/debug/overview/4.4.1
19
20
  DEBUG,
20
- // Variable to set the debug log level
21
- // (notice, error, warn, info, verbose, http, silly).
21
+ // Set the debug log level (notice, error, warn, info, verbose, http, silly).
22
22
  LOG_LEVEL: envAsString(env.LOG_LEVEL),
23
23
  // .github/workflows/provenance.yml defines this.
24
24
  // https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages
@@ -37,7 +37,7 @@ module.exports = ObjectFreeze({
37
37
  // PRE_COMMIT is set to '1' by our 'test-pre-commit' script run by the
38
38
  // .husky/pre-commit hook.
39
39
  PRE_COMMIT: envAsBoolean(env.PRE_COMMIT),
40
- // Flag set to enable debug logging in Socket CLI.
40
+ // Enable debug logging in Socket CLI.
41
41
  SOCKET_CLI_DEBUG: !!DEBUG || envAsBoolean(env.SOCKET_CLI_DEBUG),
42
42
  // TAP=1 is set by the tap-run test runner.
43
43
  // https://node-tap.org/environment/#environment-variables-used-by-tap
@@ -2,7 +2,7 @@
2
2
 
3
3
  const { isDebug } = /*@__PURE__*/ require('./debug')
4
4
  const { readJsonSync } = /*@__PURE__*/ require('./fs')
5
- const { isRelative } = /*@__PURE__*/ require('./path')
5
+ const { isPath } = /*@__PURE__*/ require('./path')
6
6
  const { spawn } = /*@__PURE__*/ require('./spawn')
7
7
 
8
8
  let _fs
@@ -345,9 +345,7 @@ function runBin(binPath, args, options) {
345
345
  /*@__PURE__*/ require('./constants/exec-path'),
346
346
  [
347
347
  .../*@__PURE__*/ require('./constants/node-no-warnings-flags'),
348
- isRelative(binPath) || getPath().isAbsolute(binPath)
349
- ? resolveBinPathSync(binPath)
350
- : whichBinSync(binPath),
348
+ isPath(binPath) ? resolveBinPathSync(binPath) : whichBinSync(binPath),
351
349
  ...args
352
350
  ],
353
351
  options
@@ -17,6 +17,17 @@ function getBuffer() {
17
17
  return _buffer
18
18
  }
19
19
 
20
+ let _path
21
+ /*@__NO_SIDE_EFFECTS__*/
22
+ function getPath() {
23
+ if (_path === undefined) {
24
+ // Use non-'node:' prefixed require to avoid Webpack errors.
25
+ // eslint-disable-next-line n/prefer-node-protocol
26
+ _path = /*@__PURE__*/ require('path')
27
+ }
28
+ return _path
29
+ }
30
+
20
31
  let _url
21
32
  /*@__NO_SIDE_EFFECTS__*/
22
33
  function getUrl() {
@@ -34,6 +45,11 @@ function isNodeModules(pathLike) {
34
45
  return nodeModulesPathRegExp.test(filepath)
35
46
  }
36
47
 
48
+ /*@__NO_SIDE_EFFECTS__*/
49
+ function isPath(pathLike) {
50
+ return isRelative(pathLike) || getPath().isAbsolute(pathLike)
51
+ }
52
+
37
53
  /*@__NO_SIDE_EFFECTS__*/
38
54
  function isRelative(pathLike) {
39
55
  const filepath = pathLikeToString(pathLike)
@@ -156,6 +172,7 @@ function trimLeadingDotSlash(pathLike) {
156
172
 
157
173
  module.exports = {
158
174
  isNodeModules,
175
+ isPath,
159
176
  isRelative,
160
177
  normalizePath,
161
178
  pathLikeToString,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/cli-with-sentry",
3
- "version": "1.0.85",
3
+ "version": "1.0.87",
4
4
  "description": "CLI for Socket.dev, includes Sentry error handling, otherwise identical to the regular `socket` package",
5
5
  "homepage": "https://github.com/SocketDev/socket-cli",
6
6
  "license": "MIT",
@@ -84,8 +84,8 @@
84
84
  "@babel/plugin-transform-runtime": "7.28.0",
85
85
  "@babel/preset-typescript": "7.27.1",
86
86
  "@babel/runtime": "7.28.2",
87
- "@biomejs/biome": "2.1.3",
88
- "@coana-tech/cli": "14.10.6",
87
+ "@biomejs/biome": "2.1.4",
88
+ "@coana-tech/cli": "14.11.3",
89
89
  "@cyclonedx/cdxgen": "11.4.4",
90
90
  "@dotenvx/dotenvx": "1.48.4",
91
91
  "@eslint/compat": "1.3.1",
@@ -112,8 +112,8 @@
112
112
  "@socketregistry/is-interactive": "1.0.6",
113
113
  "@socketregistry/packageurl-js": "1.0.8",
114
114
  "@socketsecurity/config": "3.0.1",
115
- "@socketsecurity/registry": "1.0.262",
116
- "@socketsecurity/sdk": "1.4.69",
115
+ "@socketsecurity/registry": "1.0.263",
116
+ "@socketsecurity/sdk": "1.4.70",
117
117
  "@types/blessed": "0.1.25",
118
118
  "@types/cmd-shim": "5.0.2",
119
119
  "@types/js-yaml": "4.0.9",
@@ -126,8 +126,8 @@
126
126
  "@types/semver": "7.7.0",
127
127
  "@types/which": "3.0.4",
128
128
  "@types/yargs-parser": "21.0.3",
129
- "@typescript-eslint/parser": "8.38.0",
130
- "@typescript/native-preview": "7.0.0-dev.20250804.1",
129
+ "@typescript-eslint/parser": "8.39.0",
130
+ "@typescript/native-preview": "7.0.0-dev.20250523.1",
131
131
  "@vitest/coverage-v8": "3.2.4",
132
132
  "blessed": "0.1.81",
133
133
  "blessed-contrib": "4.11.0",
@@ -155,11 +155,11 @@
155
155
  "meow": "13.2.0",
156
156
  "micromatch": "4.0.8",
157
157
  "mock-fs": "5.5.0",
158
- "nock": "14.0.8",
158
+ "nock": "14.0.9",
159
159
  "npm-package-arg": "13.0.0",
160
160
  "npm-run-all2": "8.0.4",
161
161
  "open": "10.2.0",
162
- "oxlint": "1.9.0",
162
+ "oxlint": "1.11.0",
163
163
  "pony-cause": "2.1.11",
164
164
  "registry-auth-token": "5.1.0",
165
165
  "registry-url": "7.2.0",
@@ -170,11 +170,11 @@
170
170
  "tiny-updater": "3.5.3",
171
171
  "trash": "9.0.0",
172
172
  "type-coverage": "2.29.7",
173
- "typescript-eslint": "8.38.0",
173
+ "typescript-eslint": "8.39.0",
174
174
  "unplugin-purge-polyfills": "0.1.0",
175
175
  "vitest": "3.2.4",
176
176
  "which": "5.0.0",
177
- "yaml": "2.8.0",
177
+ "yaml": "2.8.1",
178
178
  "yargs-parser": "22.0.0",
179
179
  "yoctocolors-cjs": "2.1.2"
180
180
  },
@@ -209,7 +209,7 @@
209
209
  "undici": "6.21.3",
210
210
  "vite": "7.0.4",
211
211
  "xml2js": "0.6.2",
212
- "yaml": "2.8.0"
212
+ "yaml": "2.8.1"
213
213
  },
214
214
  "engines": {
215
215
  "node": ">=18"
@@ -239,6 +239,6 @@
239
239
  "strict": true
240
240
  },
241
241
  "dependencies": {
242
- "@sentry/node": "10.1.0"
242
+ "@sentry/node": "10.2.0"
243
243
  }
244
244
  }