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 svelte-check to 4.1.4 #180

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

Conversation

chii-bot[bot]
Copy link
Contributor

@chii-bot chii-bot bot commented Sep 2, 2024

This PR contains the following updates:

Package Type Update Change
svelte-check devDependencies major 2.9.1 -> 4.1.4

Release Notes

sveltejs/language-tools (svelte-check)

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)

v3.4.6

Compare Source

  • chore: bump deps to force versions that include Svelte 4 peer dependencies

v3.4.5

Compare Source

  • feat: SvelteKit HEAD export
  • fix: type one way bindings that are not the element (#​2066)

v3.4.4

Compare Source

  • (fix) add support for resize observer bindings (#​2044)
  • (fix) remove Svelte 4 ambient module declaration
  • (fix) add vite.config.ts.timestamp-* to ignore list (#​2052)

v3.4.3

Compare Source

  • (fix) load svelte/compiler for version 4 correctly

v3.4.2

Compare Source

  • (feat) add machine-verbose to the output options (#​2012)
  • (feat) implement experimental generics attribute on script tags (#​2020)
  • (fix) support nested destructuring in export const (#​2028)
  • (feat) get ready for Svelte 4 (#​2030)

v3.4.1

Compare Source

broken release, don't use

v3.4.0

Compare Source

broken release, don't use

v3.3.2

Compare Source

  • (fix) allow non-literal createEventDispatcher generic template (#​2004)
  • (fix) ignore updated files not belonging to project (#​2006)

v3.3.1

Compare Source

  • (fix) add entries as a valid export

v3.3.0

Compare Source

  • (feat) Auto-typing support for entries (#​1983)

v3.2.0

Compare Source

  • (feat) intellisense for new bindings (#​1957)
  • (feat) bump to TypeScript 5.0 (#​1919)
  • (feat) support <svelte:document> (#​1958)
  • (fix) swap order of inserted statements for store prop with type (#​1960)
  • (fix) add .js to $types imports to support node16/nodenext resolution (#​1967)
  • (fix) use Svelte's ComponentConstructorOptions (#​1969)
  • (feat) throw error on invalid tsconfig includes/excludes and on unknown options (#​1974)

v3.1.4

Compare Source

  • (fix) various kit auto typing fixes (#​1936)

v3.1.3

Compare Source

  • (fix) take arrow function into account when adding return type (#​1934)

v3.1.2

Compare Source

  • (fix) correct request handler event type for SvelteKit auto-typings

v3.1.1

Compare Source

  • (fix) allow more actions on one element
  • (fix) remove overzealous $$Props check (#​1920)
  • (fix) various improvements around automatic SvelteKit types (#​1926, #​1927)
  • (fix) race condition when reloading ts service (#​1922)
  • (fix) error on invalid tsconfig path (#​1928)

v3.1.0

Compare Source

  • (feat) include the number of files containing errors or warnings in svelte-check diagnostics summary (#​1909)

v3.0.4

Compare Source

  • (fix) recognize more js-like file types (#​1894)
  • (fix) no error with unkown props if $$restProps is used (#​1887)
  • (fix) move error if $$Props is an alias of another type (#​1892)
  • (chore) remove old transformation (#​1858)

v3.0.3

Compare Source

  • (fix) make --no-tsconfig flag work (#​1843)

v3.0.2

Compare Source

  • (fix) add missing space to the console output (#​1810)

v3.0.1

Compare Source

  • (fix) correctly check if props implement $$Props interface (#​1797)

BREAKING CHANGES

  • the old transformation is no longer available. If you're using the svelte.JSX namespace in your projects, you should migrate accordingly
  • minimum required Node version is now 16
  • minimum required TypeScript version is now 4.9
  • minimum required Svelte version is now 3.55
  • removed hint diagnostics to align with tsc
  • searches for nearest tsconfig/jsconfig by default now (you don't need to specify --tsconfig anymore in most cases now; use --no-tsconfig to get back the old behavior of only checking Svelte files without a jsconfig/tsconfig)

v3.0.0

Compare Source

broken release, see 3.0.1 instead

v2.10.3

Compare Source

  • (fix) data-sveltekit attributes are valid on all elements (#​1773)
  • (fix) move interface if referenced by generic (#​1791)
  • (fix) no error with unkown props if uses $$props (#​1769)

v2.10.2

Compare Source

  • (fix) add polling interval to watchFile

v2.10.1

Compare Source

  • (fix) add "" and "off" as valid data-sveltekit-X values (#​1753) (#​1749)
  • (fix) getter type is nonnullable (#​1751)
  • (fix) add FormDataEvent (#​1760)
  • (fix) full version number in svelte-check --version (#​1747)

v2.10.0

Compare Source

  • (fix) type error for component with no props (#​1744)
  • (fix) generic support for component getter and accessor (#​1689)
  • (fix) allow falsy values for svelte:component (#​1694)
  • (fix) skip forwarded event from svelte:self (#​1693)
  • (fix) case insenstive file system document sync (#​1697)
  • (feat) add --preserveWatchOutput option (#​1715)

v2.9.2

Compare Source

  • (fix) relax event handler typings (#​1502)
  • (fix) ensure correct typings are accessed (#​1675)

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 has been generated by Renovate Bot.

@chii-bot chii-bot bot requested a review from toboshii as a code owner September 2, 2024 14:20
@chii-bot chii-bot bot added the type/major label Sep 2, 2024
@chii-bot
Copy link
Contributor Author

chii-bot bot commented Sep 2, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: frontend/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: hajimari@0.3.0
npm ERR! Found: svelte@3.50.1
npm ERR! node_modules/svelte
npm ERR!   dev svelte@"3.50.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^4.0.0 || ^5.0.0-next.0" from svelte-check@4.1.4
npm ERR! node_modules/svelte-check
npm ERR!   dev svelte-check@"4.1.4" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2025-01-13T10_26_24_747Z-debug-0.log

@chii-bot chii-bot bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 2, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from 9872df6 to 883a3b2 Compare September 4, 2024 12:42
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.0 chore(deps): update svelte-check to 4.0.1 Sep 4, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from 883a3b2 to db412de Compare September 12, 2024 12:41
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.1 chore(deps): update svelte-check to 4.0.2 Sep 12, 2024
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.2 chore(deps): update svelte-check to 4.0.3 Sep 26, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from 727cf22 to 837778d Compare September 27, 2024 21:21
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.3 chore(deps): update svelte-check to 4.0.4 Sep 27, 2024
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.4 chore(deps): update svelte-check to 4.0.5 Oct 11, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from 837778d to e2554f1 Compare October 11, 2024 15:24
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from e2554f1 to a15032b Compare November 8, 2024 11:19
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.5 chore(deps): update svelte-check to 4.0.6 Nov 8, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from a15032b to acae372 Compare November 11, 2024 17:20
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.6 chore(deps): update svelte-check to 4.0.7 Nov 11, 2024
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.7 chore(deps): update svelte-check to 4.0.8 Nov 15, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from a1c8cb1 to 2156508 Compare November 16, 2024 20:23
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.8 chore(deps): update svelte-check to 4.0.9 Nov 16, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from 2156508 to 0d70e1e Compare November 22, 2024 12:45
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.0.9 chore(deps): update svelte-check to 4.1.0 Nov 22, 2024
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.1.0 chore(deps): update svelte-check to 4.1.1 Dec 3, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from 0d70e1e to 238a4cf Compare December 3, 2024 18:32
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.1.1 chore(deps): update svelte-check to 4.1.1 - autoclosed Dec 8, 2024
@chii-bot chii-bot bot closed this Dec 8, 2024
@chii-bot chii-bot bot deleted the renovate/svelte-check-4.x branch December 8, 2024 18:31
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.1.1 - autoclosed chore(deps): update svelte-check to 4.1.1 Dec 9, 2024
@chii-bot chii-bot bot restored the renovate/svelte-check-4.x branch December 9, 2024 10:28
@chii-bot chii-bot bot reopened this Dec 9, 2024
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from 238a4cf to 388f0ce Compare January 8, 2025 13:29
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.1.1 chore(deps): update svelte-check to 4.1.2 Jan 8, 2025
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from 388f0ce to f5c9222 Compare January 8, 2025 15:25
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.1.2 chore(deps): update svelte-check to 4.1.3 Jan 8, 2025
| datasource | package      | from  | to    |
| ---------- | ------------ | ----- | ----- |
| npm        | svelte-check | 2.9.1 | 4.1.4 |
@chii-bot chii-bot bot force-pushed the renovate/svelte-check-4.x branch from f5c9222 to 32a4bf2 Compare January 13, 2025 10:26
@chii-bot chii-bot bot changed the title chore(deps): update svelte-check to 4.1.3 chore(deps): update svelte-check to 4.1.4 Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. type/major
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants