Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

universal-url

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-url - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

browser.js
"use strict";
const output = {};
let g,hasNative;
let g, hasNative;

@@ -9,15 +9,15 @@

{
g = window;
g = window;
}
else if (typeof global !== "undefined")
{
g = global;
g = global;
}
else if (typeof self !== "undefined")
{
g = self;
g = self;
}
else
{
g = this;
g = this;
}

@@ -24,0 +24,0 @@

{
"name": "universal-url",
"description": "WHATWG URL for Node & Browser.",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -11,13 +11,16 @@ "author": "Steven Vachon <contact@svachon.com> (https://www.svachon.com/)",

"hasurl": "^1.0.0",
"whatwg-url": "^6.0.1"
"whatwg-url": "^6.5.0"
},
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"babelify": "^7.3.0",
"browserify": "^14.4.0",
"chai": "^4.0.2",
"mocha": "^3.4.2",
"nightmare": "^2.10.0",
"rimraf": "^2.6.1",
"xvfb-maybe": "~0.2.1"
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"babelify": "^8.0.0",
"browserify": "^16.2.2",
"chai": "^4.1.2",
"common-shakeify": "~0.5.0",
"gzip-size-cli": "^3.0.0",
"mocha": "^5.2.0",
"puppeteer": "^1.6.1",
"rimraf": "^2.6.2",
"uglify-es": "^3.3.9"
},

@@ -28,5 +31,5 @@ "engines": {

"scripts": {
"posttest": "rimraf browser-built.js",
"pretest": "browserify browser.js --global-transform [ babelify --presets [ es2015 ] ] --standalone=UniversalURL --outfile=browser-built.js",
"test": "xvfb-maybe mocha test --check-leaks --globals=URL,URLSearchParams --bail"
"posttest": "uglifyjs browser-built.js --compress --mangle --output=browser-built.js && gzip-size browser-built.js && rimraf browser-built.js",
"pretest": "browserify browser.js --global-transform [ babelify --presets [ env ] ] --plugin=common-shakeify --standalone=UniversalURL --outfile=browser-built.js",
"test": "mocha test --check-leaks --globals=URL,URLSearchParams --bail"
},

@@ -33,0 +36,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc