Skip to content

Commit

Permalink
fix: suppress loader warning in v18.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Nov 14, 2023
1 parent 0039b60 commit 0e52ad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/suppress-warnings.cts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// Deprecated: Move to preflight.cts & delete entry-point in next major

const ignoreWarnings = new Set([

// v18.0.0
'Custom ESM Loaders is an experimental feature. This feature could change at any time',

// Changed in Node v18.13.0 via https://github.com/nodejs/node/pull/45424
'Custom ESM Loaders is an experimental feature and might change at any time',

Expand Down
1 change: 1 addition & 0 deletions tests/utils/node-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const nodeVersions = [
? [
'20',
'18',
'18.0.0',
] as const
: [] as const
),
Expand Down

0 comments on commit 0e52ad8

Please sign in to comment.