-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Upgrade @swc/core from 1.3.68 to 1.15.8 #11671
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
base: master
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade @swc/core from 1.3.68 to 1.15.8. See this package in yarn: @swc/core See this project in Snyk: https://app.snyk.io/org/q1bluequantumblockchainlabs.onmicrosoft.com/project/78e89a11-7570-4c90-8650-785847255aa5?utm_source=github&utm_medium=referral&page=upgrade-pr
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
Summary of ChangesHello @q1blue, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request, automatically generated by Snyk, updates the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
WalkthroughThis PR updates the SWC compiler dependency in the Storybook configuration from version 1.3.x to 1.15.x, representing a significant version jump across multiple minor releases. The update affects both the package.json dependency declaration and the yarn.lock file, which reflects the actual installed version and its platform-specific binaries. The newer version introduces two new dependencies (@swc/counter and @swc/types) and relaxes the peer dependency constraint for @swc/helpers. This upgrade likely brings performance improvements, bug fixes, and new features from the SWC project's development over these releases. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant PM as Package Manager
participant SB as Storybook Project
participant SWC as @swc/core
participant Bins as Platform Binaries
participant Deps as New Dependencies
Note over PM,Deps: Dependency Upgrade: @swc/core 1.3.68 → 1.15.11
PM->>SB: Install dependencies
SB->>PM: Request @swc/core ^1.15.8
PM->>SWC: Resolve @swc/core@1.15.11
activate SWC
SWC->>Bins: Load platform-specific binary
Note over Bins: darwin-arm64, darwin-x64,<br/>linux variants, win32 variants<br/>(all updated to 1.15.11)
Bins-->>SWC: Binary loaded
SWC->>Deps: Require @swc/counter@^0.1.3
activate Deps
Deps-->>SWC: Counter module
SWC->>Deps: Require @swc/types@^0.1.25
Deps->>Deps: Load @swc/counter internally
Deps-->>SWC: Types module
deactivate Deps
SWC-->>PM: Core module ready
deactivate SWC
PM-->>SB: Dependencies installed
Note over SB,SWC: Peer dependency @swc/helpers<br/>now requires >=0.5.17 (was ^0.5.0)
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
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.
Code Review
This pull request upgrades @swc/core to 1.15.8 for the storybook package. The changes look correct.
However, I noticed that packages/cli/package.json also depends on @swc/core but is not being updated from ^1.3.46. To maintain version consistency across the monorepo and avoid potential issues, it would be beneficial to upgrade this dependency as well.
Snyk has created this PR to upgrade @swc/core from 1.3.68 to 1.15.8.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 482 versions ahead of your current version.
The recommended version was released a month ago.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
EntelligenceAI PR Summary
Updates the SWC compiler dependency in Storybook from version 1.3.x to 1.15.x with associated dependency changes.