Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 ([#​11929](https://togithub.com/sveltejs/svelte/pull/11929)) - fix: sort `{@​const ...}` tags topologically in legacy mode ([#​11908](https://togithub.com/sveltejs/svelte/pull/11908)) - chore: deprecate html in favour of body for render() ([#​11927](https://togithub.com/sveltejs/svelte/pull/11927)) - fix: append start/end info to `AssignmentPattern` and `VariableDeclarator` ([#​11930](https://togithub.com/sveltejs/svelte/pull/11930)) - fix: relax slot prop validation on components ([#​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 ([#​11913](https://togithub.com/sveltejs/svelte/pull/11913)) - fix: omit `state_referenced_locally` warning for component exports ([#​11905](https://togithub.com/sveltejs/svelte/pull/11905)) - fix: ensure event.target is correct for delegation ([#​11900](https://togithub.com/sveltejs/svelte/pull/11900)) - chore: speed up regex ([#​11918](https://togithub.com/sveltejs/svelte/pull/11918)) - feat: bind `activeElement` and `pointerLockElement` in `<svelte:document>` ([#​11879](https://togithub.com/sveltejs/svelte/pull/11879)) - fix: correctly backport `svelte:element` to old AST ([#​11917](https://togithub.com/sveltejs/svelte/pull/11917)) - fix: add `unused-export-let` to legacy lint replacements ([#​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 ([#​11860](https://togithub.com/sveltejs/svelte/pull/11860)) - fix: address map reactivity regression ([#​11882](https://togithub.com/sveltejs/svelte/pull/11882)) - fix: assign message to error object in `handle_error` using `Object.defineProperty` ([#​11675](https://togithub.com/sveltejs/svelte/pull/11675)) - fix: ensure frozen objects in state are correctly skipped ([#​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 ([#​11852](https://togithub.com/sveltejs/svelte/pull/11852)) - breaking: removed deferred event updates ([#​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 ([#​11827](https://togithub.com/sveltejs/svelte/pull/11827)) - fix: improve controlled each block cleanup performance ([#​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 ([#​11819](https://togithub.com/sveltejs/svelte/pull/11819)) - fix: set correct scope for `@const` tags within slots ([#​11798](https://togithub.com/sveltejs/svelte/pull/11798)) - fix: better support for onwheel events in chrome ([#​11808](https://togithub.com/sveltejs/svelte/pull/11808)) - fix: coherent infinite loop guard ([#​11815](https://togithub.com/sveltejs/svelte/pull/11815)) - fix: make prop fallback values deeply reactive if needed ([#​11804](https://togithub.com/sveltejs/svelte/pull/11804)) - fix: robustify initial scroll value detection when scroll is smooth ([#​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 ([#​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 ([#​11768](https://togithub.com/sveltejs/svelte/pull/11768)) - fix: support `array.lastIndexOf` without second argument ([#​11766](https://togithub.com/sveltejs/svelte/pull/11766)) - fix: handle `this` parameter in TypeScript-annotated functions ([#​11795](https://togithub.com/sveltejs/svelte/pull/11795)) - fix: allow classes to be reassigned ([#​11794](https://togithub.com/sveltejs/svelte/pull/11794)) - fix: capture the correct event names when spreading attributes ([#​11783](https://togithub.com/sveltejs/svelte/pull/11783)) - fix: allow global next to `&` for nesting ([#​11784](https://togithub.com/sveltejs/svelte/pull/11784)) - fix: parse ongotpointercapture and onlostpointercapture events correctly ([#​11790](https://togithub.com/sveltejs/svelte/pull/11790)) - fix: only inject push/pop in SSR components when necessary ([#​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 ([#​11736](https://togithub.com/sveltejs/svelte/pull/11736)) - fix: use svg methods for updating svg attributes too ([#​11755](https://togithub.com/sveltejs/svelte/pull/11755)) - fix: don't warn on link without href if aria-disabled ([#​11737](https://togithub.com/sveltejs/svelte/pull/11737)) - fix: don't use console.trace inside dev warnings ([#​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 ([#​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 ([#​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 ([#​11723](https://togithub.com/sveltejs/svelte/pull/11723)) - fix: don't add scoping modifier to nesting selectors ([#​11713](https://togithub.com/sveltejs/svelte/pull/11713)) - chore: speedup hydration around input and select values ([#​11717](https://togithub.com/sveltejs/svelte/pull/11717)) - fix: update value like attributes in a separate template_effect ([#​11720](https://togithub.com/sveltejs/svelte/pull/11720)) - fix: improve handling of unowned derived signal ([#​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 ([#​11704](https://togithub.com/sveltejs/svelte/pull/11704)) - fix: check for invalid bindings on window and document ([#​11676](https://togithub.com/sveltejs/svelte/pull/11676)) - fix: more efficient spread attributes in SSR output ([#​11660](https://togithub.com/sveltejs/svelte/pull/11660)) - fix: inline pointer events now correctly work in Chrome ([#​11695](https://togithub.com/sveltejs/svelte/pull/11695)) - fix: don't require warning codes to be separated by commas in non-runes mode ([#​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` ([#​11639](https://togithub.com/sveltejs/svelte/pull/11639)) - breaking: disallow string literal values in `<svelte:element this="...">` ([#​11454](https://togithub.com/sveltejs/svelte/pull/11454)) - fix: use coarse-grained updates for derived expressions passed to props in legacy mode ([#​11652](https://togithub.com/sveltejs/svelte/pull/11652)) - fix: robustify `bind:scrollX/Y` binding ([#​11655](https://togithub.com/sveltejs/svelte/pull/11655)) - feat: migrate `<svelte:element this="div">` ([#​11659](https://togithub.com/sveltejs/svelte/pull/11659)) - feat: more information when hydration fails ([#​11649](https://togithub.com/sveltejs/svelte/pull/11649)) - fix: replay load and error events on load during hydration ([#​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 ([#​11643](https://togithub.com/sveltejs/svelte/pull/11643)) - feat: introduce `rootDir` compiler option, make `filename` relative to it ([#​11627](https://togithub.com/sveltejs/svelte/pull/11627)) - fix: rename `__svelte_meta.filename` to `__svelte_meta.file` to align with svelte 4 ([#​11627](https://togithub.com/sveltejs/svelte/pull/11627)) - fix: avoid state_referenced_locally warning within type annotations ([#​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 ([#​11585](https://togithub.com/sveltejs/svelte/pull/11585)) - fix: deduplicate children prop and default slot ([#​10800](https://togithub.com/sveltejs/svelte/pull/10800)) - feat: error on imports to `svelte/internal/*` ([#​11632](https://togithub.com/sveltejs/svelte/pull/11632)) - fix: better handle img loading attribute ([#​11635](https://togithub.com/sveltejs/svelte/pull/11635)) - feat: add $state.is rune ([#​11613](https://togithub.com/sveltejs/svelte/pull/11613)) - feat: provide $state warnings for accidental equality ([#​11610](https://togithub.com/sveltejs/svelte/pull/11610)) - feat: error when snippet shadow a prop ([#​11631](https://togithub.com/sveltejs/svelte/pull/11631)) - chore: use `new CustomEvent` instead of deprecated `initCustomEvent` ([#​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 ([#​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 ([#​11591](https://togithub.com/sveltejs/svelte/pull/11591)) - fix: replicate Svelte 4 props update detection in legacy mode ([#​11577](https://togithub.com/sveltejs/svelte/pull/11577)) - fix: allow for non optional chain call expression in render ([#​11578](https://togithub.com/sveltejs/svelte/pull/11578)) - fix: correctly handle falsy values of style directives in SSR mode ([#​11583](https://togithub.com/sveltejs/svelte/pull/11583)) - fix: improve handling of lazy image elements ([#​11593](https://togithub.com/sveltejs/svelte/pull/11593)) - fix: skip deriveds for props with known safe calls ([#​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 ([#​11569](https://togithub.com/sveltejs/svelte/pull/11569)) - fix: ensure all effect cleanup functions are untracked ([#​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]>
- Loading branch information