Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8604481

Browse filesBrowse files
danbevtargos
authored andcommitted
vm: move emitExperimentalWarning
This commit moves emitExperimentalWarning into the second object destructoring of require internal/util. PR-URL: #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>
1 parent 4873fba commit 8604481
Copy full SHA for 8604481

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/internal/vm/module.js‎

Copy file name to clipboardExpand all lines: lib/internal/vm/module.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22

33
const { internalBinding } = require('internal/bootstrap/loaders');
4-
const { emitExperimentalWarning } = require('internal/util');
54
const { URL } = require('internal/url');
65
const { isContext } = process.binding('contextify');
76
const {
@@ -17,6 +16,7 @@ const {
1716
const {
1817
getConstructorOf,
1918
customInspectSymbol,
19+
emitExperimentalWarning
2020
} = require('internal/util');
2121
const { SafePromise } = require('internal/safe_globals');
2222

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.