Skip to content

Commit ebf3900

Browse files
Sebastien-AhkrinBethGriggs
authored andcommitted
lib: replace Int8Array 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 d6ba4ec commit ebf3900

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
@@ -29,6 +29,8 @@ rules:
2929
message: "Use `const { Int16Array } = primordials;` instead of the global."
3030
- name: Int32Array
3131
message: "Use `const { Int32Array } = primordials;` instead of the global."
32+
- name: Int8Array
33+
message: "Use `const { Int8Array } = primordials;` instead of the global."
3234
- name: JSON
3335
message: "Use `const { JSON } = primordials;` instead of the global."
3436
- name: Map

lib/internal/util/inspect.js

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const {
1515
Float64Array,
1616
FunctionPrototypeCall,
1717
FunctionPrototypeToString,
18+
Int8Array,
1819
Int16Array,
1920
Int32Array,
2021
JSONStringify,

0 commit comments

Comments
 (0)