Packages

normalize-url

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

Your version

5.0.0

major31 Jan 2020Where it was published

5.3.1 is the newest release of 5.x.

In short

2 breaking1 fixed

  • 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');

Security

1 advisory affects 5.0.0; 5.3.1 fixes them

Release note

Note that if you're using normalize-url in the browser, you should probably stay on v4 as this version uses newer syntax not available in all browsers.

Breaking

Breaking for TypeScript users

  • 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');

Fixes

v4.5.0...v5.0.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.