Socket
Socket
Sign inDemoInstall

uniqid

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniqid - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

6

index.js

@@ -27,3 +27,3 @@ /*

function now(){
var time = new Date().getTime();
var time = Date.now();
var last = now.last || time;

@@ -34,6 +34,6 @@ return now.last = time > last ? time : last + 1;

function macHandler(error){
if(module.parent.uniqid_debug){
if(module.parent && module.parent.uniqid_debug){
if(error) console.error('Info: No mac address - uniqid() falls back to uniqid.process().', error)
if(pid == '') console.error('Info: No process.pid - uniqid.process() falls back to uniqid.time().')
}
}
}
{
"name": "uniqid",
"version": "4.1.0",
"version": "4.1.1",
"description": "Unique ID Generator",

@@ -20,2 +20,5 @@ "homepage": "http://github.com/adamhalasz/diet-uniqid/",

},
"files": [
"index.js"
],
"license": "MIT",

@@ -22,0 +25,0 @@ "author": {

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