universal-url
Advanced tools
Comparing version 1.0.0 to 1.0.1
"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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4911
11
Updatedwhatwg-url@^6.5.0