Skip to content

[Snyk] Upgrade @swc/core from 1.3.68 to 1.13.4#7638

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

[Snyk] Upgrade @swc/core from 1.3.68 to 1.13.4#7638
q1blue wants to merge 1 commit intomasterfrom
snyk-upgrade-ac4c6ad6a59bf784da4f94c6f7acf37f

Conversation

@q1blue
Copy link
Copy Markdown
Collaborator

@q1blue q1blue commented Sep 12, 2025

snyk-top-banner

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

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

  • The recommended version was released 22 days 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/core dependency to a newer version in the Storybook configuration.

  • Updated @swc/core from ^1.3.46 to ^1.13.4 in package.json
  • Updated @swc/core from 1.3.68 to 1.13.5 in yarn.lock for all platform variants
  • Added new dependencies @swc/counter and @swc/types in yarn.lock
  • Relaxed peer dependency requirement for @swc/helpers from ^0.5.0 to >=0.5.17

@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Sep 12, 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 12, 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 from version ^1.3.46 to ^1.13.4 in the Storybook configuration. SWC (Speedy Web Compiler) is a Rust-based platform for JavaScript/TypeScript compilation and bundling. The update affects both package.json and yarn.lock files, bringing in new dependencies (@swc/counter and @swc/types) and relaxing peer dependency requirements for @swc/helpers. This significant version bump likely includes performance improvements, bug fixes, and new features for the build process.

Changes

File(s) Summary
storybook/package.json Updated @swc/core dependency from ^1.3.46 to ^1.13.4
storybook/yarn.lock Updated @swc/core from 1.3.68 to 1.13.5 for all platform variants, added new dependencies @swc/counter (^0.1.3) and @swc/types (^0.1.24), and relaxed @swc/helpers peer dependency requirement from ^0.5.0 to >=0.5.17

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    title SWC Core Dependency Update Flow

    participant App as "Storybook Application"
    participant Bundler as "JavaScript Bundler"
    participant SWC as "@swc/core v1.13.5"
    participant Counter as "@swc/counter v0.1.3"
    participant Types as "@swc/types v0.1.25"
    participant Platform as "Platform-specific SWC Binaries"

    Note over App,Platform: Dependency Update: @swc/core ^1.3.46 → ^1.13.4 (resolved to 1.13.5)

    App->>Bundler: Import modules
    Bundler->>SWC: Request code transformation
    
    activate SWC
    
    SWC->>Counter: Initialize counter service
    Note right of Counter: New dependency in v1.13.5
    
    SWC->>Types: Use type definitions
    Note right of Types: New dependency in v1.13.5
    
    alt OS=darwin & CPU=arm64
        SWC->>Platform: Load @swc/core-darwin-arm64 v1.13.5
    else OS=darwin & CPU=x64
        SWC->>Platform: Load @swc/core-darwin-x64 v1.13.5
    else OS=linux & CPU=x64 & libc=glibc
        SWC->>Platform: Load @swc/core-linux-x64-gnu v1.13.5
    else OS=win32 & CPU=x64
        SWC->>Platform: Load @swc/core-win32-x64-msvc v1.13.5
    else Other platform combinations
        SWC->>Platform: Load appropriate platform-specific binary v1.13.5
    end
    
    Platform-->>SWC: Return platform-specific implementation
    SWC->>SWC: Transform JavaScript/TypeScript code
    
    SWC-->>Bundler: Return transformed code
    deactivate SWC
    
    Bundler-->>App: Return bundled application
    
    Note over App,Platform: Updated peer dependency requirement: @swc/helpers >=0.5.17
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

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 Sep 19, 2025
@github-actions github-actions Bot closed this Sep 30, 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