From 4eab01672a958024b1ebeb0eef82d6814c2fd088 Mon Sep 17 00:00:00 2001 From: Steinar Bang Date: Fri, 15 Oct 2021 16:02:29 +0200 Subject: [PATCH] Add direct dependency to npm package ansi-regex >= 5.0.1 to fix security issue in indirect dependency --- src/main/frontend/package-lock.json | 7 +++---- src/main/frontend/package.json | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/frontend/package-lock.json b/src/main/frontend/package-lock.json index 9160ad4..eaa3ec3 100644 --- a/src/main/frontend/package-lock.json +++ b/src/main/frontend/package-lock.json @@ -1797,10 +1797,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==", - "dev": true + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { "version": "3.2.1", diff --git a/src/main/frontend/package.json b/src/main/frontend/package.json index d7546d0..9bacf44 100644 --- a/src/main/frontend/package.json +++ b/src/main/frontend/package.json @@ -4,6 +4,7 @@ "private": true, "dependencies": { "@reduxjs/toolkit": "1.5.1", + "ansi-regex": "^5.0.1", "axios": "^0.21.4", "core-js": "^3.12.1", "immer": "^9.0.6",