svelte 3.46.1 → 3.46.2

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/CHANGELOG.md CHANGED
@@ -1,9 +1,14 @@
1
1
  # Svelte changelog
2
2
 
3
+ ## 3.46.2
4
+
5
+ * Export `FlipParams` interface from `svelte/animate` ([#7103](https://github.com/sveltejs/svelte/issues/7103))
6
+ * Fix `style:` directive reactivity inside `{#each}` block ([#7136](https://github.com/sveltejs/svelte/issues/7136))
7
+
3
8
  ## 3.46.1
4
9
 
5
10
  * Handle `style:kebab-case` directives ([#7122](https://github.com/sveltejs/svelte/issues/7122))
6
- * Improve AST produced for `style:` directives ([#7127](https://github.com/sveltejs/svelte/pull/7127)
11
+ * Improve AST produced for `style:` directives ([#7127](https://github.com/sveltejs/svelte/pull/7127))
7
12
 
8
13
  ## 3.46.0
9
14
 
package/compiler.js CHANGED
@@ -23428,7 +23428,7 @@
23428
23428
  block.add_animation();
23429
23429
  }
23430
23430
  // add directive and handler dependencies
23431
- [node.animation, node.outro, ...node.actions, ...node.classes].forEach(directive => {
23431
+ [node.animation, node.outro, ...node.actions, ...node.classes, ...node.styles].forEach(directive => {
23432
23432
  if (directive && directive.expression) {
23433
23433
  block.add_dependencies(directive.expression.dependencies);
23434
23434
  }
@@ -30677,7 +30677,7 @@
30677
30677
  if (result) {
30678
30678
  const { compile_options, name } = this;
30679
30679
  const { format = 'esm' } = compile_options;
30680
- const banner = `${this.file ? `${this.file} ` : ''}generated by Svelte v${'3.46.1'}`;
30680
+ const banner = `${this.file ? `${this.file} ` : ''}generated by Svelte v${'3.46.2'}`;
30681
30681
  const program = { type: 'Program', body: result.js };
30682
30682
  walk(program, {
30683
30683
  enter: (node, parent, key) => {
@@ -32168,7 +32168,7 @@
32168
32168
  return result.to_processed();
32169
32169
  }
32170
32170
 
32171
- const VERSION = '3.46.1';
32171
+ const VERSION = '3.46.2';
32172
32172
 
32173
32173
  exports.VERSION = VERSION;
32174
32174
  exports.compile = compile;