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

base-x

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base-x - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

4

index.js

@@ -50,3 +50,3 @@ // base-x encoding

function decodeUnsafe (string) {
if (string.length === 0) return Buffer.allocUnsafe(0)
if (string.length === 0) return new Buffer(0)

@@ -75,3 +75,3 @@ var bytes = [0]

return Buffer.from(bytes.reverse())
return new Buffer(bytes.reverse())
}

@@ -78,0 +78,0 @@

{
"name": "base-x",
"version": "2.0.4",
"version": "2.0.5",
"description": "Fast base encoding / decoding of any given alphabet",

@@ -39,6 +39,3 @@ "keywords": [

"tape": "^4.5.1"
},
"engines": {
"node": ">=4.5.0"
}
}
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