Socket
Socket
Sign inDemoInstall

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.8.1 to 0.8.2

2

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

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

@@ -2302,3 +2302,4 @@ {

"Activity",
"FlowElementsContainer"
"FlowElementsContainer",
"InteractionNode"
],

@@ -2305,0 +2306,0 @@ "properties": [

@@ -75,2 +75,6 @@ 'use strict';

builder.alter('SubProcess', function(desc) {
desc.superClass.push('InteractionNode');
});
builder.alter('Documentation#text', function(prop) {

@@ -77,0 +81,0 @@ prop.isBody = true;

@@ -56,2 +56,18 @@ 'use strict';

it('should create Process', function() {
var process = moddle.create('bpmn:Process');
expect(process.$type).to.eql('bpmn:Process');
expect(process.$instanceOf('bpmn:FlowElementsContainer')).to.be.true;
});
it('should create SubProcess', function() {
var subProcess = moddle.create('bpmn:SubProcess');
expect(subProcess.$type).to.eql('bpmn:SubProcess');
expect(subProcess.$instanceOf('bpmn:InteractionNode')).to.be.true;
});
describe('defaults', function() {

@@ -58,0 +74,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