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

asl-puml

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asl-puml - npm Package Compare versions

Comparing version 0.14.8 to 0.15.0

7

dist/lib/build_state_map.js

@@ -17,7 +17,10 @@ "use strict";

if (hints.json.Type === types_1.AslStateType.Choice) {
return { stereotype: "<<Choice>>" };
return { stereotype: "<<Choice>>", deadPath: deadPath !== null && deadPath !== void 0 ? deadPath : false };
}
if (hints.json.Type === types_1.AslStateType.Map ||
hints.json.Type === types_1.AslStateType.Parallel) {
return { stereotype: `<<asl${hints.json.Type}>>` };
return {
stereotype: `<<asl${hints.json.Type}>>`,
deadPath: deadPath !== null && deadPath !== void 0 ? deadPath : false,
};
}

@@ -24,0 +27,0 @@ return {

{
"name": "asl-puml",
"version": "0.14.8",
"version": "0.15.0",
"description": "Generates a plant uml file from a valid JSON ASL file",

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

@@ -16,3 +16,3 @@ import { JSONPath } from "jsonpath-plus";

if (hints.json.Type === AslStateType.Choice) {
return { stereotype: "<<Choice>>" };
return { stereotype: "<<Choice>>", deadPath: deadPath ?? false };
}

@@ -23,3 +23,6 @@ if (

) {
return { stereotype: `<<asl${hints.json.Type}>>` };
return {
stereotype: `<<asl${hints.json.Type}>>`,
deadPath: deadPath ?? false,
};
}

@@ -26,0 +29,0 @@ return {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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