-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Upgrade @swc/core from 1.3.68 to 1.13.20 #8155
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -32,7 +32,7 @@ | |||||||||||||||||||||||||||||||||||
| "@docusaurus/core": "0.0.0-5591", | ||||||||||||||||||||||||||||||||||||
| "@docusaurus/plugin-client-redirects": "0.0.0-5591", | ||||||||||||||||||||||||||||||||||||
| "@docusaurus/preset-classic": "0.0.0-5591", | ||||||||||||||||||||||||||||||||||||
| "@swc/core": "^1.3.46", | ||||||||||||||||||||||||||||||||||||
| "@swc/core": "^1.13.20", | ||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Missing critical peer dependencies: The upgrade to SWC 1.13.20 introduces new required dependencies that are missing, including @swc/types, @swc/counter, and updated @swc/helpers. 📝 Committable Code Suggestion
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: swc-loader compatibility: The project uses swc-loader@^0.2.3 which has peer dependency @swc/core: ^1.2.147. The new version 1.13.20 might not be tested with this loader version. |
||||||||||||||||||||||||||||||||||||
| "clsx": "^1.1.1", | ||||||||||||||||||||||||||||||||||||
| "docusaurus-plugin-sass": "^0.2.3", | ||||||||||||||||||||||||||||||||||||
| "luxon": "^3.0.0", | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctness: Version fragmentation risk: The microsite now uses SWC 1.13.20 while other parts of the project still use 1.3.46, creating version fragmentation that can cause AST compatibility issues, plugin conflicts, and inconsistent build behavior.