svelte 5.53.2 → 5.53.3
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "svelte",
|
|
3
3
|
"description": "Cybernetically enhanced web apps",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "5.53.
|
|
5
|
+
"version": "5.53.3",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./types/index.d.ts",
|
|
8
8
|
"engines": {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"@types/estree": "^1.0.5",
|
|
162
162
|
"@types/trusted-types": "^2.0.7",
|
|
163
163
|
"acorn": "^8.12.1",
|
|
164
|
-
"aria-query": "
|
|
164
|
+
"aria-query": "5.3.1",
|
|
165
165
|
"axobject-query": "^4.1.0",
|
|
166
166
|
"clsx": "^2.1.1",
|
|
167
167
|
"devalue": "^5.6.3",
|
|
@@ -102,7 +102,7 @@ export function await_block(node, get_input, pending_fn, then_fn, catch_fn) {
|
|
|
102
102
|
(e) => {
|
|
103
103
|
resolve(() => {
|
|
104
104
|
internal_set(error, e);
|
|
105
|
-
branches.ensure(
|
|
105
|
+
branches.ensure(CATCH, catch_fn && ((target) => catch_fn(target, error)));
|
|
106
106
|
|
|
107
107
|
if (!catch_fn) {
|
|
108
108
|
// Rethrow the error if no catch block exists
|
|
@@ -45,12 +45,12 @@ export function set_should_intro(value) {
|
|
|
45
45
|
*/
|
|
46
46
|
export function set_text(text, value) {
|
|
47
47
|
// For objects, we apply string coercion (which might make things like $state array references in the template reactive) before diffing
|
|
48
|
-
var str = value == null ? '' : typeof value === 'object' ? value
|
|
48
|
+
var str = value == null ? '' : typeof value === 'object' ? `${value}` : value;
|
|
49
49
|
// @ts-expect-error
|
|
50
50
|
if (str !== (text.__t ??= text.nodeValue)) {
|
|
51
51
|
// @ts-expect-error
|
|
52
52
|
text.__t = str;
|
|
53
|
-
text.nodeValue = str
|
|
53
|
+
text.nodeValue = `${str}`;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
package/src/version.js
CHANGED