lambda-serverless-api
Advanced tools
Comparing version 10.1.4 to 10.1.5
@@ -6,3 +6,4 @@ /* load-hot */ | ||
import { wrap as lambdaAsyncWrap } from 'lambda-async'; | ||
import { abbrev, logger } from 'lambda-monitor-logger'; | ||
import { logger } from 'lambda-monitor-logger'; | ||
import { serializeError } from 'serialize-error'; | ||
@@ -112,10 +113,7 @@ export const asApiGatewayResponse = (resp, stringifyJson = true) => { | ||
`${handler.route}: ${error.message}`, | ||
abbrev( | ||
{ | ||
context: 'lambda-serverless-api', | ||
route: handler.route, | ||
error | ||
}, | ||
{ stripLineBreaks: false } | ||
) | ||
JSON.stringify({ | ||
context: 'lambda-serverless-api', | ||
route: handler.route, | ||
error: serializeError(error) | ||
}) | ||
].join('\n')); | ||
@@ -122,0 +120,0 @@ return { |
@@ -41,3 +41,3 @@ { | ||
}, | ||
"version": "10.1.4", | ||
"version": "10.1.5", | ||
"scripts": { | ||
@@ -97,2 +97,3 @@ "clean": "rm -rf lib", | ||
"route-recognizer": "0.3.4", | ||
"serialize-error": "11.0.0", | ||
"smart-fs": "3.0.1", | ||
@@ -99,0 +100,0 @@ "swagger-parser": "10.0.3", |
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
99724
19
2926
+ Addedserialize-error@11.0.0
+ Addedserialize-error@11.0.0(transitive)
+ Addedtype-fest@2.19.0(transitive)