From 4fd10b450eb7fcefa9d5b4806c1ca59e5ac8c45c Mon Sep 17 00:00:00 2001 From: Patrik Jonsson Date: Mon, 18 Nov 2024 23:13:06 +0100 Subject: [PATCH] Fixing postcss@^7.0.35 depnendency vulnerability (#260) --- pipeline-ui/frontend/package-lock.json | 32 -------------------------- pipeline-ui/frontend/package.json | 4 ++++ 2 files changed, 4 insertions(+), 32 deletions(-) diff --git a/pipeline-ui/frontend/package-lock.json b/pipeline-ui/frontend/package-lock.json index a1088e3..acea04a 100644 --- a/pipeline-ui/frontend/package-lock.json +++ b/pipeline-ui/frontend/package-lock.json @@ -15789,29 +15789,6 @@ } } }, - "node_modules/resolve-url-loader/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/resolve-url-loader/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, "node_modules/resolve-url-loader/node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -17092,15 +17069,6 @@ "node": ">=4" } }, - "node_modules/svgo/node_modules/nth-check": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", - "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", - "dev": true, - "dependencies": { - "boolbase": "~1.0.0" - } - }, "node_modules/svgo/node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", diff --git a/pipeline-ui/frontend/package.json b/pipeline-ui/frontend/package.json index 2faa95d..57f6c63 100644 --- a/pipeline-ui/frontend/package.json +++ b/pipeline-ui/frontend/package.json @@ -20,6 +20,10 @@ "styled-components": "^5.3.9", "typescript": "~4.9.4" }, + "overrides": { + "nth-check": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "postcss": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz" + }, "scripts": { "start": "cross-env NODE_ENV=production react-scripts start", "dev": "cross-env NODE_ENV=development react-scripts start",