chore(package): Update dependency svelte to v3 [SECURITY] #51
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:
^2.16.1
->^3.0.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
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
v3.38.0
Compare Source
:global()
as part of compound CSS selectors (#6222)<slot>
contents when there's an aborted transition (#3542)derived
to allow explicitly setting an initial value for non-async derived stores (#6172)href
values erroneously triggering a11y warnings (#5990){#await}
block (#6173)script
/style
preprocessors (#6169)crossfade
types to markfallback
as optional (#6201)SvelteComponent
constructor options (#6236)svg
namespace when inforeign
namespace (#6257)v3.37.0
Compare Source
v3.36.0
Compare Source
this: void
typing to store functions (#6094)Spring
,Tweened
andEasingFunction
interfaces (#6070, #6056)svelte/preprocess
types location (#6100)v3.35.0
Compare Source
<svelte:fragment slot="...">
(#1037, #2079)slot="..."
is specified after attributes that should be reactive (#5626)v3.34.0
Compare Source
cssHash
option for controlling the classname used for CSS scoping (#570)v3.33.0
Compare Source
onMount
functions when connecting and clean up when disconnecting (#1152, #2227, #4522)contextual-store
warnings for function parameters or declared variables (#6008)v3.32.3
Compare Source
:host
selectors (#5982)v3.32.2
Compare Source
<Component bind:prop={obj.foo}/>
(#3075, #4447, #5555):global()
and~
sibling combinators (#5499):host
selectors as unused when compiling to a custom element (#5946)v3.32.1
Compare Source
module
variables reactively, and close weird reactivity loophole (#5847)class:
directives with an empty class name (#5858)class:
directives whose expression is not dynamic (#5919)SvelteComponentDev
typings more forgiving (#5937)foreign
elements incorrectly disallowingbind:this
(#5942)v3.32.0
Compare Source
foreign
namespace, which disables certain HTML5-specific behaviour and checks (#5652)v3.31.2
Compare Source
{#await}
blocks and out transitions (#5815)v3.31.1
Compare Source
<iframe>
havez-index: -1
(#5448)className
orhtmlFor
attributes (#5777)bind:group
in keyed{#each}
where the array can be reordered (#5779)bind:group
in nested{#each}
contexts (#5811)use:obj.some.deep.function
as actions (#5844)v3.31.0
Compare Source
SvelteComponentTyped
interface for typed components (#5738)v3.30.1
Compare Source
source-map
library'sSourceMapGenerator
(#5722)hasContext
(#5726)v3.30.0
Compare Source
SvelteComponent
interface (#5431)<slot>
props (#5456)undefined
(#5538){#if}
inside{#key}
(#5680)hasContext
lifecycle function (#5690)walk
types insvelte/compiler
(#5696)v3.29.7
Compare Source
./register
in exports map (#5670)v3.29.6
Compare Source
./package.json
in export map (#5659)v3.29.5
Compare Source
$$props
and$$restProps
when compiling to a custom element (#5482)package.json
(#5556)<slot>
props that use contextual values (#5565){:else}
blocks (#5573)Element
andNode
to known globals (#5586)$$slots
when compiling to custom elements (#5594)import
s so that we're exposing a valid ES module (#5617)v3.29.4
Compare Source
??
alongside logical operators (#5558)v3.29.3
Compare Source
v3.29.2
Compare Source
v3.29.1
Compare Source
<slot slot="...">
(#5475)get
function insvelte/store
(#5483)end
field on ASTs for non-top-level<style>
elements (#5487){#if}
inside{#await}
with destructuring (#5508)v3.29.0
Compare Source
<slot slot="...">
(#2079)get
function insvelte/store
(#5269)EventSource
to known globals (#5463)~
/+
combinators and{...spread}
attributes (#5465)v3.28.0
Compare Source
{#key}
block for keying arbitrary content on an expression (#1469)v3.27.0
Compare Source
|nonpassive
event modifier, explicitly passingpassive: false
(#2068)~
and+
combinators (#3104){#each}
not reacting to key changing (#5444)missing-declaration
warning withuse:obj.method
(#5451)v3.26.0
Compare Source
use:obj.method
as actions (#3935)_
as numeric separator (#5407)[open]
selectors on<details>
elements (#5421)import.meta
in template expressions (#5422)v3.25.1
Compare Source
*
(#5370){#await}
s with no{:catch}
getting stuck unresolved if the promise rejects (#5401)v3.25.0
Compare Source
null
rather thanundefined
for coerced bound value of<input type="number">
(#1701)$$slots
(#2106){#await}
block with no{:catch}
gets a rejection (#5129)createEventDispatcher
(#5211)unused-css-selector
warning (#5252)<Namespaced.Component/>
s in child{#await}
/{#each}
contexts (#5255)<svelte:component>
in{:catch}
(#5259)<input>
value
toundefined
when it has spread attributes (#5270){#each}
involving a store (#5286).innerHTML
(#5315)$$props
in slot fallback content (#5367)v3.24.1
Compare Source
$$props
to a<slot>
(#3364){#each}
{:else}
(#4970)$$props
and$$restProps
(#4993, #5118)a11y-label-has-associated-control
warning (#5074)a11y-media-has-caption
warning (#5075)bind:group
when using contextual reference (#5174)v3.24.0
Compare Source
??
) and optional chaining (?.
) operators (#1972)import.meta
(#4379)<input>
values when they're changed when there are spread attributes (#4418){@​html}
when used at the root of a slot, at the root of a component, or in<svelte:head>
(#5012, #5071)contenteditable
elements (#5018)import
ed value that is used as a store and is also mutated (#5019)a11y-missing-content
warning on elements withcontenteditable
bindings (#5020)this
in inline function expressions in the template (#5033)$store
at compile time when top-levelstore
has been shadowed (#5048)<select>
with one-wayvalue
binding when the available<option>
s change (#5051)tweened
types so the.set()
and.update()
options are optional (#5062)bind:this
inside{#each}
block (#5067)<script>
and<style>
tags (#5080)v3.23.2
Compare Source
bind:group
inside{#each}
(#3243)bind:this
variable (#4636)v3.23.1
Compare Source
bind:group
when multiple options have the same value (#4397)bind:this
to the value of an{#each}
block (#4517){#each}
variable (#4574, #4744){#each}
values that shadow outer names (#4757):global()
does not contain a selector (#4930)v3.23.0
Compare Source
<select>
withbind:value
when the available<option>
s change (#1764)muted
binding for media elements (#2998)<input>
toundefined
(#3569)<select multiple>
when there are spread attributes (#4392)<slot>
with context overflow (#4624)a11y-no-onchange
warning (#4788)use:
actions being recreated when a keyed{#each}
is reordered (#4693){@​html}
when using tags that can only appear inside certain tags (#4852){#each}
context (#4879)v3.22.3
Compare Source
{#await}
(#4560, #4810)tweened
store when set usingduration: 0
(#4799, #4846)value
attribute withbind:group
and attribute spread (#4803){#if}
block involving static condition, dynamic condition, and inline component (#4840)v3.22.2
Compare Source
a11y-img-redundant-alt
and value-lessalt
attribute (#4777)v3.22.1
Compare Source
a11y-img-redundant-alt
and dynamicalt
attribute (#4770)v3.22.0
Compare Source
tweened
store usingduration: 0
instantly update the value (#4399)bind:this
inside{#each}
block (#4686)href
for<a>
withname
orid
(#4697)a11y-invalid-attribute
warning forhref="javascript:..."
(#4733)a11y-img-redundant-alt
warning (#4750)<Anchor>
(#4768)v3.21.0
Compare Source
globalThis
rather thanglobals
for the benefit of non-Node servers and web workers (#3561, #4545){#await ... catch ...}
syntax shorthand (#3623)<svelte:component/>
within<slot/>
(#4597){#if}
blocks (#4629)<input type="number">
updates (#4631, #4687){#if}
block directly within<slot/>
(#4703)v3.20.1
Compare Source
v3.20.0
Compare Source
{#await}
blocks (#1851)<svelte:self>
to be used in a slot (#2798)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.
This PR has been generated by Mend Renovate. View repository job log here.