Releases: tjenkinson/url-toolkit
Releases · tjenkinson/url-toolkit
v2.2.5
What's Changed
- Add eslint-plugin-redos-detector plugin by @tjenkinson in #102
Full Changelog: v2.2.4...v2.2.5
v2.2.4
What's Changed
- Update regex to prevent redos vulnerability using https://github.com/tjenkinson/redos-detector
Full Changelog: v2.2.3...v2.2.4
v2.2.3
This release contains no functional changes.
- Add security disclosure policy
- document differences to JS
URL()
(thanks @JamieSlome for flagging this)
Differences to JS URL()
The JS URL() function also lets you calculate a new URL from a base and relative one.
That uses the URL Living Standard which is slightly different to RFC 1808 that this library implements.
One of the key differences is that the URL Living Standard has the concept of a 'special url' and 'special scheme'. For these special URL's, such as a URL with the http
scheme, they normalise them in a way that results in http:///example.com/something
becoming http://example.com/something
. This library does not do that and parseURL()
would give you //
as the netLoc
and /example.com
as the path.
v2.2.2
2.2.2
v2.2.1
2.2.1
v2.2.0
v2.1.6
2.1.6