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

buhoi-workflow

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buhoi-workflow - npm Package Compare versions

Comparing version

to
1.0.5

2

lib/index.js

@@ -38,3 +38,3 @@ const parser = require('./parser')

on: (...args) => emitter.on(...args),
render: () => visualizer.render(),
render: () => visualizer.render(stateDefinitions),
}, {

@@ -41,0 +41,0 @@ get: (target, property) => property in target ? target[property] : methods[property],

module.exports = { render }
function render () {
const graph = states.map(s => s.transitions
function render (stateDefinitions) {
const graph = stateDefinitions.map(s => s.transitions
.map(t =>

@@ -6,0 +6,0 @@ `\t"${s.state}" -> "${t.nextState}" [label="${t.trigger}`

{
"name": "buhoi-workflow",
"version": "1.0.4",
"version": "1.0.5",
"description": "Workflow engine",

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