chore(deps-dev): bump svelte from 4.2.7 to 5.55.7 in /examples/svelte/svelte-vite#4611
Conversation
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 4.2.7 to 5.55.7. - [Release notes](https://github.com/sveltejs/svelte/releases) - [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md) - [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.55.7/packages/svelte) --- updated-dependencies: - dependency-name: svelte dependency-version: 5.55.7 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0a33594. Configure here.
| "prettier": "^2.5.1", | ||
| "prettier-plugin-svelte": "^2.5.0", | ||
| "svelte": "^4.2.7", | ||
| "svelte": "^5.55.7", |
There was a problem hiding this comment.
Svelte 5 breaks SDK peer dependency requiring Svelte 4
High Severity
Bumping svelte from 4.x to 5.x violates the peer dependency declared by @builder.io/sdk-svelte@^1.0.27, which explicitly requires svelte: "^4.1.2". Svelte 5 has a fundamentally different component API and internal architecture, so the SDK — compiled against Svelte 4 internals — is likely to break at runtime. The example's .svelte files also use Svelte 4 syntax (export let, $: reactivity, on:click) which, while supported in Svelte 5's legacy mode, won't work correctly if the SDK itself cannot interoperate with Svelte 5.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 0a33594. Configure here.
|
View your CI Pipeline Execution ↗ for commit 0a33594
☁️ Nx Cloud last updated this comment at |


Bumps svelte from 4.2.7 to 5.55.7.
Release notes
Sourced from svelte's releases.
... (truncated)
Changelog
Sourced from svelte's changelog.
... (truncated)
Commits
4d8f99aVersion Packages (#18220)0552308chore: bump devalue (#18219)e1cbbd9Merge commit from forka16ebc6Merge commit from forkd2375e2Merge commit from fork547853eMerge commit from fork55f9c85Version Packages (#18158)a10e8e4fix: keep dependencies of$state.eager/pending(alternative approach) (#1...ef4b97dfix: duplicated "of" in events.js comment (#18217)5122936fix: treat batches as a linked list (#18205)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for svelte since your current version.
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 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)You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Medium Risk
Major-version Svelte upgrade in an example app may introduce build/runtime incompatibilities (including Node >=18 requirement) and conflicts with dependencies that still peer-depend on Svelte 4.
Overview
Upgrades the
examples/svelte/svelte-viteexample from Svelte^4.2.7to^5.55.7inpackage.json.Regenerates
package-lock.jsonfor the new Svelte version, pulling in Svelte 5’s updated transitive dependencies (e.g. new@sveltejs/acorn-typescript,@jridgewell/remapping,clsx,devalue,esrap,zimmerframe) and raising Svelte’s engine requirement to Node>=18.Reviewed by Cursor Bugbot for commit 0a33594. Bugbot is set up for automated code reviews on this repo. Configure here.