Skip to content
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

Remove deprecated mkdirp dependency #204

Merged
merged 1 commit into from
Jul 26, 2020

Conversation

jrjohnson
Copy link
Contributor

The 0.5 version is deprecated. As this was only used in tests and isn't needed in recent node 10.x
releases I replaced it's use in the test and removed the package.

The 0.5 version is deprecated. As this was only used in tests and isn't needed in recent node 10.x
releases I replaced it's use in the test and removed the package.
@@ -41,7 +40,7 @@ describe('Filter', function() {
function write(relativePath, contents, _encoding) {
let encoding = _encoding === undefined ? 'utf8' : _encoding;

mkdirp.sync(path.dirname(relativePath));
fs.mkdirSync(path.dirname(relativePath), { recursive: true });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI - I actually don't think this is allowed in our current engines range. We specify support for 10.0.0 (via 10.* in engines), but this API was not added until 10.12.0.

Since this is only used in tests, I think it doesn't really matter too much.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I thought, 10.12 came out almost 2 years ago so hopefully something only used in tests wouldn't need to work that far back.

@rwjblue
Copy link
Member

rwjblue commented Jul 26, 2020

Thanks!

@rwjblue rwjblue merged commit 6a7d00f into broccolijs:master Jul 26, 2020
@rwjblue rwjblue added the bug label Jul 26, 2020
@jrjohnson jrjohnson deleted the update-mkdirp branch July 26, 2020 21:16
@rwjblue rwjblue changed the title Remove mkdirp Remove deprecated mkdirp dependency Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants