Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dotcook/lambda-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcook/lambda-api - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

package.json
{
"name": "@dotcook/lambda-api",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -14,2 +14,3 @@ "keywords": [

"@hapi/joi": "^17.1.1",
"@middy/http-cors": "^1.0.0",
"lodash": "^4.17.15",

@@ -16,0 +17,0 @@ "middy": "^0.36.0"

const middy = require('middy');
const { jsonBodyParser, httpErrorHandler } = require('middy/middlewares');
const cors = require('@middy/http-cors');

@@ -40,2 +41,3 @@

.use(httpErrorHandler())
.use(cors())
.use(apiResponse());

@@ -42,0 +44,0 @@ middlewares.forEach((middleware) => {

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