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

bpmn-js

Package Overview
Dependencies
Maintainers
1
Versions
342
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpmn-js - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/Viewer.js

@@ -67,3 +67,3 @@ var Diagram = require('diagram-js'),

*/
var logoData = fs.readFileSync('resources/bpmnjs.png', 'base64');
var logoData = fs.readFileSync(__dirname + '/../resources/bpmnjs.png', 'base64');

@@ -70,0 +70,0 @@ var a = $('<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" />').css({

{
"name": "bpmn-js",
"version": "0.0.2",
"version": "0.0.3",
"description": "A bpmn 2.0 toolkit and web modeler",

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

@@ -19,5 +19,6 @@ var fs = require('fs');

it('should render text annotations', function(done) {
var xml = fs.readFileSync('test/fixtures/bpmn/render/text-annotation.bpmn', 'utf8');
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/text-annotation.bpmn', 'utf8');

@@ -31,5 +32,6 @@ var renderer = new Viewer(container);

it('should render data objects', function(done) {
var xml = fs.readFileSync('test/fixtures/bpmn/render/data-objects.bpmn', 'utf8');
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/data-objects.bpmn', 'utf8');

@@ -43,5 +45,6 @@ var renderer = new Viewer(container);

it('should render events', function(done) {
var xml = fs.readFileSync('test/fixtures/bpmn/render/events.bpmn', 'utf8');
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/events.bpmn', 'utf8');

@@ -55,5 +58,6 @@ var renderer = new Viewer(container);

it('should render events (interrupting)', function(done) {
var xml = fs.readFileSync('test/fixtures/bpmn/render/events-interrupting.bpmn', 'utf8');
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/events-interrupting.bpmn', 'utf8');

@@ -67,5 +71,6 @@ var renderer = new Viewer(container);

it('should render gateways', function(done) {
var xml = fs.readFileSync('test/fixtures/bpmn/render/gateways.bpmn', 'utf8');
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/gateways.bpmn', 'utf8');

@@ -79,5 +84,6 @@ var renderer = new Viewer(container);

it('should render groups', function(done) {
var xml = fs.readFileSync('test/fixtures/bpmn/render/group.bpmn', 'utf8');
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/group.bpmn', 'utf8');

@@ -91,5 +97,6 @@ var renderer = new Viewer(container);

it('should render pools', function(done) {
var xml = fs.readFileSync('test/fixtures/bpmn/render/pools.bpmn', 'utf8');
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/pools.bpmn', 'utf8');

@@ -102,2 +109,3 @@ var renderer = new Viewer(container);

});
});
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