Socket
Socket
Sign inDemoInstall

whatwg-url

Package Overview
Dependencies
3
Maintainers
6
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.1.0 to 10.0.0

lib/encoding.js

6

index.js
"use strict";
const { URL, URLSearchParams } = require("./webidl2js-wrapper");
const urlStateMachine = require("./dist/url-state-machine");
const percentEncoding = require("./dist/percent-encoding");
const urlStateMachine = require("./lib/url-state-machine");
const percentEncoding = require("./lib/percent-encoding");
const sharedGlobalObject = {};
const sharedGlobalObject = { Array, Object, Promise, String, TypeError };
URL.install(sharedGlobalObject, ["Window"]);

@@ -9,0 +9,0 @@ URLSearchParams.install(sharedGlobalObject, ["Window"]);

The MIT License (MIT)
Copyright (c) 2015–2016 Sebastian Mayr
Copyright (c) Sebastian Mayr

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

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

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

"webidl2js-wrapper.js",
"dist/"
"lib/*.js"
],

@@ -16,15 +16,14 @@ "author": "Sebastian Mayr <github@smayr.name>",

"dependencies": {
"tr46": "^2.1.0",
"webidl-conversions": "^6.1.0"
"tr46": "^3.0.0",
"webidl-conversions": "^7.0.0"
},
"devDependencies": {
"@domenic/eslint-config": "^1.2.0",
"@domenic/eslint-config": "^1.4.0",
"benchmark": "^2.1.4",
"browserify": "^17.0.0",
"domexception": "^2.0.1",
"eslint": "^7.29.0",
"glob": "^7.1.7",
"domexception": "^4.0.0",
"eslint": "^7.32.0",
"got": "^11.8.2",
"jest": "^27.0.5",
"recast": "^0.20.4",
"webidl2js": "^16.2.0"
"jest": "^27.2.4",
"webidl2js": "^17.0.0"
},

@@ -31,0 +30,0 @@ "engines": {

"use strict";
const URL = require("./dist/URL");
const URLSearchParams = require("./dist/URLSearchParams");
const URL = require("./lib/URL");
const URLSearchParams = require("./lib/URLSearchParams");
exports.URL = URL;
exports.URLSearchParams = URLSearchParams;
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