Socket
Socket
Sign inDemoInstall

typedarray-to-buffer

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

4

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc