mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-27 08:30:26 +00:00
build: Updating npm dependencies
* eslint-config-wikimedia: 0.28.0 → 0.28.2 The following rules are failing and were disabled: * modules: * es-x/no-object-assign * grunt-stylelint: 0.20.0 → 0.20.1 * stylelint-config-wikimedia: 0.17.1 → 0.17.2 Change-Id: Ic603e46d510db344805408a972355249455a177e
This commit is contained in:
parent
7a396da3a1
commit
faf23a2fa3
|
@ -7,6 +7,7 @@
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"max-len": "off",
|
"max-len": "off",
|
||||||
"no-jquery/no-extend": "warn"
|
"no-jquery/no-extend": "warn",
|
||||||
|
"es-x/no-object-assign": "warn"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
*
|
*
|
||||||
* This is also where we can attach some extra information to the events.
|
* This is also where we can attach some extra information to the events.
|
||||||
*/
|
*/
|
||||||
context.evt = $.extend( context.evt, {
|
context.evt = Object.assign( context.evt, {
|
||||||
keydown: returnFalse,
|
keydown: returnFalse,
|
||||||
change: returnFalse,
|
change: returnFalse,
|
||||||
delayedChange: returnFalse,
|
delayedChange: returnFalse,
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
/**
|
/**
|
||||||
* Internally used functions
|
* Internally used functions
|
||||||
*/
|
*/
|
||||||
context.fn = $.extend( context.fn, {
|
context.fn = Object.assign( context.fn, {
|
||||||
isCodeEditorActive: function () {
|
isCodeEditorActive: function () {
|
||||||
return context.codeEditorActive;
|
return context.codeEditorActive;
|
||||||
},
|
},
|
||||||
|
|
60
package-lock.json
generated
60
package-lock.json
generated
|
@ -9,15 +9,15 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"ace-builds": "1.32.7",
|
"ace-builds": "1.32.7",
|
||||||
"eslint-config-wikimedia": "0.28.0",
|
"eslint-config-wikimedia": "0.28.2",
|
||||||
"grunt": "1.6.1",
|
"grunt": "1.6.1",
|
||||||
"grunt-banana-checker": "0.13.0",
|
"grunt-banana-checker": "0.13.0",
|
||||||
"grunt-contrib-clean": "2.0.1",
|
"grunt-contrib-clean": "2.0.1",
|
||||||
"grunt-contrib-copy": "1.0.0",
|
"grunt-contrib-copy": "1.0.0",
|
||||||
"grunt-eslint": "24.3.0",
|
"grunt-eslint": "24.3.0",
|
||||||
"grunt-exec": "3.0.0",
|
"grunt-exec": "3.0.0",
|
||||||
"grunt-stylelint": "0.20.0",
|
"grunt-stylelint": "0.20.1",
|
||||||
"stylelint-config-wikimedia": "0.17.1"
|
"stylelint-config-wikimedia": "0.17.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@aashutoshrathi/word-wrap": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
|
@ -1408,9 +1408,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-config-wikimedia": {
|
"node_modules/eslint-config-wikimedia": {
|
||||||
"version": "0.28.0",
|
"version": "0.28.2",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.2.tgz",
|
||||||
"integrity": "sha512-qDkELhXoDvQP+kYYo5MilhvqJ4Agk78Pzu95K1l1h68xPEWagD4k/dvrgmVyKjcp5KyAnZr++7qChLiFhDdBDA==",
|
"integrity": "sha512-5+rdnT7wH1gpKAO6tHYThg78eMhZMruJzvqku3Y5iaEY/A7kSKLFpA/vOj/snys9fKjDHC9BXmArQh+agkOoJQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"browserslist-config-wikimedia": "^0.7.0",
|
"browserslist-config-wikimedia": "^0.7.0",
|
||||||
|
@ -1423,7 +1423,7 @@
|
||||||
"eslint-plugin-mediawiki": "^0.7.0",
|
"eslint-plugin-mediawiki": "^0.7.0",
|
||||||
"eslint-plugin-mocha": "^10.4.3",
|
"eslint-plugin-mocha": "^10.4.3",
|
||||||
"eslint-plugin-n": "^17.7.0",
|
"eslint-plugin-n": "^17.7.0",
|
||||||
"eslint-plugin-no-jquery": "^2.7.0",
|
"eslint-plugin-no-jquery": "^3.0.1",
|
||||||
"eslint-plugin-qunit": "^8.1.1",
|
"eslint-plugin-qunit": "^8.1.1",
|
||||||
"eslint-plugin-security": "^1.7.1",
|
"eslint-plugin-security": "^1.7.1",
|
||||||
"eslint-plugin-unicorn": "^53.0.0",
|
"eslint-plugin-unicorn": "^53.0.0",
|
||||||
|
@ -1626,12 +1626,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-no-jquery": {
|
"node_modules/eslint-plugin-no-jquery": {
|
||||||
"version": "2.7.0",
|
"version": "3.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-3.0.1.tgz",
|
||||||
"integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==",
|
"integrity": "sha512-GrzdjIxox/3x8hpSwpxiMuEQFipiJHTGiVsp0T1TI6GH+KVSbXa4z/56xTV1WiIe66u3iRgvCIipu9CRthecpQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": ">=2.3.0"
|
"eslint": ">=8.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-qunit": {
|
"node_modules/eslint-plugin-qunit": {
|
||||||
|
@ -2591,9 +2591,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/grunt-stylelint": {
|
"node_modules/grunt-stylelint": {
|
||||||
"version": "0.20.0",
|
"version": "0.20.1",
|
||||||
"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.1.tgz",
|
||||||
"integrity": "sha512-TG17gIrP2//lNq5G0YOXFC55WjXOI5Ybib3XVlatEuZcATlo/FO7cfVMgAAxbO2k6f45LP/naS/3iJTod0dVjg==",
|
"integrity": "sha512-tDep9ceEerB+fK6CkzPBXu5qPM7RuwCRgfrtwugEyYYnxINreMZktqQU5eoTW+MhhFj81uWQQnxf+c4geyAmQg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^4.1.2"
|
"chalk": "^4.1.2"
|
||||||
|
@ -4472,9 +4472,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/stylelint-config-wikimedia": {
|
"node_modules/stylelint-config-wikimedia": {
|
||||||
"version": "0.17.1",
|
"version": "0.17.2",
|
||||||
"resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.1.tgz",
|
"resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.2.tgz",
|
||||||
"integrity": "sha512-wLgadkHgAkz9jLLOVjBETSU+P3fzHB+rbx4ajct6+w/sqtKd2N9DM77ufJXZXA+Ai0HHanU9ltAy9XzFEFkT2Q==",
|
"integrity": "sha512-cc3PYhe1O/GTgsMOp+Ri3ru579YBbZ3Me0oU7xNb06n4iwyXYPz8qO5G4iQ13UH19UW2NIS8Tk0goPRrJ1RAfw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@stylistic/stylelint-config": "1.0.1",
|
"@stylistic/stylelint-config": "1.0.1",
|
||||||
|
@ -6148,9 +6148,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-config-wikimedia": {
|
"eslint-config-wikimedia": {
|
||||||
"version": "0.28.0",
|
"version": "0.28.2",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.28.2.tgz",
|
||||||
"integrity": "sha512-qDkELhXoDvQP+kYYo5MilhvqJ4Agk78Pzu95K1l1h68xPEWagD4k/dvrgmVyKjcp5KyAnZr++7qChLiFhDdBDA==",
|
"integrity": "sha512-5+rdnT7wH1gpKAO6tHYThg78eMhZMruJzvqku3Y5iaEY/A7kSKLFpA/vOj/snys9fKjDHC9BXmArQh+agkOoJQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"browserslist-config-wikimedia": "^0.7.0",
|
"browserslist-config-wikimedia": "^0.7.0",
|
||||||
|
@ -6163,7 +6163,7 @@
|
||||||
"eslint-plugin-mediawiki": "^0.7.0",
|
"eslint-plugin-mediawiki": "^0.7.0",
|
||||||
"eslint-plugin-mocha": "^10.4.3",
|
"eslint-plugin-mocha": "^10.4.3",
|
||||||
"eslint-plugin-n": "^17.7.0",
|
"eslint-plugin-n": "^17.7.0",
|
||||||
"eslint-plugin-no-jquery": "^2.7.0",
|
"eslint-plugin-no-jquery": "^3.0.1",
|
||||||
"eslint-plugin-qunit": "^8.1.1",
|
"eslint-plugin-qunit": "^8.1.1",
|
||||||
"eslint-plugin-security": "^1.7.1",
|
"eslint-plugin-security": "^1.7.1",
|
||||||
"eslint-plugin-unicorn": "^53.0.0",
|
"eslint-plugin-unicorn": "^53.0.0",
|
||||||
|
@ -6298,9 +6298,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-plugin-no-jquery": {
|
"eslint-plugin-no-jquery": {
|
||||||
"version": "2.7.0",
|
"version": "3.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-3.0.1.tgz",
|
||||||
"integrity": "sha512-Aeg7dA6GTH1AcWLlBtWNzOU9efK5KpNi7b0EhBO0o0M+awyzguUUo8gF6hXGjQ9n5h8/uRtYv9zOqQkeC5CG0w==",
|
"integrity": "sha512-GrzdjIxox/3x8hpSwpxiMuEQFipiJHTGiVsp0T1TI6GH+KVSbXa4z/56xTV1WiIe66u3iRgvCIipu9CRthecpQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
|
@ -7044,9 +7044,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"grunt-stylelint": {
|
"grunt-stylelint": {
|
||||||
"version": "0.20.0",
|
"version": "0.20.1",
|
||||||
"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/grunt-stylelint/-/grunt-stylelint-0.20.1.tgz",
|
||||||
"integrity": "sha512-TG17gIrP2//lNq5G0YOXFC55WjXOI5Ybib3XVlatEuZcATlo/FO7cfVMgAAxbO2k6f45LP/naS/3iJTod0dVjg==",
|
"integrity": "sha512-tDep9ceEerB+fK6CkzPBXu5qPM7RuwCRgfrtwugEyYYnxINreMZktqQU5eoTW+MhhFj81uWQQnxf+c4geyAmQg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"chalk": "^4.1.2"
|
"chalk": "^4.1.2"
|
||||||
|
@ -8439,9 +8439,9 @@
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
"stylelint-config-wikimedia": {
|
"stylelint-config-wikimedia": {
|
||||||
"version": "0.17.1",
|
"version": "0.17.2",
|
||||||
"resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.1.tgz",
|
"resolved": "https://registry.npmjs.org/stylelint-config-wikimedia/-/stylelint-config-wikimedia-0.17.2.tgz",
|
||||||
"integrity": "sha512-wLgadkHgAkz9jLLOVjBETSU+P3fzHB+rbx4ajct6+w/sqtKd2N9DM77ufJXZXA+Ai0HHanU9ltAy9XzFEFkT2Q==",
|
"integrity": "sha512-cc3PYhe1O/GTgsMOp+Ri3ru579YBbZ3Me0oU7xNb06n4iwyXYPz8qO5G4iQ13UH19UW2NIS8Tk0goPRrJ1RAfw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@stylistic/stylelint-config": "1.0.1",
|
"@stylistic/stylelint-config": "1.0.1",
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"ace-builds": "1.32.7",
|
"ace-builds": "1.32.7",
|
||||||
"eslint-config-wikimedia": "0.28.0",
|
"eslint-config-wikimedia": "0.28.2",
|
||||||
"grunt": "1.6.1",
|
"grunt": "1.6.1",
|
||||||
"grunt-banana-checker": "0.13.0",
|
"grunt-banana-checker": "0.13.0",
|
||||||
"grunt-contrib-clean": "2.0.1",
|
"grunt-contrib-clean": "2.0.1",
|
||||||
"grunt-contrib-copy": "1.0.0",
|
"grunt-contrib-copy": "1.0.0",
|
||||||
"grunt-eslint": "24.3.0",
|
"grunt-eslint": "24.3.0",
|
||||||
"grunt-exec": "3.0.0",
|
"grunt-exec": "3.0.0",
|
||||||
"grunt-stylelint": "0.20.0",
|
"grunt-stylelint": "0.20.1",
|
||||||
"stylelint-config-wikimedia": "0.17.1"
|
"stylelint-config-wikimedia": "0.17.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue