🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Commit ebf3900

Browse files
Sebastien-AhkrinBethGriggs
authored andcommitted
lib: replace Int8Array global with primordials
PR-URL: #35397 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Pranshu Srivastava <rexagod@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
1 parent d6ba4ec commit ebf3900

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

β€Žlib/.eslintrc.yamlβ€Ž

Lines changed: 2 additions & 0 deletions
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β€Ž

Lines changed: 1 addition & 0 deletions
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)