Skip to content

Commit d6ba4ec

Browse files
Sebastien-AhkrinBethGriggs
authored andcommitted
lib: replace Int32Array global with primordials
PR-URL: #35397 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Pranshu Srivastava <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
1 parent f544f7a commit d6ba4ec

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
@@ -27,6 +27,8 @@ rules:
2727
message: "Use `const { Float64Array } = primordials;` instead of the global."
2828
- name: Int16Array
2929
message: "Use `const { Int16Array } = primordials;` instead of the global."
30+
- name: Int32Array
31+
message: "Use `const { Int32Array } = primordials;` instead of the global."
3032
- name: JSON
3133
message: "Use `const { JSON } = primordials;` instead of the global."
3234
- name: Map

lib/internal/util/inspect.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const {
1616
FunctionPrototypeCall,
1717
FunctionPrototypeToString,
1818
Int16Array,
19+
Int32Array,
1920
JSONStringify,
2021
Map,
2122
MapPrototype,

0 commit comments

Comments
 (0)