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

10

index.js

@@ -67,3 +67,11 @@ 'use strict';

return Promise.resolve();
// If prefix, redirection from / to prefix
if (prefix !== '/') this.server.route({
method: '*',
path: '/',
config: { cors: true },
handler: (request, reply) => {
reply().redirect(prefix);
}
});
}

@@ -70,0 +78,0 @@

2

package.json
{
"name": "serverless-offline",
"version": "0.1.4",
"version": "0.1.5",
"description": "Simulates your API Gateway ressources locally to call your lambda functions offline",

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

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