Преглед изворни кода

security(frontend): pin brace-expansion and js-yaml to patched versions

Both are transitive dev-only dependencies under eslint (via minimatch and
@eslint/eslintrc) with denial-of-service advisories (GHSA-3jxr-9vmj-r5cp,
GHSA-52cp-r559-cp3m). They are lint/build tooling and not part of the
shipped app, so no running install was exposed. npm audit fix wouldn't move
eslint to the patched releases on its own, so they are pinned through the
existing overrides block in package.json (brace-expansion ^5.0.7,
js-yaml ^4.3.0). npm audit now reports zero vulnerabilities; eslint runs clean.
maziggy пре 1 месец
родитељ
комит
e609aa2ccb
3 измењених фајлова са 9 додато и 8 уклоњено
  1. 0 0
      CHANGELOG.md
  2. 6 7
      frontend/package-lock.json
  3. 3 1
      frontend/package.json

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
CHANGELOG.md


+ 6 - 7
frontend/package-lock.json

@@ -3615,11 +3615,10 @@
       }
       }
     },
     },
     "node_modules/brace-expansion": {
     "node_modules/brace-expansion": {
-      "version": "5.0.6",
-      "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
-      "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
+      "version": "5.0.7",
+      "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",
+      "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",
       "dev": true,
       "dev": true,
-      "license": "MIT",
       "dependencies": {
       "dependencies": {
         "balanced-match": "^4.0.2"
         "balanced-match": "^4.0.2"
       },
       },
@@ -5399,9 +5398,9 @@
       "license": "MIT"
       "license": "MIT"
     },
     },
     "node_modules/js-yaml": {
     "node_modules/js-yaml": {
-      "version": "4.2.0",
-      "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz",
-      "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==",
+      "version": "4.3.0",
+      "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz",
+      "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==",
       "dev": true,
       "dev": true,
       "funding": [
       "funding": [
         {
         {

+ 3 - 1
frontend/package.json

@@ -47,7 +47,9 @@
     "three": "^0.181.2"
     "three": "^0.181.2"
   },
   },
   "overrides": {
   "overrides": {
-    "minimatch": "^10.2.1"
+    "minimatch": "^10.2.1",
+    "brace-expansion": "^5.0.7",
+    "js-yaml": "^4.3.0"
   },
   },
   "devDependencies": {
   "devDependencies": {
     "@eslint/js": "^9.39.1",
     "@eslint/js": "^9.39.1",

Неке датотеке нису приказане због велике количине промена