New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codegenie/serverless-express

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codegenie/serverless-express - npm Package Compare versions

Comparing version 4.14.0 to 4.14.1

5

package.json
{
"name": "@codegenie/serverless-express",
"version": "4.14.0",
"version": "4.14.1",
"description": "This library enables you to utilize AWS Lambda and Amazon API Gateway to respond to web and API requests using your existing Node.js application framework.",

@@ -50,3 +50,4 @@ "keywords": [

"examples/nestjs",
"examples/basic-starter-api-gateway-v2-typescript"
"examples/basic-starter-api-gateway-v2-typescript",
"examples/lambda-function-url"
]

@@ -53,0 +54,0 @@ },

6

src/event-sources/aws/sqs.js

@@ -13,3 +13,7 @@ const getRequestValuesFromSqs = ({ event }) => {

const getResponseToSqs = ({ body }) => JSON.parse(body)
const getResponseToSqs = ({ body }) => {
try {
return JSON.parse(body)
} catch (error) {}
}

@@ -16,0 +20,0 @@ module.exports = {

@@ -94,2 +94,3 @@ const url = require('url')

if (event.requestContext) {
// NOTE: Lambda Function URL follows the same format as AWS_API_GATEWAY_V2
return event.version === '2.0' ? 'AWS_API_GATEWAY_V2' : 'AWS_API_GATEWAY_V1'

@@ -96,0 +97,0 @@ }

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