build: Updating ansi-regex to 5.0.1

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

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I590e22ca7495a854850586eb614a6dc523572130
This commit is contained in:
libraryupgrader 2021-10-04 08:27:45 +00:00 committed by Jforrester
parent f139d9f543
commit 6fe24f58d4
2 changed files with 6 additions and 5 deletions

View file

@ -9,13 +9,14 @@
"scripts": { "scripts": {
"test": [ "test": [
"parallel-lint . --exclude vendor --exclude node_modules", "parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s", "@phpcs",
"minus-x check ." "minus-x check ."
], ],
"fix": [ "fix": [
"minus-x fix .", "minus-x fix .",
"phpcbf" "phpcbf"
], ],
"phan": "phan -d . --long-progress-bar" "phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache"
} }
} }

6
package-lock.json generated
View file

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