From c88ace4fc333f938831994385208f891f6f706ea Mon Sep 17 00:00:00 2001 From: Sebastien Ahkrin Date: Sat, 30 Nov 2019 20:13:55 +0100 Subject: [PATCH] v8: use of TypedArray constructors from primordials MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/30740 Reviewed-By: Michaƫl Zasso Reviewed-By: James M Snell --- lib/v8.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/v8.js b/lib/v8.js index cabe96f3452..c328a3c5732 100644 --- a/lib/v8.js +++ b/lib/v8.js @@ -16,8 +16,18 @@ const { Array, + ArrayBuffer, + Float32Array, + Float64Array, + Int16Array, + Int32Array, + Int8Array, ObjectPrototypeToString, Symbol, + Uint16Array, + Uint32Array, + Uint8Array, + Uint8ClampedArray, } = primordials; const { Buffer } = require('buffer');