socket 1.1.22 → 1.1.24

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ 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.23](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.23) - 2025-09-22
8
+
9
+ ### Changed
10
+ - Enhanced `--no-apply-fixes` flag naming for improved clarity (previously `--dont-apply-fixes`)
11
+ - Streamlined documentation and help text for better user experience
12
+ - Improved `pnpm dlx` operations by removing unnecessary `--ignore-scripts` flag
13
+
14
+ ### Fixed
15
+ - Resolved JSON example formatting in usage documentation
16
+ - Enhanced test reliability for cdxgen on Windows platforms
17
+ - Improved error handling in optimize command for pnpm environments
18
+
7
19
  ## [1.1.22](https://github.com/SocketDev/socket-cli/releases/tag/v1.1.22) - 2025-09-20
8
20
 
9
21
  ### Changed
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Socket Badge](https://socket.dev/api/badge/npm/package/socket)](https://socket.dev/npm/package/socket)
4
4
  [![Follow @SocketSecurity](https://img.shields.io/twitter/follow/SocketSecurity?style=social)](https://twitter.com/SocketSecurity)
5
5
 
6
- > CLI tool for [Socket.dev]
6
+ CLI for [Socket.dev] security analysis
7
7
 
8
8
  ## Usage
9
9
 
@@ -14,73 +14,58 @@ socket --help
14
14
 
15
15
  ## Commands
16
16
 
17
- - `socket npm [args...]` and `socket npx [args...]` - Wraps `npm` and `npx` to
18
- integrate [Socket.dev] and preempt installation of alerted packages using the
19
- builtin resolution of `npm` to precisely determine package installations
17
+ - `socket npm [args...]` and `socket npx [args...]` - Wraps npm/npx with Socket security scanning
20
18
 
21
- - `socket optimize` - Optimize dependencies with
22
- [`@socketregistry`](https://github.com/SocketDev/socket-registry) overrides
23
- _(👀 [our blog post](https://socket.dev/blog/introducing-socket-optimize))_
19
+ - `socket fix` - Fix CVEs in dependencies
24
20
 
25
- - `--pin` - Pin overrides to their latest version
26
- - `--prod` - Add overrides for only production dependencies
21
+ - `socket optimize` - Optimize dependencies with [`@socketregistry`](https://github.com/SocketDev/socket-registry) overrides
27
22
 
28
- - `socket cdxgen [command]` - Call out to
29
- [cdxgen](https://cyclonedx.github.io/cdxgen/#/?id=getting-started). See
30
- [their documentation](https://cyclonedx.github.io/cdxgen/#/CLI?id=getting-help)
31
- for commands.
23
+ - `socket cdxgen [command]` - Run [cdxgen](https://cyclonedx.github.io/cdxgen/#/?id=getting-started) for SBOM generation
32
24
 
33
25
  ## Aliases
34
26
 
35
27
  All aliases support the flags and arguments of the commands they alias.
36
28
 
37
- - `socket ci` - alias for `socket scan create --report` which creates a report for the current directory and quits with an exit code if the result is unhealthy
29
+ - `socket ci` - Alias for `socket scan create --report` (creates report and exits with error if unhealthy)
38
30
 
39
31
  ## Flags
40
32
 
41
33
  ### Output flags
42
34
 
43
- - `--json` - Outputs result as JSON which can be piped into [`jq`](https://stedolan.github.io/jq/) and other tools
44
- - `--markdown` - Outputs result as Markdown which can be copied into issues, pull requests, or chats
35
+ - `--json` - Output as JSON
36
+ - `--markdown` - Output as Markdown
45
37
 
46
38
  ### Other flags
47
39
 
48
- - `--dry-run` - Run a command without uploading anything
49
- - `--debug` - Output additional debug
50
- - `--help` - Prints help documentation
51
- - `--max-old-space-size` - Set Node's V8 [`--max-old-space-size`](https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-mib) option
52
- - `--max-semi-space-size` - Set Node's V8 [`--max-semi-space-size`](https://nodejs.org/api/cli.html#--max-semi-space-sizesize-in-mib) option
53
- - `--version` - Prints the Socket CLI version
40
+ - `--dry-run` - Run without uploading
41
+ - `--debug` - Show debug output
42
+ - `--help` - Show help
43
+ - `--max-old-space-size` - Set Node.js memory limit
44
+ - `--max-semi-space-size` - Set Node.js heap size
45
+ - `--version` - Show version
54
46
 
55
47
  ## Configuration files
56
48
 
57
- Socket CLI reads and uses data from a
58
- [`socket.yml` file](https://docs.socket.dev/docs/socket-yml) in the folder you
59
- run it in. It supports the version 2 of the `socket.yml` file format and makes
60
- use of the `projectIgnorePaths` to excludes files when creating a report.
49
+ Socket CLI reads [`socket.yml`](https://docs.socket.dev/docs/socket-yml) configuration files.
50
+ Supports version 2 format with `projectIgnorePaths` for excluding files from reports.
61
51
 
62
52
  ## Environment variables
63
53
 
64
- - `SOCKET_CLI_API_TOKEN` - Set the Socket API token
65
- - `SOCKET_CLI_CONFIG` - A JSON stringified Socket configuration object
66
- - `SOCKET_CLI_GITHUB_API_URL` - Change the base URL for GitHub REST API calls
67
- - `SOCKET_CLI_GIT_USER_EMAIL` - The git config `user.email` used by Socket CLI<br>
68
- *Defaults:* `github-actions[bot]@users.noreply.github.com`<br>
69
- - `SOCKET_CLI_GIT_USER_NAME` - The git config `user.name` used by Socket CLI<br>
70
- *Defaults:* `github-actions[bot]`<br>
71
- - `SOCKET_CLI_GITHUB_TOKEN` - A classic or fine-grained [GitHub personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) with the "repo" scope or read/write permissions set for "Contents" and "Pull Request"<br>
72
- *Aliases:* `GITHUB_TOKEN`<br>
73
- - `SOCKET_CLI_NO_API_TOKEN` - Make the default API token `undefined`
74
- - `SOCKET_CLI_NPM_PATH` - The absolute location of the npm directory
75
- - `SOCKET_CLI_ORG_SLUG` - Specify the Socket organization slug<br><br>
76
- - `SOCKET_CLI_ACCEPT_RISKS` - Accept risks of a Socket wrapped npm/npx run
77
- - `SOCKET_CLI_VIEW_ALL_RISKS` - View all risks of a Socket wrapped npm/npx run
54
+ - `SOCKET_CLI_API_TOKEN` - Socket API token
55
+ - `SOCKET_CLI_CONFIG` - JSON configuration object
56
+ - `SOCKET_CLI_GITHUB_API_URL` - GitHub API base URL
57
+ - `SOCKET_CLI_GIT_USER_EMAIL` - Git user email (default: `github-actions[bot]@users.noreply.github.com`)
58
+ - `SOCKET_CLI_GIT_USER_NAME` - Git user name (default: `github-actions[bot]`)
59
+ - `SOCKET_CLI_GITHUB_TOKEN` - GitHub token with repo access (alias: `GITHUB_TOKEN`)
60
+ - `SOCKET_CLI_NO_API_TOKEN` - Disable default API token
61
+ - `SOCKET_CLI_NPM_PATH` - Path to npm directory
62
+ - `SOCKET_CLI_ORG_SLUG` - Socket organization slug
63
+ - `SOCKET_CLI_ACCEPT_RISKS` - Accept npm/npx risks
64
+ - `SOCKET_CLI_VIEW_ALL_RISKS` - Show all npm/npx risks
78
65
 
79
66
  ## Contributing
80
67
 
81
- ### Setup
82
-
83
- To run locally execute the following commands:
68
+ Run locally:
84
69
 
85
70
  ```
86
71
  npm install
@@ -88,23 +73,19 @@ npm run build
88
73
  npm exec socket
89
74
  ```
90
75
 
91
- ### Environment variables for development
76
+ ### Development environment variables
92
77
 
93
- - `SOCKET_CLI_API_BASE_URL` - Change the base URL for Socket API calls<br>
94
- *Defaults:* The "apiBaseUrl" value of socket/settings local app data if present, else `https://api.socket.dev/v0/`<br>
95
- - `SOCKET_CLI_API_PROXY` - Set the proxy Socket API requests are routed through, e.g. if set to<br>
96
- [`http://127.0.0.1:9090`](https://docs.proxyman.io/troubleshooting/couldnt-see-any-requests-from-3rd-party-network-libraries), then all request are passed through that proxy<br>
97
- *Aliases:* `HTTPS_PROXY`, `https_proxy`, `HTTP_PROXY`, and `http_proxy`<br>
98
- - `SOCKET_CLI_API_TIMEOUT` - Set the timeout in milliseconds for Socket API requests
99
- - `SOCKET_CLI_DEBUG` - Enable debug logging in Socket CLI
100
- - `DEBUG` - Enable debug logging based on the [`debug`](https://socket.dev/npm/package/debug) package
78
+ - `SOCKET_CLI_API_BASE_URL` - API base URL (default: `https://api.socket.dev/v0/`)
79
+ - `SOCKET_CLI_API_PROXY` - Proxy for API requests (aliases: `HTTPS_PROXY`, `https_proxy`, `HTTP_PROXY`, `http_proxy`)
80
+ - `SOCKET_CLI_API_TIMEOUT` - API request timeout in milliseconds
81
+ - `SOCKET_CLI_DEBUG` - Enable debug logging
82
+ - `DEBUG` - Enable [`debug`](https://socket.dev/npm/package/debug) package logging
101
83
 
102
84
  ## See also
103
85
 
104
- - [Announcement blog post](https://socket.dev/blog/announcing-socket-cli-preview)
105
- - [Socket API Reference](https://docs.socket.dev/reference) - The API used by Socket CLI
106
- - [Socket GitHub App](https://github.com/apps/socket-security) - The plug-and-play GitHub App
107
- - [`@socketsecurity/sdk`](https://github.com/SocketDev/socket-sdk-js) - The SDK used by Socket CLI
86
+ - [Socket API Reference](https://docs.socket.dev/reference)
87
+ - [Socket GitHub App](https://github.com/apps/socket-security)
88
+ - [`@socketsecurity/sdk`](https://github.com/SocketDev/socket-sdk-js)
108
89
 
109
90
  [Socket.dev]: https://socket.dev/
110
91
 
package/dist/cli.js CHANGED
@@ -2378,7 +2378,7 @@ async function handleCi(autoManifest) {
2378
2378
 
2379
2379
  const config$k = {
2380
2380
  commandName: 'ci',
2381
- description: 'Shorthand for `socket scan create --report --no-interactive`',
2381
+ description: 'Alias for `socket scan create --report` (creates report and exits with error if unhealthy)',
2382
2382
  hidden: false,
2383
2383
  flags: {
2384
2384
  ...flags.commonFlags,
@@ -3544,12 +3544,13 @@ async function getFixEnv() {
3544
3544
 
3545
3545
  async function coanaFix(fixConfig) {
3546
3546
  const {
3547
+ applyFixes,
3547
3548
  autopilot,
3548
3549
  cwd,
3549
- dontApplyFixes,
3550
3550
  ghsas,
3551
3551
  glob,
3552
3552
  limit,
3553
+ minimumReleaseAge,
3553
3554
  orgSlug,
3554
3555
  outputFile,
3555
3556
  spinner
@@ -3594,7 +3595,7 @@ async function coanaFix(fixConfig) {
3594
3595
  const shouldOpenPrs = fixEnv.isCi && fixEnv.repoInfo;
3595
3596
  if (!shouldOpenPrs) {
3596
3597
  // Inform user about local mode when fixes will be applied.
3597
- if (!dontApplyFixes && ghsas.length) {
3598
+ if (applyFixes && ghsas.length) {
3598
3599
  const envCheck = checkCiEnvVars();
3599
3600
  if (envCheck.present.length) {
3600
3601
  // Some CI vars are set but not all - show what's missing.
@@ -3616,7 +3617,7 @@ async function coanaFix(fixConfig) {
3616
3617
  }
3617
3618
  };
3618
3619
  }
3619
- const fixCResult = await utils.spawnCoanaDlx(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, '--apply-fixes-to', ...(isAll ? ['all'] : ghsas), ...(fixConfig.rangeStyle ? ['--range-style', fixConfig.rangeStyle] : []), ...(glob ? ['--glob', glob] : []), ...(dontApplyFixes ? [constants.FLAG_DRY_RUN] : []), ...(outputFile ? ['--output-file', outputFile] : []), ...fixConfig.unknownFlags], fixConfig.orgSlug, {
3620
+ const fixCResult = await utils.spawnCoanaDlx(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, '--apply-fixes-to', ...(isAll ? ['all'] : ghsas), ...(fixConfig.rangeStyle ? ['--range-style', fixConfig.rangeStyle] : []), ...(minimumReleaseAge ? ['--minimum-release-age', minimumReleaseAge] : []), ...(glob ? ['--glob', glob] : []), ...(!applyFixes ? [constants.FLAG_DRY_RUN] : []), ...(outputFile ? ['--output-file', outputFile] : []), ...fixConfig.unknownFlags], fixConfig.orgSlug, {
3620
3621
  cwd,
3621
3622
  spinner,
3622
3623
  stdio: 'inherit'
@@ -3651,7 +3652,7 @@ async function coanaFix(fixConfig) {
3651
3652
  const shouldSpawnCoana = adjustedLimit > 0;
3652
3653
  let ids;
3653
3654
  if (shouldSpawnCoana && isAll) {
3654
- const foundCResult = await utils.spawnCoanaDlx(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, ...(fixConfig.rangeStyle ? ['--range-style', fixConfig.rangeStyle] : []), ...(glob ? ['--glob', glob] : []), ...fixConfig.unknownFlags], fixConfig.orgSlug, {
3655
+ const foundCResult = await utils.spawnCoanaDlx(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, ...(fixConfig.rangeStyle ? ['--range-style', fixConfig.rangeStyle] : []), ...(minimumReleaseAge ? ['--minimum-release-age', minimumReleaseAge] : []), ...(glob ? ['--glob', glob] : []), ...fixConfig.unknownFlags], fixConfig.orgSlug, {
3655
3656
  cwd,
3656
3657
  spinner
3657
3658
  });
@@ -3693,7 +3694,7 @@ async function coanaFix(fixConfig) {
3693
3694
 
3694
3695
  // Apply fix for single GHSA ID.
3695
3696
  // eslint-disable-next-line no-await-in-loop
3696
- const fixCResult = await utils.spawnCoanaDlx(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, '--apply-fixes-to', ghsaId, ...(fixConfig.rangeStyle ? ['--range-style', fixConfig.rangeStyle] : []), ...(glob ? ['--glob', glob] : []), ...fixConfig.unknownFlags], fixConfig.orgSlug, {
3697
+ const fixCResult = await utils.spawnCoanaDlx(['compute-fixes-and-upgrade-purls', cwd, '--manifests-tar-hash', tarHash, '--apply-fixes-to', ghsaId, ...(fixConfig.rangeStyle ? ['--range-style', fixConfig.rangeStyle] : []), ...(minimumReleaseAge ? ['--minimum-release-age', minimumReleaseAge] : []), ...(glob ? ['--glob', glob] : []), ...fixConfig.unknownFlags], fixConfig.orgSlug, {
3697
3698
  cwd,
3698
3699
  spinner,
3699
3700
  stdio: 'inherit'
@@ -3903,13 +3904,14 @@ async function convertIdsToGhsas(ids) {
3903
3904
  return validGhsas;
3904
3905
  }
3905
3906
  async function handleFix({
3907
+ applyFixes,
3906
3908
  autopilot,
3907
3909
  cwd,
3908
- dontApplyFixes,
3909
3910
  ghsas,
3910
3911
  glob,
3911
3912
  limit,
3912
3913
  minSatisfying,
3914
+ minimumReleaseAge,
3913
3915
  orgSlug,
3914
3916
  outputFile,
3915
3917
  outputKind,
@@ -3926,7 +3928,7 @@ async function handleFix({
3926
3928
  glob,
3927
3929
  limit,
3928
3930
  minSatisfying,
3929
- dontApplyFixes,
3931
+ applyFixes,
3930
3932
  outputFile,
3931
3933
  outputKind,
3932
3934
  prCheck,
@@ -3935,12 +3937,13 @@ async function handleFix({
3935
3937
  });
3936
3938
  await outputFixResult(await coanaFix({
3937
3939
  autopilot,
3938
- dontApplyFixes,
3940
+ applyFixes,
3939
3941
  cwd,
3940
3942
  // Convert mixed CVE/GHSA/PURL inputs to GHSA IDs only
3941
3943
  ghsas: await convertIdsToGhsas(ghsas),
3942
3944
  glob,
3943
3945
  limit,
3946
+ minimumReleaseAge,
3944
3947
  orgSlug,
3945
3948
  rangeStyle,
3946
3949
  spinner,
@@ -3951,7 +3954,7 @@ async function handleFix({
3951
3954
 
3952
3955
  const CMD_NAME$t = 'fix';
3953
3956
  const DEFAULT_LIMIT = 10;
3954
- const description$z = 'Update dependencies with "fixable" Socket alerts';
3957
+ const description$z = 'Fix CVEs in dependencies';
3955
3958
  const hidden$s = false;
3956
3959
  const cmdFix = {
3957
3960
  description: description$z,
@@ -3964,11 +3967,13 @@ const generalFlags$2 = {
3964
3967
  default: false,
3965
3968
  description: `Enable auto-merge for pull requests that Socket opens.\nSee ${vendor.terminalLinkExports('GitHub documentation', 'https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository')} for managing auto-merge for pull requests in your repository.`
3966
3969
  },
3967
- dontApplyFixes: {
3970
+ applyFixes: {
3968
3971
  aliases: ['onlyCompute'],
3969
3972
  type: 'boolean',
3970
- default: false,
3971
- description: 'Compute fixes only, do not apply them. Logs what upgrades would be applied. If combined with --output-file, the output file will contain the upgrades that would be applied.'
3973
+ default: true,
3974
+ description: 'Compute fixes only, do not apply them. Logs what upgrades would be applied. If combined with --output-file, the output file will contain the upgrades that would be applied.',
3975
+ // Hidden to allow custom documenting of the negated `--no-apply-fixes` variant.
3976
+ hidden: true
3972
3977
  },
3973
3978
  id: {
3974
3979
  type: 'string',
@@ -3999,6 +4004,11 @@ Available styles:
3999
4004
  type: 'string',
4000
4005
  default: '',
4001
4006
  description: 'Path to store upgrades as a JSON file at this path.'
4007
+ },
4008
+ minimumReleaseAge: {
4009
+ type: 'string',
4010
+ default: '',
4011
+ description: 'Set a minimum age requirement for suggested upgrade versions (e.g., 1h, 2d, 3w). A higher age requirement reduces the risk of upgrading to malicious versions. For example, setting the value to 1 week (1w) gives ecosystem maintainers one week to remove potentially malicious versions.'
4002
4012
  }
4003
4013
  };
4004
4014
  const hiddenFlags = {
@@ -4076,7 +4086,14 @@ async function run$K(argv, importMeta, {
4076
4086
  ${utils.getFlagApiRequirementsOutput(`${parentName}:${CMD_NAME$t}`)}
4077
4087
 
4078
4088
  Options
4079
- ${utils.getFlagListOutput(config.flags)}
4089
+ ${utils.getFlagListOutput({
4090
+ ...config.flags,
4091
+ // Explicitly document the negated --no-apply-fixes variant.
4092
+ noApplyFixes: {
4093
+ ...config.flags['applyFixes'],
4094
+ hidden: false
4095
+ }
4096
+ })}
4080
4097
 
4081
4098
  Environment Variables (for CI/PR mode)
4082
4099
  CI Set to enable CI mode
@@ -4099,13 +4116,14 @@ async function run$K(argv, importMeta, {
4099
4116
  allowUnknownFlags: false
4100
4117
  });
4101
4118
  const {
4119
+ applyFixes,
4102
4120
  autopilot,
4103
- dontApplyFixes,
4104
4121
  glob,
4105
4122
  json,
4106
4123
  limit,
4107
4124
  markdown,
4108
4125
  maxSatisfying,
4126
+ minimumReleaseAge,
4109
4127
  outputFile,
4110
4128
  prCheck,
4111
4129
  rangeStyle,
@@ -4150,11 +4168,12 @@ async function run$K(argv, importMeta, {
4150
4168
  const ghsas = arrays.arrayUnique([...utils.cmdFlagValueToArray(cli.flags['id']), ...utils.cmdFlagValueToArray(cli.flags['ghsa']), ...utils.cmdFlagValueToArray(cli.flags['purl'])]);
4151
4169
  await handleFix({
4152
4170
  autopilot,
4153
- dontApplyFixes,
4171
+ applyFixes,
4154
4172
  cwd,
4155
4173
  ghsas,
4156
4174
  glob,
4157
4175
  limit,
4176
+ minimumReleaseAge,
4158
4177
  minSatisfying,
4159
4178
  prCheck,
4160
4179
  orgSlug,
@@ -4988,7 +5007,7 @@ const yargsConfig = {
4988
5007
  };
4989
5008
  const config$e = {
4990
5009
  commandName: 'cdxgen',
4991
- description: 'Create an SBOM with CycloneDX generator (cdxgen)',
5010
+ description: 'Run cdxgen for SBOM generation',
4992
5011
  hidden: false,
4993
5012
  // Stub out flags and help.
4994
5013
  // TODO: Convert yargs to meow.
@@ -6336,7 +6355,7 @@ async function run$y(argv, importMeta, {
6336
6355
 
6337
6356
  const require$5 = require$$5.createRequire((typeof document === 'undefined' ? require$$0.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('cli.js', document.baseURI).href)));
6338
6357
  const CMD_NAME$r = constants.NPM;
6339
- const description$w = 'Run npm with the Socket wrapper';
6358
+ const description$w = 'Wraps npm with Socket security scanning';
6340
6359
  const hidden$q = false;
6341
6360
  const cmdNpm = {
6342
6361
  description: description$w,
@@ -6414,7 +6433,7 @@ async function run$x(argv, importMeta, context) {
6414
6433
 
6415
6434
  const require$4 = require$$5.createRequire((typeof document === 'undefined' ? require$$0.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('cli.js', document.baseURI).href)));
6416
6435
  const CMD_NAME$q = constants.NPX;
6417
- const description$v = 'Run npx with the Socket wrapper';
6436
+ const description$v = 'Wraps npx with Socket security scanning';
6418
6437
  const hidden$p = false;
6419
6438
  const cmdNpx = {
6420
6439
  description: description$v,
@@ -7486,12 +7505,12 @@ async function run$u(argv, importMeta, {
7486
7505
  pin: {
7487
7506
  type: 'boolean',
7488
7507
  default: false,
7489
- description: 'Pin overrides to their latest version'
7508
+ description: 'Pin overrides to latest version'
7490
7509
  },
7491
7510
  prod: {
7492
7511
  type: 'boolean',
7493
7512
  default: false,
7494
- description: 'Only add overrides for production dependencies'
7513
+ description: 'Add overrides for production dependencies only'
7495
7514
  }
7496
7515
  },
7497
7516
  help: (command, config) => `
@@ -9527,7 +9546,7 @@ async function run$m(argv, importMeta, {
9527
9546
 
9528
9547
  const require$3 = require$$5.createRequire((typeof document === 'undefined' ? require$$0.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('cli.js', document.baseURI).href)));
9529
9548
  const CMD_NAME$g = constants.PNPM;
9530
- const description$j = 'Run pnpm with the Socket wrapper';
9549
+ const description$j = 'Wraps pnpm with Socket security scanning';
9531
9550
  const hidden$g = true;
9532
9551
  const cmdPnpm = {
9533
9552
  description: description$j,
@@ -14688,7 +14707,7 @@ async function run$1(argv, importMeta, {
14688
14707
 
14689
14708
  const require$1 = require$$5.createRequire((typeof document === 'undefined' ? require$$0.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('cli.js', document.baseURI).href)));
14690
14709
  const CMD_NAME = constants.YARN;
14691
- const description = 'Run yarn with the Socket wrapper';
14710
+ const description = 'Wraps yarn with Socket security scanning';
14692
14711
  const hidden = true;
14693
14712
  const cmdYarn = {
14694
14713
  description,
@@ -14945,5 +14964,5 @@ void (async () => {
14945
14964
  await utils.captureException(e);
14946
14965
  }
14947
14966
  })();
14948
- //# debugId=4aa44248-7031-4a9e-8cad-1c9fbaa730ef
14967
+ //# debugId=a37ba0b8-5e27-487b-ba57-2d9a99bbccae
14949
14968
  //# sourceMappingURL=cli.js.map