lib: add Uint16Array primordials

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Sebastien Ahkrin authored and Myles Borins committed 2020-01-16 01:39:10 -05:00
1 parent 63f4eaefee
commit 02714573ee
2 files changed
+3

No files matched your search

+2
View File
@@ -41,6 +41,8 @@ rules:
message: "Use `const { Set } = primordials;` instead of the global."
- name: Symbol
message: "Use `const { Symbol } = primordials;` instead of the global."
- name: Uint16Array
message: "Use `const { Uint16Array } = primordials;` instead of the global."
- name: WeakMap
message: "Use `const { WeakMap } = primordials;` instead of the global."
- name: WeakSet
+1
View File
@@ -45,6 +45,7 @@ const {
SymbolPrototypeValueOf,
SymbolIterator,
SymbolToStringTag,
Uint16Array,
uncurryThis,
} = primordials;