Update JS dependencies (#9255)

This is the result of `make npm-update`. I also fixed a minor linting
issue which came up with the eslint 6.7 update.
This commit is contained in:
silverwind 2019-12-06 07:41:25 +01:00 committed by Lunny Xiao
parent e3081c667a
commit d672206800
3 changed files with 1814 additions and 778 deletions

2564
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,25 +5,25 @@
"node": ">=10" "node": ">=10"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.7.2", "@babel/core": "7.7.4",
"@babel/plugin-transform-runtime": "7.6.2", "@babel/plugin-transform-runtime": "7.7.4",
"@babel/preset-env": "7.7.1", "@babel/preset-env": "7.7.4",
"@babel/runtime": "7.7.2", "@babel/runtime": "7.7.4",
"autoprefixer": "9.7.1", "autoprefixer": "9.7.3",
"babel-loader": "8.0.6", "babel-loader": "8.0.6",
"core-js": "3.4.1", "core-js": "3.4.7",
"css-loader": "3.2.0", "css-loader": "3.2.1",
"cssnano": "4.1.10", "cssnano": "4.1.10",
"eslint": "6.6.0", "eslint": "6.7.2",
"eslint-config-airbnb-base": "14.0.0", "eslint-config-airbnb-base": "14.0.0",
"eslint-plugin-import": "2.18.2", "eslint-plugin-import": "2.18.2",
"less": "3.10.3", "less": "3.10.3",
"postcss-cli": "6.1.3", "postcss-cli": "6.1.3",
"style-loader": "1.0.0", "style-loader": "1.0.1",
"stylelint": "11.1.1", "stylelint": "12.0.0",
"stylelint-config-standard": "19.0.0", "stylelint-config-standard": "19.0.0",
"terser-webpack-plugin": "2.2.1", "terser-webpack-plugin": "2.2.1",
"updates": "9.0.1", "updates": "9.3.0",
"webpack": "4.41.2", "webpack": "4.41.2",
"webpack-cli": "3.3.10" "webpack-cli": "3.3.10"
}, },

View file

@ -250,16 +250,14 @@ export default function gitGraph(canvas, rawGraphList, config) {
} }
} }
/* eslint-disable-next-line */
if (condensePrevLength < condenseCurrentLength if (condensePrevLength < condenseCurrentLength
&& ((nodePos = findColomn('*', currentRow)) !== -1 && ((nodePos = findColomn('*', currentRow)) !== -1 // eslint-disable-line no-cond-assign
&& (findColomn('_', currentRow) === -1))) { && (findColomn('_', currentRow) === -1))) {
flows.splice(nodePos - 1, 0, genNewFlow()); flows.splice(nodePos - 1, 0, genNewFlow());
} }
/* eslint-disable-next-line */
if (prevRowLength > currentRow.length if (prevRowLength > currentRow.length
&& (nodePos = findColomn('*', prevRow)) !== -1) { && (nodePos = findColomn('*', prevRow)) !== -1) { // eslint-disable-line no-cond-assign
if (findColomn('_', currentRow) === -1 if (findColomn('_', currentRow) === -1
&& findColomn('/', currentRow) === -1 && findColomn('/', currentRow) === -1
&& findColomn('\\', currentRow) === -1) { && findColomn('\\', currentRow) === -1) {