mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
vm: move emitExperimentalWarning
This commit moves emitExperimentalWarning into the second object destructoring of require internal/util. PR-URL: https://github.com/nodejs/node/pull/20593 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
5bb5d61cdd
commit
facb2c53c2
1 file changed
+1
-1
@@ -1,7 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
const { internalBinding } = require('internal/bootstrap/loaders');
|
||||
const { emitExperimentalWarning } = require('internal/util');
|
||||
const { URL } = require('internal/url');
|
||||
const { isContext } = process.binding('contextify');
|
||||
const {
|
||||
@@ -16,6 +15,7 @@ const {
|
||||
const {
|
||||
getConstructorOf,
|
||||
customInspectSymbol,
|
||||
emitExperimentalWarning
|
||||
} = require('internal/util');
|
||||
const { SafePromise } = require('internal/safe_globals');
|
||||
const { validateInt32, validateUint32 } = require('internal/validators');
|
||||
|
||||
Reference in new issue
Block a user