Skip to content

Commit 68d48fe

Browse files
Sebastien-Ahkrincodebytere
authored andcommitted
lib: replace BigUInt64Array global by the primordials
PR-URL: #31194 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 8aa7bf2 commit 68d48fe

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)