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: I5bc68d9d819496e5ce7c6384615b15ef2e8515f9
This commit is contained in:
libraryupgrader 2021-01-01 05:00:18 +00:00
parent 319a4b66aa
commit 0fecfab673
5 changed files with 4183 additions and 19 deletions

View file

@ -8,6 +8,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,14 +1,14 @@
{ {
"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": {
"fix": [ "fix": [
"phpcbf", "minus-x fix .",
"minus-x fix ." "phpcbf"
], ],
"test": [ "test": [
"parallel-lint . --exclude vendor --exclude node_modules", "parallel-lint . --exclude vendor --exclude node_modules",

4164
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,13 +1,13 @@
{ {
"private": true, "private": true,
"scripts": { "scripts": {
"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-jscs": "2.5.0", "grunt-jscs": "2.5.0",
"grunt-jsonlint": "1.0.7" "grunt-jsonlint": "1.0.7"
} }
} }