Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

native-buffer-browserify

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

native-buffer-browserify - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

5

index.js

@@ -0,1 +1,2 @@

var base64 = require('base64-js')
var TA = require('typedarray')

@@ -362,3 +363,3 @@

var bytes = buf.slice(start, end)
return require('base64-js').fromByteArray(bytes)
return base64.fromByteArray(bytes)
}

@@ -1094,3 +1095,3 @@

function base64ToBytes (str) {
return require('base64-js').toByteArray(str)
return base64.toByteArray(str)
}

@@ -1097,0 +1098,0 @@

4

package.json
{
"name": "native-buffer-browserify",
"version": "1.2.1",
"version": "1.2.2",
"description": "buffer module compatibility for browserify (backed by ArrayBuffer so its fast!)",

@@ -8,3 +8,3 @@ "main": "index.js",

"base64-js": "~0.0.4",
"typedarray": "0.0.3"
"typedarray": "~0.0.5"
},

@@ -11,0 +11,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc