Socket
Socket
Sign inDemoInstall

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.4 to 10.1.5

16

lib/logic/api-gateway.js

@@ -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",

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