Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @swc/core from 1.10.18 to 1.11.1 #275

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 25, 2025

Bumps @swc/core from 1.10.18 to 1.11.1.

Changelog

Sourced from @​swc/core's changelog.

[1.11.1] - 2025-02-25

Bug Fixes

  • (error-reporters) Store diagnostics in TransformOutput (#10027) (52caf23)

  • (es/loader) Fix the absolute path check when resolving modules (#10080) (a3894ae)

  • (es/minifier) Fix the order of match arms to inline correctly (#10053) (f0f842d)

  • (es/types) Add transform.verbatimModuleSyntax (#10079) (a883cdc)

  • (swc_common) Fix build with swc_allocator/nightly (#10067) (6a90b1f)

Documentation

Features

  • (es/ast) Add explicit namespace field to distinguish namespace and module declarations (#10023) (76c2cba)

  • (es/ast) Add import attributes to TsImportType (#9796) (7d297be)

  • (es/minifier) Inline across side-effect-free member exprs, (#10056) (19d01d7)

  • (es/minifier) Make seq inliner inline into var without init (#10077) (c4a839b)

  • (es/visit) Introduce core-only visitors (#10049) (bc666be)

  • (swc_allocator) Provide allocators (#10061) (d4362f7)

Miscellaneous Tasks

... (truncated)

Commits
  • 54f5ad5 chore: Publish 1.11.1 with swc_core v15.0.1
  • 008ac15 chore: Publish 1.11.1-nightly-20250224.1 with swc_core v15.0.1
  • c345b20 chore(ci): Disable ecosystem-ci for ts-node temporarily
  • 57a73ba chore: Update changelog
  • 1b5618e chore: Publish 1.11.0-nightly-20250224.1 with swc_core v15.0.1
  • f91d811 chore: Publish crates with swc_core v15.0.1
  • 31f2530 chore: Publish crates with swc_core v15.0.0
  • 43458e9 perf(es/lints): Remove needless locks (#10086)
  • cf4d74a chore(ci): Fix CI (#10085)
  • 29bd286 perf(es/minifier): Prevent double boxing (#10074)
  • 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)

Summary by Sourcery

Updates the @swc/core dependency from version 1.10.18 to 1.11.1, incorporating bug fixes, new features, and performance improvements to the swc compiler.

New Features:

  • Adds an explicit namespace field to distinguish namespace and module declarations.
  • Adds import attributes to TsImportType.

Bug Fixes:

  • Fixes a bug in the module resolver that caused issues with absolute path checks.
  • Fixes a bug in the minifier that affected the order of match arms, preventing correct inlining.

Enhancements:

  • Improves minifier by enabling inlining across side-effect-free member expressions.
  • Improves minifier to inline into variables without initialization.
  • Introduces core-only visitors for improved performance.

Build:

  • Updates swc_allocator to provide allocators.

CI:

  • Temporarily disables ecosystem-ci for ts-node.

Bumps [@swc/core](https://github.com/swc-project/swc) from 1.10.18 to 1.11.1.
- [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.10.18...v1.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 25, 2025
Copy link

sourcery-ai bot commented Feb 25, 2025

Reviewer's Guide by Sourcery

This pull request updates the @swc/core dependency from version 1.10.18 to 1.11.1. This includes updating the version in package.json, package-lock.json, and yarn.lock.

Updated class diagram for es/ast changes in @swc/core

classDiagram
    class ModuleDeclaration {
        +namespace: bool
    }
    note for ModuleDeclaration "Added namespace field to distinguish namespace and module declarations"

    class TsImportType {
        +importAttributes: object
    }
    note for TsImportType "Added import attributes to TsImportType"
Loading

File-Level Changes

Change Details Files
The @swc/core dependency was bumped from version 1.10.18 to 1.11.1.
  • Updated @swc/core to version 1.11.1 in package.json.
  • Updated @swc/core to version 1.11.1 in package-lock.json.
  • Updated @swc/core to version 1.11.1 in yarn.lock.
package.json
package-lock.json
yarn.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@github-actions github-actions bot merged commit 1181bd4 into develop Feb 25, 2025
2 of 4 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/swc/core-1.11.1 branch February 25, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants