gyosjs 0.5.5 → 0.5.6
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/README.md +5 -1
- package/dist/gyos.auto.esm.js +11 -5
- package/dist/gyos.auto.esm.js.map +1 -1
- package/dist/gyos.auto.js +11 -5
- package/dist/gyos.auto.js.map +1 -1
- package/dist/gyos.auto.min.js +2 -2
- package/dist/gyos.csp.auto.esm.js +11 -5
- package/dist/gyos.csp.auto.esm.js.map +1 -1
- package/dist/gyos.csp.auto.js +11 -5
- package/dist/gyos.csp.auto.js.map +1 -1
- package/dist/gyos.csp.auto.min.js +2 -2
- package/dist/gyos.csp.esm.js +11 -5
- package/dist/gyos.csp.esm.js.map +1 -1
- package/dist/gyos.csp.js +11 -5
- package/dist/gyos.csp.js.map +1 -1
- package/dist/gyos.csp.min.js +2 -2
- package/dist/gyos.esm.js +11 -5
- package/dist/gyos.esm.js.map +1 -1
- package/dist/gyos.js +11 -5
- package/dist/gyos.js.map +1 -1
- package/dist/gyos.min.js +2 -2
- package/dist/template/bindings.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/gyos.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* GyosJS v0.5.
|
|
2
|
+
* GyosJS v0.5.6
|
|
3
3
|
* (c) 2026
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -2835,7 +2835,8 @@
|
|
|
2835
2835
|
const propertyName = booleanPropertyNames[attrName] || attrName;
|
|
2836
2836
|
if (propertyName in element) {
|
|
2837
2837
|
try {
|
|
2838
|
-
element[propertyName]
|
|
2838
|
+
if (element[propertyName] !== value)
|
|
2839
|
+
element[propertyName] = value;
|
|
2839
2840
|
}
|
|
2840
2841
|
catch {
|
|
2841
2842
|
// Some reflected DOM properties are read-only in older engines.
|
|
@@ -2866,9 +2867,14 @@
|
|
|
2866
2867
|
}
|
|
2867
2868
|
const stringValue = String(value);
|
|
2868
2869
|
if (attrName === 'value' && 'value' in element) {
|
|
2869
|
-
|
|
2870
|
+
// Compare the live control, not a cached expression: user edits and
|
|
2871
|
+
// external DOM changes still need reconciliation on the next update.
|
|
2872
|
+
if (element.value !== stringValue) {
|
|
2873
|
+
element.value = stringValue;
|
|
2874
|
+
}
|
|
2870
2875
|
}
|
|
2871
|
-
element.
|
|
2876
|
+
if (element.getAttribute(attrName) !== stringValue)
|
|
2877
|
+
element.setAttribute(attrName, stringValue);
|
|
2872
2878
|
}
|
|
2873
2879
|
function boundAttributes(element) {
|
|
2874
2880
|
return Array.from(element.attributes).filter(attribute => attribute.name.startsWith(':'));
|
|
@@ -9233,7 +9239,7 @@
|
|
|
9233
9239
|
portalCreate,
|
|
9234
9240
|
portalDestroy,
|
|
9235
9241
|
setCspNonce,
|
|
9236
|
-
version: '0.5.
|
|
9242
|
+
version: '0.5.6'
|
|
9237
9243
|
};
|
|
9238
9244
|
|
|
9239
9245
|
setExpressionRuntime(standardExpressionRuntime);
|