sindresorhus / normalize-url

Normalize a URL
MIT License
840 stars 122 forks source link

Please tag version 4.5.1 on Github #156

Closed mohe2015 closed 2 years ago

mohe2015 commented 3 years ago

npm contains version https://www.npmjs.com/package/normalize-url/v/4.5.1 but this version is not tagged on Github.

Would be great if you could tag it.

raphaelbs commented 2 years ago

Yes! I'm trying to compare the versions to double-check the changes and I couldn't find it.

sindresorhus commented 2 years ago

I forgot to tag it and I no longer have the branches, but this was the only change:

-const parts = urlString.match(/^data:(.*?),(.*?)(?:#(.*))?$/);
+const parts = urlString.match(/^data:([^,]*?),([^#]*?)(?:#(.*))?$/);