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

aws-lambda-promise

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-promise - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

index.js

@@ -11,4 +11,2 @@ 'use strict';

module.exports = function (file, name) {
const handler = require(file)[name];
/**

@@ -22,2 +20,6 @@ * Run the given handler.

return function (event, context) {
// create handler only once it's executed
const handler = require(file)[name];
// Setup and return promise
return new Promise(function (resolve, reject) {

@@ -24,0 +26,0 @@ handler(event, context, function (err, result) {

{
"name": "aws-lambda-promise",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

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

Sorry, the diff of this file is not supported yet

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