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

create-koa-lambda

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-koa-lambda - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

8

index.js
const getOptions = (opt) => opt === true ? undefined : opt;
/**

@@ -13,2 +12,3 @@ * creates koa app and gives it to the handler function

* listen: bool | number (default: false, listen port)
* callback: bool (default: true, return callback or app)
* })

@@ -19,7 +19,5 @@ */

const app = new Koa();
if (!config) {
config = {};
}
const {

@@ -41,3 +39,2 @@ logger = true,

} = config;
if (logger) {

@@ -67,8 +64,5 @@ app.use(require("koa-logger")(getOptions(logger)));

}
appHandler(app);
return app.callback();
};
module.exports = createKoaLambda;

2

package.json
{
"name": "create-koa-lambda",
"version": "0.1.2",
"version": "0.1.3",
"description": "",

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