normalize-url
10.0.0 · 14 Oct 2026MIT62.8M / weekRepositoryHomepagenpmAtom feed
Upgrading normalize-url From 8.0.2 to 10.0.0
5 releases in betweenevery note read
Reading releases, release notes and advisories…
- 6
- changes to make
- 0
- advisories fixed
- 9
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- Breaking10.0.0
- Breaking10.0.0
- Breaking10.0.0
- Breaking10.0.0
- Breaking10.0.0
- Breaking9.0.0
Release by release
- Breaking
Require Node.js 22 6c95de2
- Breaking
Throw a
TypeErrorwhen thedefaultProtocoloption is not a valid scheme, such as'https://'a8c34ae - Breaking
The query is now always re-serialized, even with
sortQueryParameters: false65f62ef - Breaking
The
removeDirectoryIndexoption now runs aftertransformPath, so the function also receives the index file 65f62ef
- Breaking
- Fixed
Fix
removeExplicitPortoption not working forlocalhostef8df19
- Fixed
- Breaking
Require Node.js 20 c0477f6
- New
Add
customProtocolsoption 0c6c6b9 - New
Add
emptyQueryValueoption 2f2536e - New
Preserve percent-encoded reserved query characters 5630770
- Breaking
- Fixed
Fix
removeDirectoryIndexoption to handle trailing slashes consistently 320d9b3
- Fixed
- New
Add
removePathandtransformPathoption dfcfc06 - Fixed
Fix path-like query strings losing structure when sorting parameters 92eb703
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.