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

express-tracking-id

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-tracking-id - npm Package Compare versions

Comparing version 1.0.0 to 1.0.3

2

index.js
// 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"
}
}
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