Skip to content

Commit

Permalink
feat: support node 18 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber authored May 17, 2022
1 parent c56b4e2 commit 6680dce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ignore-node-warnings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const nodeWarningPattern = /^\(node:\d+\) (.+)\n/m;
export const ignoreNodeWarnings = () => {
const warningsToIgnore = [
'ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time',
'ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time',
'ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time',
];
let filterStderr = true;
Expand Down
1 change: 1 addition & 0 deletions tests/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const nodeVersions = [
'14.19.1',
'16.13.2',
'17.8.0',
'18.1.0',
]
: []
),
Expand Down

0 comments on commit 6680dce

Please sign in to comment.