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

serverless-offline

Package Overview
Dependencies
Maintainers
1
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-offline - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

2

package.json
{
"name": "serverless-offline",
"version": "1.2.5",
"version": "1.2.6",
"description": "A Serverless plugin to emulate AWS APIG and Lambda offline.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -324,2 +324,3 @@ 'use strict';

// If there is a responseTemplates, we apply it to the finalResult
let responseContentType = defaultContentType;
const responseTemplates = finalResponse.responseTemplates;

@@ -341,3 +342,3 @@

/* ... */
responseContentType = templateName;
debugLog(`Using responseTemplate '${templateName}'`);

@@ -358,2 +359,3 @@

response.source = finalResult;
response.header('content-type', responseContentType);

@@ -360,0 +362,0 @@ let whatToLog = finalResult;

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