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

events-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

events-polyfill - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

16

event-listener-polyfill.js

@@ -14,2 +14,10 @@ (function() {

var testOnEventTypeCallback = function(target, type) {
return (('on' + type) in target);
};
var testTransitionEventTypeCallback = function(target, type) {
return testOnEventTypeCallback(target, type) || (target.style['transition'] !== void 0);
};
var prefixes = ['', 'webkit', 'moz', 'ms', 'o'];

@@ -23,10 +31,2 @@

var testOnEventTypeCallback = function(target, type) {
return (('on' + type) in target);
};
var testTransitionEventTypeCallback = function(target, type) {
return testOnEventTypeCallback(target, type) || (target.style['transition'] !== void 0);
};
[

@@ -33,0 +33,0 @@ 'pointerlockchange', 'pointerlockerror',

{
"name": "events-polyfill",
"version": "1.1.5",
"version": "1.1.6",
"description": "Polyfill event : EventListener, EventTarget, CustomEvent, MouseEvent, KeyboardEvent",

@@ -5,0 +5,0 @@ "main": "event-constructor-polyfill.js",

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