Skip to content

Releases: sindresorhus/normalize-url

v7.0.2

Choose a tag to compare

@sindresorhus sindresorhus released this 10 Sep 06:37
  • Fix the removeDirectoryIndex option TypeScript type 4d35ea1

v7.0.1...v7.0.2

v7.0.1

Choose a tag to compare

@sindresorhus sindresorhus released this 11 Aug 13:37
  • Fix Safari compatibility (#148) d51cb50

v7.0.0...v7.0.1

v7.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 09 Jul 10:31

Breaking

  • Require Node.js 12.20 (#138) 9a44d07
  • This package is now pure ESM. Please read this.

v6.1.0...v7.0.0

v6.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 22 Jun 09:24
  • Accept a boolean for the removeQueryParameters option (#136) 6216336

v6.0.1...v6.1.0

v6.0.1

Choose a tag to compare

@sindresorhus sindresorhus released this 24 May 13:07

Also fixed for v5 in 5.3.1 and for v4 in 4.5.1. Versions below 4.3.0 are not affected by this.

v6.0.0...v6.0.1

v6.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 07 Apr 08:54

Breaking

  • Add stripTextFragment option (#130) 01a4a91
    It should not affect most use-cases, but it is turned on by default and it does change the URL slightly, so it's marked as breaking just to be safe.

v5.3.0...v6.0.0

v5.3.0

Choose a tag to compare

@sindresorhus sindresorhus released this 11 Oct 16:05
  • Throw a friendly error on view-source: input (#124) ddf2584

v5.2.1...v5.3.0

v5.2.1

Choose a tag to compare

@sindresorhus sindresorhus released this 30 Sep 10:49
  • Fix removeSingleSlash option adding slashes (#122) 1e06753

v5.2.0...v5.2.1

v5.2.0

Choose a tag to compare

@sindresorhus sindresorhus released this 28 Sep 19:02

v5.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 02 Aug 11:36
  • Improve stripWWW logic (#117) 0ee9d94
  • Allow any protocol in the duplicate slashes normalization (#115) 14b79c6

v5.0.0...v5.1.0