| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ebf3900 commit 30c6b3e
18 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,6 +49,8 @@ rules: | |||
| 49 | 49 | message: "Use `const { RegExp } = primordials;` instead of the global." | |
| 50 | 50 | - name: Set | |
| 51 | 51 | message: "Use `const { Set } = primordials;` instead of the global." | |
| 52 | + - name: String | ||
| 53 | + message: "Use `const { String } = primordials;` instead of the global." | ||
| 52 | 54 | - name: Symbol | |
| 53 | 55 | message: "Use `const { Symbol } = primordials;` instead of the global." | |
| 54 | 56 | - name: Uint16Array | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,6 +29,7 @@ const { | |||
| 29 | 29 | ObjectAssign, | |
| 30 | 30 | ObjectKeys, | |
| 31 | 31 | ObjectSetPrototypeOf, | |
| 32 | + String, | ||
| 32 | 33 | Symbol | |
| 33 | 34 | } = primordials; | |
| 34 | 35 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,6 +29,7 @@ const { | |||
| 29 | 29 | Map, | |
| 30 | 30 | NumberIsNaN, | |
| 31 | 31 | RegExpPrototypeTest, | |
| 32 | + String, | ||
| 32 | 33 | } = primordials; | |
| 33 | 34 | ||
| 34 | 35 | const { Buffer } = require('buffer'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,6 +35,7 @@ const { | |||
| 35 | 35 | PromiseResolve, | |
| 36 | 36 | ReflectApply, | |
| 37 | 37 | ReflectOwnKeys, | |
| 38 | + String, | ||
| 38 | 39 | Symbol, | |
| 39 | 40 | SymbolFor, | |
| 40 | 41 | SymbolAsyncIterator | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,7 @@ const { | |||
| 7 | 7 | ObjectDefineProperty, | |
| 8 | 8 | ObjectGetPrototypeOf, | |
| 9 | 9 | ObjectKeys, | |
| 10 | + String, | ||
| 10 | 11 | } = primordials; | |
| 11 | 12 | ||
| 12 | 13 | const { inspect } = require('internal/util/inspect'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -52,6 +52,7 @@ const { | |||
| 52 | 52 | ObjectPrototypeHasOwnProperty, | |
| 53 | 53 | ReflectGet, | |
| 54 | 54 | SafeSet, | |
| 55 | + String, | ||
| 55 | 56 | } = primordials; | |
| 56 | 57 | ||
| 57 | 58 | // Set up process.moduleLoadList. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,6 +21,7 @@ const { | |||
| 21 | 21 | NumberIsInteger, | |
| 22 | 22 | ObjectDefineProperty, | |
| 23 | 23 | ObjectKeys, | |
| 24 | + String, | ||
| 24 | 25 | StringPrototypeStartsWith, | |
| 25 | 26 | Symbol, | |
| 26 | 27 | SymbolFor, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,7 @@ const { | |||
| 8 | 8 | NumberIsInteger, | |
| 9 | 9 | Object, | |
| 10 | 10 | ObjectDefineProperty, | |
| 11 | + String, | ||
| 11 | 12 | Symbol, | |
| 12 | 13 | SymbolFor, | |
| 13 | 14 | SymbolToStringTag, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,7 @@ const { | |||
| 8 | 8 | ObjectCreate, | |
| 9 | 9 | ObjectKeys, | |
| 10 | 10 | Set, | |
| 11 | + String, | ||
| 11 | 12 | Symbol, | |
| 12 | 13 | } = primordials; | |
| 13 | 14 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,7 @@ | |||
| 3 | 3 | const { | |
| 4 | 4 | ArrayIsArray, | |
| 5 | 5 | Error, | |
| 6 | + String, | ||
| 6 | 7 | } = primordials; | |
| 7 | 8 | ||
| 8 | 9 | const assert = require('internal/assert'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments