Skip to content

Commit c55b32a

Browse files
committed
assert: deprecate callTracker
nodejs/node#47740
1 parent f6c3310 commit c55b32a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

patches/node/fix_assert_module_in_the_renderer_process.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ if the override has been disabled.
1313
This will be upstreamed.
1414

1515
diff --git a/lib/assert.js b/lib/assert.js
16-
index 04c2dd3bfcfdfbb4b8079c306e1d80aa48027787..34658819d09cc20f372798caec79e19c4a36565d 100644
16+
index b7d7a3da01d520984a5903cb9a0f1c288e0d5fa0..66a60c3726cd57e65db3e4fb57fb85721368c3ce 100644
1717
--- a/lib/assert.js
1818
+++ b/lib/assert.js
1919
@@ -66,6 +66,7 @@ const { inspect } = require('internal/util/inspect');
2020
const { isPromise, isRegExp } = require('internal/util/types');
2121
const { EOL } = require('internal/constants');
22-
const { BuiltinModule } = require('internal/bootstrap/loaders');
22+
const { BuiltinModule } = require('internal/bootstrap/realm');
2323
+const { getEmbedderOptions } = require('internal/options');
24-
const { isError } = require('internal/util');
24+
const { isError, deprecate } = require('internal/util');
2525

2626
const errorCache = new SafeMap();
2727
@@ -293,8 +294,16 @@ function getErrMessage(message, fn) {

0 commit comments

Comments
 (0)