After running NPM audit I have identified 5 critical issues. I have tried updating @storybook/addon-essentials
& @storybook/react
in order to resolve 4 of these as they say patched in >=x.x.x
which implies to me they have been resolved in the atleast the latest versions.
I ran npm i @storybook/addon-essentials@latest @storybook/react@latest
and can see package.json (and lock) have latest versions but running an audit again shows the same critical vulnerabilities.
Is there something else I need to update in order to resolve these or have I done something wrong when updating to latest?
There are also some moderate and high vulnerabilities but I have grepped just the critical in order to focus on them for now
I should also add we are using a private registery for our npm installs but it doesn't support audit so having to run npm audit --registry=https://registry.npmjs.org
against NPM registry. Not sure if this will make a difference.