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

Fix usage instructions in README #113

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

whymarrh
Copy link
Contributor

Refs #79

This change updates the usage instructions in the README to explain the workaround required to use this module. As userland modules do not hide core modules, a trailing slash is required to have Node.js use this module over the built-in.

I copied the warning text from the node/no-deprecated-api docs.

Note: I personally think this is confusing, but since this is the preferred workaround (per this comment) and this module is what the official Node.js docs recommend,[1] it is worth clarifying.

Refs mathiasbynens#79

This change updates the usage instructions in the README to explain
the workaround required to use this module. As userland modules do not
hide core modules, a trailing slash is required to have Node.js use this
module over the built-in.
@mathiasbynens mathiasbynens merged commit 6cd1ddd into mathiasbynens:master Oct 23, 2020
@mathiasbynens
Copy link
Owner

Thanks!

@whymarrh whymarrh deleted the fix-usage branch October 23, 2020 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants