Skip to content

Commit

Permalink
v8: enforce use of typed array from primordials
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien-Ahkrin committed Dec 15, 2019
1 parent 22ea239 commit c34fa0a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/v8.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,18 @@

const {
Array,
ArrayBuffer,
Float32Array,
Float64Array,
Int16Array,
Int32Array,
Int8Array,
ObjectPrototypeToString,
Symbol,
Uint16Array,
Uint32Array,
Uint8Array,
Uint8ClampedArray,
} = primordials;

const { Buffer } = require('buffer');
Expand Down

0 comments on commit c34fa0a

Please sign in to comment.