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: crash when using node 22 for bundling in development #596

Merged
merged 2 commits into from
May 6, 2024

Conversation

jbroma
Copy link
Member

@jbroma jbroma commented May 6, 2024

Summary

Removed unnecessary assets from transferList when using MessagePort inside of webpackWorker. In previous versions this wasn't considered an error, since Node 21 it is (see related PR below).

Related PR: nodejs/node#47604

Closes #595

Test plan

  • - tests pass (node 18 & node 20)
  • - locally tested on node 22

Copy link

changeset-bot bot commented May 6, 2024

🦋 Changeset detected

Latest commit: 80c28f9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@callstack/repack Patch
@callstack/repack-dev-server Patch
@callstack/repack-init Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link

vercel bot commented May 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
repack-website ✅ Ready (Inspect) Visit Preview May 6, 2024 0:57am

@jbroma
Copy link
Member Author

jbroma commented May 6, 2024

I guess we can also add Node22 to our tests env matrix

@jbroma jbroma merged commit b5ae6ac into main May 6, 2024
4 checks passed
@jbroma jbroma deleted the fix/node-22-support branch May 6, 2024 13:12
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.

Issue with node v22.0.0
2 participants