---
title: "normalize-url 10.0.0: release notes, upgrades and advisories"
description: "normalize-url 10.0.0: release notes, breaking changes by major version and 1 known advisory with their fix."
url: https://inlinr.com/packages/normalize-url
lang: en
---

[Packages](https://inlinr.com/packages)

# normalize-url

10.0.0 · 14 Oct 2026 MIT 62.8M / week [Repository](https://github.com/sindresorhus/normalize-url) [Homepage](https://github.com/sindresorhus/normalize-url#readme) [npm](https://www.npmjs.com/package/normalize-url) [Atom feed](https://inlinr.com/packages/feed/normalize-url)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/normalize-url/upgrade)

LineNewestSecurity

- 10.x 10.0.0 No known advisory Latest line
- 9.x 9.0.1 No known advisory [To 10.0.0](https://inlinr.com/packages/normalize-url/upgrade/9.0.1-10.0.0)
- 8.x 8.1.1 No known advisory [To 10.0.0](https://inlinr.com/packages/normalize-url/upgrade/8.1.1-10.0.0)
- 7.x 7.2.0 No known advisory [To 10.0.0](https://inlinr.com/packages/normalize-url/upgrade/7.2.0-10.0.0)
- 6.x and older 6.1.0 No open advisory · last release Jun 2021, no longer updated [To 10.0.0](https://inlinr.com/packages/normalize-url/upgrade/6.1.0-10.0.0)

## Latest releases

[All 58 releases](https://inlinr.com/packages/normalize-url/releases)

1. 10.x · latest line
2. ### [10.0.0](https://inlinr.com/packages/normalize-url/releases/10.0.0 "Open this release") [](https://github.com/sindresorhus/normalize-url/releases/tag/v10.0.0 "Read this release where it was published")  
14 Oct 2026

  - Breaking  
  Require Node.js 22 [6c95de2](https://github.com/sindresorhus/normalize-url/commit/6c95de2)
  - Breaking  
  Throw a `TypeError` when the `defaultProtocol` option is not a valid scheme, such as `'https://'` [a8c34ae](https://github.com/sindresorhus/normalize-url/commit/a8c34ae)
  - Breaking  
  The query is now always re-serialized, even with `sortQueryParameters: false` [65f62ef](https://github.com/sindresorhus/normalize-url/commit/65f62ef)
3. 9.x · maintenance
4. ### [9.0.1](https://inlinr.com/packages/normalize-url/releases/9.0.1 "Open this release") [](https://github.com/sindresorhus/normalize-url/releases/tag/v9.0.1 "Read this release where it was published")  
20 May 2026

  - Fix `removeExplicitPort` option not working for `localhost` [ef8df19](https://github.com/sindresorhus/normalize-url/commit/ef8df19)
5. ### [9.0.0](https://inlinr.com/packages/normalize-url/releases/9.0.0 "Open this release") [](https://github.com/sindresorhus/normalize-url/releases/tag/v9.0.0 "Read this release where it was published")  
19 Feb 2026

  - Breaking  
  Require Node.js 20 [c0477f6](https://github.com/sindresorhus/normalize-url/commit/c0477f6)
  - Add [customProtocols](https://github.com/sindresorhus/normalize-url?tab=readme-ov-file#customprotocols "https://github.com/sindresorhus/normalize-url?tab=readme-ov-file#customprotocols") option [0c6c6b9](https://github.com/sindresorhus/normalize-url/commit/0c6c6b9)
  - Add [emptyQueryValue](https://github.com/sindresorhus/normalize-url?tab=readme-ov-file#emptyqueryvalue "https://github.com/sindresorhus/normalize-url?tab=readme-ov-file#emptyqueryvalue") option [2f2536e](https://github.com/sindresorhus/normalize-url/commit/2f2536e)

Dependency tracking

## Know when your own dependencies move

normalize-url shipped 2 new majors in the last 12 months, among 4 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/normalize-url/security)

- [ReDoS in normalize-url](https://inlinr.com/advisories/GHSA-px4h-xg32-q955) High · fixed in 6.0.1, 5.3.1, 4.5.1

## Health

[Details](https://inlinr.com/packages/normalize-url/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
