svelte 5.46.3 → 5.46.4

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.46.3",
5
+ "version": "5.46.4",
6
6
  "type": "module",
7
7
  "types": "./types/index.d.ts",
8
8
  "engines": {
@@ -163,7 +163,7 @@
163
163
  "aria-query": "^5.3.1",
164
164
  "axobject-query": "^4.1.0",
165
165
  "clsx": "^2.1.1",
166
- "devalue": "^5.5.0",
166
+ "devalue": "^5.6.2",
167
167
  "esm-env": "^1.2.1",
168
168
  "esrap": "^2.2.1",
169
169
  "is-reference": "^3.0.3",
@@ -10,6 +10,7 @@ import { BLOCK_CLOSE, BLOCK_OPEN } from './hydration.js';
10
10
  import { attributes } from './index.js';
11
11
  import { get_render_context, with_render_context, init_render_context } from './render-context.js';
12
12
  import { sha256 } from './crypto.js';
13
+ import * as devalue from 'devalue';
13
14
 
14
15
  /** @typedef {'head' | 'body'} RendererType */
15
16
  /** @typedef {{ [key in RendererType]: string }} AccumulatedContent */
@@ -669,7 +670,7 @@ export class Renderer {
669
670
  for (const p of v.promises) await p;
670
671
  }
671
672
 
672
- entries.push(`[${JSON.stringify(k)},${v.serialized}]`);
673
+ entries.push(`[${devalue.uneval(k)},${v.serialized}]`);
673
674
  }
674
675
 
675
676
  let prelude = `const h = (window.__svelte ??= {}).h ??= new Map();`;
package/src/version.js CHANGED
@@ -4,5 +4,5 @@
4
4
  * The current version, as set in package.json.
5
5
  * @type {string}
6
6
  */
7
- export const VERSION = '5.46.3';
7
+ export const VERSION = '5.46.4';
8
8
  export const PUBLIC_VERSION = '5';