@domql/element 2.28.34 → 2.28.36
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.
|
@@ -83,7 +83,8 @@ function lookdown(param) {
|
|
|
83
83
|
var _a;
|
|
84
84
|
const el = this;
|
|
85
85
|
const { __ref: ref } = el;
|
|
86
|
-
const children = ref.__children;
|
|
86
|
+
const children = ref == null ? void 0 : ref.__children;
|
|
87
|
+
if (!children) return;
|
|
87
88
|
for (let i = 0; i < children.length; i++) {
|
|
88
89
|
const v = children[i];
|
|
89
90
|
const childElem = el[v];
|
|
@@ -46,7 +46,8 @@ function lookdown(param) {
|
|
|
46
46
|
var _a;
|
|
47
47
|
const el = this;
|
|
48
48
|
const { __ref: ref } = el;
|
|
49
|
-
const children = ref.__children;
|
|
49
|
+
const children = ref == null ? void 0 : ref.__children;
|
|
50
|
+
if (!children) return;
|
|
50
51
|
for (let i = 0; i < children.length; i++) {
|
|
51
52
|
const v = children[i];
|
|
52
53
|
const childElem = el[v];
|
package/methods/index.js
CHANGED
|
@@ -59,7 +59,9 @@ export function lookup (param) {
|
|
|
59
59
|
export function lookdown (param) {
|
|
60
60
|
const el = this
|
|
61
61
|
const { __ref: ref } = el
|
|
62
|
-
const children = ref
|
|
62
|
+
const children = ref?.__children
|
|
63
|
+
|
|
64
|
+
if (!children) return
|
|
63
65
|
|
|
64
66
|
for (let i = 0; i < children.length; i++) {
|
|
65
67
|
const v = children[i]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domql/element",
|
|
3
|
-
"version": "2.28.
|
|
3
|
+
"version": "2.28.36",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "index.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"prepublish": "npx rimraf -I dist && npm run build && npm run copy:package:cjs"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@domql/event": "^2.28.
|
|
31
|
-
"@domql/render": "^2.28.
|
|
32
|
-
"@domql/state": "^2.28.
|
|
33
|
-
"@domql/utils": "^2.28.
|
|
30
|
+
"@domql/event": "^2.28.36",
|
|
31
|
+
"@domql/render": "^2.28.36",
|
|
32
|
+
"@domql/state": "^2.28.36",
|
|
33
|
+
"@domql/utils": "^2.28.36"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "8a98e91990385e522a6287faf922237dcbff0500",
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/core": "^7.26.0"
|
|
38
38
|
}
|