@socketsecurity/cli-with-sentry 1.1.9 → 1.1.13

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 (267) hide show
  1. package/CHANGELOG.md +49 -28
  2. package/bin/cli.js +2 -1
  3. package/bin/npm-cli.js +2 -1
  4. package/bin/npx-cli.js +2 -1
  5. package/bin/pnpm-cli.js +29 -0
  6. package/bin/yarn-cli.js +29 -0
  7. package/dist/cli.js +786 -566
  8. package/dist/cli.js.map +1 -1
  9. package/dist/constants.js +31 -9
  10. package/dist/constants.js.map +1 -1
  11. package/dist/flags.js +16 -17
  12. package/dist/flags.js.map +1 -1
  13. package/dist/instrument-with-sentry.js +3 -3
  14. package/dist/instrument-with-sentry.js.map +1 -1
  15. package/dist/npm-cli.js +26 -0
  16. package/dist/npm-cli.js.map +1 -0
  17. package/dist/npx-cli.js +26 -0
  18. package/dist/npx-cli.js.map +1 -0
  19. package/dist/pnpm-cli.js +26 -0
  20. package/dist/pnpm-cli.js.map +1 -0
  21. package/dist/shadow-npm-inject.js +4 -4
  22. package/dist/shadow-npm-inject.js.map +1 -1
  23. package/dist/shadow-pnpm-bin.js +235 -0
  24. package/dist/shadow-pnpm-bin.js.map +1 -0
  25. package/dist/shadow-yarn-bin.js +200 -0
  26. package/dist/shadow-yarn-bin.js.map +1 -0
  27. package/dist/socket-completion.bash +0 -0
  28. package/dist/tsconfig.dts.tsbuildinfo +1 -1
  29. package/dist/types/commands/analytics/cmd-analytics.d.mts +2 -3
  30. package/dist/types/commands/analytics/cmd-analytics.d.mts.map +1 -1
  31. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +2 -3
  32. package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +1 -1
  33. package/dist/types/commands/ci/cmd-ci.d.mts +2 -3
  34. package/dist/types/commands/ci/cmd-ci.d.mts.map +1 -1
  35. package/dist/types/commands/config/cmd-config-auto.d.mts +2 -3
  36. package/dist/types/commands/config/cmd-config-auto.d.mts.map +1 -1
  37. package/dist/types/commands/config/cmd-config-get.d.mts +2 -3
  38. package/dist/types/commands/config/cmd-config-get.d.mts.map +1 -1
  39. package/dist/types/commands/config/cmd-config-list.d.mts +2 -3
  40. package/dist/types/commands/config/cmd-config-list.d.mts.map +1 -1
  41. package/dist/types/commands/config/cmd-config-set.d.mts +2 -3
  42. package/dist/types/commands/config/cmd-config-set.d.mts.map +1 -1
  43. package/dist/types/commands/config/cmd-config-unset.d.mts +2 -3
  44. package/dist/types/commands/config/cmd-config-unset.d.mts.map +1 -1
  45. package/dist/types/commands/fix/cmd-fix.d.mts +2 -3
  46. package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -1
  47. package/dist/types/commands/fix/coana-fix.d.mts.map +1 -1
  48. package/dist/types/commands/fix/env-helpers.d.mts +1 -1
  49. package/dist/types/commands/fix/env-helpers.d.mts.map +1 -1
  50. package/dist/types/commands/fix/git.d.mts +1 -1
  51. package/dist/types/commands/fix/git.d.mts.map +1 -1
  52. package/dist/types/commands/fix/handle-fix.d.mts +3 -1
  53. package/dist/types/commands/fix/handle-fix.d.mts.map +1 -1
  54. package/dist/types/commands/fix/pull-request.d.mts +1 -1
  55. package/dist/types/commands/fix/pull-request.d.mts.map +1 -1
  56. package/dist/types/commands/fix/types.d.mts +2 -0
  57. package/dist/types/commands/fix/types.d.mts.map +1 -1
  58. package/dist/types/commands/install/cmd-install-completion.d.mts +2 -3
  59. package/dist/types/commands/install/cmd-install-completion.d.mts.map +1 -1
  60. package/dist/types/commands/json/cmd-json.d.mts +2 -3
  61. package/dist/types/commands/json/cmd-json.d.mts.map +1 -1
  62. package/dist/types/commands/login/cmd-login.d.mts +2 -3
  63. package/dist/types/commands/login/cmd-login.d.mts.map +1 -1
  64. package/dist/types/commands/logout/cmd-logout.d.mts +2 -3
  65. package/dist/types/commands/logout/cmd-logout.d.mts.map +1 -1
  66. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +2 -3
  67. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +1 -1
  68. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +2 -3
  69. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -1
  70. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +2 -3
  71. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +1 -1
  72. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +2 -3
  73. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +1 -1
  74. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +2 -3
  75. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +1 -1
  76. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +2 -3
  77. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +1 -1
  78. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +2 -3
  79. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +1 -1
  80. package/dist/types/commands/manifest/cmd-manifest.d.mts +2 -3
  81. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -1
  82. package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +1 -1
  83. package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -1
  84. package/dist/types/commands/manifest/output-requirements.d.mts.map +1 -1
  85. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -1
  86. package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +1 -1
  87. package/dist/types/commands/npm/cmd-npm.d.mts +2 -3
  88. package/dist/types/commands/npm/cmd-npm.d.mts.map +1 -1
  89. package/dist/types/commands/npx/cmd-npx.d.mts +2 -3
  90. package/dist/types/commands/npx/cmd-npx.d.mts.map +1 -1
  91. package/dist/types/commands/oops/cmd-oops.d.mts +2 -3
  92. package/dist/types/commands/oops/cmd-oops.d.mts.map +1 -1
  93. package/dist/types/commands/optimize/cmd-optimize.d.mts +2 -3
  94. package/dist/types/commands/optimize/cmd-optimize.d.mts.map +1 -1
  95. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +2 -3
  96. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +1 -1
  97. package/dist/types/commands/organization/cmd-organization-list.d.mts +2 -3
  98. package/dist/types/commands/organization/cmd-organization-list.d.mts.map +1 -1
  99. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +2 -3
  100. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +1 -1
  101. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +2 -3
  102. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +1 -1
  103. package/dist/types/commands/organization/cmd-organization-quota.d.mts +2 -3
  104. package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +1 -1
  105. package/dist/types/commands/package/cmd-package-score.d.mts +2 -3
  106. package/dist/types/commands/package/cmd-package-score.d.mts.map +1 -1
  107. package/dist/types/commands/package/cmd-package-shallow.d.mts +2 -3
  108. package/dist/types/commands/package/cmd-package-shallow.d.mts.map +1 -1
  109. package/dist/types/commands/patch/cmd-patch.d.mts +2 -3
  110. package/dist/types/commands/patch/cmd-patch.d.mts.map +1 -1
  111. package/dist/types/commands/pnpm/cmd-pnpm.d.mts +10 -0
  112. package/dist/types/commands/pnpm/cmd-pnpm.d.mts.map +1 -0
  113. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +2 -3
  114. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +1 -1
  115. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +2 -3
  116. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +1 -1
  117. package/dist/types/commands/repository/cmd-repository-create.d.mts +2 -3
  118. package/dist/types/commands/repository/cmd-repository-create.d.mts.map +1 -1
  119. package/dist/types/commands/repository/cmd-repository-del.d.mts +2 -3
  120. package/dist/types/commands/repository/cmd-repository-del.d.mts.map +1 -1
  121. package/dist/types/commands/repository/cmd-repository-list.d.mts +2 -3
  122. package/dist/types/commands/repository/cmd-repository-list.d.mts.map +1 -1
  123. package/dist/types/commands/repository/cmd-repository-update.d.mts +2 -3
  124. package/dist/types/commands/repository/cmd-repository-update.d.mts.map +1 -1
  125. package/dist/types/commands/repository/cmd-repository-view.d.mts +2 -3
  126. package/dist/types/commands/repository/cmd-repository-view.d.mts.map +1 -1
  127. package/dist/types/commands/repository/handle-list-repos.d.mts +2 -1
  128. package/dist/types/commands/repository/handle-list-repos.d.mts.map +1 -1
  129. package/dist/types/commands/repository/output-list-repos.d.mts +2 -1
  130. package/dist/types/commands/repository/output-list-repos.d.mts.map +1 -1
  131. package/dist/types/commands/repository/types.d.mts +2 -0
  132. package/dist/types/commands/repository/types.d.mts.map +1 -0
  133. package/dist/types/commands/scan/cmd-scan-create.d.mts +2 -3
  134. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -1
  135. package/dist/types/commands/scan/cmd-scan-del.d.mts +2 -3
  136. package/dist/types/commands/scan/cmd-scan-del.d.mts.map +1 -1
  137. package/dist/types/commands/scan/cmd-scan-diff.d.mts +2 -3
  138. package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +1 -1
  139. package/dist/types/commands/scan/cmd-scan-github.d.mts +2 -3
  140. package/dist/types/commands/scan/cmd-scan-github.d.mts.map +1 -1
  141. package/dist/types/commands/scan/cmd-scan-list.d.mts.map +1 -1
  142. package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +1 -1
  143. package/dist/types/commands/scan/cmd-scan-reach.d.mts +2 -3
  144. package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +1 -1
  145. package/dist/types/commands/scan/cmd-scan-report.d.mts.map +1 -1
  146. package/dist/types/commands/scan/cmd-scan-setup.d.mts +2 -3
  147. package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +1 -1
  148. package/dist/types/commands/scan/cmd-scan-view.d.mts.map +1 -1
  149. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +1 -1
  150. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -1
  151. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +2 -3
  152. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +1 -1
  153. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +2 -3
  154. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +1 -1
  155. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +2 -3
  156. package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +1 -1
  157. package/dist/types/commands/yarn/cmd-yarn.d.mts +10 -0
  158. package/dist/types/commands/yarn/cmd-yarn.d.mts.map +1 -0
  159. package/dist/types/commands.d.mts +31 -63
  160. package/dist/types/commands.d.mts.map +1 -1
  161. package/dist/types/constants.d.mts +15 -1
  162. package/dist/types/constants.d.mts.map +1 -1
  163. package/dist/types/flags.d.mts.map +1 -1
  164. package/dist/types/npm-cli.d.mts +3 -0
  165. package/dist/types/npm-cli.d.mts.map +1 -0
  166. package/dist/types/npx-cli.d.mts +3 -0
  167. package/dist/types/npx-cli.d.mts.map +1 -0
  168. package/dist/types/pnpm-cli.d.mts +3 -0
  169. package/dist/types/pnpm-cli.d.mts.map +1 -0
  170. package/dist/types/shadow/npm/install.d.mts +1 -1
  171. package/dist/types/shadow/npm/install.d.mts.map +1 -1
  172. package/dist/types/shadow/pnpm/bin.d.mts +10 -0
  173. package/dist/types/shadow/pnpm/bin.d.mts.map +1 -0
  174. package/dist/types/shadow/pnpm/link.d.mts +2 -0
  175. package/dist/types/shadow/pnpm/link.d.mts.map +1 -0
  176. package/dist/types/shadow/yarn/bin.d.mts +10 -0
  177. package/dist/types/shadow/yarn/bin.d.mts.map +1 -0
  178. package/dist/types/shadow/yarn/link.d.mts +2 -0
  179. package/dist/types/shadow/yarn/link.d.mts.map +1 -0
  180. package/dist/types/utils/alerts-map.d.mts.map +1 -1
  181. package/dist/types/utils/cmd.d.mts +25 -1
  182. package/dist/types/utils/cmd.d.mts.map +1 -1
  183. package/dist/types/utils/coana.d.mts.map +1 -1
  184. package/dist/types/utils/config.d.mts +1 -1
  185. package/dist/types/utils/config.d.mts.map +1 -1
  186. package/dist/types/utils/git.d.mts +4 -4
  187. package/dist/types/utils/git.d.mts.map +1 -1
  188. package/dist/types/utils/github.d.mts.map +1 -1
  189. package/dist/types/utils/lockfile.d.mts +1 -1
  190. package/dist/types/utils/lockfile.d.mts.map +1 -1
  191. package/dist/types/utils/meow-with-subcommands.d.mts +16 -1
  192. package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
  193. package/dist/types/utils/npm-config.d.mts +1 -1
  194. package/dist/types/utils/npm-config.d.mts.map +1 -1
  195. package/dist/types/utils/npm-package-arg.d.mts +1 -1
  196. package/dist/types/utils/npm-package-arg.d.mts.map +1 -1
  197. package/dist/types/utils/output-formatting.d.mts.map +1 -1
  198. package/dist/types/utils/package-environment.d.mts.map +1 -1
  199. package/dist/types/utils/pnpm-paths.d.mts +5 -0
  200. package/dist/types/utils/pnpm-paths.d.mts.map +1 -0
  201. package/dist/types/utils/pnpm.d.mts +2 -2
  202. package/dist/types/utils/pnpm.d.mts.map +1 -1
  203. package/dist/types/utils/purl.d.mts +6 -6
  204. package/dist/types/utils/purl.d.mts.map +1 -1
  205. package/dist/types/utils/sdk.d.mts.map +1 -1
  206. package/dist/types/utils/semver.d.mts +2 -2
  207. package/dist/types/utils/semver.d.mts.map +1 -1
  208. package/dist/types/utils/socket-json.d.mts +3 -0
  209. package/dist/types/utils/socket-json.d.mts.map +1 -1
  210. package/dist/types/utils/strings.d.mts +2 -0
  211. package/dist/types/utils/strings.d.mts.map +1 -0
  212. package/dist/types/utils/yarn-paths.d.mts +5 -0
  213. package/dist/types/utils/yarn-paths.d.mts.map +1 -0
  214. package/dist/types/utils/yarn-version.d.mts +2 -0
  215. package/dist/types/utils/yarn-version.d.mts.map +1 -0
  216. package/dist/types/yarn-cli.d.mts +3 -0
  217. package/dist/types/yarn-cli.d.mts.map +1 -0
  218. package/dist/utils.js +404 -104
  219. package/dist/utils.js.map +1 -1
  220. package/dist/vendor.js +58633 -64690
  221. package/dist/yarn-cli.js +26 -0
  222. package/dist/yarn-cli.js.map +1 -0
  223. package/external/blessed/lib/tput.js +13 -13
  224. package/external/blessed/lib/widgets/ansiimage.js +1 -1
  225. package/external/blessed/lib/widgets/bigtext.js +1 -1
  226. package/external/blessed/lib/widgets/box.js +1 -1
  227. package/external/blessed/lib/widgets/button.js +1 -1
  228. package/external/blessed/lib/widgets/checkbox.js +1 -1
  229. package/external/blessed/lib/widgets/element.js +1 -1
  230. package/external/blessed/lib/widgets/filemanager.js +1 -1
  231. package/external/blessed/lib/widgets/form.js +1 -1
  232. package/external/blessed/lib/widgets/image.js +1 -1
  233. package/external/blessed/lib/widgets/input.js +1 -1
  234. package/external/blessed/lib/widgets/layout.js +1 -1
  235. package/external/blessed/lib/widgets/line.js +1 -1
  236. package/external/blessed/lib/widgets/list.js +1 -1
  237. package/external/blessed/lib/widgets/listbar.js +1 -1
  238. package/external/blessed/lib/widgets/listtable.js +1 -1
  239. package/external/blessed/lib/widgets/loading.js +1 -1
  240. package/external/blessed/lib/widgets/log.js +1 -1
  241. package/external/blessed/lib/widgets/message.js +1 -1
  242. package/external/blessed/lib/widgets/node.js +3 -2
  243. package/external/blessed/lib/widgets/overlayimage.js +1 -1
  244. package/external/blessed/lib/widgets/progressbar.js +1 -1
  245. package/external/blessed/lib/widgets/prompt.js +1 -1
  246. package/external/blessed/lib/widgets/question.js +1 -1
  247. package/external/blessed/lib/widgets/radiobutton.js +1 -1
  248. package/external/blessed/lib/widgets/radioset.js +1 -1
  249. package/external/blessed/lib/widgets/screen.js +8 -6
  250. package/external/blessed/lib/widgets/scrollablebox.js +1 -1
  251. package/external/blessed/lib/widgets/scrollabletext.js +1 -1
  252. package/external/blessed/lib/widgets/table.js +1 -1
  253. package/external/blessed/lib/widgets/terminal.js +1 -1
  254. package/external/blessed/lib/widgets/text.js +1 -1
  255. package/external/blessed/lib/widgets/textarea.js +1 -1
  256. package/external/blessed/lib/widgets/textbox.js +1 -1
  257. package/external/blessed/lib/widgets/video.js +1 -1
  258. package/external/blessed/vendor/tng.js +11 -4
  259. package/external/blessed-contrib/lib/widget/charts/bar.js +4 -4
  260. package/external/blessed-contrib/lib/widget/charts/line.js +4 -4
  261. package/logo-dark.png +0 -0
  262. package/logo-light.png +0 -0
  263. package/package.json +67 -94
  264. package/shadow-bin/npm +1 -1
  265. package/shadow-bin/npx +1 -1
  266. package/shadow-bin/pnpm +27 -0
  267. package/shadow-bin/yarn +27 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
