- Linting (ESLint): Per latest ash-nazg/eslint

- npm: Update devDeps
master
Brett Zamir 2019-11-23 19:17:32 +08:00
parent 9f478a3757
commit e1671cc372
7 changed files with 629 additions and 558 deletions

2
dist/canvg.js vendored
View File

@ -3263,7 +3263,7 @@ var canvg = (function (exports) {
return false;
}
this.duration = this.duration + delta; // if we're past the begin time
this.duration += delta; // if we're past the begin time
var updated = false;

View File

@ -3263,7 +3263,7 @@ var svgEditorExtension_server_moinsave = (function () {
return false;
}
this.duration = this.duration + delta; // if we're past the begin time
this.duration += delta; // if we're past the begin time
var updated = false;

View File

@ -3263,7 +3263,7 @@ var svgEditorExtension_server_opensave = (function () {
return false;
}
this.duration = this.duration + delta; // if we're past the begin time
this.duration += delta; // if we're past the begin time
var updated = false;

View File

@ -1881,7 +1881,7 @@ function build (opts) {
}
return false;
}
this.duration = this.duration + delta;
this.duration += delta;
// if we're past the begin time
let updated = false;

1150
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -77,25 +77,25 @@
],
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/node": "^7.7.0",
"@babel/plugin-transform-modules-commonjs": "^7.7.0",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/core": "^7.7.4",
"@babel/node": "^7.7.4",
"@babel/plugin-transform-modules-commonjs": "^7.7.4",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@mysticatea/eslint-plugin": "^13.0.0",
"axe-core": "^3.4.0",
"axe-testcafe": "^3.0.0",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"core-js-bundle": "^3.4.1",
"eslint": "6.6.0",
"eslint-config-ash-nazg": "11.5.0",
"core-js-bundle": "^3.4.2",
"eslint": "6.7.0",
"eslint-config-ash-nazg": "12.0.0",
"eslint-config-standard": "14.1.0",
"eslint-plugin-array-func": "^3.1.3",
"eslint-plugin-compat": "^3.3.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsdoc": "^18.1.1",
"eslint-plugin-jsdoc": "^18.1.4",
"eslint-plugin-markdown": "^1.0.1",
"eslint-plugin-no-use-extend-native": "^0.4.1",
"eslint-plugin-node": "10.0.0",
@ -118,13 +118,13 @@
"regenerator-runtime": "^0.13.3",
"remark-cli": "^7.0.1",
"remark-lint-ordered-list-marker-value": "^1.0.3",
"rollup": "1.27.2",
"rollup": "1.27.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-re": "^1.0.7",
"rollup-plugin-terser": "^5.1.2",
"sinon": "^7.5.0",
"sinon-test": "^2.4.0",
"stackblur-canvas": "^2.2.0",
"testcafe": "^1.6.1"
"testcafe": "^1.7.0"
}
}

View File

@ -37,10 +37,9 @@ const mockPathActions = {resetOrientation () { /* */ }};
let mockHistorySubCommands = [];
const mockHistory = {
BatchCommand: class {
constructor () {
return {
addSubCommand (cmd) { mockHistorySubCommands.push(cmd); }
};
// eslint-disable-next-line class-methods-use-this
addSubCommand (cmd) {
mockHistorySubCommands.push(cmd);
}
},
RemoveElementCommand: class {