@ungap/event-target
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 @@ self.EventTarget = (new EventTarget).constructor; |
/*! (c) Andrea Giammarchi - ISC */ | ||
var self = this || /* istanbul ignore next */ {}; | ||
var self = {}; | ||
try { | ||
@@ -4,0 +4,0 @@ self.EventTarget = (new EventTarget).constructor; |
/*! (c) Andrea Giammarchi - ISC */ | ||
var self = this || /* istanbul ignore next */ {}; | ||
var self = this || {}; | ||
try { | ||
@@ -4,0 +4,0 @@ self.EventTarget = (new EventTarget).constructor; |
{ | ||
"name": "@ungap/event-target", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "An EventTarget 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.EventTarget;' >> cjs/index.js", | ||
"esm": "cp index.js esm/ && echo 'export default self.EventTarget;' >> esm/index.js", | ||
"cjs": "cat index.js | sed 's/var self.*/var self = {};/' > cjs/index.js && echo 'module.exports = self.EventTarget;' >> cjs/index.js", | ||
"esm": "cat index.js | sed 's/var self.*/var self = {};/' > esm/index.js && echo 'export default self.EventTarget;' >> esm/index.js", | ||
"min": "uglifyjs index.js --support-ie8 --comments=/^!/ -c -m -o min.js", | ||
@@ -27,4 +27,4 @@ "size": "cat index.js | wc -c && cat min.js | wc -c && gzip -c9 min.js | wc -c && cat min.js | brotli | wc -c", | ||
"coveralls": "^3.1.0", | ||
"nyc": "^15.0.1", | ||
"uglify-js": "^3.9.1" | ||
"nyc": "^15.1.0", | ||
"uglify-js": "^3.9.4" | ||
}, | ||
@@ -31,0 +31,0 @@ "repository": { |
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
10553