Skip to content

Commit aafeab8

Browse files
Sebastien-AhkrinMylesBorins
authored andcommitted
lib: replace BigUInt64Array global by the primordials
PR-URL: #31194 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 1ad9070 commit aafeab8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

lib/.eslintrc.yaml

Lines changed: 2 additions & 0 deletions
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: BigUint64Array
17+
message: "Use `const { BigUint64Array } = primordials;` instead of the global."
1618
- name: Boolean
1719
message: "Use `const { Boolean } = primordials;` instead of the global."
1820
- name: Error

lib/internal/process/per_thread.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
const {
88
ArrayIsArray,
9+
BigUint64Array,
910
NumberMAX_SAFE_INTEGER,
1011
ObjectDefineProperties,
1112
ObjectDefineProperty,

lib/internal/util/inspect.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const {
44
Array,
55
ArrayIsArray,
66
BigIntPrototypeValueOf,
7+
BigUint64Array,
78
BooleanPrototypeValueOf,
89
DatePrototypeGetTime,
910
DatePrototypeToISOString,

0 commit comments

Comments
 (0)