Skip to content

chore(deps): update dependency svelte-eslint-parser to v1.12.0 - #440

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/svelte-eslint-parser-1.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/svelte-eslint-parser-1.x

Conversation

@renovate

@renovate renovate Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
svelte-eslint-parser 1.10.1 → 1.12.0 age confidence

Release Notes

sveltejs/svelte-eslint-parser (svelte-eslint-parser)

v1.12.0

Compare Source

Minor Changes
  • #​971 a3e8905 Thanks @​baseballyama! - Treat a binding to a variable (such as bind:this={el} or bind: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 a bind:this function binding with the element or component instance type instead of implicit any.

  • #​973 646ce26 Thanks @​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 as upload={(file) => …} are typed from that member instead of an unusable union that left callback parameters as implicit any.

  • #​974 cade11c Thanks @​baseballyama! - Keep TypeScript's narrowing of property paths such as item.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 2cfe2db Thanks @​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. row in <Table rows={users}>{#snippet row(user)}…{/snippet}</Table> is typed from users) instead of the generics constraint.

  • #​972 b140352 Thanks @​baseballyama! - Make a Svelte 5 generics component a generic type too, so Foo<Row> (e.g. in let instance = $state<Foo<Row>>()) names its instance with those type arguments instead of failing to resolve; a bare Foo keeps working through defaults taken from the constraints.

Patch Changes
  • #​1016 0812923 Thanks @​baseballyama! - fix: resolve a component's own attributes in the outer scope, not in its let: scope

  • #​1015 a5bacf9 Thanks @​baseballyama! - fix: match <script>, <style> and <template> tags case-sensitively like Svelte, so a component named Script, Style or Template is not parsed as a block

  • #​1075 d710872 Thanks @​baseballyama! - fix: parse a sequence expression such as (a, b) as the whole {#each} expression

  • #​1012 1375088 Thanks @​baseballyama! - fix: do not resolve an each block key to a declaration in its body

  • #​1069 5bde947 Thanks @​baseballyama! - fix: parse a generics attribute with a const type parameter

  • #​1000 c30cf6d Thanks @​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 97a08ab Thanks @​baseballyama! - fix: remove leftover scope references from the type of use: directive parameters, which crashed some rules (e.g. sonarjs/no-unused-collection) with lang="ts"

  • #​997 bfced4b Thanks @​baseballyama! - fix: do not narrow Svelte v4 export let props to the type of their default value (e.g. no more false positives from @typescript-eslint/no-unnecessary-condition for href ?? fallback)

  • #​1018 04bd3b6 Thanks @​baseballyama! - fix: keep a component's let: names out of children with a named slot

  • #​1049 17bb73f Thanks @​baseballyama! - fix: end styleNodeRange() at the end of the style node instead of one character after it, and end styleNodeLoc() of the root at the end of the style code

  • #​1054 d7d3f1d Thanks @​baseballyama! - fix: give the right style selector locations when PostCSS removes comments from the selector

  • #​1052 c73d227 Thanks @​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 5c34f23 Thanks @​baseballyama! - fix: read a destructured name in svelte.config.js that is not the first in its pattern

  • #​1051 fd2db41 Thanks @​baseballyama! - fix: keep reading a svelte.config.js value past a spread that does not set it

  • #​998 157dfa1 Thanks @​that-richan! - fix: resolve .svelte imports through package.json imports and exports subpaths to the component's prop types under the experimental ts.sys hook

v1.11.0

Compare Source

Minor Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

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
renovate Bot force-pushed the renovate/svelte-eslint-parser-1.x branch from 239e2c8 to fa7764c Compare November 26, 2026 16:38
@renovate renovate Bot changed the title chore(deps): update dependency svelte-eslint-parser to v1.11.0 chore(deps): update dependency svelte-eslint-parser to v1.12.0 Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants