Repository navigation
chore(deps): update dependency svelte-eslint-parser to v1.12.0 - #440
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
papermc-website | fa7764c | Commit Preview URL Branch Preview URL |
Nov 26 2026, 04:40 PM |
renovate
Bot
force-pushed
the
renovate/svelte-eslint-parser-1.x
branch
from
November 26, 2026 16:38
239e2c8 to
fa7764c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
1.10.1→1.12.0Release Notes
sveltejs/svelte-eslint-parser (svelte-eslint-parser)
v1.12.0Compare Source
Minor Changes
#971
a3e8905Thanks @baseballyama! - Treat a binding to a variable (such asbind:this={el}orbind:value={text}) as a write of it for type checking, so TypeScript no longer keeps the variable narrowed to its initial value (e.g.null) inside closures, and type the setter of abind:thisfunction binding with the element or component instance type instead of implicitany.#973
646ce26Thanks @baseballyama! - Select the matching members of a component's discriminated union props by the attributes whose values are fixed in the markup (e.g.mode="single"), so other attributes such asupload={(file) => …}are typed from that member instead of an unusable union that left callback parameters as implicitany.#974
cade11cThanks @baseballyama! - Keep TypeScript's narrowing of property paths such asitem.list, and of reassigned variables, inside{#each}blocks (e.g. under{#if item.kind === "a"}), so they no longer fall back to the unnarrowed type inside the block.#970
2cfe2dbThanks @baseballyama! - Infer a Svelte 5 generic component's type arguments from the attributes passed to it, so snippet parameters, callback attributes, and function binding setters get the inferred types (e.g.rowin<Table rows={users}>{#snippet row(user)}…{/snippet}</Table>is typed fromusers) instead of thegenericsconstraint.#972
b140352Thanks @baseballyama! - Make a Svelte 5genericscomponent a generic type too, soFoo<Row>(e.g. inlet instance = $state<Foo<Row>>()) names its instance with those type arguments instead of failing to resolve; a bareFookeeps working through defaults taken from the constraints.Patch Changes
#1016
0812923Thanks @baseballyama! - fix: resolve a component's own attributes in the outer scope, not in itslet:scope#1015
a5bacf9Thanks @baseballyama! - fix: match<script>,<style>and<template>tags case-sensitively like Svelte, so a component namedScript,StyleorTemplateis not parsed as a block#1075
d710872Thanks @baseballyama! - fix: parse a sequence expression such as(a, b)as the whole{#each}expression#1012
1375088Thanks @baseballyama! - fix: do not resolve an each block key to a declaration in its body#1069
5bde947Thanks @baseballyama! - fix: parse agenericsattribute with aconsttype parameter#1000
c30cf6dThanks @joshuabremer! - fix: load the TypeScript that typescript-eslint uses instead of the newest reachable copy, so a hoisted TypeScript 7 in a pnpm monorepo no longer breaks JS components#996
97a08abThanks @baseballyama! - fix: remove leftover scope references from the type ofuse:directive parameters, which crashed some rules (e.g.sonarjs/no-unused-collection) withlang="ts"#997
bfced4bThanks @baseballyama! - fix: do not narrow Svelte v4export letprops to the type of their default value (e.g. no more false positives from@typescript-eslint/no-unnecessary-conditionforhref ?? fallback)#1018
04bd3b6Thanks @baseballyama! - fix: keep a component'slet:names out of children with a namedslot#1049
17bb73fThanks @baseballyama! - fix: endstyleNodeRange()at the end of the style node instead of one character after it, and endstyleNodeLoc()of the root at the end of the style code#1054
d7d3f1dThanks @baseballyama! - fix: give the right style selector locations when PostCSS removes comments from the selector#1052
c73d227Thanks @baseballyama! - fix: give the right style selector locations after CR, U+2028 and U+2029 line breaks and for selector nodes that start with a line break#1064
5c34f23Thanks @baseballyama! - fix: read a destructured name insvelte.config.jsthat is not the first in its pattern#1051
fd2db41Thanks @baseballyama! - fix: keep reading asvelte.config.jsvalue past a spread that does not set it#998
157dfa1Thanks @that-richan! - fix: resolve.svelteimports throughpackage.jsonimportsandexportssubpaths to the component's prop types under the experimentalts.syshookv1.11.0Compare Source
Minor Changes
a5ad365Thanks @baseballyama! - fix: allow a member name intransition:,in:,out:andanimate:with Svelte 5Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.