Comparing version 4.1.0 to 4.1.1
@@ -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": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
1
6491
3
34