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/compiler.mjs CHANGED
@@ -23422,7 +23422,7 @@ class ElementWrapper extends Wrapper {
23422
23422
  block.add_animation();
23423
23423
  }
23424
23424
  // add directive and handler dependencies
23425
- [node.animation, node.outro, ...node.actions, ...node.classes].forEach(directive => {
23425
+ [node.animation, node.outro, ...node.actions, ...node.classes, ...node.styles].forEach(directive => {
23426
23426
  if (directive && directive.expression) {
23427
23427
  block.add_dependencies(directive.expression.dependencies);
23428
23428
  }
@@ -30671,7 +30671,7 @@ class Component {
30671
30671
  if (result) {
30672
30672
  const { compile_options, name } = this;
30673
30673
  const { format = 'esm' } = compile_options;
30674
- const banner = `${this.file ? `${this.file} ` : ''}generated by Svelte v${'3.46.1'}`;
30674
+ const banner = `${this.file ? `${this.file} ` : ''}generated by Svelte v${'3.46.2'}`;
30675
30675
  const program = { type: 'Program', body: result.js };
30676
30676
  walk(program, {
30677
30677
  enter: (node, parent, key) => {
@@ -32162,7 +32162,7 @@ async function preprocess(source, preprocessor, options) {
32162
32162
  return result.to_processed();
32163
32163
  }
32164
32164
 
32165
- const VERSION = '3.46.1';
32165
+ const VERSION = '3.46.2';
32166
32166
 
32167
32167
  export { VERSION, compile, parse$3 as parse, preprocess, walk };
32168
32168
  //# sourceMappingURL=compiler.mjs.map