Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0271457

Browse filesBrowse files
Sebastien-AhkrinMylesBorins
authored andcommitted
lib: add Uint16Array primordials
PR-URL: #31210 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@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 63f4eae commit 0271457
Copy full SHA for 0271457

File tree

Expand file treeCollapse file tree

2 files changed

+3
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎lib/.eslintrc.yaml‎

Copy file name to clipboardExpand all lines: lib/.eslintrc.yaml
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ rules:
4141
message: "Use `const { Set } = primordials;` instead of the global."
4242
- name: Symbol
4343
message: "Use `const { Symbol } = primordials;` instead of the global."
44+
- name: Uint16Array
45+
message: "Use `const { Uint16Array } = primordials;` instead of the global."
4446
- name: WeakMap
4547
message: "Use `const { WeakMap } = primordials;` instead of the global."
4648
- name: WeakSet
Collapse file

‎lib/internal/util/inspect.js‎

Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const {
4545
SymbolPrototypeValueOf,
4646
SymbolIterator,
4747
SymbolToStringTag,
48+
Uint16Array,
4849
uncurryThis,
4950
} = primordials;
5051

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.