Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency svelte to v3.59.2 #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svelte (source) 3.49.0 -> 3.59.2 age adoption passing confidence

Release Notes

sveltejs/svelte (svelte)

v3.59.2

Compare Source

  • Fix escaping <textarea bind:value={...}> values in SSR

v3.59.1

Compare Source

  • Handle dynamic values in a11y-autocomplete-valid (#​8567)

v3.59.0

Compare Source

  • Add ResizeObserver bindings contentRect/contentBoxSize/borderBoxSize/devicePixelContentBoxSize (#​8022)
  • Add devicePixelRatio binding for <svelte:window> (#​8285)
  • Add fullscreenElement and visibilityState bindings for <svelte:document> (#​8507)
  • Add a11y-autocomplete-valid warning (#​8520)
  • Fix handling of width/height attributes when spreading (#​6752)
  • Fix updating of interpolated style: directive when using spread (#​8438)
  • Remove style: directive property when value is undefined (#​8462)
  • Fix type of VERSION compiler export (#​8498)
  • Relax a11y-no-redundant-roles warning (#​8536)
  • Handle nested array rest destructuring (#​8552, #​8554)

v3.58.0

Compare Source

  • Add bind:innerText for contenteditable elements (#​3311)
  • Add support for CSS @container queries (#​6969)
  • Respect preserveComments in DOM output (#​7182)
  • Allow use of document for target in typings (#​7554)
  • Add a11y-interactive-supports-focus warning (#​8392)
  • Fix equality check when updating dynamic text (#​5931)
  • Relax a11y-no-noninteractive-element-to-interactive-role warning (#​8402)
  • Properly handle microdata attributes (#​8413)
  • Prevent name collision when using computed destructuring variables (#​8417)
  • Fix escaping <textarea value={...}> values in SSR (#​8429)

v3.57.0

Compare Source

  • 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)
  • Support CSS units in the fly and blur transitions (#​7623)

v3.56.0

Compare Source

  • 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 {@&#8203;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)
  • Clear inputs when bind:group value is set to undefined (#​8214)
  • Fix handling of nested arrays with keyed {#each} containing a non-keyed {#each} (#​8282)

v3.55.1

Compare Source

  • Fix draw transition with delay showing a dot at the beginning of the path (#​6816)
  • Fix infinity runtime call stack when propagating bindings (#​7032)
  • Fix static <svelte:element> optimization in production mode (#​7937)
  • Fix svelte-ignore comment breaking named slot (#​8075)
  • Revert change to prevent running init binding unnecessarily (#​8103)
  • Fix adding duplicate event listeners with <svelte:element on:event> (#​8129)
  • Improve detection of promises that are also functions (#​8162)
  • Avoid mutating spread component props during SSR (#​8171)
  • Add missing typing for global part attribute (#​8181)
  • Add missing submitter property to on:submit event type

v3.55.0

Compare Source

  • Add svelte/elements for HTML/Svelte typings (#​7649)

v3.54.0

Compare Source

  • Pass options.direction argument to custom transition functions (#​3918)
  • Support fallback a11y WAI-ARIA roles (#​8044)
  • Prevent running init binding unnecessarily (#​5689, #​6298)
  • Allow updating variables from @const declared function (#​7843)
  • Do not emit a11y-no-noninteractive-tabindex warning if element has a tabpanel (#​8025)
  • Fix escaping SSR'd values in style: directive (#​8085)

v3.53.1

Compare Source

  • Fix exception in rel= attribute check with dynamic values (#​7994)
  • Do not emit deprecation warnings for css compiler options for now (#​8009)
  • Make compiler run in browser again (#​8010)
  • Upgrade tslib (#​8013)

v3.53.0

Compare Source

  • Check whether parentNode exists before removing child (#​6037)
  • Upgrade various dependencies, notably css-tree to 2.2.1 (#​7572, #​7982)
  • Extend css compiler option with 'external' | 'injected' | 'none' settings and deprecate old true | false values (#​7914)

v3.52.0

Compare Source

  • Throw compile-time error when attempting to update const variable (#​4895)
  • Warn when using <a target="_blank"> without rel="noreferrer" (#​6188)
  • Support style:foo|important modifier (#​7365)
  • Fix hydration regression with {@&#8203;html} and components in <svelte:head> (#​7941)

v3.51.0

Compare Source

  • Add a11y warnings:
    • a11y-click-events-have-key-events: check if click event is accompanied by key events (#​5073)
    • a11y-no-noninteractive-tabindex: check for tabindex on non-interactive elements (#​6693)
  • Warn when two-way binding to {...rest} object in {#each} block (#​6860)
  • Support --style-props on <svelte:component> (#​7461)
  • Supports nullish values for component event handlers (#​7568)
  • Supports SVG elements with <svelte:element>(#​7613)
  • Treat inert as boolean attribute (#​7785)
  • Support --style-props for SVG components (#​7808)
  • Fix false positive dev warnings about unset props when they are bound (#​4457)
  • Fix hydration with {@&#8203;html} and components in <svelte:head> (#​4533, #​6463, #​7444)
  • Support scoped style for <svelte:element> (#​7443)
  • Improve error message for invalid value for <svelte:component this={...}> (#​7550)
  • Improve error message when using logic blocks or tags at invalid location (#​7552)
  • Warn instead of throwing error if <svelte:element> is a void tag (#​7566)
  • Supports custom elements in <svelte:element> (#​7733)
  • Fix calling component unmount if a component is mounted and then immediately unmounted (#​7817)
  • Do not generate a11y-role-has-required-aria-props warning when elements match their semantic role (#​7837)
  • Improve performance of custom element data setting in <svelte:element> (#​7869)

v3.50.1

Compare Source

  • Add all global objects and functions as known globals (#​3805, #​7223)
  • Fix regression with style manager (#​7828)

v3.50.0

Compare Source

  • Add a11y warnings:
    • a11y-incorrect-aria-attribute-type: check ARIA state and property values (#​6978)
    • a11y-no-abstract-role: check that ARIA roles are non-abstract (#​6241)
    • a11y-no-interactive-element-to-noninteractive-role: check for non-interactive roles used on interactive elements (#​5955)
    • a11y-role-has-required-aria-props: check that elements with role attribute have all required attributes for that role (#​5852)
  • Add ComponentEvents convenience type (#​7702)
  • Add SveltePreprocessor utility type (#​7742)
  • Enhance action typings (#​7805)
  • Remove empty stylesheets created from transitions (#​4801, #​7164)
  • Make a11y-label-has-associated-control warning check all descendants for input control (#​5528)
  • Only show lowercase component name warnings for non-HTML/SVG elements (#​5712)
  • Disallow invalid CSS selectors starting with a combinator (#​7643)
  • Use Node.parentNode instead of Node.parentElement for legacy browser support (#​7723)
  • Handle arrow function on <slot> inside <svelte:fragment> (#​7485)
  • Improve parsing speed when encountering large blocks of whitespace (#​7675)
  • Fix class: directive updates in aborted/restarted transitions (#​7764)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Jun 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
todo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 0:17am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants