| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent dc9a51d commit 947d066
23 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,8 @@ rules: | |||
| 19 | 19 | message: "Use `const { Error } = primordials;` instead of the global." | |
| 20 | 20 | - name: JSON | |
| 21 | 21 | message: "Use `const { JSON } = primordials;` instead of the global." | |
| 22 | + - name: Map | ||
| 23 | + message: "Use `const { Map } = primordials;` instead of the global." | ||
| 22 | 24 | - name: Math | |
| 23 | 25 | message: "Use `const { Math } = primordials;` instead of the global." | |
| 24 | 26 | - name: Number | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,6 +25,7 @@ const { | |||
| 25 | 25 | ObjectAssign, | |
| 26 | 26 | ObjectIs, | |
| 27 | 27 | ObjectKeys, | |
| 28 | + Map, | ||
| 28 | 29 | } = primordials; | |
| 29 | 30 | ||
| 30 | 31 | const { Buffer } = require('buffer'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,6 +29,7 @@ | |||
| 29 | 29 | const { | |
| 30 | 30 | Array, | |
| 31 | 31 | Error, | |
| 32 | + Map, | ||
| 32 | 33 | ObjectDefineProperty, | |
| 33 | 34 | ReflectApply, | |
| 34 | 35 | Symbol, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,6 +25,7 @@ | |||
| 25 | 25 | 'use strict'; | |
| 26 | 26 | ||
| 27 | 27 | const { | |
| 28 | + Map, | ||
| 28 | 29 | MathMax, | |
| 29 | 30 | NumberIsSafeInteger, | |
| 30 | 31 | ObjectCreate, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,7 @@ | |||
| 3 | 3 | const { | |
| 4 | 4 | JSONParse, | |
| 5 | 5 | JSONStringify, | |
| 6 | + Map, | ||
| 6 | 7 | Symbol, | |
| 7 | 8 | } = primordials; | |
| 8 | 9 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,11 +45,12 @@ | |||
| 45 | 45 | ||
| 46 | 46 | const { | |
| 47 | 47 | Error, | |
| 48 | - ReflectGet, | ||
| 48 | + Map, | ||
| 49 | 49 | ObjectCreate, | |
| 50 | 50 | ObjectDefineProperty, | |
| 51 | 51 | ObjectKeys, | |
| 52 | 52 | ObjectPrototypeHasOwnProperty, | |
| 53 | + ReflectGet, | ||
| 53 | 54 | SafeSet, | |
| 54 | 55 | } = primordials; | |
| 55 | 56 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const { | |
| 4 | + Map, | ||
| 4 | 5 | ObjectDefineProperty, | |
| 5 | 6 | SafeWeakMap, | |
| 6 | 7 | } = primordials; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const { | |
| 4 | + Map, | ||
| 4 | 5 | ObjectAssign, | |
| 5 | 6 | } = primordials; | |
| 6 | 7 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const { | |
| 4 | + Map, | ||
| 4 | 5 | ObjectKeys, | |
| 5 | 6 | ObjectValues, | |
| 6 | 7 | } = primordials; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | 3 | const { | |
| 4 | 4 | Boolean, | |
| 5 | + Map, | ||
| 5 | 6 | } = primordials; | |
| 6 | 7 | ||
| 7 | 8 | const assert = require('internal/assert'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments