Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps-dev): bump svelte-check from 3.8.4 to 4.0.5 (#1245)
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 3.8.4 to 4.0.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sveltejs/language-tools/releases">svelte-check's releases</a>.</em></p> <blockquote> <h2>svelte-check-4.0.5</h2> <ul> <li>fix: include named exports in svelte 5 type (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2528">#2528</a>)</li> </ul> <h2>svelte-check-4.0.4</h2> <ul> <li>fix: relax component constructor type (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2524">#2524</a>)</li> </ul> <h2>svelte-check-4.0.3</h2> <ul> <li>breaking(svelte5): only generate function component shape in runes mode (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2517">#2517</a>). This means you can no longer just do <code>Component</code> in type positions. Instead you need to prepend it with <code>typeof</code>. Here's how you do it: <ul> <li>...when typing a component instance: Before: <code>let x: Component</code>. After: <code>let x: ReturnType<typeof Component></code></li> <li>...when typing a component constructor/function: Before <code>let x: typeof Component</code>. After <code>let x: typeof Component</code> (no change)</li> </ul> </li> <li>fix: revert additional two-way-binding checks as they were causing bugs (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2508">#2508</a>)</li> <li>fix: include files indirectly belonging to a project into correct project (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2488">#2488</a>)</li> <li>fix: check project files update more aggressively before assigning service (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2518">#2518</a>)</li> <li>chore: upgrade to chokidar 4 (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2502">#2502</a>)</li> </ul> <h2>svelte-check-4.0.2</h2> <ul> <li>fix: ensure components typed through Svelte 5's <code>Component</code> interface get proper intellisense</li> </ul> <h2>svelte-check-4.0.1</h2> <ul> <li>fix: remove ancient <code>process</code> augmentation from internal <code>d.ts</code> file</li> </ul> <h2>svelte-check-4.0.0</h2> <ul> <li>chore: bump magic-string (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2476">#2476</a>)</li> <li>chore: switch from fast-glob to fdir (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2433">#2433</a>)</li> <li>fix: detect <!-- raw HTML omitted --> tag (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2482">#2482</a>)</li> <li>feat: better type checking for bindings in Svelte 5 (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2477">#2477</a>)</li> <li>feat: replace svelte-preprocess with barebones TS preprocessor (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2452">#2452</a>)</li> <li>feat: project reference support (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2463">#2463</a>)</li> </ul> <h3>Breaking changes</h3> <ul> <li>require Svelte 4 or later (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2453">#2453</a>)</li> <li>make TypeScript a peer dependency, require TS 5 or later (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2453">#2453</a>)</li> <li>require node 18 or later (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2453">#2453</a>)</li> <li><code>process</code> augmentation (declaring a <code>process.browser</code> field) was removed</li> <li>slight changes to how files are assigned to which tsconfig.json (<a href="https://redirect.github.com/sveltejs/language-tools/issues/1234">#1234</a>, <a href="https://redirect.github.com/sveltejs/language-tools/issues/2463">#2463</a>)</li> <li>slight changes to how Svelte module resolution works; <code>.svelte</code> files now take precedence over <code>.svelte.js/ts</code> files (if both exist) (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2481">#2481</a>)</li> <li>language-server now forces fewer TypeScript options. Most notably <code>skipLibCheck</code> is no longer forced to <code>true</code>, which may result in <code>d.ts</code> files now being checked in your project, which they were not before, revealing type errors. Either fix those or add <code>"skipLibCheck": true</code> to your <code>tsconfig.json</code> (<a href="https://redirect.github.com/sveltejs/language-tools/issues/1976">#1976</a>, <a href="https://redirect.github.com/sveltejs/language-tools/issues/2463">#2463</a>)</li> </ul> <h2>svelte-check-3.8.6</h2> <ul> <li>fix: support Svelte 5 module script attribute (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2473">#2473</a>)</li> </ul> <h2>svelte-check-3.8.5</h2> <ul> <li>chore: bump html/css language service (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2424">#2424</a>)</li> <li>chore: better "cannot use bind:" error message (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2429">#2429</a>)</li> <li>fix: no implicit children prop when using slot (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2427">#2427</a>)</li> <li>fix: correctly handle HTML between implicit snippet props (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2450">#2450</a>)</li> <li>fix: correctly scope snippet declarations (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2449">#2449</a>)</li> <li>fix: make it possible to type snippet parameters using JSDoc (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2449">#2449</a>)</li> <li>fix: add legacy methods to own component shape (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2451">#2451</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sveltejs/language-tools/commit/156bd7d7f445899dd7cf861495a570059d9e47ef"><code>156bd7d</code></a> fix: correctly position quick fixes in instance and module (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2531">#2531</a>)</li> <li><a href="https://github.com/sveltejs/language-tools/commit/a167a93aaee1ecb5694a6f2ac869409c8b535f35"><code>a167a93</code></a> feat: provide Svelte 5 component migration command</li> <li><a href="https://github.com/sveltejs/language-tools/commit/b12afd18df0cb5544bebeb57a8aa615acbd6819f"><code>b12afd1</code></a> fix: include named exports in svelte 5 type (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2528">#2528</a>)</li> <li><a href="https://github.com/sveltejs/language-tools/commit/4dfb988a3f7223f9d1dfe2bd5a9ff9edb6520a89"><code>4dfb988</code></a> fix: relax component constructor type (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2524">#2524</a>)</li> <li><a href="https://github.com/sveltejs/language-tools/commit/fc2144b82a34298f9046d929b94009f06e144749"><code>fc2144b</code></a> chore: upgrade to chokidar 4 (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2502">#2502</a>)</li> <li><a href="https://github.com/sveltejs/language-tools/commit/7c76ec560698e9db6343329bd978d5a24cd03a90"><code>7c76ec5</code></a> fix: check project files update more aggressively before assigning service (#...</li> <li><a href="https://github.com/sveltejs/language-tools/commit/837b61fa57cb80b0e4c531e5d7c61d0000707ce7"><code>837b61f</code></a> breaking(svelte5): only generate function component shape in runes mode (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2517">#2517</a>)</li> <li><a href="https://github.com/sveltejs/language-tools/commit/35af691b80537e8b12a908682c31314da97f55d9"><code>35af691</code></a> perf: auto import cache for svelte-kit language service proxy (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2513">#2513</a>)</li> <li><a href="https://github.com/sveltejs/language-tools/commit/81019d91c38effe61c2ac4b8e8f830d8a6d1f148"><code>81019d9</code></a> fix: revert additional two-way-binding checks (<a href="https://redirect.github.com/sveltejs/language-tools/issues/2508">#2508</a>)</li> <li><a href="https://github.com/sveltejs/language-tools/commit/e74f1d712b66873c06590fd47dcfcfc69aead7db"><code>e74f1d7</code></a> chore: revert accidental commit</li> <li>Additional commits viewable in <a href="https://github.com/sveltejs/language-tools/compare/svelte-check-3.8.4...svelte-check-4.0.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=svelte-check&package-manager=npm_and_yarn&previous-version=3.8.4&new-version=4.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information