chore(deps-dev): Bump svelte from 3.59.2 to 5.51.5#19439
chore(deps-dev): Bump svelte from 3.59.2 to 5.51.5#19439dependabot[bot] wants to merge 1 commit intodevelopfrom
Conversation
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 3.59.2 to 5.51.5. - [Release notes](https://github.com/sveltejs/svelte/releases) - [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG-pre-5.md) - [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.51.5/packages/svelte) --- updated-dependencies: - dependency-name: svelte dependency-version: 5.51.5 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
| @@ -49,7 +49,7 @@ | |||
| "devDependencies": { | |||
| "@sveltejs/vite-plugin-svelte": "1.4.0", | |||
There was a problem hiding this comment.
Bug: The @sveltejs/vite-plugin-svelte dependency is pinned to version 1.4.0, which is incompatible with Svelte 5 and will cause build and test failures.
Severity: CRITICAL
Suggested Fix
Update the @sveltejs/vite-plugin-svelte dependency in packages/svelte/package.json from version 1.4.0 to a version compatible with Svelte 5, such as ^3.0.0.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: packages/svelte/package.json#L50
Potential issue: The `package.json` for the `svelte` package pins the
`@sveltejs/vite-plugin-svelte` dependency to version `1.4.0`. This version is
incompatible with the Svelte 5 upgrade in this pull request, which requires version
`^3.0.0` or higher. This mismatch will cause the build and test pipeline to fail when
the Vite configuration attempts to load the outdated plugin, preventing any tests from
running successfully. Other packages in the monorepo, such as `sveltekit`, already use a
compatible version of the plugin.
Did we get this right? 👍 / 👎 to inform future reviews.
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.
| "@sveltejs/vite-plugin-svelte": "1.4.0", | ||
| "@testing-library/svelte": "^3.2.1", | ||
| "svelte": "3.59.2", | ||
| "svelte": "5.51.5", |
There was a problem hiding this comment.
Svelte 5 bump breaks incompatible vite plugin dependency
High Severity
Bumping svelte from 3.59.2 to 5.51.5 without updating @sveltejs/vite-plugin-svelte from 1.4.0 breaks the build and test pipeline. Version 1.4.0 only supports Svelte 3 (depends on svelte-hmr@^0.15.1) and is incompatible with Svelte 5's completely different compiler API. Similarly, @testing-library/svelte ^3.2.1 doesn't support Svelte 5 — tests using component.$set() will fail since Svelte 5 components are no longer class instances. Both companion dev dependencies need to be updated to Svelte 5–compatible versions.
|
Closing this. Svelte 3 is still the lowest version we support in the SDK. We will not bump the dev dependency. It is not shipped to users or used in the SDK besides tests. |
|
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |


Bumps svelte from 3.59.2 to 5.51.5.
Release notes
Sourced from svelte's releases.
... (truncated)
Changelog
Sourced from svelte's changelog.
... (truncated)
Commits
8ea33bfVersion Packages (#17740)f855a0bfix: misc option escaping and backwards compatibility (#17741)781052echore: upgradedevalue(#17739)f7c80daMerge commit from forka0c7f28Merge commit from fork73098bbMerge commit from forkf89c7ddMerge commit from forkb8f2b86Version Packages (#17733)c83aa06chore: proactively defer effects in pending boundary (#17734)2287ad0fix: detect and error on non-idempotent each block keys in dev mode (#17732)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~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.