Skip to content

Commit

Permalink
feat(builtins): support node@20.0.0
Browse files Browse the repository at this point in the history
- https://github.com/nodejs/node/releases/tag/v20.0.0

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Apr 18, 2023
1 parent 3bce461 commit f6412aa
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
---
codecov:
notify:
after_n_builds: 3
after_n_builds: 4
wait_for_ci: true
require_ci_to_pass: true

comment:
after_n_builds: 3
after_n_builds: 4
behavior: default
layout: header,diff,flags,tree,footer
require_base: false
Expand Down Expand Up @@ -65,6 +65,10 @@ coverage:
threshold: 0%

flags:
node20:
carryforward: false
paths:
- src/
node19:
carryforward: false
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 20
- 19
- 18
- 16
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.9.0
20
1 change: 1 addition & 0 deletions loader.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export const load = async (url, context) => {

return { format: context.format, shortCircuit: true, source }
}

/**
* Resolves the given module `specifier`, and its module format as a hint to the
* {@linkcode load} hook.
Expand Down
1 change: 1 addition & 0 deletions src/builtin-modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ const builtinModules: string[] = [
'util/types',
'v8',
'vm',
'wasi',
'worker_threads',
'zlib'
]
Expand Down

0 comments on commit f6412aa

Please sign in to comment.