Skip to content

build(deps): update dependency svelte-check to v4#46

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

build(deps): update dependency svelte-check to v4#46
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/svelte-check-4.x

Conversation

@renovate

@renovate renovate Bot commented Sep 5, 2024

Copy link
Copy Markdown
Contributor

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svelte-check ^3.4.3 -> ^4.3.2 age adoption passing confidence

Release Notes

sveltejs/language-tools (svelte-check)

v4.3.2

Compare Source

Patch Changes
  • perf: tweak some snapshot hot paths (#​2852)

  • perf: more precise module cache invalidation (#​2853)

  • fix: properly handle runes={false} in <svelte:options> (#​2847)

See https://github.com/sveltejs/language-tools/releases

v4.3.1

Compare Source

fix: handle object literal in MustacheTag (#​2805)

v4.3.0

Compare Source

  • feat: zero types for params (#​2795)
  • feat: add await support (#​2799)
  • fix: strip doctype using AST instead of regex (#​2798)
  • chore: make human output more concise and readable (#​2748)

v4.2.2

Compare Source

  • fix: invalidate project file cache and handle watcher race condition (#​2779)
  • fix: prevent error with bind:this={get, set} (#​2781)
  • fix: don't treat derived imported from svelte/store as a potential store (#​2780)
  • fix: key block can have its own block scope (#​2768)

v4.2.1

Compare Source

  • feat: support generics on snippets (#​2761)

v4.2.0

Compare Source

  • feat: support attachments (#​2760)
  • fix: deduplicate definition for rune-mode components (#​2759)

v4.1.7

Compare Source

  • fix: robustify hoisting logic around prop types (#​2740)
  • fix: ensure typed exports are marked as used (#​2746)
  • chore: bump vscode-html/css-language-service (#​2752)
  • fix: ensure eligible snippets can be referenced in module script (#​2753)
  • fix: prevent error with unclosed tag followed by LF or end of file (#​2750)

v4.1.6

Compare Source

  • fix: prevent unused variable error for bindable
  • fix: ensure exports in runes mode are marked as used
  • fix: add color CLI options

v4.1.5

Compare Source

  • fix: take other snippets into account when checking for hoistability (#​2668)
  • fix: disambiguate render in module script (#​2667)
  • fix: properly transform $props.id when $props is assigned to props (#​2694)
  • fix: handle booleanish popover (#​2702)
  • chore: bump vscode-html/css-language-service (#​2677)
  • fix: use referenced project's compiler option to get resolution mode (#​2676)

v4.1.4

Compare Source

  • fix: don't hoist types/snippets referencing stores or destructured variables (#​2661)

v4.1.3

Compare Source

  • fix: move snippets to correct place when only module script present

v4.1.2

Compare Source

  • feat: support generics attribute for JSDoc (#​2624)
  • fix: better snippet/interface hoistability analysis (#​2655)
  • chore: TypeScript 5.7 support (#​2585)

v4.1.1

Compare Source

  • fix: support each without as (#​2615)

v4.1.0

Compare Source

  • fix: don't move appended content from previous node while hoisting interface (#​2596)
  • fix: ensure hoisted interfaces are moved after hoisted imports (#​2597)
  • fix: preserve bind:... mapping on elements for better source maps
  • feat: prepare for some upcoming features of Svelte 5

v4.0.9

Compare Source

  • fix: detect shadowed variables/types during type hoisting (#​2590)

v4.0.8

Compare Source

  • fix: fall back to any instead of unknown for untyped $props (#​2582)
  • fix: robustify and fix file writing (#​2584)
  • fix: hoist types related to $props rune if possible (#​2571)

v4.0.7

Compare Source

  • fix: $props: infer types for $bindable, infer function type from arrow function

v4.0.6

Compare Source

  • chore: autotype const load = ... declarations (#​2540)
  • chore: provide component instance type in Svelte 5 (#​2553)
  • chore: support typescript 5.6 (#​2545)
  • fix: infer object and array shapes from fallback types (#​2562)

v4.0.5

Compare Source

  • fix: include named exports in svelte 5 type (#​2528)

v4.0.4

Compare Source

  • fix: relax component constructor type (#​2524)

v4.0.3

Compare Source

  • breaking(svelte5): only generate function component shape in runes mode (#​2517). This means you can no longer just do Component in type positions. Instead you need to prepend it with typeof. Here's how you do it:
    • ...when typing a component instance: Before: let x: Component. After: let x: ReturnType<typeof Component>
    • ...when typing a component constructor/function: Before let x: typeof Component. After let x: typeof Component (no change)
  • fix: revert additional two-way-binding checks as they were causing bugs (#​2508)
  • fix: include files indirectly belonging to a project into correct project (#​2488)
  • fix: check project files update more aggressively before assigning service (#​2518)
  • chore: upgrade to chokidar 4 (#​2502)

v4.0.2

Compare Source

  • fix: ensure components typed through Svelte 5's Component interface get proper intellisense

v4.0.1

Compare Source

  • fix: remove ancient process augmentation from internal d.ts file

v4.0.0

Compare Source

  • chore: bump magic-string (#​2476)
  • chore: switch from fast-glob to fdir (#​2433)
  • fix: detect <script module> tag (#​2482)
  • feat: better type checking for bindings in Svelte 5 (#​2477)
  • feat: replace svelte-preprocess with barebones TS preprocessor (#​2452)
  • feat: project reference support (#​2463)
Breaking changes
  • require Svelte 4 or later (#​2453)
  • make TypeScript a peer dependency, require TS 5 or later (#​2453)
  • require node 18 or later (#​2453)
  • process augmentation (declaring a process.browser field) was removed
  • slight changes to how files are assigned to which tsconfig.json (#​1234, #​2463)
  • slight changes to how Svelte module resolution works; .svelte files now take precedence over .svelte.js/ts files (if both exist) (#​2481)
  • language-server now forces fewer TypeScript options. Most notably skipLibCheck is no longer forced to true, which may result in d.ts files now being checked in your project, which they were not before, revealing type errors. Either fix those or add "skipLibCheck": true to your tsconfig.json (#​1976, #​2463)

v3.8.6

Compare Source

  • fix: support Svelte 5 module script attribute (#​2473)

v3.8.5

Compare Source

  • chore: bump html/css language service (#​2424)
  • chore: better "cannot use bind:" error message (#​2429)
  • fix: no implicit children prop when using slot (#​2427)
  • fix: correctly handle HTML between implicit snippet props (#​2450)
  • fix: correctly scope snippet declarations (#​2449)
  • fix: make it possible to type snippet parameters using JSDoc (#​2449)
  • fix: add legacy methods to own component shape (#​2451)

v3.8.4

Compare Source

  • fix: ensure bindings and exports work properly for Svelte 5 + TS5.5

v3.8.3

Compare Source

  • fix: detect root snippets correctly
  • fix: prevent false positive store declarations (#​2422)

v3.8.2

Compare Source

v3.8.1

Compare Source

  • fix: adjust ambient module snipping logic
  • chore: speed up regex

v3.8.0

Compare Source

  • fix: allow for whitespace in snippets declaration (#​2366)
  • fix: allow as expressions for bindable props (#​2372)
  • fix: force correct semantic tokens for $props types (#​2379)
  • feat: Svelte 5 component class/function interop (#​2380)

v3.7.1

Compare Source

  • fix: rework bindable types strategy (#​2361)

v3.7.0

Compare Source

  • feat: mark only properties as bindable that were declared using $bindable() in Svelte 5 runes mode (#​2336)
  • chore: better Svelte 5 interop (#​2336)
  • fix: preserve event attribute casing in Svelte 5 (#​2347)
  • fix: handle #await inside #snippet (#​2348)
  • fix: better bind:group transformation (#​2349)
  • fix: handle boolean css var (#​2350)

v3.6.9

Compare Source

  • fix: ensure type widening for bind:group
  • perf: improve perf in deleteUnresolvedResolutionsFromCache (#​2320)
  • fix: adjust for moved compiler file in Svelte 5 (#​2327)

v3.6.8

Compare Source

  • chore: support TypeScript 5.4 (#​2313)
  • fix: allow falsy values for render tags

v3.6.7

Compare Source

  • fix: use type instead of generic for $props() (#​2314)

v3.6.6

Compare Source

  • fix: adjust render tag for latest AST version

v3.6.5

Compare Source

  • fix: adjust $props() comment type logic (#​2294)
  • fix: use Svelte 4 compiler from user when available
  • fix: adjust snippet helper type to new snippet API
  • fix: also take type argument into account when analyzing $props()
  • fix: don't add form type to zero types when property is not typed out

v3.6.4

Compare Source

  • fix: take type annotations into account when transforming one-way bindings (#​2283)

Svelte 5:

  • fix: deduplicate generate props/events/slot types correctly (#​2269)
  • fix: adjust snippet code generation for new AST shape (#​2282)
  • fix: ensure correct types for media bindings (#​2284)
  • fix: implict children tweaks (#​2285) (#​2263)

v3.6.3

Compare Source

  • fix: various snippet improvements
  • fix: don't remove non-null-assertion operator (#​2248)
  • fix: prevent crash in moduleResolution Node16+ (#​2230)
  • fix: correct declareMap reference line number (#​2250)
  • feat: zero effort typings for reroute (#​2252)

v3.6.2

Compare Source

  • feat: add best-effort fallback typings to $props() rune
  • fix: don't add generic type when snippet has no params
  • fix: pass children to zero types Svelte 5 (#​2212)
  • fix: add possibility to pass in version to svelte2tsx to differentiate transpiler targets
  • fix: add implicit children prop in Svelte 5 mode (#​2211)
  • fix: hide deprecation warnings in generated code Svelte 5 (svelte#9586)
  • chore: bump deps (#​2214)
  • perf: faster checks for certain characters (#​2179)

v3.6.1

Compare Source

  • fix: support SvelteKit zero types with $props rune
  • fix: use Snippet type and ensure @render tag only uses snippet functions
  • fix: account for > in attribute strings (#​2204)
  • fix: handle contexts in each/await
  • fix: don't lowercase custom element attributes (#​2190)
  • fix: make root snippets available in instance script (#​2201)

v3.6.0

Compare Source

  • feat: add experimental compatibility for Svelte 5
  • fix: enhance numberOnlyAttributes list

v3.5.2

Compare Source

  • fix: only allow client files and project files to be root files (#​2146)
  • fix: output $$Props code differently to deal with unions better (#​2153)
  • fix: add fallback handler to auto-types (#​2156)

v3.5.1

Compare Source

  • fix: ignore style tag inside script tag (#​2104)
  • fix: ignore error about transition third argument (#​2139)

v3.5.0

Compare Source

  • feat: try load svelteHTML from svelte core (#​2117)
  • fix: svelte:document types
  • fix: generic const modifier (#​2118)

Configuration

📅 Schedule: 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.

@renovate renovate Bot added the dependencies label Sep 5, 2024
@renovate renovate Bot requested a review from MaySoMusician September 5, 2024 17:55
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from 6ddfbb5 to f1da8bd Compare September 8, 2024 11:20
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from f1da8bd to 8a5b1dd Compare September 16, 2024 09:01
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from 48055ba to 999054a Compare October 1, 2024 02:52
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from 999054a to 97d7a8f Compare October 15, 2024 05:32
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from 45a9cbc to bf09525 Compare November 15, 2024 02:40
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch 3 times, most recently from d1fd18e to 99be853 Compare November 26, 2024 02:48
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from 99be853 to 04fe023 Compare December 7, 2024 05:55
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from 02cdda5 to a93e3c0 Compare January 17, 2025 06:59
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from a93e3c0 to d69de48 Compare March 11, 2025 03:31
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from d69de48 to b8a0442 Compare April 18, 2025 03:42
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from b8a0442 to 5b8a6e7 Compare May 10, 2025 07:29
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from 5b8a6e7 to 208babe Compare May 18, 2025 19:27
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from 208babe to e426f59 Compare July 5, 2025 08:04
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from e426f59 to 6a2bfe8 Compare July 27, 2025 03:51
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from 6a2bfe8 to 56207cc Compare August 7, 2025 06:08
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from 56207cc to d41f204 Compare August 15, 2025 19:47
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot force-pushed the renovate/svelte-check-4.x branch from d41f204 to 325bb7f Compare September 26, 2025 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants