Skip to content

Commit d00a1b9

Browse files
Sebastien-Ahkrincodebytere
authored andcommitted
lib: replace BigInt64Array global by the primordials
PR-URL: #31193 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 760bede commit d00a1b9

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)