build: Updating ansi-regex to 5.0.1

* https://npmjs.com/advisories/1002401 (CVE-2021-3807)

Additional changes:
* eslint: Added `wikimedia/mediawiki` profile (T262222).
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I39276efa5a6991f6216992840c497ae9d3b5fd7d
This commit is contained in:
libraryupgrader 2021-10-08 23:08:40 +00:00
parent 0dd0fc0013
commit b0c8621973
3 changed files with 8 additions and 6 deletions

View file

@ -1,7 +1,8 @@
{
"root": true,
"extends": [
"wikimedia/server"
"wikimedia/server",
"wikimedia/mediawiki"
],
"overrides": [
{

View file

@ -9,7 +9,7 @@
"scripts": {
"test": [
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s",
"@phpcs",
"minus-x check ."
],
"fix": [
@ -21,6 +21,7 @@
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/postgres/discussiontools_subscription.sql --type postgres",
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/sqlite/discussiontools_subscription.sql --type sqlite"
],
"phan": "phan -d . --long-progress-bar"
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache"
}
}

6
package-lock.json generated
View file

@ -492,9 +492,9 @@
"dev": true
},
"ansi-regex": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true
},
"ansi-styles": {