+ ## [1.1.13](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.13) - 2025-09-16
8
+
9
+ ### Added
10
+ - New `--output-file` flag for `socket fix` to save computed fixes to a JSON file
11
+ - New `--only-compute` flag for `socket fix` to compute fixes without applying them
12
+
13
+ ## [1.1.12](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.12) - 2025-09-15
14
+
15
+ ### Fixed
16
+ - Enhanced security alert processing for more reliable operations
17
+
18
+ ## [1.1.11](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.11) - 2025-09-12
19
+
20
+ ### Fixed
21
+ - Improved multipart upload reliability with Socket SDK update
22
+
23
+ ## [1.1.10](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.10) - 2025-09-11
24
+
25
+ ### Changed
26
+ - Enhanced command argument filtering for improved compatibility with npm and cdxgen integrations
27
+
7
28
  ## [1.1.9](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.9) - 2025-09-11
8
29
 
9
30
  ### Added
@@ -15,7 +36,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
15
36
  ## [1.1.8](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.8) - 2025-09-11
16
37
 
17
38
  ### Changed
18
- - Made insufficient permissions errors more helpful
39
+ - Clearer permission error messages to help resolve access issues
19
40
 
20
41
  ## [1.1.7](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.7) - 2025-09-11
21
42
 
@@ -23,18 +44,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
23
44
  - Control spinner display with new `--no-spinner` flag
