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 #3006

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Update swc monorepo #3006

merged 1 commit into from
Nov 4, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 4, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@swc/cli 0.3.12 -> 0.5.0 age adoption passing confidence
@swc/core (source) 1.7.42 -> 1.8.0 age adoption passing confidence
@swc/helpers (source) 0.5.10 -> 0.5.13 age adoption passing confidence

Release Notes

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

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
Documentation
  • (allocator) Mention oxc_allocator (be99ce0)

  • (contributing) Fix deno installation url (#​9249) (ff5bbda)

  • (es/minifier) Add contributing section (e22f3ba)

Features
Miscellaneous Tasks
Performance
Refactor
Testing
Pers

v1.6.13

Compare Source

Bug Fixes
Features
Testing

v1.6.12

Compare Source

Bug Fixes

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

Build:

  • Update @swc/cli to version 0.5.0, @swc/core to version 1.8.0, and @swc/helpers to version 0.5.13 in package.json.

Copy link
Contributor Author

renovate bot commented Nov 4, 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 term-size@4.0.0
.                                        |  WARN  deprecated @babel/plugin-proposal-object-rest-spread@7.20.7
.                                        |  WARN  deprecated @types/sharp@0.32.0
/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.
.                                        |  WARN  deprecated critters@0.0.25

Copy link

stackblitz bot commented Nov 4, 2024

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

Copy link

sourcery-ai bot commented Nov 4, 2024

Reviewer's Guide by Sourcery

This PR updates the @swc/core dependency from version 1.7.42 to 1.8.0. The update includes bug fixes, performance improvements, and new features for the SWC compiler.

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

File-Level Changes

Change Details Files
Update @swc/core to version 1.8.0
  • Add support for es2023 and es2024 to EsVersion
  • Fix handling of multiline type parameters in async arrow functions
  • Fix ASI hazards in fast type strip
  • Introduce manual-tokio-runtime to swc crate
  • Improve performance by making character analysis lazy
  • Modify parallel renaming threshold
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

Copy link

changeset-bot bot commented Nov 4, 2024

⚠️ No Changeset found

Latest commit: b085e7d

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

@kodiakhq kodiakhq bot merged commit a570bf4 into canary Nov 4, 2024
1 of 2 checks passed
@kodiakhq kodiakhq bot deleted the renovate/swc-monorepo branch November 4, 2024 10:39
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