From f821d7bda85ebc6a32b5d0d8a89792382a3aa214 Mon Sep 17 00:00:00 2001 From: bupd Date: Fri, 8 Nov 2024 14:20:24 +0530 Subject: [PATCH] add eslint as dev dependency to fix issue #21044 - fixes issue #21044 https://github.com/goharbor/harbor/issues/21044 Signed-off-by: bupd --- src/portal/package-lock.json | 17 ++++++++++++++--- src/portal/package.json | 1 + 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/portal/package-lock.json b/src/portal/package-lock.json index 47e3dcff6154..08da4ac77506 100644 --- a/src/portal/package-lock.json +++ b/src/portal/package-lock.json @@ -44,6 +44,7 @@ "@angular/cli": "^16.2.16", "@angular/compiler-cli": "^16.2.9", "@cypress/schematic": "^2.5.2", + "@types/eslint": "^9.6.1", "@types/express": "^4.17.21", "@types/jasmine": "~4.3.1", "@types/node": "^16.18.108", @@ -4270,9 +4271,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.56.12", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz", - "integrity": "sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "dev": true, "dependencies": { "@types/estree": "*", @@ -14968,6 +14969,16 @@ "node": ">=10.0.0" } }, + "node_modules/prettier-eslint/node_modules/@types/eslint": { + "version": "8.56.12", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz", + "integrity": "sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==", + "dev": true, + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, "node_modules/prettier-eslint/node_modules/typescript": { "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", diff --git a/src/portal/package.json b/src/portal/package.json index 18917a182b5f..d345d138618c 100644 --- a/src/portal/package.json +++ b/src/portal/package.json @@ -62,6 +62,7 @@ "@angular/cli": "^16.2.16", "@angular/compiler-cli": "^16.2.9", "@cypress/schematic": "^2.5.2", + "@types/eslint": "^9.6.1", "@types/express": "^4.17.21", "@types/jasmine": "~4.3.1", "@types/node": "^16.18.108",