24
45
 
25
46
  ### Fixed
26
- - Configurable proxy handling for requests
47
+ - Enhanced proxy support for flexible network configurations
27
48
 
28
49
  ## [1.1.6](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.6) - 2025-09-10
29
50
 
30
51
  ### Fixed
31
- - GraphQL cache handling for PR operations
52
+ - Improved pull request operations with better cache management
32
53
 
33
54
  ## [1.1.5](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.5) - 2025-09-10
34
55
 
35
56
  ### Fixed
36
- - Fixed reachability analysis spinner behavior in certain scenarios
37
- - Improved `--cwd` current working directory override handling
57
+ - Enhanced reachability analysis spinner for consistent feedback
58
+ - Better working directory control with `--cwd` flag improvements
38
59
 
39
60
  ## [1.1.4](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.4) - 2025-09-09
40
61
 
@@ -76,7 +97,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
76
97
  - Reimplemented `--range-style` flag for `socket fix`
77
98
 
78
99
  ### Fixed
79
- - Fixed reachability analysis and `socket fix` in CI environments
100
+ - Enhanced CI/CD compatibility for reachability analysis and fixes
80
101
 
81
102
  ## [1.0.110](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.110) - 2025-09-03
82
103
 
@@ -86,112 +107,112 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
86
107
  ## [1.0.109](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.109) - 2025-09-03
