File tree 13 files changed +17
-0
lines changed
13 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 27
27
message : " Use `const { Promise } = primordials;` instead of the global."
28
28
- name : Reflect
29
29
message : " Use `const { Reflect } = primordials;` instead of the global."
30
+ - name : Set
31
+ message : " Use `const { Set } = primordials;` instead of the global."
30
32
- name : Symbol
31
33
message : " Use `const { Symbol } = primordials;` instead of the global."
32
34
- name : WeakMap
Original file line number Diff line number Diff line change 8
8
9
9
const {
10
10
Promise,
11
+ Set,
11
12
} = primordials ;
12
13
13
14
const {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const {
12
12
ObjectPrototypeHasOwnProperty,
13
13
Promise,
14
14
ReflectGetPrototypeOf,
15
+ Set,
15
16
Symbol,
16
17
} = primordials ;
17
18
Original file line number Diff line number Diff line change 6
6
Number,
7
7
ObjectCreate,
8
8
ObjectKeys,
9
+ Set,
9
10
Symbol,
10
11
} = primordials ;
11
12
Original file line number Diff line number Diff line change 3
3
let hook ;
4
4
let config ;
5
5
6
+ const {
7
+ Set,
8
+ } = primordials ;
9
+
6
10
function lazyHookCreation ( ) {
7
11
const inspector = internalBinding ( 'inspector' ) ;
8
12
const { createHook } = require ( 'async_hooks' ) ;
Original file line number Diff line number Diff line change 5
5
ArrayPrototypeMap,
6
6
JSONStringify,
7
7
ObjectCreate,
8
+ Set,
8
9
} = primordials ;
9
10
10
11
const debug = require ( 'internal/util/debuglog' ) . debuglog ( 'esm' ) ;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const {
12
12
ObjectFreeze,
13
13
ObjectGetOwnPropertyDescriptors,
14
14
RegExpPrototypeTest,
15
+ Set,
15
16
SetPrototype,
16
17
SetPrototypeHas,
17
18
StringPrototypeReplace,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const {
12
12
ObjectSetPrototypeOf,
13
13
Promise,
14
14
ReflectConstruct,
15
+ Set,
15
16
Symbol,
16
17
SymbolFor,
17
18
} = primordials ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ const {
14
14
ObjectPrototypeHasOwnProperty,
15
15
ObjectPrototypePropertyIsEnumerable,
16
16
ObjectPrototypeToString,
17
+ Set,
17
18
StringPrototypeValueOf,
18
19
SymbolPrototypeValueOf,
19
20
} = primordials ;
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ const {
34
34
ObjectPrototypePropertyIsEnumerable,
35
35
ObjectSeal,
36
36
RegExpPrototypeToString,
37
+ Set,
37
38
SetPrototypeValues,
38
39
StringPrototypeValueOf,
39
40
SymbolPrototypeToString,
Original file line number Diff line number Diff line change 7
7
ObjectDefineProperties,
8
8
ObjectDefineProperty,
9
9
ObjectKeys,
10
+ Set,
10
11
Symbol,
11
12
} = primordials ;
12
13
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ const {
57
57
ObjectSetPrototypeOf,
58
58
Promise,
59
59
PromiseRace,
60
+ Set,
60
61
Symbol,
61
62
WeakMap,
62
63
WeakSet,
Original file line number Diff line number Diff line change 2
2
3
3
const {
4
4
ArrayIsArray,
5
+ Set,
5
6
Symbol,
6
7
} = primordials ;
7
8
You can’t perform that action at this time.
0 commit comments