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

mdw-fsm

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdw-fsm - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

lib/job.js

@@ -13,2 +13,3 @@ 'use strict';

this.state = state;
this.lastState = null;
this.opts = opts;

@@ -20,2 +21,3 @@

Job.prototype.setState = function(state) {
this.lastState = state;
this.state = state;

@@ -28,4 +30,8 @@ };

Job.prototype.getLastState = function() {
return this.lastState;
};
Job.prototype.set = function(setting, val) {
if (arguments.length === 1) {
if(arguments.length === 1) {
// app.get(setting)

@@ -32,0 +38,0 @@ return this.settings[setting];

2

package.json
{
"name": "mdw-fsm",
"version": "1.0.1",
"version": "1.0.2",
"description": "middleware finite state machine",

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