can-dom-events
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -26,3 +26,5 @@ var KeyTree = require('can-key-tree'); | ||
var el = cur === document ? document.documentElement : cur; | ||
if (el.matches(selector)) { | ||
var matches = el.matches || el.msMatchesSelector; | ||
if (matches.call(el, selector)) { | ||
handlers.forEach(function(handler){ | ||
@@ -29,0 +31,0 @@ handler.call(el, ev); |
{ | ||
"name": "can-dom-events", | ||
"description": "Listen for native and custom DOM events", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Chris Andrejewski", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
46267
979
0