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): Don't invoke IIFE containing reserved words #8939

Merged
merged 1 commit into from
May 9, 2024

Conversation

Austaras
Copy link
Member

@Austaras Austaras commented May 9, 2024

Description:

inline and seq inline should apply this change too.

Related issue:

@Austaras Austaras requested a review from a team as a code owner May 9, 2024 03:41
Copy link

changeset-bot bot commented May 9, 2024

⚠️ No Changeset found

Latest commit: c29d196

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

@kdy1 kdy1 added this to the Planned milestone May 9, 2024
@kdy1 kdy1 self-assigned this May 9, 2024
Copy link
Member

@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
  • swc_core

@kdy1 kdy1 enabled auto-merge (squash) May 9, 2024 06:54
@kdy1 kdy1 changed the title fix(es/minifier): Don't invoke iife if contains reserved word fix(es/minifier): Don't invoke IIFE containing reserved words May 9, 2024
@kdy1 kdy1 merged commit 5a3456c into swc-project:main May 9, 2024
147 of 148 checks passed
@kdy1 kdy1 modified the milestones: Planned, v1.5.6 May 14, 2024
@swc-project swc-project locked as resolved and limited conversation to collaborators Jun 13, 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.

variable is declared multiple times when variable is reserved and there are 2 passes and target is >=es2015
2 participants