@ungap/url-search-params
Advanced tools
Comparing version 0.2.0 to 0.2.1
/*! (c) Andrea Giammarchi - ISC */ | ||
var self = this || /* istanbul ignore next */ {}; | ||
var self = {}; | ||
try { | ||
@@ -4,0 +4,0 @@ (function (URLSearchParams, plus) { |
/*! (c) Andrea Giammarchi - ISC */ | ||
var self = this || /* istanbul ignore next */ {}; | ||
var self = {}; | ||
try { | ||
@@ -4,0 +4,0 @@ (function (URLSearchParams, plus) { |
/*! (c) Andrea Giammarchi - ISC */ | ||
var self = this || /* istanbul ignore next */ {}; | ||
var self = this || {}; | ||
try { | ||
@@ -4,0 +4,0 @@ (function (URLSearchParams, plus) { |
{ | ||
"name": "@ungap/url-search-params", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "The URLSearchParams polyfill.", | ||
@@ -10,4 +10,4 @@ "main": "./cjs/index.js", | ||
"build": "npm run cjs && npm run esm && npm run min && npm run test && npm run size", | ||
"cjs": "cp index.js cjs/ && echo 'module.exports = self.URLSearchParams;' >> cjs/index.js", | ||
"esm": "cp index.js esm/ && echo 'export default self.URLSearchParams;' >> esm/index.js", | ||
"cjs": "cat index.js | sed 's/var self = this || {};/var self = {};/' > cjs/index.js && echo 'module.exports = self.URLSearchParams;' >> cjs/index.js", | ||
"esm": "cat index.js | sed 's/var self = this || {};/var self = {};/' > esm/index.js && echo 'export default self.URLSearchParams;' >> esm/index.js", | ||
"min": "uglifyjs index.js --support-ie8 --comments=/^!/ -c -m -o min.js", | ||
@@ -14,0 +14,0 @@ "size": "cat index.js | wc -c && cat min.js | wc -c && gzip -c9 min.js | wc -c && cat min.js | brotli | wc -c", |
40998