Comparing version 7.0.8 to 7.0.9
{ | ||
"name": "mermaid", | ||
"version": "7.0.8", | ||
"version": "7.0.9", | ||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.", | ||
@@ -20,3 +20,3 @@ "main": "src/mermaid.js", | ||
"build": "node -r babel-register ./node_modules/.bin/webpack --progress --colors", | ||
"watch": "yarn build -- --watch", | ||
"build:watch": "yarn build -- --watch", | ||
"release": "yarn build -- -p --config webpack.config.prod.js", | ||
@@ -46,4 +46,4 @@ "upgrade": "yarn-upgrade-all && yarn remove d3 && yarn add d3@3.5.17", | ||
"d3": "3.5.17", | ||
"dagre": "^0.7.4", | ||
"dagre-d3-renderer": "^0.4.18", | ||
"dagre-d3-renderer": "^0.4.22", | ||
"dagre-layout": "^0.7.8", | ||
"he": "^1.1.1", | ||
@@ -61,2 +61,3 @@ "lodash": "^4.17.4", | ||
"babel-loader": "^7.1.2", | ||
"babel-plugin-lodash": "^3.2.11", | ||
"babel-preset-env": "^1.6.0", | ||
@@ -63,0 +64,0 @@ "babel-preset-es2015": "^6.24.1", |
@@ -195,3 +195,3 @@ # mermaid | ||
yarn watch | ||
yarn build:watch | ||
@@ -198,0 +198,0 @@ |
@@ -11,3 +11,3 @@ /** | ||
var log = Logger.Log | ||
var dagre = require('dagre') | ||
var dagre = require('dagre-layout') | ||
@@ -14,0 +14,0 @@ var idCache |
@@ -0,4 +1,5 @@ | ||
import _ from 'lodash' | ||
const Logger = require('../../logger') | ||
const log = Logger.Log | ||
const _ = require('lodash') | ||
@@ -5,0 +6,0 @@ var commits = {} |
@@ -6,4 +6,2 @@ /* eslint-env jasmine */ | ||
beforeEach(function () { | ||
console.log('ast', ast) | ||
console.log('parser', parser) | ||
parser.yy = ast | ||
@@ -10,0 +8,0 @@ parser.yy.clear() |
@@ -0,3 +1,4 @@ | ||
import _ from 'lodash' | ||
const db = require('./gitGraphAst') | ||
const _ = require('lodash') | ||
const gitGraphParser = require('./parser/gitGraph') | ||
@@ -4,0 +5,0 @@ const d3 = require('../../d3') |
@@ -198,10 +198,6 @@ /* eslint-env jasmine */ | ||
expect(messages.length).toBe(4) | ||
console.log('msg', messages[0]) | ||
expect(messages[0].type).toBe(sq.yy.LINETYPE.DOTTED) | ||
console.log('msg', messages[1]) | ||
expect(messages[1].type).toBe(sq.yy.LINETYPE.ACTIVE_START) | ||
expect(messages[1].from.actor).toBe('Bob') | ||
console.log('msg', messages[2]) | ||
expect(messages[2].type).toBe(sq.yy.LINETYPE.DOTTED) | ||
console.log('msg', messages[3]) | ||
expect(messages[3].type).toBe(sq.yy.LINETYPE.ACTIVE_END) | ||
@@ -225,16 +221,10 @@ expect(messages[3].from.actor).toBe('Bob') | ||
expect(messages.length).toBe(8) | ||
console.log('msg', messages[0]) | ||
expect(messages[0].type).toBe(sq.yy.LINETYPE.DOTTED) | ||
console.log('msg', messages[1]) | ||
expect(messages[1].type).toBe(sq.yy.LINETYPE.ACTIVE_START) | ||
expect(messages[1].from.actor).toBe('Bob') | ||
console.log('msg', messages[2]) | ||
expect(messages[2].type).toBe(sq.yy.LINETYPE.DOTTED) | ||
console.log('msg', messages[3]) | ||
expect(messages[3].type).toBe(sq.yy.LINETYPE.ACTIVE_START) | ||
expect(messages[3].from.actor).toBe('Carol') | ||
console.log('msg', messages[5]) | ||
expect(messages[5].type).toBe(sq.yy.LINETYPE.ACTIVE_END) | ||
expect(messages[5].from.actor).toBe('Bob') | ||
console.log('msg', messages[7]) | ||
expect(messages[7].type).toBe(sq.yy.LINETYPE.ACTIVE_END) | ||
@@ -241,0 +231,0 @@ expect(messages[7].from.actor).toBe('Carol') |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12418846
31
29373
+ Addeddagre-layout@^0.7.8
+ Addeddagre-layout@0.7.10(transitive)
- Removeddagre@^0.7.4
- Removeddagre@0.7.4(transitive)
- Removedgraphlib@1.0.7(transitive)
- Removedlodash@3.10.1(transitive)
Updateddagre-d3-renderer@^0.4.22