domql 1.6.59 → 1.6.60
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/element/iterate.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/iife/index.js +1 -1
- package/package.json +2 -2
- package/src/element/iterate.js +2 -1
|
@@ -58,7 +58,7 @@ const throughUpdatedExec = (element, options = { excludes: import_utils2.METHODS
|
|
|
58
58
|
} else {
|
|
59
59
|
(0, import_utils2.overwrite)(prop, newExec, options);
|
|
60
60
|
}
|
|
61
|
-
} else if (
|
|
61
|
+
} else if (newExec !== prop) {
|
|
62
62
|
ref.__cached[param] = changes[param] = prop;
|
|
63
63
|
element[param] = newExec;
|
|
64
64
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -5333,7 +5333,7 @@ var throughUpdatedExec = (element, options = { excludes: METHODS_EXL }) => {
|
|
|
5333
5333
|
} else {
|
|
5334
5334
|
overwrite(prop, newExec, options);
|
|
5335
5335
|
}
|
|
5336
|
-
} else if (
|
|
5336
|
+
} else if (newExec !== prop) {
|
|
5337
5337
|
ref.__cached[param] = changes[param] = prop;
|
|
5338
5338
|
element[param] = newExec;
|
|
5339
5339
|
}
|
package/dist/iife/index.js
CHANGED
|
@@ -5335,7 +5335,7 @@ ${element}` : ""
|
|
|
5335
5335
|
} else {
|
|
5336
5336
|
overwrite(prop, newExec, options);
|
|
5337
5337
|
}
|
|
5338
|
-
} else if (
|
|
5338
|
+
} else if (newExec !== prop) {
|
|
5339
5339
|
ref.__cached[param] = changes[param] = prop;
|
|
5340
5340
|
element[param] = newExec;
|
|
5341
5341
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "domql",
|
|
3
3
|
"description": "DOM rendering Javascript framework at early stage.",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.60",
|
|
5
5
|
"repository": "https://github.com/domql/domql",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"module": "dist/esm/index.js",
|
|
11
11
|
"exports": "./dist/cjs/index.js",
|
|
12
|
-
"main": "
|
|
12
|
+
"main": "dist/esm/index.js",
|
|
13
13
|
"source": "src/index.js",
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|
package/src/element/iterate.js
CHANGED
|
@@ -29,6 +29,7 @@ export const throughUpdatedExec = (element, options = { excludes: METHODS_EXL })
|
|
|
29
29
|
|
|
30
30
|
const newExec = ref.__exec[param](element, element.state, element.context)
|
|
31
31
|
const execReturnsString = isString(newExec) || isNumber(newExec)
|
|
32
|
+
// if (prop && prop.node && execReturnsString) {
|
|
32
33
|
if (prop && prop.node) {
|
|
33
34
|
if (execReturnsString) {
|
|
34
35
|
overwrite(prop, { text: newExec }, options)
|
|
@@ -38,7 +39,7 @@ export const throughUpdatedExec = (element, options = { excludes: METHODS_EXL })
|
|
|
38
39
|
} else {
|
|
39
40
|
overwrite(prop, newExec, options)
|
|
40
41
|
}
|
|
41
|
-
} else if (
|
|
42
|
+
} else if (newExec !== prop) {
|
|
42
43
|
ref.__cached[param] = changes[param] = prop
|
|
43
44
|
element[param] = newExec
|
|
44
45
|
}
|