Socket
Socket
Sign inDemoInstall

whatwg-url

Package Overview
Dependencies
2
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

1

lib/URL-impl.js

@@ -177,2 +177,3 @@ "use strict";

url.query = null;
return;
}

@@ -179,0 +180,0 @@

4

lib/url-state-machine.js

@@ -714,3 +714,3 @@ "use strict";

URLStateMachine.prototype["parse host name"] =
URLStateMachine.prototype["parse hostname"] =
URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) {

@@ -730,3 +730,3 @@ if (c === 58 && !this.arrFlag) {

this.state = "port";
if (this.stateOverride === "host name") {
if (this.stateOverride === "hostname") {
return false;

@@ -733,0 +733,0 @@ }

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

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

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