Resolving NPM Vulnerabilities
See original GitHub issueHello again! π π
I am currently working on an upgrade from Storybook v5.3 to the newest v6.1.x. It seems that the v5 packages incurred some vulnerabilities all at once and upgrading eliminated most of them. However, there are a couple remaining from your package, specifically.
I notice that you are referencing storybook v5 modules in your package.json
. I donβt see an upgrade tag or a βnextβ branch so I am going to assume nothing like that exists. Do you have plans to do some βspring cleaningβ and get a branch up thatβs storybook v6-specific? I think it would help eliminate the remaining vulnerabilities for which NPM is blaming your library (at the very least, it should help future development go more smoothly). Maybe time for design-token v1? π
Here are the two vulnerabilities (which require manual review) after upgrading sb packages to v6.1.21 and design token to 0.8.1:
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Low β Prototype Pollution β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Package β minimist β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Patched in β >=0.2.1 <1.0.0 || >=1.2.3 β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dependency of β storybook-design-token [dev] β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Path β storybook-design-token > gonzales-pe > minimist β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β More info β https://npmjs.com/advisories/1179 β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Moderate β Regular Expression Denial of Service β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Package β prismjs β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Patched in β >=1.23.0 β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dependency of β storybook-design-token [dev] β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Path β storybook-design-token > @storybook/components > β
β β react-syntax-highlighter > refractor > prismjs β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β More info β https://npmjs.com/advisories/1638 β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Hey, decent timing. Iβm almost done with the v1 rewrite and will push it soonish.
Thanks for the feedback.
A global reset button sounds nice.
Not really happy with it either. Really not sure how to solve this. The old way of showing all tokens on one screen had its problems, too.
I havenβt tested it myself. But you should be able to use it with CSF as well. See: https://storybook.js.org/docs/react/writing-docs/docs-page#remixing-docspage-using-doc-blocks
Definitely. Still trying to figure out the best way to configure and import external components as presenters.