Skip to content

[Snyk] Upgrade @swc/core from 1.3.68 to 1.13.5#8045

Closed
q1blue wants to merge 1 commit intomasterfrom
snyk-upgrade-1bbba84ce487b6ab3a45dd1f9cc07ff1
Closed

[Snyk] Upgrade @swc/core from 1.3.68 to 1.13.5#8045
q1blue wants to merge 1 commit intomasterfrom
snyk-upgrade-1bbba84ce487b6ab3a45dd1f9cc07ff1

Conversation

@q1blue
Copy link
Copy Markdown
Collaborator

@q1blue q1blue commented Sep 26, 2025

snyk-top-banner

Snyk has created this PR to upgrade @swc/core from 1.3.68 to 1.13.5.

ℹ️ 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 448 versions ahead of your current version.

  • The recommended version was released a month ago.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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

This PR updates the SWC compiler dependency to a newer version in the Storybook project.

  • Updated @swc/core from version ^1.3.46 to ^1.13.5 in package.json
  • Updated actual installed version from 1.3.68 to 1.13.19 in yarn.lock
  • Added new required dependencies: @swc/counter (0.1.3) and @swc/types (0.1.25)
  • Updated peer dependency requirement for @swc/helpers from ^0.5.0 to >=0.5.17

@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Sep 26, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@snyk-io
Copy link
Copy Markdown

snyk-io Bot commented Sep 26, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

🔒 Entelligence AI Vulnerability Scanner

No security vulnerabilities found!

Your code passed our comprehensive security analysis.


@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Walkthrough

This PR updates the @swc/core dependency in the Storybook project from version ^1.3.46 to ^1.13.5 in package.json, with the corresponding yarn.lock changes reflecting the actual installed versions (1.3.68 to 1.13.19). The update represents a significant version bump for the SWC compiler, which is used for JavaScript/TypeScript compilation. The PR also introduces two new dependencies required by the newer @swc/core version: @swc/counter and @swc/types, and updates the peer dependency requirement for @swc/helpers.

Changes

File(s) Summary
storybook/package.json Updated @swc/core dependency from ^1.3.46 to ^1.13.5
storybook/yarn.lock Updated @swc/core from 1.3.68 to 1.13.19 for all platform variants, added new dependencies @swc/counter (0.1.3) and @swc/types (0.1.25), updated @swc/helpers peer dependency requirement from ^0.5.0 to >=0.5.17, and made a minor change to typescript package resolution hash

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    title SWC Core Dependency Update Flow

    participant App as "Storybook Application"
    participant PackageManager as "Package Manager (Yarn)"
    participant SWCCore as "@swc/core v1.13.19"
    participant SWCCounter as "@swc/counter"
    participant SWCTypes as "@swc/types"
    participant PlatformBinaries as "Platform-specific Binaries"

    Note over App,PlatformBinaries: Dependency Update Flow

    App->>PackageManager: Update @swc/core from v1.3.46 to v1.13.5
    PackageManager->>SWCCore: Install @swc/core v1.13.19
    
    Note over SWCCore: New dependencies added in v1.13.x
    SWCCore->>SWCCounter: Require @swc/counter ^0.1.3
    SWCCore->>SWCTypes: Require @swc/types ^0.1.25
    
    SWCTypes->>SWCCounter: Depend on @swc/counter ^0.1.3
    
    Note over SWCCore,PlatformBinaries: Platform-specific binary resolution
    SWCCore->>PlatformBinaries: Load appropriate binary based on OS/CPU/libc
    
    alt OS is Darwin (macOS) & CPU is arm64
        SWCCore->>PlatformBinaries: Load @swc/core-darwin-arm64 v1.13.19
    else OS is Darwin (macOS) & CPU is x64
        SWCCore->>PlatformBinaries: Load @swc/core-darwin-x64 v1.13.19
    else OS is Linux & CPU is arm64 & libc is glibc
        SWCCore->>PlatformBinaries: Load @swc/core-linux-arm64-gnu v1.13.19
    else OS is Windows & CPU is x64
        SWCCore->>PlatformBinaries: Load @swc/core-win32-x64-msvc v1.13.19
    else Other platform combinations
        SWCCore->>PlatformBinaries: Load appropriate platform binary v1.13.19
    end
    
    Note over SWCCore: Updated peer dependency
    SWCCore-->>App: Require @swc/helpers >=0.5.17 (optional)
    
    PackageManager-->>App: Update complete
    App-->>App: Continue with Storybook operations
Loading

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please 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 below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

LGTM 👍

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 3, 2025

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions Bot added the stale label Oct 3, 2025
@github-actions github-actions Bot closed this Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants