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

Update swc monorepo #3308

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Update swc monorepo #3308

merged 1 commit into from
Dec 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@swc/cli 0.3.12 -> 0.5.2 age adoption passing confidence
@swc/core (source) 1.10.0 -> 1.10.1 age adoption passing confidence
@swc/helpers (source) 0.5.10 -> 0.5.15 age adoption passing confidence

Release Notes

swc-project/swc (@​swc/core)

v1.10.1

Compare Source

Bug Fixes
  • (es/resolver) Fix wrong syntax context of vars with the same names as catch params (#​9786) (5a44c6b)
Features

v1.10.0

Compare Source

Bug Fixes
Features
Miscellaneous Tasks
Refactor

v1.9.3

Compare Source

Bug Fixes
Documentation
Features
Miscellaneous Tasks
Performance
Refactor

v1.9.2

Compare Source

Bug Fixes
Features

v1.9.1

Compare Source

Bug Fixes

v1.9.0

Compare Source

Bug Fixes
Features
Miscellaneous Tasks

v1.8.0

Compare Source

Bug Fixes
  • (es/typescript) Handle multiline type parameters in async arrow functions (#​9704) (c5ed19c)

  • (es/typescript) Handle ASI hazards in fast type strip (#​9707) (c135f71)

Features
Performance

v1.7.42

Compare Source

Bug Fixes
Features
  • (es/minifier) Optimize switch with side effect and termination tests (#​9677) (7344a63)

  • (es/parser) Ability to get script's potential module errors (#​9682) (2bbd1e8)

Miscellaneous Tasks
Performance

v1.7.40

Compare Source

Bug Fixes
Documentation
Miscellaneous Tasks
  • (deps) Update dependency swc-plugin-coverage-instrument to ^0.0.25 (#​9676) (b8d255b)

v1.7.39

Compare Source

Bug Fixes
  • (es/compat) Add missing visit children for destructuring (#​9658) (32116a0)

  • (es/parser) Correct > and < when exit type context (#​9653) (abffc07)

  • (es/proposal) Use tsc version of explicit resource management (#​9585) (f735108)

  • (wasm-typescript) Fix option types of functions (#​9662) (4cbe33c)

Features
Miscellaneous Tasks

v1.7.36

Compare Source

Bug Fixes
  • (es) Run esnext transforms on esnext target (#​9644) (8a19201)

  • (es/codegen) Emit space after div if rhs has leading comment (#​9631) (f2be26e)

  • (es/lints) Correct the false positive error of TS2309 (#​9635) (f74c1f3)

  • (es/minifier) Only merge last if return (#​9633) (6f52949)

  • (es/minifier) Check type of assignment target before merging assignments (#​9617) (4436621)

Features
Miscellaneous Tasks

v1.7.35

Compare Source

Bug Fixes
Features
  • (bindings/html) Accept Buffer|string instead of Buffer (#​9625) (62edb36)

  • (es/preset-env) Update preset-env data (#​9573) (9a11d34)

  • (es/testing) Parse test code as a Program instead of a Module (#​9264) (166b858)

  • (es/testing) Parse test code as a Program instead of a Module (#​9623) (bfea322)

Miscellaneous Tasks
Performance
Refactor
  • (es/typescript) Simplifying enum and namespace transforms (#​9558) (2480bb0)
Build

v1.7.28

Compare Source

Bug Fixes
Miscellaneous Tasks
Testing

v1.7.26

Compare Source

v1.7.25

Compare Source

Bug Fixes
Features
  • (es/common) Introduce pure Span and BytePos to handle #__PURE__ (#​9539) (f63a481)
Miscellaneous Tasks
  • (bindings/node) Fix type definition (64ec111)

v1.7.24

Compare Source

Bug Fixes
  • (es/compat) Handle label block in constructor (#​9528) (c43dbad)

  • (es/decorator) Add support for private access expressions in legacy decorators (#​9535) (62ed065)

  • (es/minifier) typeof class should be function (#​9522) (c7fdd6b)

  • (es/minifier) Prevent removing side effects from accessing getter (#​9530) (8513816)

  • (es/typescript) Handle enum in single statement (#​9532) (84b0043)

v1.7.23

Compare Source

Bug Fixes
Performance

v1.7.22

Compare Source

Bug Fixes
  • (es/minifier) Iterate object properties in reverse direction while inlining property access (#​9507) (f584ef7)

v1.7.21

Compare Source

Bug Fixes

v1.7.19

Compare Source

Bug Fixes
Features
Miscellaneous Tasks
  • (es/codegen) Bump minimum required swc_allocator version to 0.1.8 (#​9492) (5258763)
Refactor

v1.7.18

Compare Source

v1.7.14

Compare Source

Bug Fixes
Features
Refactor

v1.7.12

Compare Source

Bug Fixes
Miscellaneous Tasks

v1.7.11

Compare Source

Bug Fixes
Features
  • (es/typescript) Add native_class_properties to skip reordering of class properties inits (#​9421) (d2929d1)

  • (estree/compat) Remove dependency on rayon (#​9393) (34d1b27)

  • (html/minifier) Support using custom css minifier (#​9425) (970cc81)

Miscellaneous Tasks

v1.7.10

Compare Source

Bug Fixes
  • (es/typescript) Strip optional mark and definite mark (#​9411) (8c161a0)

  • (es/typescript) Strip exported default overload function declaration (#​9412) (b395f48)

  • (es/typescript) Strip this param in getter/setter (#​9414) (442fb7b)

  • (es/typescript) Update ts-strip type definition (#​9415) (165c8fa)

v1.7.9

Compare Source

Bug Fixes

v1.7.6

Compare Source

Bug Fixes
  • (es/codegen) Print the missing abstract in class expression (#​9372) (c2e3021)

  • (es/decorators) Use correct class name reference (#​9375) (badd6a9)

  • (es/typescript) Strip declare export in strip-only mode (#​9374) (c53cce4)

v1.7.5

Compare Source

Bug Fixes
Miscellaneous Tasks

v1.7.4

Compare Source

Bug Fixes
Documentation
Miscellaneous Tasks

v1.7.3

Compare Source

Bug Fixes

v1.7.2

Compare Source

Bug Fixes
Documentation
  • (bindings/wasm) Document supported TypeScript version (#​9334) (66f31c0)

v1.7.1

Compare Source

Bug Fixes
Features
Miscellaneous Tasks
Performance
Refactor
Build

v1.7.0

Compare Source

Bug Fixes
Document

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Summary by Sourcery

Update SWC monorepo dependencies to their latest versions in package.json to ensure compatibility and leverage new features and bug fixes.

Build:

  • Update @swc/cli from version 0.3.12 to 0.5.2 in package.json.
  • Update @swc/core from version 1.10.0 to 1.10.1 in package.json.
  • Update @swc/helpers from version 0.5.10 to 0.5.15 in package.json.

Copy link
Contributor Author

renovate bot commented Dec 12, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 21 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
bench/vercel                             |  WARN  deprecated [email protected]
.                                        |  WARN  deprecated @babel/[email protected]
/tmp/renovate/repos/github/X-oss-byte/Nextjs/packages/next-swc/crates/next-dev-tests/tests:
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@turbo%2Fpack-test-harness: Not Found - 404

This error happened while installing a direct dependency of /tmp/renovate/repos/github/X-oss-byte/Nextjs/packages/next-swc/crates/next-dev-tests/tests

@turbo/pack-test-harness is not in the npm registry, or you have no permission to fetch it.

No authorization header was set for the request.

Copy link

stackblitz bot commented Dec 12, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

changeset-bot bot commented Dec 12, 2024

⚠️ No Changeset found

Latest commit: 70875b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

sourcery-ai bot commented Dec 12, 2024

Reviewer's Guide by Sourcery

This PR updates the @swc/core dependency from version 1.10.0 to 1.10.1. This is a patch update that includes bug fixes and features related to ES resolver and transforms.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update @swc/core dependency to fix syntax context and add module extension support
  • Fix wrong syntax context of vars with the same names as catch params
  • Add module.outFileExtension support
package.json

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.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a 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. You can also use
    this command to specify where the summary should be inserted.

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

@kodiakhq kodiakhq bot merged commit b51c91c into canary Dec 12, 2024
1 of 3 checks passed
@kodiakhq kodiakhq bot deleted the renovate/swc-monorepo branch December 12, 2024 06:17
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. Here's why:

  • It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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.

0 participants