Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency svelte-check to v4 #940

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 3, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svelte-check ^3.4.4 -> ^4.0.0 age adoption passing confidence

Release Notes

sveltejs/language-tools (svelte-check)

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)

Configuration

📅 Schedule: Branch creation - "before 5:00am" in timezone America/Chicago, 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 force-pushed the renovate/svelte-check-4.x branch 4 times, most recently from 195871c to 27c4a12 Compare September 10, 2024 09:42
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch 3 times, most recently from 975db66 to 44ac119 Compare September 17, 2024 12:41
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from 09c812b to d7187c1 Compare September 28, 2024 10:34
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from d7187c1 to df8d010 Compare October 10, 2024 10:07
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from df8d010 to a5d0713 Compare October 22, 2024 11:27
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from a5d0713 to 6840561 Compare November 1, 2024 11:15
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch 4 times, most recently from c062e3a to 7173291 Compare November 14, 2024 10:57
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from 7173291 to 63d3afe Compare November 23, 2024 14:13
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from 63d3afe to f2ec656 Compare December 5, 2024 11:03
@renovate renovate bot changed the title chore(deps): update dependency svelte-check to v4 chore(deps): update dependency svelte-check to v4 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/svelte-check-4.x branch December 8, 2024 18:42
@renovate renovate bot changed the title chore(deps): update dependency svelte-check to v4 - autoclosed chore(deps): update dependency svelte-check to v4 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from efcb2a6 to f2ec656 Compare December 9, 2024 10:22
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from c914c4d to 578ae6e Compare December 25, 2024 13:33
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from 578ae6e to 5c7e278 Compare January 10, 2025 14:06
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from 5c7e278 to 0a6eea7 Compare January 22, 2025 08:30
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