Skip to content

Commit bcc658e

Browse files
chore(deps): update dependency svelte to v5.0.0-next.151 (#769)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [svelte](https://svelte.dev) ([source](https://togithub.com/sveltejs/svelte/tree/HEAD/packages/svelte)) | [`5.0.0-next.130` -> `5.0.0-next.151`](https://renovatebot.com/diffs/npm/svelte/5.0.0-next.130/5.0.0-next.151) | [![age](https://developer.mend.io/api/mc/badges/age/npm/svelte/5.0.0-next.151?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/svelte/5.0.0-next.151?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/svelte/5.0.0-next.130/5.0.0-next.151?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/svelte/5.0.0-next.130/5.0.0-next.151?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sveltejs/svelte (svelte)</summary> ### [`v5.0.0-next.151`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next151) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.151) ##### Patch Changes - fix: relax `Component` type ([#&#8203;11929](https://togithub.com/sveltejs/svelte/pull/11929)) - fix: sort `{@&#8203;const ...}` tags topologically in legacy mode ([#&#8203;11908](https://togithub.com/sveltejs/svelte/pull/11908)) - chore: deprecate html in favour of body for render() ([#&#8203;11927](https://togithub.com/sveltejs/svelte/pull/11927)) - fix: append start/end info to `AssignmentPattern` and `VariableDeclarator` ([#&#8203;11930](https://togithub.com/sveltejs/svelte/pull/11930)) - fix: relax slot prop validation on components ([#&#8203;11923](https://togithub.com/sveltejs/svelte/pull/11923)) ### [`v5.0.0-next.150`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next150) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.150) ##### Patch Changes - fix: populate `this.#sources` when constructing reactive map ([#&#8203;11913](https://togithub.com/sveltejs/svelte/pull/11913)) - fix: omit `state_referenced_locally` warning for component exports ([#&#8203;11905](https://togithub.com/sveltejs/svelte/pull/11905)) - fix: ensure event.target is correct for delegation ([#&#8203;11900](https://togithub.com/sveltejs/svelte/pull/11900)) - chore: speed up regex ([#&#8203;11918](https://togithub.com/sveltejs/svelte/pull/11918)) - feat: bind `activeElement` and `pointerLockElement` in `<svelte:document>` ([#&#8203;11879](https://togithub.com/sveltejs/svelte/pull/11879)) - fix: correctly backport `svelte:element` to old AST ([#&#8203;11917](https://togithub.com/sveltejs/svelte/pull/11917)) - fix: add `unused-export-let` to legacy lint replacements ([#&#8203;11896](https://togithub.com/sveltejs/svelte/pull/11896)) ### [`v5.0.0-next.149`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next149) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.149) ##### Patch Changes - fix: keep default values of props a proxy after reassignment ([#&#8203;11860](https://togithub.com/sveltejs/svelte/pull/11860)) - fix: address map reactivity regression ([#&#8203;11882](https://togithub.com/sveltejs/svelte/pull/11882)) - fix: assign message to error object in `handle_error` using `Object.defineProperty` ([#&#8203;11675](https://togithub.com/sveltejs/svelte/pull/11675)) - fix: ensure frozen objects in state are correctly skipped ([#&#8203;11889](https://togithub.com/sveltejs/svelte/pull/11889)) ### [`v5.0.0-next.148`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next148) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.148) ##### Patch Changes - chore: improve $state.frozen performance in prod ([#&#8203;11852](https://togithub.com/sveltejs/svelte/pull/11852)) - breaking: removed deferred event updates ([#&#8203;11855](https://togithub.com/sveltejs/svelte/pull/11855)) ### [`v5.0.0-next.147`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next147) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.147) ##### Patch Changes - fix: improve reactive Map and Set implementations ([#&#8203;11827](https://togithub.com/sveltejs/svelte/pull/11827)) - fix: improve controlled each block cleanup performance ([#&#8203;11839](https://togithub.com/sveltejs/svelte/pull/11839)) ### [`v5.0.0-next.144`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next144) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.144) ##### Patch Changes - fix: address derived memory leak on disconnection from reactive graph ([#&#8203;11819](https://togithub.com/sveltejs/svelte/pull/11819)) - fix: set correct scope for `@const` tags within slots ([#&#8203;11798](https://togithub.com/sveltejs/svelte/pull/11798)) - fix: better support for onwheel events in chrome ([#&#8203;11808](https://togithub.com/sveltejs/svelte/pull/11808)) - fix: coherent infinite loop guard ([#&#8203;11815](https://togithub.com/sveltejs/svelte/pull/11815)) - fix: make prop fallback values deeply reactive if needed ([#&#8203;11804](https://togithub.com/sveltejs/svelte/pull/11804)) - fix: robustify initial scroll value detection when scroll is smooth ([#&#8203;11802](https://togithub.com/sveltejs/svelte/pull/11802)) ### [`v5.0.0-next.143`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next143) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.143) ##### Patch Changes - feat: provide `Component` type that represents the new shape of Svelte components ([#&#8203;11775](https://togithub.com/sveltejs/svelte/pull/11775)) ### [`v5.0.0-next.142`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next142) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.142) ##### Patch Changes - fix: allow runelike writable as prop ([#&#8203;11768](https://togithub.com/sveltejs/svelte/pull/11768)) - fix: support `array.lastIndexOf` without second argument ([#&#8203;11766](https://togithub.com/sveltejs/svelte/pull/11766)) - fix: handle `this` parameter in TypeScript-annotated functions ([#&#8203;11795](https://togithub.com/sveltejs/svelte/pull/11795)) - fix: allow classes to be reassigned ([#&#8203;11794](https://togithub.com/sveltejs/svelte/pull/11794)) - fix: capture the correct event names when spreading attributes ([#&#8203;11783](https://togithub.com/sveltejs/svelte/pull/11783)) - fix: allow global next to `&` for nesting ([#&#8203;11784](https://togithub.com/sveltejs/svelte/pull/11784)) - fix: parse ongotpointercapture and onlostpointercapture events correctly ([#&#8203;11790](https://togithub.com/sveltejs/svelte/pull/11790)) - fix: only inject push/pop in SSR components when necessary ([#&#8203;11771](https://togithub.com/sveltejs/svelte/pull/11771)) ### [`v5.0.0-next.141`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next141) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.141) ##### Patch Changes - fix: throw on invalid attribute expressions ([#&#8203;11736](https://togithub.com/sveltejs/svelte/pull/11736)) - fix: use svg methods for updating svg attributes too ([#&#8203;11755](https://togithub.com/sveltejs/svelte/pull/11755)) - fix: don't warn on link without href if aria-disabled ([#&#8203;11737](https://togithub.com/sveltejs/svelte/pull/11737)) - fix: don't use console.trace inside dev warnings ([#&#8203;11744](https://togithub.com/sveltejs/svelte/pull/11744)) ### [`v5.0.0-next.140`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next140) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.140) ##### Patch Changes - breaking: event handlers + bindings now yield effect updates ([#&#8203;11706](https://togithub.com/sveltejs/svelte/pull/11706)) ### [`v5.0.0-next.139`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next139) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.139) ##### Patch Changes - fix: ensure we clear down each block opening anchors from document ([#&#8203;11740](https://togithub.com/sveltejs/svelte/pull/11740)) ### [`v5.0.0-next.138`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next138) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.138) ##### Patch Changes - fix: allow comments after last selector in css ([#&#8203;11723](https://togithub.com/sveltejs/svelte/pull/11723)) - fix: don't add scoping modifier to nesting selectors ([#&#8203;11713](https://togithub.com/sveltejs/svelte/pull/11713)) - chore: speedup hydration around input and select values ([#&#8203;11717](https://togithub.com/sveltejs/svelte/pull/11717)) - fix: update value like attributes in a separate template_effect ([#&#8203;11720](https://togithub.com/sveltejs/svelte/pull/11720)) - fix: improve handling of unowned derived signal ([#&#8203;11712](https://togithub.com/sveltejs/svelte/pull/11712)) ### [`v5.0.0-next.137`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next137) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.137) ##### Patch Changes - fix: migrate derivations without semicolons ([#&#8203;11704](https://togithub.com/sveltejs/svelte/pull/11704)) - fix: check for invalid bindings on window and document ([#&#8203;11676](https://togithub.com/sveltejs/svelte/pull/11676)) - fix: more efficient spread attributes in SSR output ([#&#8203;11660](https://togithub.com/sveltejs/svelte/pull/11660)) - fix: inline pointer events now correctly work in Chrome ([#&#8203;11695](https://togithub.com/sveltejs/svelte/pull/11695)) - fix: don't require warning codes to be separated by commas in non-runes mode ([#&#8203;11669](https://togithub.com/sveltejs/svelte/pull/11669)) ### [`v5.0.0-next.136`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next136) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.136) ##### Patch Changes - chore: remove `handle_compile_error` ([#&#8203;11639](https://togithub.com/sveltejs/svelte/pull/11639)) - breaking: disallow string literal values in `<svelte:element this="...">` ([#&#8203;11454](https://togithub.com/sveltejs/svelte/pull/11454)) - fix: use coarse-grained updates for derived expressions passed to props in legacy mode ([#&#8203;11652](https://togithub.com/sveltejs/svelte/pull/11652)) - fix: robustify `bind:scrollX/Y` binding ([#&#8203;11655](https://togithub.com/sveltejs/svelte/pull/11655)) - feat: migrate `<svelte:element this="div">` ([#&#8203;11659](https://togithub.com/sveltejs/svelte/pull/11659)) - feat: more information when hydration fails ([#&#8203;11649](https://togithub.com/sveltejs/svelte/pull/11649)) - fix: replay load and error events on load during hydration ([#&#8203;11642](https://togithub.com/sveltejs/svelte/pull/11642)) ### [`v5.0.0-next.135`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next135) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.135) ##### Patch Changes - fix: make messages more consistent ([#&#8203;11643](https://togithub.com/sveltejs/svelte/pull/11643)) - feat: introduce `rootDir` compiler option, make `filename` relative to it ([#&#8203;11627](https://togithub.com/sveltejs/svelte/pull/11627)) - fix: rename `__svelte_meta.filename` to `__svelte_meta.file` to align with svelte 4 ([#&#8203;11627](https://togithub.com/sveltejs/svelte/pull/11627)) - fix: avoid state_referenced_locally warning within type annotations ([#&#8203;11638](https://togithub.com/sveltejs/svelte/pull/11638)) ### [`v5.0.0-next.134`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next134) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.134) ##### Patch Changes - chore: improve SSR invalid element error message ([#&#8203;11585](https://togithub.com/sveltejs/svelte/pull/11585)) - fix: deduplicate children prop and default slot ([#&#8203;10800](https://togithub.com/sveltejs/svelte/pull/10800)) - feat: error on imports to `svelte/internal/*` ([#&#8203;11632](https://togithub.com/sveltejs/svelte/pull/11632)) - fix: better handle img loading attribute ([#&#8203;11635](https://togithub.com/sveltejs/svelte/pull/11635)) - feat: add $state.is rune ([#&#8203;11613](https://togithub.com/sveltejs/svelte/pull/11613)) - feat: provide $state warnings for accidental equality ([#&#8203;11610](https://togithub.com/sveltejs/svelte/pull/11610)) - feat: error when snippet shadow a prop ([#&#8203;11631](https://togithub.com/sveltejs/svelte/pull/11631)) - chore: use `new CustomEvent` instead of deprecated `initCustomEvent` ([#&#8203;11629](https://togithub.com/sveltejs/svelte/pull/11629)) ### [`v5.0.0-next.133`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next133) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.133) ##### Patch Changes - fix: add backwards-compat for old warning codes in legacy mode ([#&#8203;11607](https://togithub.com/sveltejs/svelte/pull/11607)) ### [`v5.0.0-next.132`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next132) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.132) ##### Patch Changes - chore: improve runtime overhead of creating comment templates ([#&#8203;11591](https://togithub.com/sveltejs/svelte/pull/11591)) - fix: replicate Svelte 4 props update detection in legacy mode ([#&#8203;11577](https://togithub.com/sveltejs/svelte/pull/11577)) - fix: allow for non optional chain call expression in render ([#&#8203;11578](https://togithub.com/sveltejs/svelte/pull/11578)) - fix: correctly handle falsy values of style directives in SSR mode ([#&#8203;11583](https://togithub.com/sveltejs/svelte/pull/11583)) - fix: improve handling of lazy image elements ([#&#8203;11593](https://togithub.com/sveltejs/svelte/pull/11593)) - fix: skip deriveds for props with known safe calls ([#&#8203;11595](https://togithub.com/sveltejs/svelte/pull/11595)) ### [`v5.0.0-next.131`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next131) [Compare Source](https://togithub.com/sveltejs/svelte/compare/[email protected]@5.0.0-next.131) ##### Patch Changes - chore: optimise effects ([#&#8203;11569](https://togithub.com/sveltejs/svelte/pull/11569)) - fix: ensure all effect cleanup functions are untracked ([#&#8203;11567](https://togithub.com/sveltejs/svelte/pull/11567)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sveltejs/eslint-plugin-svelte). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: yosuke ota <[email protected]>
1 parent eeacb5c commit bcc658e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

packages/eslint-plugin-svelte/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"sass": "^1.77.2",
9999
"source-map-js": "^1.2.0",
100100
"stylus": "^0.63.0",
101-
"svelte": "5.0.0-next.130",
101+
"svelte": "5.0.0-next.151",
102102
"svelte-i18n": "^4.0.0",
103103
"type-coverage": "^2.28.2",
104104
"yaml": "^2.4.2"

packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-errors.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
column: 3
55
suggestions: null
66
- message: A form label must be associated with a
7-
control.(a11y_label_has_associated_control)
7+
control(a11y_label_has_associated_control)
88
line: 6
99
column: 3
1010
suggestions: null

packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore02-errors.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
column: 3
55
suggestions: null
66
- message: A form label must be associated with a
7-
control.(a11y_label_has_associated_control)
7+
control(a11y_label_has_associated_control)
88
line: 6
99
column: 3
1010
suggestions: null

packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore03-errors.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
column: 3
99
suggestions: null
1010
- message: A form label must be associated with a
11-
control.(a11y_label_has_associated_control)
11+
control(a11y_label_has_associated_control)
1212
line: 5
1313
column: 3
1414
suggestions: null
@@ -23,7 +23,7 @@
2323
column: 3
2424
suggestions: null
2525
- message: A form label must be associated with a
26-
control.(a11y_label_has_associated_control)
26+
control(a11y_label_has_associated_control)
2727
line: 9
2828
column: 3
2929
suggestions: null
@@ -42,7 +42,7 @@
4242
column: 3
4343
suggestions: null
4444
- message: A form label must be associated with a
45-
control.(a11y_label_has_associated_control)
45+
control(a11y_label_has_associated_control)
4646
line: 17
4747
column: 3
4848
suggestions: null

0 commit comments

Comments
 (0)