svelte 5.2.2 → 5.2.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.2.2",
5
+ "version": "5.2.3",
6
6
  "type": "module",
7
7
  "types": "./types/index.d.ts",
8
8
  "engines": {
@@ -5,6 +5,7 @@ import { get_rune } from '../../scope.js';
5
5
  import * as e from '../../../errors.js';
6
6
  import { get_parent, unwrap_optional } from '../../../utils/ast.js';
7
7
  import { is_pure, is_safe_identifier } from './shared/utils.js';
8
+ import { mark_subtree_dynamic } from './shared/fragment.js';
8
9
 
9
10
  /**
10
11
  * @param {CallExpression} node
@@ -179,6 +180,7 @@ export function CallExpression(node, context) {
179
180
  context.state.expression.has_call = true;
180
181
  context.state.expression.has_state = true;
181
182
  context.state.expression.can_inline = false;
183
+ mark_subtree_dynamic(context.path);
182
184
  }
183
185
  }
184
186
  }
package/src/version.js CHANGED
@@ -6,5 +6,5 @@
6
6
  * https://svelte.dev/docs/svelte-compiler#svelte-version
7
7
  * @type {string}
8
8
  */
9
- export const VERSION = '5.2.2';
9
+ export const VERSION = '5.2.3';
10
10
  export const PUBLIC_VERSION = '5';