-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: replace mkdirp by make-dir@2 #839
Conversation
@@ -4451,7 +4451,7 @@ mixin-deep@^1.2.0: | |||
for-in "^1.0.2" | |||
is-extendable "^1.0.1" | |||
|
|||
mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3: | |||
mkdirp@^0.5.0, mkdirp@^0.5.1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't this still trigger the deprecation warning anyway?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mkdirp
is now depended only by our devDependencies or peerDependencies.
$ yarn why mkdirp
=> Found "[email protected]"
info Reasons this module exists
- "@babel#cli" depends on it
- Hoisted from "@babel#cli#mkdirp"
- Hoisted from "eslint#mkdirp"
- Hoisted from "webpack#mkdirp"
- Hoisted from "nyc#spawn-wrap#mkdirp"
- Hoisted from "@babel#cli#output-file-sync#mkdirp"
- Hoisted from "ava#unique-temp-dir#mkdirp"
- Hoisted from "webpack#terser-webpack-plugin#cacache#mkdirp"
- Hoisted from "chokidar#fsevents#node-pre-gyp#mkdirp"
- Hoisted from "chokidar#fsevents#node-pre-gyp#tar#mkdirp"
- Hoisted from "webpack#terser-webpack-plugin#cacache#move-concurrently#mkdirp"
- Hoisted from "eslint#file-entry-cache#flat-cache#write#mkdirp"
- Hoisted from "webpack#terser-webpack-plugin#cacache#move-concurrently#copy-concurrently#mkdirp"
Update: @babel/cli
has switched to make-dir
in babel/babel#8622 so this PR is also aligning to what we have done on @babel/cli
.
Not a blocker for this PR, but this shouldn't be a problem since we resolved the security vulnerability in #834 |
@nicolo-ribaudo can this please be released? |
Please Read the CONTRIBUTING Guidelines
In particular the portion on Commit Message Formatting
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
Behavior is unchanged.
What is the new behavior?
Replace
mkdirp
bymake-dir@2
so thatbabel-loader
does not depend onminimist
anymore. (mkdirp
bundled a cli but we are not using it anyway)babel-loader
should not print a frustrating deprecated message frommkdirp
Does this PR introduce a breaking change?
If this PR contains a breaking change, please describe the following...
Fixes Mkdirp < 1 deprecated #833