Skip to content

Commit f295c50

Browse files
authoredSep 12, 2023
fix: upgrade esm-loader & suppress globalPreload warning (#308)
1 parent 3745548 commit f295c50

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed
 

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
},
4747
"dependencies": {
4848
"@esbuild-kit/cjs-loader": "^2.4.2",
49-
"@esbuild-kit/core-utils": "^3.2.2",
50-
"@esbuild-kit/esm-loader": "^2.5.5"
49+
"@esbuild-kit/core-utils": "^3.3.0",
50+
"@esbuild-kit/esm-loader": "^2.6.1"
5151
},
5252
"optionalDependencies": {
5353
"fsevents": "~2.3.2"

‎pnpm-lock.yaml

+11-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/suppress-warnings.cts

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const ignoreWarnings = new Set([
99

1010
// For JSON modules via https://github.com/nodejs/node/pull/46901
1111
'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.',
12+
13+
'`globalPreload` is planned for removal in favor of `initialize`. `globalPreload` is an experimental feature and might change at any time',
1214
]);
1315

1416
const { emit } = process;

0 commit comments

Comments
 (0)
Please sign in to comment.