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

bpmn-moddle

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpmn-moddle - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

6

package.json
{
"name": "bpmn-moddle",
"version": "0.13.0",
"version": "0.14.0",
"description": "A moddle wrapper for BPMN 2.0",

@@ -47,5 +47,5 @@ "scripts": {

"lodash": "^3.0.0",
"moddle": "^0.8.0",
"moddle-xml": "^0.12.0"
"moddle": "^1.0.0",
"moddle-xml": "^1.0.0"
}
}

@@ -766,2 +766,29 @@ 'use strict';

it('BPMNEdge (colored)', function(done) {
// given
var bpmnEdge = moddle.create('bpmndi:BPMNEdge', {
fill: '#ff0000',
stroke: '#00ff00'
});
var expectedXML =
'<bpmndi:BPMNEdge xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" ' +
'xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" ' +
'bioc:stroke="#00ff00" bioc:fill="#ff0000" />';
// when
write(bpmnEdge, function(err, result) {
if (err) {
done(err);
}
// then
expect(result).to.eql(expectedXML);
done();
});
});
});

@@ -768,0 +795,0 @@

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