yarn
yarn copied to clipboard
Update dependency normalize-url to v8
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| normalize-url | ^2.0.0 -> ^8.0.0 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
sindresorhus/normalize-url (normalize-url)
v8.0.1
- Fix handling of protocol-less URLs with a port
dec5dc6
v8.0.0
Breaking
- Require Node.js 14
52f2290 - Ignore URLs with custom protocols and just pass them through (#178)
882cb84- By default, these protocols are supported:
https,http,file,data. - If you need support for a custom protocol that behaves like a HTTP URL, see https://github.com/sindresorhus/normalize-url/issues/179.
- By default, these protocols are supported:
ftpprotocol is no longer normalized. It's just passed through.- Human-friendly URLs with basic auth is no longer handled as it conflicts with custom protocols
- Example:
user:[email protected]
- Example:
Improvements
- Make
defaultProtocoloption accept protocol without colonc7fd781- You can still pass in a protocol with colon. However, if you use TypeScript, it enforces it without.
v7.2.0
- Add
removeExplicitPortoption (#174)192223b
v7.1.0
- Add
keepQueryParametersoption (#173)6e24307
v7.0.3
v7.0.2
- Fix the
removeDirectoryIndexoption TypeScript type4d35ea1
v7.0.1
v7.0.0
Breaking
v6.1.0
v6.0.1
- Fix ReDoS vulnerability for data URLs
b1fdb51
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
Breaking
- Add
stripTextFragmentoption (#130)01a4a91It 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.1
v5.3.0
v5.2.1
v5.2.0
- Add
removeSingleSlashoption (#120)18effbe
v5.1.0
- Improve
stripWWWlogic (#117)0ee9d94 - Allow any protocol in the duplicate slashes normalization (#115)
14b79c6
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 change
import normalizeUrl from 'normalize-url';toimport normalizeUrl = require('normalize-url');
Fixes
v4.5.1
v4.5.0
v4.4.1
v4.4.0
v4.3.0
v4.2.0
v4.1.0
- Remove multiple slashes if they are at the start of pathname (#78)
a76edbd - Fix incorrect removal of trailing slash from a hash (#82)
191ad4b
v4.0.0
Breaking:
- Require Node.js 8
ee7e2c5 - Make
stripHashoptionfalseby default211322b - Hard-deprecate some deprecated options
f066795 - Add
stripAuthenticationoption that is enabled by defaultf0f3e81
Other:
- Add opt-in
stripProtocoloption211322b
v3.3.0
v3.2.0
v3.1.0
v3.0.1
v3.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.