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

fn-machine

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fn-machine - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "fn-machine",
"version": "0.0.6",
"version": "0.0.7",
"description": "a tiny functional state machine",

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

@@ -9,3 +9,3 @@ /** @typedef {import('./fn-state').CurrentState} CurrentState */

* @param {function(CurrentState)=} changeCb
* @return {function(string, Object?):CurrentState}
* @return {function(string, Object=):CurrentState?}
*/

@@ -25,3 +25,3 @@ export default function machine(states: {

context?: any;
}) => any): (arg0: string, arg1: any) => {
}) => any): (arg0: string, arg1?: any) => {
state: string;

@@ -28,0 +28,0 @@ context?: any;

@@ -10,3 +10,3 @@ /** @typedef {import('./fn-state').CurrentState} CurrentState */

* @param {function(CurrentState)=} changeCb
* @return {function(string, Object?):CurrentState}
* @return {function(string, Object=):CurrentState?}
*/

@@ -13,0 +13,0 @@ export default function machine(states, initialState, initialContext, changeCb = function(state){}) {

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