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

base-x

Package Overview
Dependencies
Maintainers
3
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 3.0.3 to 3.0.4

2

index.js

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

// deal with leading zeros
for (var k = 0; source[k] === 0 && k < source.length - 1; ++k) string += ALPHABET[0]
for (var k = 0; source[k] === 0 && k < source.length - 1; ++k) string += LEADER
// convert digits to a string

@@ -47,0 +47,0 @@ for (var q = digits.length - 1; q >= 0; --q) string += ALPHABET[digits[q]]

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

@@ -37,3 +37,3 @@ "keywords": [

"devDependencies": {
"standard": "^6.0.8",
"standard": "^10.0.3",
"tape": "^4.5.1"

@@ -40,0 +40,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