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

shortid

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shortid - npm Package Compare versions

Comparing version 1.0.3 to 1.0.5

6

lib/shortid.js

@@ -8,2 +8,8 @@ /*

// Older (pre 0.6) versions of Node don't have a randomBytes function
if (!randomBytes) {
randomBytes = function(){
return [Math.random()*256];
}
}

@@ -10,0 +16,0 @@ // remove from Date.now all the milliseconds before this thing was created

4

package.json
{
"name":"shortid",
"version":"1.0.3",
"version":"1.0.5",
"description":"Amazingly short non-sequential url-friendly unique id generator.",

@@ -26,3 +26,3 @@ "keywords": ["short", "tiny", "id", "uuid", "bitly", "shorten", "mongoid", "shortid", "tinyid", "id"],

"engines":{
"node":">=0.6"
"node":">=0.4.x"
},

@@ -29,0 +29,0 @@ "scripts":{

Sorry, the diff of this file is not supported yet

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