Skip to content

Conversation

@q1blue
Copy link
Collaborator

@q1blue q1blue commented Jan 23, 2026

snyk-top-banner

Snyk has created this PR to upgrade swc-loader from 0.2.3 to 0.2.6.

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

  • The recommended version was released 2 years 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

Updates swc-loader dependency in Storybook package from version 0.2.3 to 0.2.6 (resolved to 0.2.7) with associated lockfile changes.

  • Bumped swc-loader version in package.json from ^0.2.3 to ^0.2.6
  • Resolved swc-loader to version 0.2.7 in yarn.lock
  • Added new transitive dependency @swc/counter@^0.1.3 (version 0.1.3)
  • Updated TypeScript patch resolution hash in lockfile

@codesandbox
Copy link

codesandbox bot commented Jan 23, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@snyk-io
Copy link

snyk-io bot commented Jan 23, 2026

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.

@socket-security
Copy link

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.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: npm argparse under Python-2.0.1

License: Python-2.0.1 - the applicable license policy does not allow this license (4) (package/LICENSE)

From: ?npm/js-yaml@4.1.0npm/argparse@2.0.1

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/argparse@2.0.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: npm caniuse-lite under CC-BY-4.0

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (npm metadata)

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (package/package.json)

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (package/LICENSE)

From: ?npm/@docusaurus/core@0.0.0-5591npm/@docusaurus/plugin-client-redirects@0.0.0-5591npm/@docusaurus/preset-classic@0.0.0-5591npm/caniuse-lite@1.0.30001481

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/caniuse-lite@1.0.30001481. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/@docusaurus/core@0.0.0-5591npm/@docusaurus/plugin-client-redirects@0.0.0-5591npm/@docusaurus/preset-classic@0.0.0-5591npm/entities@4.4.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/entities@4.4.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm html-minifier-terser is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/@docusaurus/core@0.0.0-5591npm/html-minifier-terser@7.2.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/html-minifier-terser@7.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@entelligence-ai-pr-reviews
Copy link

Walkthrough

This PR updates the swc-loader dependency in the Storybook package from version 0.2.3 to 0.2.6 (resolved to 0.2.7). This minor version bump brings bug fixes and performance improvements to the SWC (Speedy Web Compiler) loader used in Storybook's build process. The update introduces a new transitive dependency @swc/counter at version 0.1.3, which is required by the newer swc-loader version. The changes maintain backward compatibility within the 0.2.x version range and include corresponding lockfile updates with modified integrity checksums.

Changes

File(s) Summary
storybook/package.json Updated swc-loader dependency from ^0.2.3 to ^0.2.6
storybook/yarn.lock Updated swc-loader resolved version to 0.2.7, added new dependency @swc/counter@^0.1.3 (resolved to 0.1.3), and updated TypeScript patch resolution hash

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant Webpack
    participant SWCLoader as swc-loader (v0.2.7)
    participant Counter as @swc/counter (v0.1.3)
    participant SWCCore as @swc/core
    participant Output as Compiled Output

    Note over Webpack,Output: Storybook Build Process with Updated Dependencies

    Webpack->>SWCLoader: Load and process source files
    activate SWCLoader
    
    Note over SWCLoader,Counter: New in v0.2.6+: Counter integration
    SWCLoader->>Counter: Initialize counter for tracking
    activate Counter
    Counter-->>SWCLoader: Counter instance ready
    deactivate Counter
    
    SWCLoader->>SWCCore: Transform code using SWC compiler
    activate SWCCore
    
    loop For each file/module
        SWCCore->>SWCCore: Parse and transform JavaScript/TypeScript
        SWCCore->>Counter: Increment compilation metrics
        activate Counter
        Counter-->>SWCCore: Metrics updated
        deactivate Counter
    end
    
    SWCCore-->>SWCLoader: Return transformed code
    deactivate SWCCore
    
    SWCLoader-->>Webpack: Provide compiled modules
    deactivate SWCLoader
    
    Webpack->>Output: Bundle final output
    
    Note over Webpack,Output: Build complete with enhanced tracking
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants