Closed damianobarbati closed 6 years ago
mkdirp 0.5.1 fixes this issue, so bumping the dependency should be enough see https://github.com/substack/node-mkdirp/commit/48e67fce39f1a5f2aba6196301b7be6d4545d6cf
for any projects needing this fix, if you use yarn there is a workaround, you could use the resolutions
field to have the 0.5.1 version as the only one installed. Manually add this to your package.json:
"resolutions": {
"mkdirp": "^0.5.1"
}
About this yarn feature: https://yarnpkg.com/lang/en/docs/selective-version-resolutions/
or if you want to get a surgically specific override you could do something like this:
"resolutions": {
"@storybook/addon-storyshots/puppeteer/extract-zip/mkdirp": "^0.5.1"
}
To have only the mkdirp
used by extract-zip
used by puppeteer
used by @storybook/addon-storyshots
modified :)
My node runs by default in strict_mode, how to overcome this bug?