recipes
recipes copied to clipboard
chore(deps-dev): bump svelte-check from 3.8.6 to 4.0.7 in /sveltekit-embed/template
Bumps svelte-check from 3.8.6 to 4.0.7.
Release notes
Sourced from svelte-check's releases.
svelte-check-4.0.7
- fix:
$props: infer types for$bindable, infer function type from arrow functionsvelte-check-4.0.6
- 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)
svelte-check-4.0.5
- fix: include named exports in svelte 5 type (#2528)
svelte-check-4.0.4
- fix: relax component constructor type (#2524)
svelte-check-4.0.3
- breaking(svelte5): only generate function component shape in runes mode (#2517). This means you can no longer just do
Componentin type positions. Instead you need to prepend it withtypeof. 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. Afterlet 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)
svelte-check-4.0.2
- fix: ensure components typed through Svelte 5's
Componentinterface get proper intellisensesvelte-check-4.0.1
- fix: remove ancient
processaugmentation from internald.tsfilesvelte-check-4.0.0
- chore: bump magic-string (#2476)
- chore: switch from fast-glob to fdir (#2433)
- fix: detect 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)
processaugmentation (declaring aprocess.browserfield) was removed- slight changes to how files are assigned to which tsconfig.json (#1234, #2463)
- slight changes to how Svelte module resolution works;
.sveltefiles now take precedence over.svelte.js/tsfiles (if both exist) (#2481)- language-server now forces fewer TypeScript options. Most notably
skipLibCheckis no longer forced totrue, which may result ind.tsfiles now being checked in your project, which they were not before, revealing type errors. Either fix those or add"skipLibCheck": trueto yourtsconfig.json(#1976, #2463)
Commits
437b0e1fix: use user's Svelte parser when formatting if necessary (#2578)bf1b8effix: adjust generated+layout.sveltefile contents (#2580)49c7e58chore: update Svelte documentation links for template syntax (#2579)0698bc7fix: infer types for$bindable, infer function type from arrow function5bd4663fix: make it possible to disable runes/legacy mode code lens7bfe801fix: ensure code lenses from different sources are merged168e568chore: run CI with node 20 (#2574)ce87e1ffix: move globrex to dependencies (#2576)a3a6393fix: keeplinkedEditingworking when tag name contains.(#2570)6513a28fix: ignore exported variable declarations that aren't simple identifiers- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
🪧 Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.Explain this complex logic.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai explain this code block.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.@coderabbitai read src/utils.ts and explain its main purpose.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
Support
Need help? Join our Discord community for assistance with any issues or questions.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (Invoked using PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai generate sequence diagramto generate a sequence diagram of the changes in this PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Other keywords and placeholders
- Add
@coderabbitai ignoreanywhere in the PR description to prevent this PR from being reviewed. - Add
@coderabbitai summaryto generate the high-level summary at a specific location in the PR description. - Add
@coderabbitaior@coderabbitai titleanywhere in the PR title to generate the title automatically.
CodeRabbit Configuration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
Dependabot can't parse your pnpm-lock.yaml. Because of this, Dependabot cannot update this pull request.
@dependabot rebase
Dependabot can't parse your pnpm-lock.yaml. Because of this, Dependabot cannot update this pull request.
@dependabot recreate
Dependabot can't parse your pnpm-lock.yaml. Because of this, Dependabot cannot update this pull request.
@dependabot rebase
Dependabot can't parse your pnpm-lock.yaml. Because of this, Dependabot cannot update this pull request.
@dependabot rebase
Dependabot can't parse your pnpm-lock.yaml. Because of this, Dependabot cannot update this pull request.
👋 Hello. Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.