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

mscgenjs

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mscgenjs - npm Package Compare versions

Comparing version 1.13.0 to 1.14.0-beta-0

24

main/index.js

@@ -80,11 +80,17 @@ /* istanbul ignore else */

null,
(lOptions.outputType === "json")
? JSON.stringify(
pGetParser(lOptions.inputType).parse(pScript),
null,
" "
)
: pGetTextRenderer(lOptions.outputType).render(
(function () {
if (lOptions.outputType === "ast") {
return pGetParser(lOptions.inputType).parse(pScript);
}
if (lOptions.outputType === "json") {
return JSON.stringify(
pGetParser(lOptions.inputType).parse(pScript),
null,
" "
);
}
return pGetTextRenderer(lOptions.outputType).render(
getAST(pScript, lOptions.inputType, pGetParser)
)
);
})()
);

@@ -96,3 +102,3 @@ } catch (pException) {

version: "1.13.0",
version: "1.14.0-beta-0",

@@ -99,0 +105,0 @@ getAllowedValues: function() {

{
"name": "mscgenjs",
"version": "1.13.0",
"version": "1.14.0-beta-0",
"description": "Sequence chart rendering library",

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

@@ -151,3 +151,3 @@ # mscgen_js - core package

inputType: "msgenny", // defaults to mscgen - other accepted formats: msgenny, xu, json
outputType: "mscgen" // defaults to json - other accepted formats: mscgen, msgenny, xu, dot, doxygen
outputType: "mscgen" // defaults to json - other accepted formats: mscgen, msgenny, xu, dot, doxygen, ast
},

@@ -154,0 +154,0 @@ function(pError, pSuccess){

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