Skip to content

Commit

Permalink
fix: upgrade esm-loader & suppress globalPreload warning (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber authored Sep 12, 2023
1 parent 3745548 commit f295c50
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
},
"dependencies": {
"@esbuild-kit/cjs-loader": "^2.4.2",
"@esbuild-kit/core-utils": "^3.2.2",
"@esbuild-kit/esm-loader": "^2.5.5"
"@esbuild-kit/core-utils": "^3.3.0",
"@esbuild-kit/esm-loader": "^2.6.1"
},
"optionalDependencies": {
"fsevents": "~2.3.2"
Expand Down
24 changes: 11 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/suppress-warnings.cts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const ignoreWarnings = new Set([

// For JSON modules via https://github.com/nodejs/node/pull/46901
'Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.',

'`globalPreload` is planned for removal in favor of `initialize`. `globalPreload` is an experimental feature and might change at any time',
]);

const { emit } = process;
Expand Down

0 comments on commit f295c50

Please sign in to comment.