87
108
 
88
109
  ### Changed
89
- - Avoid setting `NODE_ENV` when built
110
+ - Improved build environment handling for better compatibility
90
111
 
91
112
  ## [1.0.108](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.108) - 2025-09-03
92
113
 
93
114
  ### Changed
94
- - Made shadow bin runs more silent
115
+ - Cleaner output from wrapped commands for focused results
95
116
 
96
117
  ## [1.0.107](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.107) - 2025-09-02
97
118
 
98
119
  ### Fixed
99
- - Fixed build regression
120
+ - Restored build stability for reliable deployments
100
121
 
101
122
  ## [1.0.106](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.106) - 2025-09-02
102
123
 
103
124
  ### Added
104
- - Added `--reach-skip-cache` flag to disable reachability analysis configuration caching
125
+ - Control reachability analysis caching with new `--reach-skip-cache` flag
105
126
 
106
127
  ## [1.0.104](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.104) - 2025-08-29
107
128
 
108
129
  ### Fixed
109
- - Improved GHSA resolving functionality
130
+ - Enhanced security advisory resolution for accurate vulnerability tracking
110
131
 
111
132
  ## [1.0.103](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.103) - 2025-08-29
112
133
 
113
134
  ### Fixed
114
- - Fixed GHSA resolving issues
135
+ - Improved GitHub Security Advisory processing
115
136
 
