I have a nextjs app which has "next": "^10.2.0". It in turn has shell-quote as a transitive dependency and the version installed in 1.7.2 which has some critical security vulnerabilities. I have to fix this for now, and shell-quote version 1.7.3 does not have these vulnerabilities. So I added this
"preinstall": "npx npm-force-resolutions"
and
"resolutions": {
"shell-quote": ">=1.7.3"
}
in package.json.
But it still gives me the error and when I check npm ls shell-quote, I see that
├─┬ @storybook/[email protected]
│ └─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
└─┬ @next/[email protected]
└── [email protected] deduped
Does this mean, [email protected] cannot have shell quote of 1.7.2? Can this issue be fixed for now without a nextjs upgrade?