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

@ungap/event-target

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ungap/event-target - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

cjs/index.js
/*! (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": {

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