Skip to content

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