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

lambda-serverless-api

Package Overview
Dependencies
Maintainers
1
Versions
396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-serverless-api - npm Package Compare versions

Comparing version 10.1.5 to 10.1.6

4

lib/logic/api-gateway.js

@@ -9,2 +9,4 @@ /* load-hot */

const getErrorMessage = (error) => String(get(error, 'message', 'Exception')).split('\n')[0];
export const asApiGatewayResponse = (resp, stringifyJson = true) => {

@@ -112,3 +114,3 @@ if (get(resp, 'isApiResponse') !== true) {

logger.warn([
`${handler.route}: ${error.message}`,
`${getErrorMessage(error)}: ${handler.route}`,
JSON.stringify({

@@ -115,0 +117,0 @@ context: 'lambda-serverless-api',

@@ -41,3 +41,3 @@ {

},
"version": "10.1.5",
"version": "10.1.6",
"scripts": {

@@ -44,0 +44,0 @@ "clean": "rm -rf lib",

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