Socket
Socket
Sign inDemoInstall

base64id

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base64id - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

CHANGELOG.md

2

lib/base64id.js

@@ -81,3 +81,3 @@ /*!

Base64Id.prototype.generateId = function () {
var rand = new Buffer(15); // multiple of 3 for base64
var rand = Buffer.alloc(15); // multiple of 3 for base64
if (!rand.writeInt32BE) {

@@ -84,0 +84,0 @@ return Math.abs(Math.random() * Math.random() * Date.now() | 0).toString()

{
"name": "base64id"
, "version": "1.0.0"
, "version": "2.0.0"
, "license": "MIT"

@@ -12,3 +12,3 @@ , "description": "Generates a base64 id"

, "main": "./lib/base64id.js"
, "engines": { "node": ">= 0.4.0" }
, "engines": { "node": "^4.5.0 || >= 5.9" }
}
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