From fbd213f32367569e6345b7d629e54ef86cb445ff Mon Sep 17 00:00:00 2001 From: PTah Date: Mon, 22 Jun 2026 20:13:43 +1000 Subject: [PATCH] chore: bump npm dompurify and vite for audit fixes (0.3.3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dompurify 3.4.11, vite 6.4.3 — npm audit reports 0 vulnerabilities. Co-authored-by: Cursor --- backend/app/version.py | 2 +- backend/tests/test_health.py | 4 ++-- frontend/package-lock.json | 28 ++++++++-------------------- frontend/package.json | 4 ++-- frontend/src/version.ts | 2 +- 5 files changed, 14 insertions(+), 26 deletions(-) diff --git a/backend/app/version.py b/backend/app/version.py index 576e16c..517d4de 100644 --- a/backend/app/version.py +++ b/backend/app/version.py @@ -1,5 +1,5 @@ """Единый источник версии SAC (API, health, логи, OpenAPI).""" APP_NAME = "Security Alert Center" -APP_VERSION = "0.3.2" +APP_VERSION = "0.3.3" APP_VERSION_LABEL = f"{APP_NAME} v.{APP_VERSION}" diff --git a/backend/tests/test_health.py b/backend/tests/test_health.py index 5442deb..cf96900 100644 --- a/backend/tests/test_health.py +++ b/backend/tests/test_health.py @@ -4,6 +4,6 @@ from app.version import APP_NAME, APP_VERSION, APP_VERSION_LABEL def test_version_constants(): - assert APP_VERSION == "0.3.2" + assert APP_VERSION == "0.3.3" assert APP_NAME == "Security Alert Center" - assert APP_VERSION_LABEL == "Security Alert Center v.0.3.2" + assert APP_VERSION_LABEL == "Security Alert Center v.0.3.3" diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b549af2..3c35bf5 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,19 +1,18 @@ { "name": "sac-ui", - "version": "0.7.2", + "version": "0.11.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sac-ui", - "version": "0.7.2", + "version": "0.11.4", "dependencies": { "dompurify": "^3.2.4", "vue": "^3.5.13", "vue-router": "^4.5.0" }, "devDependencies": { - "@types/dompurify": "^3.2.0", "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.2", "vite": "^6.0.3", @@ -903,17 +902,6 @@ "win32" ] }, - "node_modules/@types/dompurify": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-3.2.0.tgz", - "integrity": "sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg==", - "deprecated": "This is a stub types definition. dompurify provides its own type definitions, so you do not need this installed.", - "dev": true, - "license": "MIT", - "dependencies": { - "dompurify": "*" - } - }, "node_modules/@types/estree": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", @@ -1151,9 +1139,9 @@ "license": "MIT" }, "node_modules/dompurify": { - "version": "3.4.7", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.7.tgz", - "integrity": "sha512-2jBxDJY4RR06tQNy4w5FlFH7kfxsQZlufd0sbv+chfHCxeJwrFw2baUDsSwvBISD4K4RDbd0PTfy3uNXsR6siA==", + "version": "3.4.11", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.11.tgz", + "integrity": "sha512-zhlUV12GsaRzMsf9q5M254YhA4+VuF0fG+QFqu6aYpoGlKtz+w8//jBcGVYBgQkR5GHjUomejY84AV+/uPbWdw==", "license": "(MPL-2.0 OR Apache-2.0)", "optionalDependencies": { "@types/trusted-types": "^2.0.7" @@ -1452,9 +1440,9 @@ } }, "node_modules/vite": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz", - "integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.3.tgz", + "integrity": "sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==", "dev": true, "license": "MIT", "dependencies": { diff --git a/frontend/package.json b/frontend/package.json index b55f995..81f2c39 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,14 +9,14 @@ "preview": "vite preview" }, "dependencies": { - "dompurify": "^3.2.4", + "dompurify": "^3.4.11", "vue": "^3.5.13", "vue-router": "^4.5.0" }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.2", - "vite": "^6.0.3", + "vite": "^6.4.3", "vue-tsc": "^2.2.0" } } diff --git a/frontend/src/version.ts b/frontend/src/version.ts index ce9ef64..eb271ce 100644 --- a/frontend/src/version.ts +++ b/frontend/src/version.ts @@ -1,4 +1,4 @@ /** Fallback до загрузки /health; при релизе держите в sync с backend/app/version.py */ export const APP_NAME = "Security Alert Center"; -export const APP_VERSION = "0.3.2"; +export const APP_VERSION = "0.3.3"; export const APP_VERSION_LABEL = `${APP_NAME} v.${APP_VERSION}`;