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: make bigint and globalThis optimistic #18484

Merged
merged 3 commits into from
Aug 2, 2024
Merged

Conversation

alexander-akait
Copy link
Member

What kind of change does this PR introduce?

bugfix

Did you add tests for your changes?

Exiting

Does this PR introduce a breaking change?

And yes and no, but it is more about bug

What needs to be documented once your changes are merged?

Yes

/cc @vankop @ahabhgk

What do you think? We already use the same logic for const/arrow function/for-of

@webpack-bot
Copy link
Contributor

webpack-bot commented Jun 10, 2024

For maintainers only:

  • This needs to be documented (issue in webpack/webpack.js.org will be filed when merged)
  • This needs to be backported to webpack 4 (issue will be created when merged)

@ahabhgk
Copy link
Contributor

ahabhgk commented Jun 11, 2024

I'm not quite sure why optimistic wasn't added initially; I guess it was because browsers or node only supported these features in relatively newer versions at the time, but now they are generally supported, so LGTM.

@vankop
Copy link
Member

vankop commented Jun 11, 2024

you need to update snapshots

@alexander-akait alexander-akait merged commit 4047985 into main Aug 2, 2024
35 of 39 checks passed
@alexander-akait alexander-akait deleted the fix-optimistic branch August 2, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants