@domql/element 2.5.40 → 2.5.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/node.js CHANGED
@@ -64,7 +64,7 @@ const createNode = (element, options) => {
64
64
  (0, import_iterate.throughInitialExec)(element);
65
65
  if (element.tag !== "string" && element.tag !== "fragment") {
66
66
  if (isNewNode && (0, import_utils.isObject)(element.on))
67
- (0, import_event.applyEventsOnNode)(element);
67
+ (0, import_event.applyEventsOnNode)(element, options);
68
68
  }
69
69
  for (const param in element) {
70
70
  const value = element[param];
package/node.js CHANGED
@@ -52,7 +52,7 @@ export const createNode = (element, options) => {
52
52
 
53
53
  if (element.tag !== 'string' && element.tag !== 'fragment') {
54
54
  // apply events
55
- if (isNewNode && isObject(element.on)) applyEventsOnNode(element)
55
+ if (isNewNode && isObject(element.on)) applyEventsOnNode(element, options)
56
56
  }
57
57
 
58
58
  for (const param in element) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/element",
3
- "version": "2.5.40",
3
+ "version": "2.5.41",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -31,7 +31,7 @@
31
31
  "@domql/state": "latest",
32
32
  "@domql/utils": "latest"
33
33
  },
34
- "gitHead": "536a661204a0377cb6dbb415eba1081ac156048d",
34
+ "gitHead": "b3af9473e4f66f480e7e06fef09e191c2a140f7a",
35
35
  "devDependencies": {
36
36
  "@babel/core": "^7.12.0"
37
37
  }