Releases: john-yuan/hyperlink-parser
Releases · john-yuan/hyperlink-parser
v0.0.1-alpha.2
Bugfix
- Treat
setPathName('new/path')
assetPathName('/new/path')
- Treat
setSearch('search')
assetSearch('?search')
- Treat
setHash('hash')
assetHash('#hash')
- Treat
setSearch('?')
assetSearch('')
- Treat
setHash('#')
assetHash('')
- Support parsing the URL like:
https://example.com?search
- Support parsing the URL like:
https://example.com#hash
v0.0.1-alpha.1
Bugfix
- setPathName(pathname): if
pathname
is empty, use/
instead.
v0.0.1-alpha
v0.0.1-alpha