Packages

normalize-url

10.0.0 · 14 Oct 2026MIT62.8M / weekRepositoryHomepagenpmAtom feed

Upgrading normalize-url From 4.5.1 to 5.3.1

6 releases in betweennotes for 5

Reading releases, release notes and advisories…

Other targets from 4.5.1Latest10.0.0
2+
changes to make
0
advisories fixed
2+
new
2+
fixes

Counted from 5 of 6 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking5.0.0
  • Breaking5.0.0

Release by release

  1. 5.3.0 – 5.3.12 releases, nothing new or fixed; 1 without a note

  2. 5.2.1

    30 Sep 20201 fix
    • Fixed

      Fix removeSingleSlash option adding slashes (#122) 1e06753

  3. 5.2.0

    28 Sep 20201 new
  4. 5.1.0

    2 Aug 20201 new
    • New

      Allow any protocol in the duplicate slashes normalization (#115) 14b79c6

  5. 5.0.0

    Migration needed31 Jan 20201 fix
    • Breaking

      Require Node.js 10 (#103) 7b4ad64

    • Breaking

      Only use a CommonJS export for the TypeScript definition You need to change import normalizeUrl from 'normalize-url'; to import normalizeUrl = require('normalize-url');

    • Fixed

      Don't throw if decoding the path fails (#104) 062b426

2 other lines we could not sort, mostly version bumps
  • Throw a friendly error on view-source: input (#124) ddf2584

    5.3.0
  • Improve stripWWW logic (#117) 0ee9d94

    5.1.0

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.