Releases: IonicaBizau/parse-url
Releases · IonicaBizau/parse-url
9.2.0
9.1.0
9.0.0
Update GIT_RE regex to match on SSH urls with spaces in Project/Repo Names -- thanks @monil-patel 🍰
8.2.0
fix git with a % character
8.1.1
8.1.1 -- typescript types improvements
8.1.0
[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
parse-url 8.0.0
Breaking Changes
- The
resource
property will not contain the port, but thehost
one will. - Throw an error if the input is invalid. Hence, file paths like
/home/path/to/dir
will only be valid if thefile://
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
- fix file protocol spoofing #48, thanks @vovikhangcdv!
- fix: support hyphens in git@ URLs (#50) #51, thanks @crenshaw-dev!
- fix: support dot in git@ URLS #52, thanks @GalHalupSeaLights!
Other changes
- build: add CommonJS distribution thanks to @privatenumber! /cc #54 🍰
7.0.2
7.0.1
📝 docs
7.0.0
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