This package causes a variety of issues with recent versions of create-react-app and Vite projects due to the need for a polyfill of Node's url module. This PR adds the url npm package as a dependency to make this package work out-of-the-box in the latest version of Webpack and other front-end bundlers.
In the meantime, the npm package isomorphic-parse-github-url is available as a short-term solution.
This package causes a variety of issues with recent versions of create-react-app and Vite projects due to the need for a polyfill of Node's
url
module. This PR adds theurl
npm package as a dependency to make this package work out-of-the-box in the latest version of Webpack and other front-end bundlers.In the meantime, the npm package
isomorphic-parse-github-url
is available as a short-term solution.This change passes all tests and works as expected in a production web application.