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

fix(es/minifier): Fix eval of toString of array with holes #8727

Merged
merged 4 commits into from Mar 11, 2024

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Mar 11, 2024

@kdy1 kdy1 added this to the Planned milestone Mar 11, 2024
@kdy1 kdy1 self-assigned this Mar 11, 2024
Copy link

changeset-bot bot commented Mar 11, 2024

⚠️ No Changeset found

Latest commit: 26149ac

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
Member Author

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

swc-bump:

  • swc_ecma_minifier

@kdy1 kdy1 marked this pull request as ready for review March 11, 2024 04:22
@kdy1 kdy1 requested a review from a team as a code owner March 11, 2024 04:22
@kdy1 kdy1 enabled auto-merge (squash) March 11, 2024 04:22
@kdy1 kdy1 disabled auto-merge March 11, 2024 04:22
@kdy1 kdy1 changed the title fix(es/minifier): Fix evaluating of toString of array with holes fix(es/minifier): Fix eval of toString of array with holes Mar 11, 2024
@kdy1 kdy1 enabled auto-merge (squash) March 11, 2024 04:22
Copy link
Collaborator

@swc-bot swc-bot left a comment

Choose a reason for hiding this comment

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

Automated review comment generated by auto-rebase script

@kdy1 kdy1 merged commit f3fbd9d into swc-project:main Mar 11, 2024
142 checks passed
@kdy1 kdy1 deleted the issue-8717 branch March 11, 2024 04:56
@kdy1 kdy1 modified the milestones: Planned, v1.4.7 Mar 13, 2024
kdy1 added a commit to vercel/turbo that referenced this pull request Mar 13, 2024
### Description

- Update `swc_core` to fix performance regression caused by the creation
of the `tokio` runtime.

 - Apply various minifier bugfixes.

   - swc-project/swc#8730
   - swc-project/swc#8733
   - swc-project/swc#8725
   - swc-project/swc#8726
   - swc-project/swc#8727

- Apply swc-project/plugins#271 (Closes PACK-2714)

### Testing Instructions



Closes PACK-2693
sokra added a commit to vercel/next.js that referenced this pull request Mar 13, 2024
### What?

- Update `swc_core` to fix performance regression caused by the creation
of the `tokio` runtime.

This PR practically reverts
#62441.

 - Apply various minifier bug fixes.

   - swc-project/swc#8730
   - swc-project/swc#8733
   - swc-project/swc#8725
   - swc-project/swc#8726
   - swc-project/swc#8727

- Apply swc-project/plugins#271 (Closes
PACK-2714)


### Why?

Someone reported a performance regression. See
swc-project/swc#8708

### How?

Closes PACK-2693

---------

Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
@swc-project swc-project locked as resolved and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Minifier evaluates toString of array containing 1-empty hole to invalid expression when unsafe is true
2 participants