Skip to content

v5.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 31 Jan 17:21

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

  • 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

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

v4.5.0...v5.0.0