Skip to content

Releases: tjenkinson/url-toolkit

v2.2.5

04 Feb 20:48
d02ff13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.4...v2.2.5

v2.2.4

26 Jan 21:04
0fb0831
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.3...v2.2.4

v2.2.3

10 Jul 10:39
Compare
Choose a tag to compare

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

20 May 16:39
Compare
Choose a tag to compare
2.2.2

v2.2.1

20 May 16:39
Compare
Choose a tag to compare
2.2.1

v2.2.0

28 May 19:58
Compare
Choose a tag to compare

Optimize regex to increase performance (#26)

v2.1.6

31 Aug 13:43
Compare
Choose a tag to compare
2.1.6

v2.1.5

29 Aug 20:15
Compare
Choose a tag to compare

; is now allowed in fragments (#13)

Previously http://a.com/expiretime=111;dirmatch=true/master.m3u8 + ./a:b would not be handled correctly.

v2.1.4

26 Jan 22:58
Compare
Choose a tag to compare
  • remove use of this (#12)

v2.1.3

21 Jan 14:10
Compare
Choose a tag to compare
  • Fix error when normalizing and relative url empty (#11)