Skip to content

Releases: IonicaBizau/parse-url

9.2.0

03 Apr 05:24
Compare
Choose a tag to compare

9.1.0

03 Apr 05:20
Compare
Choose a tag to compare
  • Add missing types /cc #80 -- thanks @ffflorian! 🍰
  • Allow capital letters in git-url usernames /cc #82, #81 -- thanks @Srokap! 🍎

9.0.0

02 Jan 09:37
Compare
Choose a tag to compare

Update GIT_RE regex to match on SSH urls with spaces in Project/Repo Names -- thanks @monil-patel 🍰

8.2.0

19 Oct 09:08
Compare
Choose a tag to compare

fix git with a % character

8.1.1

29 Oct 19:01
Compare
Choose a tag to compare

8.1.1 -- typescript types improvements

8.1.0

30 Aug 12:53
Compare
Choose a tag to compare

[email protected]

  • fix: cjs to load normalize-url /cc #58
  • fix: Include index.d.ts in package.json /cc #63
  • feat: support custom SSH username /cc #60
  • feat: improve regex pattern /cc #59

Thanks to @privatenumber and @briancoit for their contributions! 🍰

8.0.0

03 Aug 08:37
Compare
Choose a tag to compare

parse-url 8.0.0

Breaking Changes

  • The resource property will not contain the port, but the host one will.
  • Throw an error if the input is invalid. Hence, file paths like /home/path/to/dir will only be valid if the file:// protocol is added (file://home/path/to/dir)
  • Throw an error if the input length exceeds the maximum length (parse.MAX_URL_LENGTH), by default 2048.

Fixes

Other changes

7.0.2

27 Jun 09:42
Compare
Choose a tag to compare

Add the url in the error object, fixes #14

7.0.1

27 Jun 09:33
Compare
Choose a tag to compare

📝 docs

7.0.0

27 Jun 09:30
Compare
Choose a tag to compare

parse-url 7.0.0

⭐ This is a major release of parse-url! ⭐

Breaking changes

  • If the input url has a trailing slash, the trailing slash will be added in the pathname too.
  • The port field is a string. By default empty.
  • Added the password field (default: "")
  • The resource may contain the port in it (e.g. resource: "domain.com:4200").

Features

  • Faster
  • More secure
  • Cleaner codebase