| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e955606 commit 131d961
13 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,6 +27,8 @@ rules: | |||
| 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,6 +8,7 @@ | |||
| 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 +6,7 @@ const { | |||
| 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,6 +3,10 @@ | |||
| 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,6 +5,7 @@ const { | |||
| 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, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments