svelte 5.45.4 → 5.45.5

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.45.4",
5
+ "version": "5.45.5",
6
6
  "type": "module",
7
7
  "types": "./types/index.d.ts",
8
8
  "engines": {
@@ -40,6 +40,7 @@ export const EAGER_EFFECT = 1 << 17;
40
40
  export const HEAD_EFFECT = 1 << 18;
41
41
  export const EFFECT_PRESERVED = 1 << 19;
42
42
  export const USER_EFFECT = 1 << 20;
43
+ export const EFFECT_OFFSCREEN = 1 << 25;
43
44
 
44
45
  // Flags exclusive to deriveds
45
46
  /**
@@ -1,5 +1,4 @@
1
- /** @import { TemplateNode } from '#client' */
2
- import { render_effect, teardown } from '../../reactivity/effects.js';
1
+ import { render_effect } from '../../reactivity/effects.js';
3
2
  import { hydrating, set_hydrate_node } from '../hydration.js';
4
3
  import { get_first_child } from '../operations.js';
5
4
 
@@ -10,7 +9,7 @@ import { get_first_child } from '../operations.js';
10
9
  */
11
10
  export function css_props(element, get_styles) {
12
11
  if (hydrating) {
13
- set_hydrate_node(/** @type {TemplateNode} */ (get_first_child(element)));
12
+ set_hydrate_node(get_first_child(element));
14
13
  }
15
14
 
16
15
  render_effect(() => {