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

baggywrinkle

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baggywrinkle - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

11

index.js
const machineAsAction = require('machine-as-action');
const statuses = require('statuses');
module.exports = function machineAsLambda(optsOrMachineDefOrMachine, bootstrap) {
module.exports = function machineAsLambda(optsOrMachineDefOrMachine, bootstrap, teardown) {

@@ -73,2 +73,11 @@ // MAAify the passed-in machine (or machine def), unless it's already been done.

}
if (teardown) {
return teardown(() => {
callback(null, {
statusCode: statusCode,
headers: headers,
body: body
});
})
}
callback(null, {

@@ -75,0 +84,0 @@ statusCode: statusCode,

2

package.json
{
"name": "baggywrinkle",
"version": "1.1.0",
"version": "1.2.0",
"description": "Run a machine from an AWS Lambda function.",

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