Skip to content

Commit 7763fbd

Browse files
committed
fix(fix): list Yarn classic under --allow-overrides
socket fix writes yarn classic resolutions for --allow-overrides, so the help text now says it works for all Yarn projects.
1 parent 9a9b57b commit 7763fbd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/commands/fix/cmd-fix.integration.test.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ describe('socket fix', async () => {
164164
165165
Options
166166
--all Process all discovered vulnerabilities in local mode. Cannot be used with --id.
167-
--allow-overrides When the only fix for a vulnerability is blocked by a parent package's declared version range, write an override or resolution that forces the fixed version under that parent. This can install a version outside the range the parent declares, so test the parent afterwards. Works for npm, pnpm, Yarn Berry and Rush projects.
167+
--allow-overrides When the only fix for a vulnerability is blocked by a parent package's declared version range, write an override or resolution that forces the fixed version under that parent. This can install a version outside the range the parent declares, so test the parent afterwards. Works for npm, pnpm, Yarn and Rush projects.
168168
--autopilot Enable auto-merge for pull requests that Socket opens.
169169
See 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.
170170
--debug Enable debug logging in the Coana-based Socket Fix CLI invocation.

‎src/commands/fix/cmd-fix.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const generalFlags: MeowFlags = {
6262
type: 'boolean',
6363
default: false,
6464
description:
65-
"When the only fix for a vulnerability is blocked by a parent package's declared version range, write an override or resolution that forces the fixed version under that parent. This can install a version outside the range the parent declares, so test the parent afterwards. Works for npm, pnpm, Yarn Berry and Rush projects.",
65+
"When the only fix for a vulnerability is blocked by a parent package's declared version range, write an override or resolution that forces the fixed version under that parent. This can install a version outside the range the parent declares, so test the parent afterwards. Works for npm, pnpm, Yarn and Rush projects.",
6666
},
6767
autopilot: {
6868
type: 'boolean',

0 commit comments

Comments
 (0)