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.

Change-Id: I6d070b0a47e4443448e27179bc11eeb595d40a86
This commit is contained in:
libraryupgrader 2020-12-31 12:20:41 +00:00
parent 97573a4e7d
commit 6c0dd9a3ef
5 changed files with 2114 additions and 18 deletions

View file

@ -10,6 +10,6 @@
<exclude name="Squiz.Scope.MethodScope.Missing" /> <exclude name="Squiz.Scope.MethodScope.Missing" />
</rule> </rule>
<file>.</file> <file>.</file>
<arg name="extensions" value="php,php5,inc" /> <arg name="extensions" value="php" />
<arg name="encoding" value="UTF-8" /> <arg name="encoding" value="UTF-8" />
</ruleset> </ruleset>

View file

@ -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).

View file

@ -1,9 +1,9 @@
{ {
"require-dev": { "require-dev": {
"jakub-onderka/php-parallel-lint": "1.0.0", "mediawiki/mediawiki-codesniffer": "19.1.0",
"mediawiki/mediawiki-codesniffer": "18.0.0", "mediawiki/minus-x": "0.3.1",
"jakub-onderka/php-console-highlighter": "0.3.2", "php-parallel-lint/php-console-highlighter": "0.3.2",
"mediawiki/minus-x": "0.3.1" "php-parallel-lint/php-parallel-lint": "1.0.0"
}, },
"scripts": { "scripts": {
"test": [ "test": [
@ -12,8 +12,8 @@
"minus-x check ." "minus-x check ."
], ],
"fix": [ "fix": [
"phpcbf", "minus-x fix .",
"minus-x fix ." "phpcbf"
] ]
} }
} }

2096
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
"test": "grunt test" "test": "grunt test"
}, },
"devDependencies": { "devDependencies": {
"grunt": "1.0.1", "grunt": "1.3.0",
"grunt-banana-checker": "0.4.0", "grunt-banana-checker": "0.4.0",
"grunt-contrib-jshint": "0.11.3", "grunt-contrib-jshint": "0.11.3",
"grunt-jsonlint": "1.0.7" "grunt-jsonlint": "1.0.7"