Skip to content

Commit 108046d

Browse files
Sebastien-AhkrinMylesBorins
authored andcommitted
lib: replace BigInt64Array global by the primordials
PR-URL: #31193 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 0608873 commit 108046d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/.eslintrc.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ rules:
1313
message: "Use `const { Array } = primordials;` instead of the global."
1414
- name: BigInt
1515
message: "Use `const { BigInt } = primordials;` instead of the global."
16+
- name: BigInt64Array
17+
message: "Use `const { BigInt64Array } = primordials;` instead of the global."
1618
- name: BigUint64Array
1719
message: "Use `const { BigUint64Array } = primordials;` instead of the global."
1820
- name: Boolean

lib/internal/util/inspect.js

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
const {
44
Array,
55
ArrayIsArray,
6+
BigInt64Array,
67
BigIntPrototypeValueOf,
78
BigUint64Array,
89
BooleanPrototypeValueOf,

0 commit comments

Comments
 (0)