biomejs
biome
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge remote-tracking branch 'upstream/main' into fix/svelte-generics-type-imports
Mokto:fix/svelte-generics-type-imports
1 hour ago
improve changeset
16-cut-over-type-consumers
4 hours ago
fix(workspace_db): avoid panic on severely malformed svelte generics Addresses a CodeRabbit finding on the previous commit: content the type-parameter-list parser can't recover from (e.g. a stray token right after a separator) makes the node factory collapse the whole snippet root to a generic bogus node instead of JsSvelteGenericsRoot. The existing .tree() cast panics in that case since AnyJsRoot::cast doesn't match a bogus kind. Cast fallibly instead, matching AnyJsRoot::cast's Option return, so a snippet in this state is skipped rather than crashing the whole analysis. Ordinary typos (missing comma, wrong keyword) are unaffected; the type-parameter list's own separator recovery already absorbs those and keeps a well-formed root, as covered by the existing parser tests.
Mokto:fix/svelte-generics-type-imports
4 hours ago
[autofix.ci] apply automated fixes
Mokto:fix/svelte-generics-type-imports
5 hours ago
fix(svelte): parse <script generics> as a real embedded snippet Address review feedback from ematipico on PR #10952: the previous implementation side-parsed a synthetic `type __<...> = never;` wrapper outside the normal embedding pipeline, which discarded parse errors and produced fake zero-length ranges/tokens for the registered type references. Add a dedicated parser entry point (JsSvelteGenericsRoot) that parses the bare, comma-separated type parameter list found in a Svelte `<script generics="...">` attribute directly, with real token ranges via the same offset-aware parsing used for every other embedded snippet (script bodies, {#snippet} signatures, {@const} blocks, etc). The generics attribute value is now extracted as an EmbedCandidate and parsed through parse_embedded_nodes like any other snippet, so it is saved and visited the same way, and malformed generics now surface as real parse diagnostics instead of being silently swallowed. The workspace_db visitor's type-reference extraction is simplified to reuse the generic JsReferenceIdentifier walk, with declared type parameter names excluded so a type parameter referencing itself in its own constraint (e.g. T extends Comparable<T>) isn't mistaken for a reference to an unrelated import of the same name.
Mokto:fix/svelte-generics-type-imports
5 hours ago
perf: address regressions hopefully
dyc3/svelte-let-const-declarations
12 hours ago
fix: coderabbit review comments
dyc3/svelte-let-const-declarations
13 hours ago
fix(lint): avoid noFloatingPromises false positive
ruidosujeira:fix/no-floating-promises-async-return-inference
14 hours ago
Latest Branches
CodSpeed Performance Gauge
+2%
fix(svelte): track type references in generics attribute
#10952
2 hours ago
041b5ed
Mokto:fix/svelte-generics-type-imports
CodSpeed Performance Gauge
+18%
refactor(analyzer): cut over inferred type consumers
#11009
4 hours ago
52babe6
16-cut-over-type-consumers
CodSpeed Performance Gauge
-4%
feat(svelte): support for {let}/{const} syntax
#11056
12 hours ago
1669b66
dyc3/svelte-let-const-declarations
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs