Socket
Socket
Sign inDemoInstall

typedarray-to-buffer

Package Overview
Dependencies
1
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

2

index.js

@@ -15,3 +15,3 @@ /**

// then avoid a copy. Otherwise, create a `Buffer` with a copy.
var constructor = (typeof Buffer._augment === 'function' && Buffer.TYPED_ARRAY_SUPPORT)
var constructor = Buffer.TYPED_ARRAY_SUPPORT
? Buffer._augment

@@ -18,0 +18,0 @@ : function (arr) { return new Buffer(arr) }

{
"name": "typedarray-to-buffer",
"description": "Convert a typed array to a Buffer without a copy",
"version": "3.0.0",
"version": "3.0.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh",

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