From 7763fbd64dc8846dc5efc74ccbf1c9733b3e79c7 Mon Sep 17 00:00:00 2001 From: Martin Torp Date: Tue, 20 Oct 2026 17:01:01 +0200 Subject: [PATCH] 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. --- src/commands/fix/cmd-fix.integration.test.mts | 2 +- src/commands/fix/cmd-fix.mts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/fix/cmd-fix.integration.test.mts b/src/commands/fix/cmd-fix.integration.test.mts index 03c64713c..4293805de 100644 --- a/src/commands/fix/cmd-fix.integration.test.mts +++ b/src/commands/fix/cmd-fix.integration.test.mts @@ -164,7 +164,7 @@ describe('socket fix', async () => { Options --all Process all discovered vulnerabilities in local mode. Cannot be used with --id. - --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. + --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. --autopilot Enable auto-merge for pull requests that Socket opens. 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. --debug Enable debug logging in the Coana-based Socket Fix CLI invocation. diff --git a/src/commands/fix/cmd-fix.mts b/src/commands/fix/cmd-fix.mts index 8dea9da2f..2bfd99e36 100644 --- a/src/commands/fix/cmd-fix.mts +++ b/src/commands/fix/cmd-fix.mts @@ -62,7 +62,7 @@ const generalFlags: MeowFlags = { type: 'boolean', default: false, description: - "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.", + "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.", }, autopilot: { type: 'boolean',