@domql/event
Advanced tools
Comparing version 2.5.35 to 2.5.41
@@ -47,3 +47,3 @@ "use strict"; | ||
}; | ||
const applyEventsOnNode = (element) => { | ||
const applyEventsOnNode = (element, options) => { | ||
const { node, on } = element; | ||
@@ -57,3 +57,3 @@ for (const param in on) { | ||
const { state, context } = element; | ||
appliedFunction(event, element, state, context); | ||
appliedFunction(event, element, state, context, options); | ||
}); | ||
@@ -60,0 +60,0 @@ } |
@@ -27,3 +27,3 @@ 'use strict' | ||
export const applyEventsOnNode = element => { | ||
export const applyEventsOnNode = (element, options) => { | ||
const { node, on } = element | ||
@@ -49,3 +49,3 @@ for (const param in on) { | ||
const { state, context } = element | ||
appliedFunction(event, element, state, context) | ||
appliedFunction(event, element, state, context, options) | ||
}) | ||
@@ -52,0 +52,0 @@ } |
{ | ||
"name": "@domql/event", | ||
"version": "2.5.35", | ||
"version": "2.5.41", | ||
"license": "MIT", | ||
@@ -35,3 +35,3 @@ "type": "module", | ||
}, | ||
"gitHead": "8d7684fd84f5c48fb5cf71e76a05eda071c118f7" | ||
"gitHead": "b3af9473e4f66f480e7e06fef09e191c2a140f7a" | ||
} |
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
13473