Socket
Socket
Sign inDemoInstall

event-target-shim

Package Overview
Dependencies
0
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.2 to 4.0.3

12

dist/event-target-shim.js

@@ -49,3 +49,3 @@ /**

"'this' is expected an Event object, but got",
event,
event
);

@@ -67,3 +67,3 @@ return retv

"Unable to preventDefault inside passive event listener invocation.",
data.passiveListener,
data.passiveListener
);

@@ -410,3 +410,3 @@ }

? defineCallDescriptor(key)
: defineRedirectDescriptor(key),
: defineRedirectDescriptor(key)
);

@@ -533,3 +533,3 @@ }

throw new TypeError(
"'this' is expected an EventTarget object, but got another value.",
"'this' is expected an EventTarget object, but got another value."
)

@@ -617,3 +617,3 @@ }

`on${eventName}`,
defineEventAttributeDescriptor(eventName),
defineEventAttributeDescriptor(eventName)
);

@@ -819,3 +819,3 @@ }

wrappedEvent,
node.passive ? node.listener : null,
node.passive ? node.listener : null
);

@@ -822,0 +822,0 @@ if (typeof node.listener === "function") {

{
"name": "event-target-shim",
"version": "4.0.2",
"version": "4.0.3",
"description": "An implementation of WHATWG EventTarget interface.",

@@ -24,7 +24,7 @@ "main": "dist/event-target-shim",

"test": "run-s test:*",
"test:mocha": "nyc --require ./scripts/babel-register.js mocha test/index.mjs",
"test:mocha": "nyc --require ./scripts/babel-register mocha test/index.mjs",
"test:karma": "karma start scripts/karma.conf.js --single-run",
"test:types": "tsc",
"watch": "run-p watch:*",
"watch:mocha": "mocha test/index.mjs --require ./scripts/babel-register.js --watch --watch-extensions js,mjs --growl",
"watch:mocha": "mocha test/index.mjs --require ./scripts/babel-register --watch --watch-extensions js,mjs --growl",
"watch:karma": "karma start scripts/karma.conf.js --watch",

@@ -35,2 +35,3 @@ "codecov": "codecov"

"@babel/core": "^7.1.6",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/preset-env": "^7.1.6",

@@ -37,0 +38,0 @@ "@babel/register": "^7.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc