deps(deps): update dependency svelte to v3.49.0 [security] #77
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.38.0
->3.49.0
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
ComponentType
andComponentProps
convenience types (#6770)@layer
(#7504)CompileOptions
fromsvelte/compiler
(#7658)class:
directive updates with<svelte:element>
(#7521, #7571)v3.48.0
Compare Source
createEventDispatcher
(#4623){@​const}
tag in{#if}
blocks #7241setContext
#7427{#each}
blocks when usinganimate:
(#3999)|local
transitions in{#key}
blocks (#5950){@​html}
(#7002, #7450){@​const}
tag not working inside a component when there's nolet:
#7189<pre>
and<textarea>
(#7264)textContent
for<template>
elements (#7297)let:
bindings not updating in certain cases (#7440)<svelte:element>
(#7449)<svelte:element>
(#7478)[open]
selectors on<dialog>
elements (#7495)v3.47.0
Compare Source
<svelte:element>
(#2324){@​const}
(#7222){#key}
block not being reactive when the key variable is not otherwise used (#7408)Symbol
as a known global (#7418)v3.46.6
Compare Source
v3.46.5
Compare Source
unused-export-let
warning inside<script context="module">
blocks (#7055)aria-description
to the list of allowed ARIA attributes (#7301).innerHTML
optimization from being used whenstyle:
directive is present (#7386)v3.46.4
Compare Source
maximum call stack size exceeded
errors on large components (#4694)preserveWhitespace: true
(#4731)<pre>
tags (#6437)style:
directives on inline components (#7177)FormData
as a known global (#7199)css
/instance
/module
AST properties as optional in types (#7204)v3.46.3
Compare Source
{#each}
blocks when containing elements withanimate:
(#5477)context="instance"
collides with import incontext="module"
(#7090){@​const}
contains arrow functions (#7134)v3.46.2
Compare Source
FlipParams
interface fromsvelte/animate
(#7103)style:
directive reactivity inside{#each}
block (#7136)v3.46.1
Compare Source
style:kebab-case
directives (#7122)style:
directives (#7127)v3.46.0
Compare Source
{@​const}
tag (RFC #33, #6413)style:
directive (RFC #42, #5923){@​html}
(#7115)v3.45.0
Compare Source
{#each}
/etc. destructurings not being considered references for the purposes of compiler warnings (#6964){:else if}
value incorrectly being cached (#7043)a11y-no-redundant-roles
warning (#7067)v3.44.3
Compare Source
bind:this
binding insideonMount
for manually instantiated component (#6760)type="text"
-like<input>
s (#6941)async
loops fromloopGuardTimeout
(#6945)v3.44.2
Compare Source
URLSearchParams
as a known global (#6938)types
field toexports
map (#6939)v3.44.1
Compare Source
return
statement contains comments (code-red#36)for
/if
/while
statements have empty bodies (#6884)v3.44.0
Compare Source
enableSourcemap
compiler option (#6835)v3.43.2
Compare Source
import
s were not rewritten according to thesveltePath
option (#6834)v3.43.1
Compare Source
{#await}
during SSR from appearing as an unhandled rejection (#6789)v3.43.0
Compare Source
context
passed to component constructor, even when running synchronously in another component (#6753)v3.42.6
Compare Source
{:else if}
expression not being properly re-run (#6727)v3.42.5
Compare Source
draw
transition, account forstroke-linecap
in determining length (#4540)v3.42.4
Compare Source
src
attribute handling when in anhtml
namespace (#6575)document
in<iframe>
s (#6637)<select>
with a{...spread}
attribute that didn't provide avalue
key getting its value improperly unset (#6675)v3.42.3
Compare Source
BigInt
as a known global (#6671)onDestroy
insvelte/ssr
was improperly a no-op (#6676)v3.42.2
Compare Source
class
andstyle
attributes (#6004)<option>
s in a<select>
where the boundvalue
doesn't match any of them (#6126)HTMLElement
andSVGElement
as known globals (#6643)flip
animations (#6657)v3.42.1
Compare Source
{#each}
blocks when compiling with hydration enabled (#6561)v3.42.0
Compare Source
use:actions
to be used on<svelte:body>
(#3163)context="module"
variables not being reactive (#6606)v3.41.0
Compare Source
export { ... } from
syntax in components (#2214)export let { ... } =
syntax in components (#5612){#await ... then/catch}
without a variable for the resolved/rejected value (#6270)v3.40.3
Compare Source
<slot>
data when a transition is cancelled before completing (#5394)$
so that they result in store updates (#5653)in:
transition configuration not properly updating when it's changed after its initial creation (#6505):global()
for>
selector combinator (#6550)v3.40.2
Compare Source
autofocus={...}
attribute handling (#4995):global()
selectors (#6550)v3.40.1
Compare Source
v3.40.0
Compare Source
:root
selector being erroneously scoped to component (#4767).end
in AST for expressions inside attributes (#6258)<select>
binding when it has a spread attribute (#6433)v3.39.0
Compare Source
bind:group
in SSR (#4621)a11y-mouse-events-have-key-events
which checks thatmouseover
/mouseout
are accompanied byfocus
/blur
event handlers (#5938)|trusted
event modifier (#6137)varsReport
compiler option to include all variables reference in the component in thevariables
report (#6192)errorMode
compiler option to try to continue compiling when an error is detected (#6194)svelte/ssr
which exports lifecycle methods as no-ops (#6416)getAllContexts
(#6447)export default function() {}
andexport default class {}
rather than crashing the compiler (#3275)input
values (#4551)preserveComments
in SSR mode (#4730)context="module"
variables are not the only dependencies in reactive statements (#5954)a11y-media-has-caption
a11y warning on<audio>
elements (#6054)derived
function signature (#6178):where()
inside:global()
(#6434){#each}
(#6444)a11y-no-onchange warning
(#6457):global()
with pseudo element not being seen as global (#6468):global()
to contain multiple selectors when it is not part of a larger selector (#6477)<script>
and<style>
end tag parsing more robust (#6511)v3.38.3
Compare Source
:global()
contains multiple selectors (#5907){}
is empty (#6086)<textarea>
end tag parsing more robust (#6276):global(...):some-pseudoclass
selectors not being seen as global (#6306)writable
andreadable
so it's possible to call them without arguments (#6291, #6345)this
in bubbled events (#6310)SvelteComponentTyped
(#6400)v3.38.2
Compare Source
v3.38.1
Compare Source
Configuration
📅 Schedule: Branch creation - "" in timezone Europe/Berlin, 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.
This PR has been generated by Mend Renovate. View repository job log here.