We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5203ffb commit 71c6d44Copy full SHA for 71c6d44
lib/.eslintrc.yaml
@@ -11,6 +11,8 @@ rules:
11
- error
12
- name: Array
13
message: "Use `const { Array } = primordials;` instead of the global."
14
+ - name: BigInt
15
+ message: "Use `const { BigInt } = primordials;` instead of the global."
16
- name: Boolean
17
message: "Use `const { Boolean } = primordials;` instead of the global."
18
- name: JSON
lib/internal/buffer.js
@@ -1,6 +1,7 @@
1
'use strict';
2
3
const {
4
+ BigInt,
5
MathFloor,
6
Number,
7
} = primordials;
lib/internal/fs/utils.js
@@ -2,6 +2,7 @@
ArrayIsArray,
DateNow,
8
NumberIsFinite,
0 commit comments