Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "1.4.0",
"@testing-library/svelte": "^3.2.1",
"svelte": "3.59.2",
"svelte": "5.51.5",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major svelte bump without updating companion devDependencies

High Severity

Bumping svelte from 3.x to 5.x without updating @sveltejs/vite-plugin-svelte (pinned at 1.4.0, which only supports Svelte 3) and @testing-library/svelte (at ^3.2.1, which doesn't support Svelte 5) will break the build and test pipeline. Svelte 5 requires @sveltejs/vite-plugin-svelte v4+ and @testing-library/svelte v5+. Additionally, the svelte/internal alias in vite.config.ts no longer exists in Svelte 5 (replaced by svelte/internal/client), and the type imports from svelte/types/compiler/preprocess (used in config.ts, types.ts, preprocessors.ts) were removed in Svelte 5 in favor of svelte/compiler.

Additional Locations (1)

Fix in Cursor Fix in Web

"vite": "^5.4.21"
},
"scripts": {
Expand Down
Loading