From 278c2b9decc0d08d2760b6af5c5c08d844bdf787 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Mon, 4 Oct 2021 10:47:22 +0000 Subject: [PATCH] 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: I3c0afc007235890c91e3b54e21ead9944c1514e9 --- composer.json | 5 +++-- package-lock.json | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 4151280..2591c58 100644 --- a/composer.json +++ b/composer.json @@ -18,9 +18,10 @@ ], "test": [ "parallel-lint . --exclude vendor --exclude node_modules", - "phpcs -p -s", + "@phpcs", "minus-x check ." ], - "phan": "phan -d . --long-progress-bar" + "phan": "phan -d . --long-progress-bar", + "phpcs": "phpcs -sp --cache" } } diff --git a/package-lock.json b/package-lock.json index 26451bd..2f8ea54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -115,9 +115,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": {