typedarray-to-buffer
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -11,3 +11,3 @@ /** | ||
module.exports = function (arr) { | ||
if (typeof Buffer._augment === 'function' && Buffer._useTypedArrays) { | ||
if (typeof Buffer._augment === 'function' && Buffer.TYPED_ARRAY_SUPPORT) { | ||
// If `Buffer` is from the `buffer` module and this browser supports typed arrays, | ||
@@ -20,2 +20,2 @@ // then augment it with all the `Buffer` methods. | ||
} | ||
} | ||
} |
{ | ||
"name": "typedarray-to-buffer", | ||
"description": "Convert a typed array to a Buffer without a copy", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh", |
Sorry, the diff of this file is not supported yet
44