116
137
  ## [1.0.102](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.102) - 2025-08-29
117
138
 
118
139
  ### Fixed
119
- - Fixed `cmdFlagValueToArray` function
140
+ - Enhanced command flag processing for better reliability
120
141
 
121
142
  ## [1.0.100](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.100) - 2025-08-29
122
143
 
123
144
  ### Added
124
- - Added more debug information for GHSA details
145
+ - Richer debugging output for security advisory analysis
125
146
 
126
147
  ## [1.0.96](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.96) - 2025-08-27
127
148
 
128
149
  ### Changed
129
- - Improved `--org` flag usage with reachability analysis
150
+ - Streamlined organization selection for reachability analysis
130
151
 
131
152
  ## [1.0.89](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.89) - 2025-08-15
132
153
 
133
154
  ### Added
134
- - Added support for uploading all manifest files when running `socket scan create --reach`
155
+ - Comprehensive manifest scanning with `socket scan create --reach`
135
156
 
136
157
  ## [1.0.85](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.85) - 2025-08-01
137
158
 
138
159
  ### Added
139
- - Added support for `SOCKET_CLI_NPM_PATH` environment variable
160
+ - Flexible npm path configuration via `SOCKET_CLI_NPM_PATH` environment variable
140
161
 
141
162
  ## [1.0.82](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.82) - 2025-07-30
