Comparing version 1.0.0 to 2.0.0
@@ -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" } | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4692
0