Socket
Socket
Sign inDemoInstall

whatwg-url

Package Overview
Dependencies
4
Maintainers
6
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.5.0 to 8.6.0

7

dist/url-state-machine.js

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

if (this.stateOverride === "hostname") {
return false;
}
const host = parseHost(this.buffer, isNotSpecial(this.url));

@@ -768,5 +772,2 @@ if (host === failure) {

this.state = "port";
if (this.stateOverride === "hostname") {
return false;
}
} else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||

@@ -773,0 +774,0 @@ (isSpecial(this.url) && c === 92)) {

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

@@ -16,3 +16,3 @@ "main": "index.js",

"lodash": "^4.7.0",
"tr46": "^2.0.2",
"tr46": "^2.1.0",
"webidl-conversions": "^6.1.0"

@@ -23,6 +23,6 @@ },

"domexception": "^2.0.1",
"eslint": "^7.20.0",
"glob": "^7.1.6",
"got": "^11.8.1",
"jest": "^26.6.3",
"eslint": "^7.28.0",
"glob": "^7.1.7",
"got": "^11.8.2",
"jest": "^27.0.4",
"recast": "^0.20.4",

@@ -29,0 +29,0 @@ "webidl2js": "^16.2.0"

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

whatwg-url is currently up to date with the URL spec up to commit [0915d88](https://github.com/whatwg/url/commit/0915d886bbf409331857f56e6d2bfd0cb5e01de7).
whatwg-url is currently up to date with the URL spec up to commit [6d4669a](https://github.com/whatwg/url/commit/6d4669a9a8cc90582bdb1e3cdb758e45242812b0).

@@ -10,0 +10,0 @@ For `file:` URLs, whose [origin is left unspecified](https://url.spec.whatwg.org/#concept-url-origin), whatwg-url chooses to use a new opaque origin (which serializes to `"null"`).

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