142
163
 
143
164
  ### Added
144
- - Added support for `--max-old-space-size` and `--max-semi-space-size` flags
165
+ - Memory optimization controls with `--max-old-space-size` and `--max-semi-space-size` flags
145
166
 
146
167
  ## [1.0.80](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.80) - 2025-07-29
147
168
 
148
169
  ### Changed
149
- - Add back logging of local files found in `socket scan create`
170
+ - Enhanced file discovery feedback in `socket scan create`
150
171
 
151
172
  ## [1.0.73](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.73) - 2025-07-14
152
173
 
153
174
  ### Added
154
- - Added support for finding `.socket.facts.json` files
175
+ - Automatic detection of `.socket.facts.json` configuration files
155
176
 
156
177
  ## [1.0.69](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.69) - 2025-07-10
157
178
 
158
179
  ### Added
159
- - Added `--no-pr-check` flag to `socket fix`
180
+ - Skip pull request checks with new `--no-pr-check` flag for `socket fix`
160
181
 
161
182
  ## [1.0.10](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.10) - 2025-06-28
162
183
 
163
184
  ### Changed
164
- - Various improvements and optimizations
185
+ - Enhanced performance and reliability across all commands
165
186
 
166
187
  ## [1.0.9](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.9) - 2025-06-28
167
188
 
168
189
  ### Changed
