Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7167eb2 commit e9fb92dCopy full SHA for e9fb92d
lib/internal/vm/source_text_module.js
@@ -2,7 +2,7 @@
2
3
const { Object, SafePromise } = primordials;
4
5
-const { isModuleNamespaceObject } = require('util').types;
+const { isModuleNamespaceObject } = require('internal/util/types');
6
const { URL } = require('internal/url');
7
const { isContext } = internalBinding('contextify');
8
const {
@@ -261,7 +261,7 @@ class SourceTextModule {
261
o.linkingStatus = this.linkingStatus;
262
o.url = this.url;
263
o.context = this.context;
264
- return require('util').inspect(o, options);
+ return require('internal/util/inspect').inspect(o, options);
265
}
266
267
0 commit comments