diff --git a/package.json b/package.json index 6d06f94ce..b10f7eae5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mermaid", - "version": "7.0.9", + "version": "7.0.10", "description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.", "main": "src/mermaid.js", "keywords": [ @@ -17,9 +17,9 @@ }, "scripts": { "build": "node -r babel-register ./node_modules/.bin/webpack --progress --colors", - "build:watch": "yarn build -- --watch", - "release": "yarn build -- -p --config webpack.config.prod.js", - "upgrade": "yarn-upgrade-all && yarn remove d3 && yarn add d3@3.5.17", + "build:watch": "yarn build --watch", + "release": "yarn build -p --config webpack.config.prod.js", + "upgrade": "yarn upgrade --latest && yarn remove d3 && yarn add d3@3.5.17", "lint": "standard", "karma": "node -r babel-register node_modules/.bin/karma start karma.conf.js --single-run", "tape": "node -r babel-register node_modules/.bin/tape test/cli_test-*.js", @@ -42,8 +42,8 @@ "dependencies": { "chalk": "^2.1.0", "d3": "3.5.17", - "dagre-d3-renderer": "^0.4.22", - "dagre-layout": "^0.7.8", + "dagre-d3-renderer": "^0.4.23", + "dagre-layout": "^0.8.0", "he": "^1.1.1", "lodash": "^4.17.4", "minimist": "^1.2.0", @@ -81,9 +81,8 @@ "standard": "^10.0.3", "style-loader": "^0.18.2", "tape": "^4.8.0", - "webpack": "^3.5.5", - "webpack-node-externals": "^1.6.0", - "yarn-upgrade-all": "^0.1.8" + "webpack": "^3.5.6", + "webpack-node-externals": "^1.6.0" }, "files": [ "bin", diff --git a/todo.md b/todo.md index b32ecf443..9fc37b155 100644 --- a/todo.md +++ b/todo.md @@ -4,12 +4,15 @@ - Make node console output colors like Chrome console - What's the correct way to change logLevel as an end user? - mermaid.initialize({ logLevel: 1 }) -- Fix CodeClimate +- Replace CodeClimate with coveralls - Get familar with jison -- add coveralls - git graph requires a blank line at the end. why? - Move cli to mermaid-cli project ? -- remove 'fs' as dependency -- remove 'lodash' as dependency +- Remove 'fs' as dependency +- Remove 'lodash' as dependency - https://github.com/lodash/babel-plugin-lodash - https://www.npmjs.com/package/lodash-webpack-plugin +- Replace var with const/let +- Replace require with import +- Replace module.exports with export default +- Replace karma-webpack with karma-babel diff --git a/yarn.lock b/yarn.lock index 2d86cc1c9..f725afea8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1562,21 +1562,21 @@ d@1: dependencies: es5-ext "^0.10.9" -dagre-d3-renderer@^0.4.22: - version "0.4.22" - resolved "https://registry.yarnpkg.com/dagre-d3-renderer/-/dagre-d3-renderer-0.4.22.tgz#39941bfa77e34fca5780e8efb5bb8bcb39cd4920" +dagre-d3-renderer@^0.4.23: + version "0.4.23" + resolved "https://registry.yarnpkg.com/dagre-d3-renderer/-/dagre-d3-renderer-0.4.23.tgz#c0cddbc9b85409e78f4fb3e6ebc45be3b4d29227" dependencies: d3 "3.5.17" - dagre-layout "^0.7.8" + dagre-layout "^0.8.0" graphlib "^2.1.1" lodash "^4.17.4" -dagre-layout@^0.7.8: - version "0.7.8" - resolved "https://registry.yarnpkg.com/dagre-layout/-/dagre-layout-0.7.8.tgz#64db8fc624be71572b380cbe286deda7c07fbac7" +dagre-layout@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/dagre-layout/-/dagre-layout-0.8.0.tgz#7147b6afb655602f855158dfea171db9aa98d4ff" dependencies: graphlib "^2.1.1" - lodash "3.10.1" + lodash "^4.17.4" dashdash@^1.12.0: version "1.14.1" @@ -3608,7 +3608,7 @@ lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" -lodash@3.10.1, lodash@^3.8.0: +lodash@^3.8.0: version "3.10.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" @@ -5705,9 +5705,9 @@ webpack-sources@^1.0.1: source-list-map "^2.0.0" source-map "~0.5.3" -webpack@^3.5.5: - version "3.5.5" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.5.5.tgz#3226f09fc8b3e435ff781e7af34f82b68b26996c" +webpack@^3.5.6: + version "3.5.6" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.5.6.tgz#a492fb6c1ed7f573816f90e00c8fbb5a20cc5c36" dependencies: acorn "^5.0.0" acorn-dynamic-import "^2.0.0" @@ -5851,12 +5851,6 @@ yargs@~3.10.0: decamelize "^1.0.0" window-size "0.1.0" -yarn-upgrade-all@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/yarn-upgrade-all/-/yarn-upgrade-all-0.1.8.tgz#e5b243b87aa07bd19c1f5114d4c4aea68f8664f1" - dependencies: - chalk "^2.1.0" - yauzl@2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005"