| CARVIEW |
Select Language
HTTP/2 200
date: Sun, 18 Jan 2026 00:28:13 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"ade8311f5a24bbc82f94cabe87beed19"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=OnW2OWs6PcIxTajmTTai22yAPCfyj9MJWUyT%2FByYhLJP0e9%2BrE6Ko7vHGYyxkDba914hhhGKU%2BdaPELnEnHyI4ZP%2FVTkjBt8Jgi%2Fd1V5McpWyjEdlej0cnUA%2BTuse1CaHqOmBK5NLMgz%2B5RC3rzHHza129paNICOAfKZCJRNZ4GI5nSbfUcVeHUJatSLVh8Re0cauLK%2F3t%2B%2FZ%2BbTllA3luRrm8hi0BEcc82iQMNcKmVmYMz7RSwCo7u%2FfbxsObUfQIdBuQzuCcux8xkDbyIAMw%3D%3D--pe6emOCs4HsSCS2U--fm9L%2FIUA284ggDMz2IcweA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1006433036.1768696093; Path=/; Domain=github.com; Expires=Mon, 18 Jan 2027 00:28:13 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 18 Jan 2027 00:28:13 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8882:62CF0:19C18DA:1E76548:696C291D
Releases · slevithan/parseuri · GitHub
Loading
Loading
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Releases: slevithan/parseuri
Releases · slevithan/parseuri
v3.0.1
First official version published on npm. Thanks to @galkn for the parseuri package name, which previously provided a fork of v1.2.2 of this library.
Improvements
- Documentation updates.
Assets 2
v3.0.0
This is a minor update, but includes a breaking change for a minor feature.
Breaking Changes
- Renamed
setSldassetTlds, and removed the extremely limited, built-in list of top-level domains (TLDs) that was included for illustrative purposes.
New Features
- Can remove TLD extensions by calling
setTldswith an empty object. - Can provide multi-level extentions for TLDs.
Improvements
- Added JSDoc TypeScript definitions.
- Improved the demo page with additional options, etc.
Assets 2
v2.0.0
This is a major, breaking change that comes 17 years after v1.2.2. It updates parseUri’s API, adds new features, includes bug/security fixes, adds tests, uses modern JavaScript, becomes a truly universal URI parser, and remains tiny.
Breaking Changes
- Renamed many URI part properties to better mach the built-in
URLobject and other URI libraries:source➜href,userInfo➜userinfo,host➜hostname,relative➜resource,path➜pathname,file➜filename,anchor➜fragment,queryKey➜queryParams. - Updated
queryParamsto be returned as aURLSearchParamsobject, with support for multiple query keys with the same name. - Now uses what used to be called strict parsing mode by default.
- The parsing mode is now specified via an argument (options:
'default','friendly'). - Friendly parsing mode (formerly called loose mode) is now consistent with default mode in considering
'/entry'to include{filename: 'entry'}rather than treating'entry'as part ofdirectory. - Removed
parseUri.optionsproperties, including the ability to rename URI keys or provide a non-standard query parser.
New Features
- Added six new URI parts to result objects:
origin,host,subdomain,domain,tld,suffix.tldincludes extensible support for second-level domains that should be treated as part of the top-level domain (ex:co.uk).
- Added support for IPv6 addresses.
Improvements
- Improved handling for web protocol (
http,https,ws,wss,ftp) and protocol-relative URLs, for parsing accuracy and security. - Improved handling for URNs.
- Added an extensive test suite.
- Added a demo page for testing and comparison with v1, the built-in
URLconstructor, and other libraries.
Bug Fixes
- Fixed an issue where
@in the resource led to incorrect parsing. - Fixed an ReDoS vulnerability with extremely long URIs that use
@in the resource. - Fixed numerous additional edge cases with atypical/invalid URIs.
Assets 2
You can’t perform that action at this time.