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

v9.0.0 / 2023-09-19 #304

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bjornstar
Copy link
Collaborator

@bjornstar bjornstar commented Sep 19, 2023

  • Drop support for node v14 and v16, the new minimum version of node is v18
  • Add support for node v20
  • Removed tests for experimental-specifier-resolution as it's no longer supported
  • [CI] Test v18 & v20
  • [CI] Perform linting and prettier in github actions
  • [devDependencies] Update most devDependencies to their latest version

const { port1, port2 } = new MessageChannel();
port1.on('message', ({ required } = {}) => {
send({ required });
});
Copy link

@HitkoDev HitkoDev Sep 19, 2023

Choose a reason for hiding this comment

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

Instead of adding process.exit(0) calls in the tests, a better solution would be to just call port1.unref() here (https://nodejs.org/api/worker_threads.html#portunref).

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.

None yet

2 participants