@domql/element 2.5.99 → 2.5.100

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.
@@ -89,7 +89,7 @@ const lookdown = function(param) {
89
89
  return childElem;
90
90
  }
91
91
  }
92
- const lookdown2 = childElem.lookdown(param);
92
+ const lookdown2 = childElem == null ? void 0 : childElem.lookdown(param);
93
93
  if (lookdown2)
94
94
  return lookdown2;
95
95
  }
package/methods/index.js CHANGED
@@ -58,7 +58,7 @@ export const lookdown = function (param) {
58
58
  return childElem
59
59
  }
60
60
  }
61
- const lookdown = childElem.lookdown(param)
61
+ const lookdown = childElem?.lookdown(param)
62
62
  if (lookdown) return lookdown
63
63
  }
64
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/element",
3
- "version": "2.5.99",
3
+ "version": "2.5.100",
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": "831c32c658ca5d64665f59f10520ce2a3408d76f",
34
+ "gitHead": "38b74a597edc2f9454a81b892505282a944fd5b9",
35
35
  "devDependencies": {
36
36
  "@babel/core": "^7.12.0"
37
37
  }