Skip to content

Commit

Permalink
assert: deprecate callTracker
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Nov 21, 2023
1 parent 2ea74af commit 8abb070
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patches/node/fix_assert_module_in_the_renderer_process.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ if the override has been disabled.
This will be upstreamed.

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

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

0 comments on commit 8abb070

Please sign in to comment.