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/react@6.4.9
│ └─┬ react-dev-utils@11.0.4
│ └── shell-quote@1.7.2
└─┬ next@10.2.3
└─┬ @next/react-dev-overlay@10.2.3
└── shell-quote@1.7.2 deduped
Does this mean, next@10.2.3 cannot have shell quote of 1.7.2? Can this issue be fixed for now without a nextjs upgrade?