169
- - Bug fixes and performance improvements
190
+ - Improved stability and command execution speed
170
191
 
171
192
  ## [1.0.8](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.8) - 2025-06-27
172
193
 
173
194
  ### Changed
174
- - Internal improvements and optimizations
195
+ - Faster command processing with optimized internals
175
196
 
176
197
  ## [1.0.7](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.7) - 2025-06-25
177
198
 
178
199
  ### Changed
179
- - Code quality improvements
200
+ - Enhanced reliability through improved code quality
180
201
 
181
202
  ## [1.0.6](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.6) - 2025-06-25
182
203
 
183
204
  ### Changed
184
- - Minor bug fixes and improvements
205
+ - Smoother user experience with targeted improvements
185
206
 
186
207
  ## [1.0.5](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.5) - 2025-06-25
187
208
 
188
209
  ### Changed
189
- - Performance optimizations
210
+ - Faster command execution with performance enhancements
190
211
 
191
212
  ## [1.0.4](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.4) - 2025-06-25
192
213
 
193
214
  ### Changed
194
- - Bug fixes and stability improvements
215
+ - More stable operations with targeted fixes
195
216
 
196
217
  ## [1.0.3](https://github.com/SocketDev/socket-cli/releases/tag/v1.0.3) - 2025-06-25
197
218
 
package/bin/cli.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict'
3
- ;(async () => {
3
+
4
+ void (async () => {
4
5
  const Module = require('node:module')
5
6
  const path = require('node:path')
6
7
  const rootPath = path.join(__dirname, '..')
package/bin/npm-cli.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict'
3
- ;(async () => {
3
+
4
+ void (async () => {
4
5
  const Module = require('node:module')
5
6
  const path = require('node:path')
6
7
  const rootPath = path.join(__dirname, '..')
package/bin/npx-cli.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict'
3
- ;(async () => {
3
+
4
+ void (async () => {
4
5
  const Module = require('node:module')
5
6
  const path = require('node:path')
6
7
  const rootPath = path.join(__dirname, '..')
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+
4
+ void (async () => {
5
+ const Module = require('node:module')
6
+ const path = require('node:path')
7
+ const rootPath = path.join(__dirname, '..')
8
+ Module.enableCompileCache?.(path.join(rootPath, '.cache'))
9
+
10
+ const shadowBin = require(path.join(rootPath, 'dist/shadow-pnpm-bin.js'))
11
+
12
+ process.exitCode = 1
13
+
14
+ const { spawnPromise } = await shadowBin('pnpm', process.argv.slice(2), {
15
+ stdio: 'inherit',
16
+ })
17
+
18
+ // See https://nodejs.org/api/child_process.html#event-exit.
19
+ spawnPromise.process.on('exit', (code, signalName) => {
20
+ if (signalName) {
21
+ process.kill(process.pid, signalName)
22
+ } else if (typeof code === 'number') {
23
+ // eslint-disable-next-line n/no-process-exit
24
+ process.exit(code)
25
+ }
26
+ })
27
+
28
+ await spawnPromise
29
+ })()
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+
4
+ void (async () => {
5
+ const Module = require('node:module')
6
+ const path = require('node:path')
7
+ const rootPath = path.join(__dirname, '..')
8
+ Module.enableCompileCache?.(path.join(rootPath, '.cache'))
9
+
10
+ const shadowBin = require(path.join(rootPath, 'dist/shadow-yarn-bin.js'))
11
+
12
+ process.exitCode = 1
13
+
14
+ const { spawnPromise } = await shadowBin('yarn', process.argv.slice(2), {
15
+ stdio: 'inherit',
16
+ })
17
+
18
+ // See https://nodejs.org/api/child_process.html#event-exit.
19
+ spawnPromise.process.on('exit', (code, signalName) => {
20
+ if (signalName) {
21
+ process.kill(process.pid, signalName)
22
+ } else if (typeof code === 'number') {
23
+ // eslint-disable-next-line n/no-process-exit
24
+ process.exit(code)
25
+ }
26
+ })
27
+
28
+ await spawnPromise
29
+ })()