| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7ed867d commit af01417
60 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,6 +23,8 @@ rules: | |||
| 23 | 23 | message: "Use `const { Object } = primordials;` instead of the global." | |
| 24 | 24 | - name: Reflect | |
| 25 | 25 | message: "Use `const { Reflect } = primordials;` instead of the global." | |
| 26 | + - name: Symbol | ||
| 27 | + message: "Use `const { Symbol } = primordials;` instead of the global." | ||
| 26 | 28 | no-restricted-syntax: | |
| 27 | 29 | # Config copied from .eslintrc.js | |
| 28 | 30 | - error | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,6 +25,7 @@ const { | |||
| 25 | 25 | ObjectKeys, | |
| 26 | 26 | ObjectSetPrototypeOf, | |
| 27 | 27 | ObjectValues, | |
| 28 | + Symbol, | ||
| 28 | 29 | } = primordials; | |
| 29 | 30 | ||
| 30 | 31 | const net = require('net'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,6 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | 24 | const { | |
| 25 | 25 | MathMin, | |
| 26 | + Symbol, | ||
| 26 | 27 | } = primordials; | |
| 27 | 28 | const { setImmediate } = require('timers'); | |
| 28 | 29 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,6 +28,7 @@ const { | |||
| 28 | 28 | ObjectKeys, | |
| 29 | 29 | ObjectPrototypeHasOwnProperty, | |
| 30 | 30 | ObjectSetPrototypeOf, | |
| 31 | + Symbol, | ||
| 31 | 32 | } = primordials; | |
| 32 | 33 | ||
| 33 | 34 | const { getDefaultHighWaterMark } = require('internal/streams/state'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,6 +24,7 @@ | |||
| 24 | 24 | const { | |
| 25 | 25 | ObjectKeys, | |
| 26 | 26 | ObjectSetPrototypeOf, | |
| 27 | + Symbol, | ||
| 27 | 28 | } = primordials; | |
| 28 | 29 | ||
| 29 | 30 | const net = require('net'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,6 +27,7 @@ const { | |||
| 27 | 27 | NumberIsNaN, | |
| 28 | 28 | ObjectDefineProperty, | |
| 29 | 29 | ObjectSetPrototypeOf, | |
| 30 | + Symbol, | ||
| 30 | 31 | } = primordials; | |
| 31 | 32 | ||
| 32 | 33 | module.exports = Readable; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,6 +29,7 @@ const { | |||
| 29 | 29 | Array, | |
| 30 | 30 | ObjectDefineProperty, | |
| 31 | 31 | ObjectSetPrototypeOf, | |
| 32 | + Symbol, | ||
| 32 | 33 | } = primordials; | |
| 33 | 34 | ||
| 34 | 35 | module.exports = Writable; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,6 +25,7 @@ const { | |||
| 25 | 25 | ObjectAssign, | |
| 26 | 26 | ObjectDefineProperty, | |
| 27 | 27 | ObjectSetPrototypeOf, | |
| 28 | + Symbol, | ||
| 28 | 29 | } = primordials; | |
| 29 | 30 | ||
| 30 | 31 | const { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,7 @@ | |||
| 3 | 3 | const { | |
| 4 | 4 | NumberIsSafeInteger, | |
| 5 | 5 | ReflectApply, | |
| 6 | + Symbol, | ||
| 6 | 7 | } = primordials; | |
| 7 | 8 | ||
| 8 | 9 | const { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,6 +34,7 @@ const { | |||
| 34 | 34 | ObjectDefineProperties, | |
| 35 | 35 | ObjectDefineProperty, | |
| 36 | 36 | ObjectSetPrototypeOf, | |
| 37 | + Symbol, | ||
| 37 | 38 | } = primordials; | |
| 38 | 39 | ||
| 39 | 40 | const { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments