Skip to content

Bump svelte from 3.55.1 to 3.57.0

Dependabot requested to merge dependabot-npm_and_yarn-svelte-3.57.0 into main

Bumps svelte from 3.55.1 to 3.57.0.

Changelog

Sourced from svelte's changelog.

3.57.0

  • Add <svelte:document> (#3310)
  • Add a11y no-noninteractive-element-to-interactive-role (#8167)
  • Stop intro transition from triggering incorrectly (#6152, #6812)
  • Support computed and literal properties when destructuring objects in the template (#6609)
  • Give style: directive precedence over style= attribute (#7475)
  • Select <option> with selected attribute when initial state is undefined (#8361)
  • Prevent derived store callbacks after store is unsubscribed from (#8364)
  • Account for bind:group members being spread across multiple control flow blocks (#8372)
  • Revert buggy reactive statement optimization (#8374)

3.56.0

  • Add |stopImmediatePropagation event modifier (#5085)
  • Add axis parameter to slide transition (#6182)
  • Add readonly utility to convert writable store to readonly (#6518)
  • Add readyState binding for media elements (#6666)
  • Generate valid automatic component names when the filename contains only special characters (#7143)
  • Add naturalWidth and naturalHeight bindings (#7771)
  • Support <!-- svelte-ignore ... --> on components (#8082)
  • Add a11y warnings:
    • aria-activedescendant-has-tabindex: checks that elements with aria-activedescendant have a tabindex (#8172)
    • role-supports-aria-props: checks that the (implicit) element role supports the given aria attributes (#8195)
  • Add data-sveltekit-replacestate and data-sveltekit-keepfocus attribute typings (#8281)
  • Compute node dimensions immediately before crossfading (#4111)
  • Fix potential infinite invalidate loop with <svelte:component> (#4129)
  • Ensure bind:offsetHeight updates initially (#4233)
  • Don't set selected options if value is unbound or not passed (#5644)
  • Validate component :global() selectors (#6272)
  • Improve warnings:
    • Make noreferrer warning less zealous (#6289)
    • Omit a11y warnings on <video aria-hidden="true"> (#7874)
    • Omit a11y warnings on <svelte:element> (#7939)
    • Detect unused empty attribute CSS selectors (#8042)
    • Omit "no child content" warning on elements with aria-label (#8296)
  • Check value equality for <input type="search"> and <input type="url"> (#7027)
  • Do not select a disabled <option> by default when the initial bound value is undefined (#7041)
  • Handle {@html} tags inside \<template> tags (#7364)
  • Ensure afterUpdate is not called after onDestroy (#7476)
  • Improve handling of inert attribute (#7500)
  • Reduce use of template literals in SSR output for better performance (#7539)
  • Ensure <input> value persists when swapping elements with spread attributes in an {#each} block (#7578)
  • Simplify generated code for reactive statements if dependencies are all static (#7942)
  • Fix race condition on <svelte:element> with transitions (#7948)
  • Allow assigning to a property of a const when destructuring (#7964)
  • Match browser behavior for decoding malformed HTML entities (#8026)
  • Ensure trusted-types CSP compatibility for Web Components (#8134)
  • Optimise <svelte:element> output code for static tag and static attribute (#8161)
  • Don't throw when calling unsubscribing from a store twice (#8186)

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading