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

mooremachine

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mooremachine - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

9

lib/fsm.js

@@ -102,2 +102,7 @@ // Copyright 2015 Joyent, Inc.

this.fsm_state = state;
this.fsm_history.push(state);
if (this.fsm_history.length >= 8)
this.fsm_history.shift();
f.call(this, this.sOn.bind(this), this.sOnce.bind(this),

@@ -107,6 +112,2 @@ this.sTimeout.bind(this), this.sOnState.bind(this));

this.emit('stateChanged', state);
this.fsm_history.push(state);
if (this.fsm_history.length >= 8)
this.fsm_history.shift();
};

@@ -113,0 +114,0 @@

{
"name": "mooremachine",
"version": "1.1.2",
"version": "1.1.3",
"description": "Moore finite state machines",

@@ -5,0 +5,0 @@ "main": "lib/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