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

Merged
nemunaire merged 1 commits from renovate/svelte-check-4.x into master 2024-12-05 17:44:48 +00:00
Collaborator

This PR contains the following updates:

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

Release Notes

sveltejs/language-tools (svelte-check)

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
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [svelte-check](https://github.com/sveltejs/language-tools) | [`^3.4.3` -> `^4.0.0`](https://renovatebot.com/diffs/npm/svelte-check/3.8.6/4.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/svelte-check/4.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/svelte-check/4.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/svelte-check/3.8.6/4.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/svelte-check/3.8.6/4.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sveltejs/language-tools (svelte-check)</summary> ### [`v4.1.1`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.1.1) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.1.0...svelte-check-4.1.1) - fix: support each without as ([#&#8203;2615](https://github.com/sveltejs/language-tools/issues/2615)) ### [`v4.1.0`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.1.0) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.9...svelte-check-4.1.0) - fix: don't move appended content from previous node while hoisting interface ([#&#8203;2596](https://github.com/sveltejs/language-tools/issues/2596)) - fix: ensure hoisted interfaces are moved after hoisted imports ([#&#8203;2597](https://github.com/sveltejs/language-tools/issues/2597)) - fix: preserve bind:... mapping on elements for better source maps - feat: prepare for some upcoming features of Svelte 5 ### [`v4.0.9`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.9) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.8...svelte-check-4.0.9) - fix: detect shadowed variables/types during type hoisting ([#&#8203;2590](https://github.com/sveltejs/language-tools/issues/2590)) ### [`v4.0.8`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.8) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.7...svelte-check-4.0.8) - fix: fall back to any instead of unknown for untyped $props ([#&#8203;2582](https://github.com/sveltejs/language-tools/issues/2582)) - fix: robustify and fix file writing ([#&#8203;2584](https://github.com/sveltejs/language-tools/issues/2584)) - fix: hoist types related to $props rune if possible ([#&#8203;2571](https://github.com/sveltejs/language-tools/issues/2571)) ### [`v4.0.7`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.7) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.6...svelte-check-4.0.7) - fix: `$props`: infer types for `$bindable`, infer function type from arrow function ### [`v4.0.6`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.6) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.5...svelte-check-4.0.6) - chore: autotype `const load = ...` declarations ([#&#8203;2540](https://github.com/sveltejs/language-tools/issues/2540)) - chore: provide component instance type in Svelte 5 ([#&#8203;2553](https://github.com/sveltejs/language-tools/issues/2553)) - chore: support typescript 5.6 ([#&#8203;2545](https://github.com/sveltejs/language-tools/issues/2545)) - fix: infer object and array shapes from fallback types ([#&#8203;2562](https://github.com/sveltejs/language-tools/issues/2562)) ### [`v4.0.5`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.5) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.4...svelte-check-4.0.5) - fix: include named exports in svelte 5 type ([#&#8203;2528](https://github.com/sveltejs/language-tools/issues/2528)) ### [`v4.0.4`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.4) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.3...svelte-check-4.0.4) - fix: relax component constructor type ([#&#8203;2524](https://github.com/sveltejs/language-tools/issues/2524)) ### [`v4.0.3`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.3) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.2...svelte-check-4.0.3) - breaking(svelte5): only generate function component shape in runes mode ([#&#8203;2517](https://github.com/sveltejs/language-tools/issues/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 ([#&#8203;2508](https://github.com/sveltejs/language-tools/issues/2508)) - fix: include files indirectly belonging to a project into correct project ([#&#8203;2488](https://github.com/sveltejs/language-tools/issues/2488)) - fix: check project files update more aggressively before assigning service ([#&#8203;2518](https://github.com/sveltejs/language-tools/issues/2518)) - chore: upgrade to chokidar 4 ([#&#8203;2502](https://github.com/sveltejs/language-tools/issues/2502)) ### [`v4.0.2`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.2) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.1...svelte-check-4.0.2) - fix: ensure components typed through Svelte 5's `Component` interface get proper intellisense ### [`v4.0.1`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.1) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-4.0.0...svelte-check-4.0.1) - fix: remove ancient `process` augmentation from internal `d.ts` file ### [`v4.0.0`](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-4.0.0) [Compare Source](https://github.com/sveltejs/language-tools/compare/svelte-check-3.8.6...svelte-check-4.0.0) - chore: bump magic-string ([#&#8203;2476](https://github.com/sveltejs/language-tools/issues/2476)) - chore: switch from fast-glob to fdir ([#&#8203;2433](https://github.com/sveltejs/language-tools/issues/2433)) - fix: detect <script module> tag ([#&#8203;2482](https://github.com/sveltejs/language-tools/issues/2482)) - feat: better type checking for bindings in Svelte 5 ([#&#8203;2477](https://github.com/sveltejs/language-tools/issues/2477)) - feat: replace svelte-preprocess with barebones TS preprocessor ([#&#8203;2452](https://github.com/sveltejs/language-tools/issues/2452)) - feat: project reference support ([#&#8203;2463](https://github.com/sveltejs/language-tools/issues/2463)) ##### Breaking changes - require Svelte 4 or later ([#&#8203;2453](https://github.com/sveltejs/language-tools/issues/2453)) - make TypeScript a peer dependency, require TS 5 or later ([#&#8203;2453](https://github.com/sveltejs/language-tools/issues/2453)) - require node 18 or later ([#&#8203;2453](https://github.com/sveltejs/language-tools/issues/2453)) - `process` augmentation (declaring a `process.browser` field) was removed - slight changes to how files are assigned to which tsconfig.json ([#&#8203;1234](https://github.com/sveltejs/language-tools/issues/1234), [#&#8203;2463](https://github.com/sveltejs/language-tools/issues/2463)) - slight changes to how Svelte module resolution works; `.svelte` files now take precedence over `.svelte.js/ts` files (if both exist) ([#&#8203;2481](https://github.com/sveltejs/language-tools/issues/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` ([#&#8203;1976](https://github.com/sveltejs/language-tools/issues/1976), [#&#8203;2463](https://github.com/sveltejs/language-tools/issues/2463)) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMDEuMSIsInVwZGF0ZWRJblZlciI6IjM5LjQyLjQiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2024-10-02 06:18:38 +00:00
chore(deps): update dependency svelte-check to v4
Some checks failed
continuous-integration/drone/push Build is failing
de316849a3
renovate-bot force-pushed renovate/svelte-check-4.x from de316849a3 to 1d22e6cc93 2024-11-22 16:15:26 +00:00 Compare
nemunaire merged commit cd6fc7be0d into master 2024-12-05 17:44:48 +00:00
nemunaire deleted branch renovate/svelte-check-4.x 2024-12-05 17:44:49 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: happyDomain/happyDomain#574
No description provided.