Bot releases are hidden (Show)
https://github.com/sindresorhus/normalize-url/compare/v8.0.0...v8.0.1
https
, http
, file
, data
.ftp
protocol is no longer normalized. It's just passed through.user:[email protected]
defaultProtocol
option accept protocol without colon c7fd781
https://github.com/sindresorhus/normalize-url/compare/v7.2.0...v8.0.0
removeExplicitPort
option (#174) 192223bhttps://github.com/sindresorhus/normalize-url/compare/v7.1.0...v7.2.0
keepQueryParameters
option (#173) 6e24307https://github.com/sindresorhus/normalize-url/compare/v7.0.3...v7.1.0
https://github.com/sindresorhus/normalize-url/compare/v7.0.2...v7.0.3
removeDirectoryIndex
option TypeScript type 4d35ea1https://github.com/sindresorhus/normalize-url/compare/v7.0.1...v7.0.2
https://github.com/sindresorhus/normalize-url/compare/v7.0.0...v7.0.1
https://github.com/sindresorhus/normalize-url/compare/v6.1.0...v7.0.0
removeQueryParameters
option (#136) 6216336https://github.com/sindresorhus/normalize-url/compare/v6.0.1...v6.1.0
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.
https://github.com/sindresorhus/normalize-url/compare/v6.0.0...v6.0.1
stripTextFragment
option (#130) 01a4a91https://github.com/sindresorhus/normalize-url/compare/v5.3.0...v6.0.0
view-source:
input (#124) ddf2584https://github.com/sindresorhus/normalize-url/compare/v5.2.1...v5.3.0
removeSingleSlash
option adding slashes (#122) 1e06753https://github.com/sindresorhus/normalize-url/compare/v5.2.0...v5.2.1
removeSingleSlash
option (#120) 18effbehttps://github.com/sindresorhus/normalize-url/compare/v5.1.0...v5.2.0
stripWWW
logic (#117) 0ee9d94https://github.com/sindresorhus/normalize-url/compare/v5.0.0...v5.1.0
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.
import normalizeUrl from 'normalize-url';
to import normalizeUrl = require('normalize-url');
https://github.com/sindresorhus/normalize-url/compare/v4.5.0...v5.0.0
https://github.com/sindresorhus/normalize-url/compare/v4.4.1...v4.5.0
https://github.com/sindresorhus/normalize-url/compare/v4.4.0...v4.4.1
https://github.com/sindresorhus/normalize-url/compare/v4.3.0...v4.4.0
https://github.com/sindresorhus/normalize-url/compare/v4.2.0...v4.3.0