Releases: sindresorhus/normalize-url
Releases · sindresorhus/normalize-url
v6.0.0
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
v5.2.1
v5.2.0
- Add
removeSingleSlash
option (#120) 18effbe
v5.1.0
v5.0.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.
Breaking
Breaking for TypeScript users
- Only use a CommonJS export for the TypeScript definition
You need to changeimport normalizeUrl from 'normalize-url';
toimport normalizeUrl = require('normalize-url');