mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-11-23 22:03:41 +00:00
build: Updating dependencies
composer: * mediawiki/mediawiki-codesniffer: 18.0.0 → 19.1.0 npm: * grunt: 1.0.1 → 1.3.0 * https://npmjs.com/advisories/577 (CVE-2018-3721) * https://npmjs.com/advisories/745 * https://npmjs.com/advisories/782 (CVE-2018-16487) * https://npmjs.com/advisories/788 * https://npmjs.com/advisories/813 * https://npmjs.com/advisories/1065 (CVE-2019-10744) * https://npmjs.com/advisories/1523 (CVE-2019-10744) Additional changes: * Replaced "jakub-onderka" packages with "php-parallel-lint". * Committed package-lock.json (T179229) too. * And updating CoC link to use Special:MyLanguage (T202047). * Dropped .php5 and .inc files from .phpcs.xml (T200956). * Also sorted "composer fix" command to run phpcbf last. * Set `root: true` in .eslintrc.json (T206485). * Enable eslint caching. Change-Id: I36e83261888dd6254f7dbd3495ab1383458b6dfa Depends-On: I1c5783aae290af5fdcb39f44ac1e832fa5edb6db
This commit is contained in:
parent
2fa9bb87b0
commit
c3928a448c
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"root": true,
|
||||
"extends": "wikimedia",
|
||||
"env": {
|
||||
"browser": true,
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
vendor
|
||||
composer.lock
|
||||
node_modules
|
||||
node_modules
|
||||
/.eslintcache
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,inc" />
|
||||
<arg name="extensions" value="php" />
|
||||
<arg name="encoding" value="UTF-8" />
|
||||
</ruleset>
|
||||
|
|
|
@ -1 +1 @@
|
|||
The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Code_of_Conduct).
|
||||
The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct).
|
||||
|
|
|
@ -23,6 +23,9 @@ module.exports = function ( grunt ) {
|
|||
]
|
||||
},
|
||||
eslint: {
|
||||
options: {
|
||||
cache: true
|
||||
},
|
||||
all: [
|
||||
'**/*.js',
|
||||
'!node_modules/**',
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "1.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "18.0.0",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||
"mediawiki/minus-x": "0.3.1"
|
||||
"mediawiki/mediawiki-codesniffer": "19.1.0",
|
||||
"mediawiki/minus-x": "0.3.1",
|
||||
"php-parallel-lint/php-console-highlighter": "0.3.2",
|
||||
"php-parallel-lint/php-parallel-lint": "1.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"fix": [
|
||||
"phpcbf",
|
||||
"minus-x fix ."
|
||||
"minus-x fix .",
|
||||
"phpcbf"
|
||||
],
|
||||
"test": [
|
||||
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||
|
|
3020
package-lock.json
generated
Normal file
3020
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.5.0",
|
||||
"grunt": "1.0.1",
|
||||
"grunt": "1.3.0",
|
||||
"grunt-banana-checker": "0.4.0",
|
||||
"grunt-contrib-csslint": "0.5.0",
|
||||
"grunt-eslint": "20.1.0",
|
||||
|
|
Loading…
Reference in a new issue