Huge News!Announcing our $40M Series B led by Abstract Ventures.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.1 to 4.14.2

2

package.json
{
"name": "@codegenie/serverless-express",
"version": "4.14.1",
"version": "4.14.2",
"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.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -18,2 +18,12 @@ // ATTRIBUTION: https://github.com/dougmoscrop/serverless-http

// IncomingMessage has a lot of logic for when to lowercase or alias well-known header names,
// so we delegate to that logic here
const headerEntries = Object.entries(headers)
const rawHeaders = new Array(headerEntries.length * 2)
for (let i = 0; i < headerEntries.length; i++) {
rawHeaders[i * 2] = headerEntries[i][0]
rawHeaders[i * 2 + 1] = headerEntries[i][1]
}
this._addHeaderLines(rawHeaders, rawHeaders.length)
Object.assign(this, {

@@ -26,3 +36,2 @@ ip: remoteAddress,

method,
headers,
body,

@@ -29,0 +38,0 @@ url

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