Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2025

User description

Bumps @swc/core from 1.14.0 to 1.15.3.

Changelog

Sourced from @​swc/core's changelog.

[1.15.3] - 2025-11-20

Bug Fixes

  • (es/codegen) Restore missing top-level comments (#11302) (0998c93)

  • (es/codegen) Emit comments of all nodes (#11314) (387ee0f)

  • (es/minifier) Prevent compress.comparisons from transforming expressions with side effects (#11256) (58a9d81)

  • (es/minifier) Remove unused arrow functions in dead code elimination (#11319) (88c6ac7)

  • (es/parser) Make the span of Program start at input start (#11199) (b56e008)

  • (es/plugin) Use #[cfg] to avoid compilation error (#11316) (f615cdb)

  • (es/quote) Replace usage of swc_atoms with swc_core::atoms (#11299) (c1e32fa)

Miscellaneous Tasks

  • (es/transformer) Determine project structure (#11306) (58f2602)

Performance

  • (es/compat) Merge regexp pass into Transformer (#11307) (440b391)

  • (es/compat) Merge export_namespace_from to Transformer (#11309) (7a528ce)

Refactor

[1.15.2] - 2025-11-14

Bug Fixes

... (truncated)

Commits
  • e36cc72 chore: Publish 1.15.3 with swc_core v48.0.2
  • 1064582 chore: Update changelog
  • 57b34fa chore: Publish 1.15.3-nightly-20251120.1 with swc_core v48.0.2
  • 2392161 chore: Specify dependency version to publish swc_cli
  • cfd92b1 chore: Publish crates with swc_core v48.0.2
  • 88c6ac7 fix(es/minifier): Remove unused arrow functions in dead code elimination (#11...
  • b0d3154 chore: use_sticky_comment: true for Claude Code Review
  • 6d5a585 chore: Publish crates with swc_core v48.0.1
  • f615cdb fix(es/plugin): use #[cfg] to avoid compilation error (#11316)
  • f98ca27 chore: Publish crates with swc_core v48.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

CodeAnt-AI Description

Update frontend compiler to @swc/core v1.15.3 to preserve comments and prevent unsafe minification

What Changed

  • Frontend build dependency @swc/core updated to v1.15.3 (package.json and lockfile changed)
  • Compiled JavaScript now preserves top-level and node comments (so license/annotation comments remain in built assets)
  • Minifier avoids unsafe comparison transforms of expressions with side effects and improves dead-code elimination (removes unused arrow functions), reducing risk of runtime regressions and shrinking bundles

Impact

✅ Clearer license/comments in built bundles
✅ Fewer production regressions from unsafe minification
✅ Smaller frontend bundles

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Bumps [@swc/core](https://github.com/swc-project/swc) from 1.14.0 to 1.15.3.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](swc-project/swc@v1.14.0...v1.15.3)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.15.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependabot npm Dependabot - npm related PRs labels Dec 11, 2025
@codeant-ai-for-open-source
Copy link
Contributor

CodeAnt AI is reviewing your PR.

@bito-code-review
Copy link
Contributor

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review this change because all changed files are in the exclusion list for automatic reviews. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the excluded files settings here, or contact your Bito workspace admin at evan@preset.io.

@codeant-ai-for-open-source codeant-ai-for-open-source bot added the size:M This PR changes 30-99 lines, ignoring generated files label Dec 11, 2025
@codeant-ai-for-open-source
Copy link
Contributor

CodeAnt AI finished reviewing your PR.

@codeant-ai-for-open-source
Copy link
Contributor

💡 Enhance Your PR Reviews

We noticed that 3 feature(s) are not configured for this repository. Enabling these features can help improve your code quality and workflow:

🚦 Quality Gates

Status: Quality Gates are not enabled at the organization level
Learn more about Quality Gates

🎫 Jira Ticket Compliance

Status: Jira credentials file not found. Please configure Jira integration in your settings
Learn more about Jira Integration

⚙️ Custom Rules

Status: No custom rules configured. Add rules via organization settings or .codeant/review.json in your repository
Learn more about Custom Rules


Want to enable these features? Contact your organization admin or check our documentation for setup instructions.

@rusackas
Copy link
Member

SWC plugin compatibility issue - Storybook build fails with 'Error: plugin'. May need coordinated update with @swc/plugin-transform-imports.

@rusackas rusackas closed this Dec 15, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 15, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/superset-frontend/swc/core-1.15.3 branch December 15, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot dependencies:needs-work dependencies:npm npm Dependabot - npm related PRs size:M This PR changes 30-99 lines, ignoring generated files size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant