express-tracking-id
Advanced tools
Comparing version 1.0.0 to 1.0.3
// credit: https://stackoverflow.com/a/2117523 | ||
const uuidv4 = () => { | ||
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { | ||
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => { | ||
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); | ||
@@ -5,0 +5,0 @@ return v.toString(16); |
{ | ||
"name": "express-tracking-id", | ||
"version": "1.0.0", | ||
"version": "1.0.3", | ||
"description": "Simple middleware to add support tracking id", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
@@ -24,4 +21,7 @@ "type": "git", | ||
"devDependencies": { | ||
"express": "^4.17.1" | ||
"chai": "^4.3.4", | ||
"express": "^4.17.1", | ||
"mocha": "^9.1.2", | ||
"node-mocks-http": "^1.11.0" | ||
} | ||
} |
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
2239
0
4