这是indexloc提供的服务,不要输入任何密码
Skip to content

chore(deps): update dependency svelte to v3.44.3 #517

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

Merged
merged 1 commit into from
Dec 29, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 29, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svelte 3.37.0 -> 3.44.3 age adoption passing confidence

Release Notes

sveltejs/svelte

v3.44.3

Compare Source

  • Fix bind:this binding inside onMount for manually instantiated component (#​6760)
  • Prevent cursor jumps with one-way binding for other type="text"-like <input>s (#​6941)
  • Exclude async loops from loopGuardTimeout (#​6945)

v3.44.2

Compare Source

  • Fix overly restrictive preprocessor types (#​6904)
  • More specific typing for crossfade function - returns a tuple, not an array (#​6926)
  • Add URLSearchParams as a known global (#​6938)
  • Add types field to exports map (#​6939)

v3.44.1

Compare Source

  • Fix code generation when a multi-line return statement contains comments (code-red#​36)
  • Fix code generation when for/if/while statements have empty bodies (#​6884)

v3.44.0

Compare Source

  • Add enableSourcemap compiler option (#​6835)

v3.43.2

Compare Source

  • Fix regression where user-specified imports were not rewritten according to the sveltePath option (#​6834)

v3.43.1

Compare Source

  • Prevent a rejecting promise used in {#await} during SSR from appearing as an unhandled rejection (#​6789)

v3.43.0

Compare Source

  • Use export map to expose no-op versions of lifecycle functions for SSR (#​6743)
  • Prefer context passed to component constructor, even when running synchronously in another component (#​6753)
  • Handle preprocessors that return empty sourcemaps (#​6757)

v3.42.6

Compare Source

  • Hide private preprocess typings (#​6622)
  • Fix reactive function in {:else if} expression not being properly re-run (#​6727)

v3.42.5

Compare Source

  • In draw transition, account for stroke-linecap in determining length (#​4540)
  • Fix regression with destructuring assignments with default values (#​6699)

v3.42.4

Compare Source

  • Only apply optimized src attribute handling when in an html namespace (#​6575)
  • Fix styles for transitions and animations being attached to the wrong document in <iframe>s (#​6637)
  • Fix <select> with a {...spread} attribute that didn't provide a value key getting its value improperly unset (#​6675)

v3.42.3

Compare Source

  • Add BigInt as a known global (#​6671)
  • Fix regression where onDestroy in svelte/ssr was improperly a no-op (#​6676)

v3.42.2

Compare Source

  • Collapse whitespace in class and style attributes (#​6004)
  • Deselect all <option>s in a <select> where the bound value doesn't match any of them (#​6126)
  • In hydrated components, only rely on helpers for creating the types of elements present in the component (#​6555)
  • Add HTMLElement and SVGElement as known globals (#​6643)
  • Account for scaling in flip animations (#​6657)

v3.42.1

Compare Source

  • Fix regression with reordering keyed {#each} blocks when compiling with hydration enabled (#​6561)

v3.42.0

Compare Source

  • Allow use:actions to be used on <svelte:body> (#​3163)
  • Improve parser errors for certain invalid components (#​6259, #​6288)
  • Fix paths in generator JS sourcemaps to be relative (#​6598)
  • Fix overzealous warnings about context="module" variables not being reactive (#​6606)

v3.41.0

Compare Source

  • Support export { ... } from syntax in components (#​2214)
  • Support export let { ... } = syntax in components (#​5612)
  • Support {#await ... then/catch} without a variable for the resolved/rejected value (#​6270)

v3.40.3

Compare Source

  • Fix <slot> data when a transition is cancelled before completing (#​5394)
  • Fix destructuring into variables beginning with $ so that they result in store updates (#​5653)
  • Fix in: transition configuration not properly updating when it's changed after its initial creation (#​6505)
  • Fix applying :global() for > selector combinator (#​6550)
  • Fix mounting component at detached DOM node (#​6567)

v3.40.2

Compare Source

  • Fix dynamic autofocus={...} attribute handling (#​4995)
  • Add filename to combined source map if needed (#​6089)
  • In AST, parse empty attribute values as an empty string (#​6286)
  • Fix tracking whether transition has started (#​6399)
  • Fix incorrect scoping of :global() selectors (#​6550)

v3.40.1

Compare Source

  • Fix store reactivity regression when using reactive statements (#​6557)

v3.40.0

Compare Source

  • Support rendering a component in a shadow DOM (#​5869)
  • Fix :root selector being erroneously scoped to component (#​4767)
  • Fix .end in AST for expressions inside attributes (#​6258)
  • Fix one-way <select> binding when it has a spread attribute (#​6433)
  • Various hydration improvements and fixes (#​6449)
  • Use smaller versions of internal helpers when compiling without hydration support (#​6462)
  • Fix two-way binding of values when updating through synchronous component accessors (#​6502)

v3.39.0

Compare Source

  • Support bind:group in SSR (#​4621)
  • Add a11y warning a11y-mouse-events-have-key-events which checks that mouseover/mouseout are accompanied by focus/blur event handlers (#​5938)
  • Make it possible to silence more warnings (#​5954)
  • Add |trusted event modifier (#​6137)
  • Add varsReport compiler option to include all variables reference in the component in the variables report (#​6192)
  • Add errorMode compiler option to try to continue compiling when an error is detected (#​6194)
  • Expose svelte/ssr which exports lifecycle methods as no-ops (#​6416)
  • Add getAllContexts (#​6447)
  • Throw proper error for export default function() {} and export default class {} rather than crashing the compiler (#​3275)
  • Fix SSR rendering of falsy input values (#​4551)
  • Fix preserveComments in SSR mode (#​4730)
  • Do not warn if context="module" variables are not the only dependencies in reactive statements (#​5954)
  • Stop checking a11y-media-has-caption a11y warning on <audio> elements (#​6054)
  • Fix erroneous "unknown prop" warning when using slot on a component (#​6065)
  • Add sourcemaps to all HTML elements (#​6092)
  • Relax derived function signature (#​6178)
  • Throw compiler error when passing empty directive names (#​6299)
  • Fix compiler error when using :where() inside :global() (#​6434)
  • Fix ordering of elements in keyed {#each} (#​6444)
  • Remove deprecated a11y warning a11y-no-onchange warning (#​6457)
  • Fix :global() with pseudo element not being seen as global (#​6468)
  • Allow :global() to contain multiple selectors when it is not part of a larger selector (#​6477)
  • Make <script> and <style> end tag parsing more robust (#​6511)

v3.38.3

Compare Source

  • Speed up hydration by reducing amount of element reorderings (#​4308)
  • Fix escaping attribute values when using a spread in SSR (#​5756)
  • Throw compiler error when :global() contains multiple selectors (#​5907)
  • Give explicit error rather than crashing when an attribute shorthand {} is empty (#​6086)
  • Make <textarea> end tag parsing more robust (#​6276)
  • Fix :global(...):some-pseudoclass selectors not being seen as global (#​6306)
  • Fix type signatures of writable and readable so it's possible to call them without arguments (#​6291, #​6345)
  • Preserve this in bubbled events (#​6310)
  • Fix slot props not updating when transition is aborted (#​6386)
  • Fix generic props relationship in SvelteComponentTyped (#​6400)

v3.38.2

Compare Source

  • Revert hydration optimisation for the time being (#​6279)

v3.38.1

Compare Source

v3.38.0

Compare Source

  • Avoid recreating DOM elements during hydration (#​1067)
  • Support passing CSS custom properties to component (#​5628)
  • Support :global() as part of compound CSS selectors (#​6222)
  • Fix updating <slot> contents when there's an aborted transition (#​3542)
  • Fix setting boolean attributes on custom elements (#​5951)
  • Add missing function overload for derived to allow explicitly setting an initial value for non-async derived stores (#​6172)
  • Fix dynamic href values erroneously triggering a11y warnings (#​5990)
  • Fix scope leak when updating an {#await} block (#​6173)
  • Pass full markup source to script/style preprocessors (#​6169)
  • Fix crossfade types to mark fallback as optional (#​6201)
  • Add missing "context" typing to SvelteComponent constructor options (#​6236)
  • Don't automatically switch to svg namespace when in foreign namespace (#​6257)

Configuration

📅 Schedule: 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Dec 29, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/egoist/tsup/FbMfLedT9Vzi7VbQpanW9QH6zrAS
✅ Preview: https://tsup-git-renovate-svelte-3x-egoist.vercel.app

@renovate renovate bot force-pushed the renovate/svelte-3.x branch from d7b80b3 to 1249c53 Compare December 29, 2021 08:01
@egoist egoist merged commit 6477383 into dev Dec 29, 2021
@egoist egoist deleted the renovate/svelte-3.x branch December 29, 2021 08:04
@github-actions
Copy link
Contributor

🎉 This PR is included in version 5.11.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants