Supported Node.js versions: 12, 14, 16, 18, 20.
Node.js 8 and 10 are not tested anymore but should work.
Changes
- Added support for running this add-on in Node.js worker threads.
- Major version bumped to v5.0.0: worker threads are available in Node.js 12 and later, so Node.js 8 and 10 were dropped from CI to simplify the testing workflow -- they have reached their upstream support end-of-life, as well, in Dec 2019 and Apr 2021, respectively. v5.0.0 still works fine wtih Node.js 8 and 10, with the caveat that tests using worker threads will fail.
- Minor code improvements.
- Updated dependencies to latest versions.