@coozzy/logger
Advanced tools
Comparing version 1.2.7 to 1.3.0
const winston = require('winston'); | ||
const requestId = require('@coozzy/request-id'); | ||
@@ -17,7 +16,2 @@ const logger = winston.createLogger({ | ||
})(), | ||
winston.format(info => { | ||
info.requestId = requestId.getRequestId() || undefined; | ||
return info; | ||
})(), | ||
winston.format.json() | ||
@@ -24,0 +18,0 @@ ), |
{ | ||
"name": "@coozzy/logger", | ||
"version": "1.2.7", | ||
"version": "1.3.0", | ||
"description": "Logging library based on winston", | ||
@@ -15,5 +15,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@coozzy/request-id": "1.2.3", | ||
"winston": "3.7.2" | ||
"winston": "3.8.2" | ||
} | ||
} |
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
1
2464
42
+ Added@colors/colors@1.5.0(transitive)
+ Addedwinston@3.8.2(transitive)
- Removed@coozzy/request-id@1.2.3
- Removed@coozzy/request-id@1.2.3(transitive)
- Removedasync-hook-jl@1.7.6(transitive)
- Removedcls-hooked@4.2.2(transitive)
- Removedemitter-listener@1.1.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedshimmer@1.2.1(transitive)
- Removedstack-chain@1.3.7(transitive)
- Removeduuid@8.3.2(transitive)
- Removedwinston@3.7.2(transitive)
Updatedwinston@3.8.2