We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68d48fe commit 41f0fa7Copy full SHA for 41f0fa7
lib/.eslintrc.yaml
@@ -19,6 +19,8 @@ rules:
19
message: "Use `const { Boolean } = primordials;` instead of the global."
20
- name: Error
21
message: "Use `const { Error } = primordials;` instead of the global."
22
+ - name: Float32Array
23
+ message: "Use `const { Float32Array } = primordials;` instead of the global."
24
- name: JSON
25
message: "Use `const { JSON } = primordials;` instead of the global."
26
- name: Map
lib/internal/buffer.js
@@ -2,6 +2,7 @@
2
3
const {
4
BigInt,
5
+ Float32Array,
6
MathFloor,
7
Number,
8
} = primordials;
lib/internal/util/inspect.js
@@ -10,6 +10,7 @@ const {
10
DatePrototypeToISOString,
11
DatePrototypeToString,
12
ErrorPrototypeToString,
13
14
JSONStringify,
15
Map,
16
MapPrototype,
0 commit comments