Socket
Socket
Sign inDemoInstall

whatwg-url

Package Overview
Dependencies
2
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.4.0 to 4.5.0

4

lib/URL-impl.js

@@ -187,6 +187,2 @@ "use strict";

set hash(v) {
if (this._url.scheme === "javascript") {
return;
}
if (v === "") {

@@ -193,0 +189,0 @@ this._url.fragment = null;

5

lib/url-state-machine.js

@@ -129,3 +129,4 @@ "use strict";

const extraUserinfoPercentEncodeSet = new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]);
const extraUserinfoPercentEncodeSet =
new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]);
function isUserinfoPercentEncode(c) {

@@ -399,3 +400,3 @@ return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);

const domain = utf8PercentDecode(input);
const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.TRANSITIONAL, false);
const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false);
if (asciiDomain === null) {

@@ -402,0 +403,0 @@ return failure;

{
"name": "whatwg-url",
"version": "4.4.0",
"version": "4.5.0",
"description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery",

@@ -5,0 +5,0 @@ "main": "lib/public-api.js",

@@ -7,3 +7,3 @@ # whatwg-url

whatwg-url is currently up to date with the URL spec up to commit [9b2eb1](https://github.com/whatwg/url/commit/9b2eb10eb8436adaf6620b1864b25442152f205b).
whatwg-url is currently up to date with the URL spec up to commit [4bf85a](https://github.com/whatwg/url/commit/4bf85a08da18ef367e093426abef776d59e8fb7b).

@@ -10,0 +10,0 @@ ## API

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc