@domql/element 2.5.122 → 2.5.124

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.
@@ -68,6 +68,8 @@ const lookup = function(param) {
68
68
  else
69
69
  return;
70
70
  }
71
+ if (el[param])
72
+ return el[param];
71
73
  while (parent.param !== param) {
72
74
  if (parent[param])
73
75
  return parent[param];
package/methods/index.js CHANGED
@@ -33,6 +33,8 @@ export const lookup = function (param) {
33
33
  else return
34
34
  }
35
35
 
36
+ if (el[param]) return el[param]
37
+
36
38
  while (parent.param !== param) {
37
39
  if (parent[param]) return parent[param]
38
40
  parent = parent.parent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/element",
3
- "version": "2.5.122",
3
+ "version": "2.5.124",
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": "2f048372ece4d808cfaca8e43491611dafe3ad5f",
34
+ "gitHead": "5f3ff2f3def04f339521125dbbfec3d6577ac395",
35
35
  "devDependencies": {
36
36
  "@babel/core": "^7.12.0"
37
37
  }