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.49.0 [SECURITY] #362

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 15, 2022

Mend Renovate

This PR contains the following updates:

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

GitHub Vulnerability Alerts

CVE-2022-25875

The package svelte before 3.49.0 is vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is possible via objects with a custom toString() function.


Release Notes

sveltejs/svelte (svelte)

v3.49.0

Compare Source

  • Improve performance of string escaping during SSR (#​5701)
  • Add ComponentType and ComponentProps convenience types (#​6770)
  • Add support for CSS @layer (#​7504)
  • Export CompileOptions from svelte/compiler (#​7658)
  • Fix DOM-less components not being properly destroyed (#​7488)
  • Fix class: directive updates with <svelte:element> (#​7521, #​7571)
  • Harden attribute escaping during SSR (#​7530)

v3.48.0

Compare Source

  • Allow creating cancelable custom events with createEventDispatcher (#​4623)
  • Support {@&#8203;const} tag in {#if} blocks #​7241
  • Return the context object in setContext #​7427
  • Allow comments inside {#each} blocks when using animate: (#​3999)
  • Fix |local transitions in {#key} blocks (#​5950)
  • Support svg namespace for {@&#8203;html} (#​7002, #​7450)
  • Fix {@&#8203;const} tag not working inside a component when there's no let: #​7189
  • Remove extraneous leading newline inside <pre> and <textarea> (#​7264)
  • Fix erroneous setting of textContent for <template> elements (#​7297)
  • Fix value of let: bindings not updating in certain cases (#​7440)
  • Fix handling of void tags in <svelte:element> (#​7449)
  • Fix handling of boolean attributes in <svelte:element> (#​7478)
  • Add special style scoping handling of [open] selectors on <dialog> elements (#​7495)

v3.47.0

Compare Source

v3.46.6

Compare Source

v3.46.5

Compare Source

v3.46.4

Compare Source

  • Avoid maximum call stack size exceeded errors on large components (#​4694)
  • Preserve leading space with preserveWhitespace: true (#​4731)
  • Preserve leading space in <pre> tags (#​6437)
  • Improve error message when trying to use style: directives on inline components (#​7177)
  • Add FormData as a known global (#​7199)
  • Mark css/instance/module AST properties as optional in types (#​7204)

v3.46.3

Compare Source

  • Ignore whitespace in {#each} blocks when containing elements with animate: (#​5477)
  • Throw compiler error when variable in context="instance" collides with import in context="module" (#​7090)
  • Fix compiler crash when {@&#8203;const} contains arrow functions (#​7134)

v3.46.2

Compare Source

  • Export FlipParams interface from svelte/animate (#​7103)
  • Fix style: directive reactivity inside {#each} block (#​7136)

v3.46.1

Compare Source

v3.46.0

Compare Source

v3.45.0

Compare Source

  • Fix non-boolean attribute rendering in SSR to render truthy values as-is (#​6121)
  • Fix binding to a member expression also invalidating the member property (#​6921)
  • Fix default values in {#each}/etc. destructurings not being considered references for the purposes of compiler warnings (#​6964)
  • Fix {:else if} value incorrectly being cached (#​7043)
  • Add a11y-no-redundant-roles warning (#​7067)
  • Fix code generation error with arrow functions whose bodies are object destructuring assignments (#​7087)

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

v3.44.1

Compare Source

v3.44.0

Compare Source

v3.43.2

Compare Source

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

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

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

v3.42.1

Compare Source

v3.42.0

Compare Source

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

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

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

v3.38.3

Compare Source

v3.38.2

Compare Source

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

v3.38.1

Compare Source

v3.38.0

Compare Source

v3.37.0

Compare Source

v3.36.0

Compare Source

v3.35.0

Compare Source

v3.34.0

Compare Source

v3.33.0

Compare Source

v3.32.3

Compare Source

v3.32.2

Compare Source

v3.32.1

Compare Source

v3.32.0

Compare Source

v3.31.2

Compare Source

v3.31.1

Compare Source

v3.31.0

Compare Source

v3.30.1

Compare Source

v3.30.0

Compare Source

v3.29.7

Compare Source

v3.29.6

Compare Source

v3.29.5

Compare Source

v3.29.4

Compare Source

v3.29.3

Compare Source

v3.29.2

Compare Source

v3.29.1

Compare Source


Configuration

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

🚦 Automerge: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Jul 15, 2022

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

Name Status Preview Updated
forward-momentum ❌ Failed (Inspect) Jul 15, 2022 at 5:58PM (UTC)

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

Successfully merging this pull request may close these issues.

None yet

0 participants