Skip to content

[Snyk] Upgrade @swc/core from 1.3.68 to 1.13.20#8160

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

[Snyk] Upgrade @swc/core from 1.3.68 to 1.13.20#8160
q1blue wants to merge 1 commit intomasterfrom
snyk-upgrade-ee4a832d5f1e7e12c0a0ee8161365361

Conversation

@q1blue
Copy link
Copy Markdown
Collaborator

@q1blue q1blue commented Nov 8, 2025

snyk-top-banner

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

ℹ️ 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 457 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

Upgrades @swc/core dependency in Storybook from version 1.3.x to 1.15.1, introducing new dependencies and relaxing peer dependency constraints.

  • Updated @swc/core version specification in package.json from ^1.3.46 to ^1.13.20
  • Lockfile reflects actual version bump from 1.3.68 to 1.15.1 across all platform-specific binaries (Darwin, Linux, Windows)
  • Added two new dependencies: @swc/counter@^0.1.3 and @swc/types@^0.1.25
  • Relaxed @swc/helpers peer dependency requirement from ^0.5.0 to >=0.5.17 for broader compatibility
  • Updated package checksums and TypeScript patch resolution hash

@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Nov 8, 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 Nov 8, 2025

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

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@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 upgrades the @swc/core dependency in the Storybook package from version 1.3.46 to 1.13.20 (with the lockfile reflecting an actual update from 1.3.68 to 1.15.1). This is a significant version bump spanning multiple minor releases of the SWC compiler, which likely includes performance improvements, bug fixes, and new features. The update affects all platform-specific binaries across Darwin, Linux, and Windows architectures. Additionally, two new dependencies (@swc/counter and @swc/types) are introduced, and the peer dependency requirement for @swc/helpers is relaxed to allow broader version compatibility.

Changes

File(s) Summary
storybook/package.json Updated @swc/core dependency from ^1.3.46 to ^1.13.20, maintaining caret semver range for compatible updates.
storybook/yarn.lock Updated @swc/core and all platform-specific binaries from 1.3.68 to 1.15.1; added @swc/counter@^0.1.3 and @swc/types@^0.1.25 as new dependencies; relaxed @swc/helpers peer dependency from ^0.5.0 to >=0.5.17; updated package checksums and TypeScript patch resolution hash.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant PM as Package Manager
    participant SB as Storybook App
    participant SWC as @swc/core
    participant Bins as Platform Binaries
    participant Counter as @swc/counter
    participant Types as @swc/types
    
    Note over PM,Types: Dependency Update: @swc/core 1.3.68 → 1.15.1
    
    PM->>PM: Read package.json
    Note right of PM: @swc/core: ^1.13.20
    
    PM->>SWC: Resolve @swc/core@^1.13.20
    SWC-->>PM: Version 1.15.1 selected
    
    rect rgb(240, 248, 255)
        Note over PM,Bins: Platform-Specific Binary Resolution
        PM->>Bins: Resolve darwin-arm64@1.15.1
        PM->>Bins: Resolve darwin-x64@1.15.1
        PM->>Bins: Resolve linux-arm64-gnu@1.15.1
        PM->>Bins: Resolve linux-x64-gnu@1.15.1
        PM->>Bins: Resolve win32-x64-msvc@1.15.1
        Note right of Bins: All binaries marked<br/>as optional dependencies
    end
    
    rect rgb(255, 250, 240)
        Note over PM,Types: New Dependencies in v1.15.1
        PM->>Counter: Resolve @swc/counter@^0.1.3
        Counter-->>PM: Version 0.1.3 installed
        
        PM->>Types: Resolve @swc/types@^0.1.25
        Types->>Counter: Depends on @swc/counter@^0.1.3
        Types-->>PM: Version 0.1.25 installed
    end
    
    PM->>PM: Check peer dependency
    Note right of PM: @swc/helpers >= 0.5.17<br/>(optional)
    
    PM->>SB: Install updated dependencies
    
    Note over SB,SWC: Storybook can now use<br/>@swc/core 1.15.1 features
    
    SB->>SWC: Import and initialize
    SWC->>Bins: Load platform-specific binary
    SWC->>Types: Use type definitions
    SWC->>Counter: Initialize counter utilities
    SWC-->>SB: Ready for compilation
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.

@github-actions
Copy link
Copy Markdown

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 Nov 15, 2025
@github-actions github-actions Bot closed this Nov 20, 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