Huge News!Announcing our $40M Series B led by Abstract Ventures.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.7.0 to 1.8.0

2

main/index.js

@@ -95,3 +95,3 @@ /* istanbul ignore else */

version: "1.7.0",
version: "1.8.0",

@@ -98,0 +98,0 @@ getAllowedValues: function() {

{
"name": "mscgenjs",
"version": "1.7.0",
"version": "1.8.0",
"description": "Implementation of MscGen in JavaScript",

@@ -13,9 +13,9 @@ "main": "index.js",

"chai-xml": "0.3.1",
"eslint": "3.13.1",
"eslint": "3.15.0",
"istanbul": "0.4.5",
"js-makedepend": "2.2.0",
"jsdom": "9.9.1",
"js-makedepend": "2.2.1",
"jsdom": "9.10.0",
"lodash-cli": "4.17.4",
"mocha": "3.2.0",
"npm-check-updates": "2.8.9",
"npm-check-updates": "2.10.2",
"nsp": "2.6.2",

@@ -22,0 +22,0 @@ "pegjs": "0.10.0",

@@ -422,4 +422,5 @@ /* istanbul ignore else */

pRowMemory.push({
id : pCurrentId + "_lbl",
layer : gChart.layer.sequence
id : pCurrentId + "_lbl",
tooltip : pArc.from + ' ' + pArc.kind + ' ' + pArc.to,
layer : gChart.layer.sequence
});

@@ -435,4 +436,5 @@ } else { // it's a regular arc

pRowMemory.push({
id : pCurrentId,
layer : gChart.layer.sequence
id : pCurrentId,
tooltip : pArc.from + ' ' + pArc.kind + ' ' + pArc.to,
layer : gChart.layer.sequence
});

@@ -514,11 +516,16 @@ } // / lTo or pArc.from === "*"

lRowMemory.forEach(function(pRowMemoryLine){
pRowMemoryLine.layer.appendChild(
fact.createUse(
{
x:0,
y:rowmemory.get(pRowNumber).y
},
pRowMemoryLine.id
)
var lUse = fact.createUse(
{
x:0,
y:rowmemory.get(pRowNumber).y
},
pRowMemoryLine.id
);
if (pRowMemoryLine.tooltip) {
var lTitle = llfact.createElement('title');
var lText = llfact.createTextNode(pRowMemoryLine.tooltip);
lTitle.appendChild(lText);
lUse.appendChild(lTitle);
}
pRowMemoryLine.layer.appendChild(lUse);
});

@@ -525,0 +532,0 @@ }

@@ -34,2 +34,6 @@ /* istanbul ignore else */

function _createTextNode(pText) {
return gDocument.createTextNode(pText);
}
return {

@@ -75,4 +79,12 @@ /**

*/
createElement: _createElement
createElement: _createElement,
/**
* creates a textNode, initialized with the pText passed
*
* @param {string} pText
* @return {textNode}
*/
createTextNode: _createTextNode
};

@@ -79,0 +91,0 @@ });

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