Closed MichaelDeBoey closed 3 years ago
Remove const URL = require('url'); line, because url.parse is deprecated and URL is globally available since Node 10.
const URL = require('url');
url.parse
URL
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
engines
package.json
memoize-one
Remove
const URL = require('url');
line, becauseurl.parse
is deprecated andURL
is globally available since Node 10.I also added the
engines
key to thepackage.json
to make it clear that this project needs to be run on Node 10 asmemoize-one
needs it https://github.com/alexreardon/memoize-one/blob/c7994d25b614531c7ccfd30cc34d49385e3fa678/package.json#L90