Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-12-10 16:49:23 +0300
committerMichaël Zasso <targos@protonmail.com>2019-12-13 17:54:53 +0300
commit923d8bc733262cf960b62a02f113cfb0412b5834 (patch)
treecb3132a77ef5db88f8766172ae04a9b9c1b4151d /lib/internal/buffer.js
parentafa9a7206c26a29a2af226696c145c924a6d3754 (diff)
lib: enforce use of BigInt from primordials
PR-URL: https://github.com/nodejs/node/pull/30882 Refs: https://github.com/nodejs/node/issues/30697 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'lib/internal/buffer.js')
-rw-r--r--lib/internal/buffer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/internal/buffer.js b/lib/internal/buffer.js
index 8d55f780fad..ff703f11fd6 100644
--- a/lib/internal/buffer.js
+++ b/lib/internal/buffer.js
@@ -1,6 +1,7 @@
'use strict';
const {
+ BigInt,
MathFloor,
Number,
} = primordials;