| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 61bb7b9 commit 2e81795
9 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,6 +11,8 @@ rules: | |||
| 11 | 11 | - error | |
| 12 | 12 | - name: Array | |
| 13 | 13 | message: "Use `const { Array } = primordials;` instead of the global." | |
| 14 | + - name: Boolean | ||
| 15 | + message: "Use `const { Boolean } = primordials;` instead of the global." | ||
| 14 | 16 | - name: JSON | |
| 15 | 17 | message: "Use `const { JSON } = primordials;` instead of the global." | |
| 16 | 18 | - name: Math | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,6 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | 24 | const { | |
| 25 | 25 | ArrayIsArray, | |
| 26 | + Boolean, | ||
| 26 | 27 | ObjectAssign, | |
| 27 | 28 | ObjectKeys, | |
| 28 | 29 | ObjectSetPrototypeOf, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,9 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | + | ||
| 3 | + const { | ||
| 4 | + Boolean, | ||
| 5 | + } = primordials; | ||
| 6 | + | ||
| 2 | 7 | const assert = require('internal/assert'); | |
| 3 | 8 | const net = require('net'); | |
| 4 | 9 | const { sendHelper } = require('internal/cluster/utils'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,7 @@ | |||
| 6 | 6 | const { | |
| 7 | 7 | ArrayFrom, | |
| 8 | 8 | ArrayIsArray, | |
| 9 | + Boolean, | ||
| 9 | 10 | ObjectDefineProperties, | |
| 10 | 11 | ObjectDefineProperty, | |
| 11 | 12 | ObjectKeys, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | 3 | const { | |
| 4 | 4 | ArrayIsArray, | |
| 5 | + Boolean, | ||
| 5 | 6 | ObjectAssign, | |
| 6 | 7 | ObjectCreate, | |
| 7 | 8 | ObjectKeys, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,9 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | + const { | ||
| 4 | + Boolean, | ||
| 5 | + } = primordials; | ||
| 6 | + | ||
| 3 | 7 | // Regex used for ansi escape code splitting | |
| 4 | 8 | // Adopted from https://github.com/chalk/ansi-regex/blob/master/index.js | |
| 5 | 9 | // License: MIT, authors: @sindresorhus, Qix-, and arjunmehta | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,9 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | + const { | ||
| 4 | + Boolean, | ||
| 5 | + } = primordials; | ||
| 6 | + | ||
| 3 | 7 | const { Interface } = require('readline'); | |
| 4 | 8 | const path = require('path'); | |
| 5 | 9 | const fs = require('fs'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,6 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | 24 | const { | |
| 25 | 25 | ArrayIsArray, | |
| 26 | + Boolean, | ||
| 26 | 27 | ObjectDefineProperty, | |
| 27 | 28 | ObjectSetPrototypeOf, | |
| 28 | 29 | } = primordials; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | 3 | const { | |
| 4 | 4 | ArrayIsArray, | |
| 5 | + Boolean, | ||
| 5 | 6 | ObjectDefineProperties, | |
| 6 | 7 | ObjectDefineProperty, | |
| 7 | 8 | ObjectKeys, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments