Browse Source

chore(deps): bump frontend and docs deps, clear npm audit findings

Bump vite, oxlint/oxfmt, msw, jsdom and plugin-react in the frontend, and
fumadocs, lucide-react, oxlint/oxfmt, postcss and pnpm in docs.

npm audit reported seroval <=1.6.2 (critical) via solid-js, which the
react-query devtools pull in pinned to ~1.5.4, and sprintf-js (no patched
release) via remarkable's argparse@1. `npm audit fix --force` "fixed" both
by downgrading swagger-ui-react to 3.23.3, which brings in far worse
advisories. Instead override seroval/seroval-plugins to ^1.6.8 and give
remarkable argparse@2; remarkable only requires argparse from its unused
CLI entry, so the bundled library is unaffected.

pnpm appends an exact-version minimumReleaseAgeExclude entry on every
update of a too-fresh release and never prunes them. Drop the stale ones;
keep only fumadocs 16.16.2 and oxlint/oxfmt, still inside the 1-day cutoff.
MHSanaei 22 giờ trước cách đây
mục cha
commit
d57dcf824b
5 tập tin đã thay đổi với 576 bổ sung và 541 xóa
  1. 8 8
      docs/package.json
  2. 268 248
      docs/pnpm-lock.yaml
  3. 42 17
      docs/pnpm-workspace.yaml
  4. 247 262
      frontend/package-lock.json
  5. 11 6
      frontend/package.json

+ 8 - 8
docs/package.json

@@ -18,12 +18,12 @@
     "test:watch": "vitest"
   },
   "dependencies": {
-    "fumadocs-core": "^16.15.18",
+    "fumadocs-core": "^16.16.2",
     "fumadocs-docgen": "^3.1.1",
     "fumadocs-mdx": "^15.4.6",
-    "fumadocs-openapi": "^12.1.1",
-    "fumadocs-ui": "^16.15.18",
-    "lucide-react": "^1.50.0",
+    "fumadocs-openapi": "^12.3.0",
+    "fumadocs-ui": "^16.16.2",
+    "lucide-react": "^1.52.0",
     "mermaid": "^12.1.0",
     "next": "16.3.8",
     "next-themes": "^0.4.6",
@@ -40,12 +40,12 @@
     "@types/node": "^26.6.4",
     "@types/react": "^19.3.0",
     "@types/react-dom": "^19.3.0",
-    "oxfmt": "0.71.0",
-    "oxlint": "1.86.0",
-    "postcss": "^8.5.28",
+    "oxfmt": "0.72.0",
+    "oxlint": "1.87.0",
+    "postcss": "^8.5.29",
     "tailwindcss": "^4.3.3",
     "typescript": "7.0.2",
     "vitest": "^5.0.3"
   },
-  "packageManager": "pnpm@12.8.1"
+  "packageManager": "pnpm@12.9.1"
 }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 268 - 248
docs/pnpm-lock.yaml


+ 42 - 17
docs/pnpm-workspace.yaml

@@ -8,20 +8,45 @@ overrides:
   'postcss@<8.5.10': '^8.5.15'
   'sharp@<0.35.0': '^0.35.3'
 minimumReleaseAgeExclude:
-  - '@mermaid-js/[email protected] || 2.0.1'
-  - [email protected] || 12.1.0
-  - [email protected] || 1.50.0
-  - [email protected]
-  - [email protected] || 15.4.1 || 15.4.5 || 15.4.6
-  - '@fumadocs/[email protected] || 0.2.9'
-  - '@types/[email protected] || 26.6.4'
-  - [email protected] || 16.15.11 || 16.15.18
-  - [email protected] || 11.4.3 || 12.0.3 || 12.1.1
-  - [email protected] || 16.15.11 || 16.15.18
-  - '@fumadocs/[email protected]'
-  - '@fumari/[email protected]'
-  - '@fumari/[email protected]'
-  - '@vitest/[email protected] || 5.0.2'
-  - '@vitest/[email protected] || 5.0.2'
-  - [email protected]
-  - [email protected] || 5.0.2
+  - [email protected]
+  - [email protected]
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxfmt/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - '@oxlint/[email protected]'
+  - [email protected]
+  - [email protected]

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 247 - 262
frontend/package-lock.json


+ 11 - 6
frontend/package.json

@@ -66,26 +66,28 @@
     "@types/react": "^19.3.0",
     "@types/react-dom": "^19.3.0",
     "@types/swagger-ui-react": "^5.18.0",
-    "@vitejs/plugin-react": "^6.1.1",
+    "@vitejs/plugin-react": "^6.1.2",
     "@vitest/browser-playwright": "5.0.3",
     "@vitest/coverage-v8": "^5.0.3",
     "husky": "^9.1.7",
-    "jsdom": "^30.1.1",
+    "jsdom": "^30.1.2",
     "lint-staged": "^17.6.0",
-    "msw": "^3.0.1",
-    "oxfmt": "0.71.0",
-    "oxlint": "1.86.0",
+    "msw": "^3.0.2",
+    "oxfmt": "0.72.0",
+    "oxlint": "1.87.0",
     "oxlint-tsgolint": "^7.0.2003",
     "playwright": "^1.63.0",
     "storybook": "^10.6.1",
     "typescript": "7.0.2",
-    "vite": "8.3.2",
+    "vite": "8.3.3",
     "vitest": "^5.0.3"
   },
   "overrides": {
     "dompurify": "^3.4.15",
     "react-copy-to-clipboard": "^5.1.1",
     "react-inspector": "^9.0.0",
+    "seroval": "^1.6.8",
+    "seroval-plugins": "^1.6.8",
     "react-debounce-input": {
       "react": "^19.0.0"
     },
@@ -100,6 +102,9 @@
       "vitest": "^5.0.0",
       "@vitest/browser-playwright": "^5.0.0",
       "@vitest/browser": "^5.0.0"
+    },
+    "remarkable": {
+      "argparse": "^2.0.1"
     }
   },
   "allowScripts": {

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác