Skip to content

chore: use global URL instead of import #291

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

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

MichaelDeBoey
Copy link
Member

Remove const URL = require('url'); line, because url.parse is deprecated and URL is globally available since Node 10.

I also added the engines key to the package.json to make it clear that this project needs to be run on Node 10 as memoize-one needs it
https://github.com/alexreardon/memoize-one/blob/c7994d25b614531c7ccfd30cc34d49385e3fa678/package.json#L90

@smeijer smeijer changed the title chore: Use global URL instead of import chore: use global URL instead of import Oct 31, 2020
@smeijer smeijer merged commit 0dd614c into testing-library:develop Oct 31, 2020
@MichaelDeBoey MichaelDeBoey deleted the use-global-url branch October 31, 2020 15:37
smeijer added a commit that referenced this pull request Oct 31, 2020
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