Skip to content

Commit

Permalink
Drop support for node < v18
Browse files Browse the repository at this point in the history
  • Loading branch information
appurva21 committed Sep 24, 2024
1 parent 6494d76 commit 4d3b9b7
Show file tree
Hide file tree
Showing 5 changed files with 174 additions and 254 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18]
node-version: [18, 20]
os: [ubuntu-latest, windows-latest]
include:
- coverage: true
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
unreleased:
breaking changes:
- GH-715 Dropped support for Node < v18

3.0.0:
date: 2024-06-11
new feature:
Expand Down
6 changes: 5 additions & 1 deletion lib/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ class NodeWorker {
this.worker = new Worker(bootCode, {
eval: true,
stdout: !options?.debug,
stderr: !options?.debug
stderr: !options?.debug,
execArgv: [
// TODO: To be removed when support for Node.js v18 is dropped
'--experimental-global-webcrypto'
]
});
}

Expand Down
Loading

0 comments on commit 4d3b9b7

Please sign in to comment.