From 07064642a48b6f6c0f7caa5f1b92228c02ab6173 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Thu, 7 Oct 2021 11:26:53 +0000 Subject: [PATCH] build: Updating ansi-regex to 5.0.1 * https://npmjs.com/advisories/1002401 (CVE-2021-3807) Additional changes: * composer.json: Updated phpcs command in composer test (T280592). * composer.json: Added phpcs command to scripts (T280592). Change-Id: I7c815cd2a94ef5c237dbd77abeec591c9c8112b6 --- composer.json | 5 +++-- package-lock.json | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 2bc181c..05d674f 100644 --- a/composer.json +++ b/composer.json @@ -12,8 +12,9 @@ ], "test": [ "parallel-lint . --exclude vendor --exclude node_modules", - "phpcs -p -s", + "@phpcs", "minus-x check ." - ] + ], + "phpcs": "phpcs -sp --cache" } } diff --git a/package-lock.json b/package-lock.json index 821adb8..5e397b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -424,9 +424,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": {