@dotcom-reliability-kit/log-error
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -5,2 +5,3 @@ /** | ||
const appInfo = require('@dotcom-reliability-kit/app-info'); | ||
const logger = require('@financial-times/n-logger').default; | ||
@@ -43,7 +44,7 @@ const serializeError = require('@dotcom-reliability-kit/serialize-error'); | ||
app: { | ||
commit: process.env.HEROKU_SLUG_COMMIT || null, | ||
name: process.env.SYSTEM_CODE || null, | ||
commit: appInfo.commitHash, | ||
name: appInfo.systemCode, | ||
nodeVersion: process.versions.node, | ||
region: process.env.REGION || null, | ||
releaseDate: process.env.HEROKU_RELEASE_CREATED_AT || null | ||
region: appInfo.region, | ||
releaseDate: appInfo.releaseDate | ||
} | ||
@@ -50,0 +51,0 @@ }; |
{ | ||
"name": "@dotcom-reliability-kit/log-error", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "A method to consistently log error object with optional request information", | ||
@@ -19,2 +19,3 @@ "repository": { | ||
"dependencies": { | ||
"@dotcom-reliability-kit/app-info": "^1.0.0", | ||
"@dotcom-reliability-kit/serialize-error": "^1.1.1", | ||
@@ -21,0 +22,0 @@ "@dotcom-reliability-kit/serialize-request": "^1.0.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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
10998
118
0
4
+ Added@dotcom-reliability-kit/app-info@1.2.1(transitive)