Эх сурвалжийг харах

chore(deps): bump the version-all group across 1 directory with 30 updates (#5522)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: amanape <83104063+amanape@users.noreply.github.com>
dependabot[bot] 1 жил өмнө
parent
commit
41e564dc41

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 931 - 979
frontend/package-lock.json


+ 24 - 24
frontend/package.json

@@ -8,34 +8,34 @@
   },
   "dependencies": {
     "@monaco-editor/react": "^4.6.0",
-    "@nextui-org/react": "^2.4.8",
-    "@react-router/node": "^7.0.1",
-    "@react-router/serve": "^7.0.1",
+    "@nextui-org/react": "^2.6.8",
+    "@react-router/node": "^7.0.2",
+    "@react-router/serve": "^7.0.2",
     "@react-types/shared": "^3.25.0",
-    "@reduxjs/toolkit": "^2.3.0",
-    "@tanstack/react-query": "^5.60.5",
+    "@reduxjs/toolkit": "^2.5.0",
+    "@tanstack/react-query": "^5.62.7",
     "@vitejs/plugin-react": "^4.3.2",
     "@xterm/addon-fit": "^0.10.0",
     "@xterm/xterm": "^5.4.0",
-    "axios": "^1.7.7",
+    "axios": "^1.7.9",
     "clsx": "^2.1.1",
     "eslint-config-airbnb-typescript": "^18.0.0",
-    "i18next": "^23.15.2",
-    "i18next-browser-languagedetector": "^8.0.0",
-    "i18next-http-backend": "^2.6.2",
+    "i18next": "^24.1.0",
+    "i18next-browser-languagedetector": "^8.0.2",
+    "i18next-http-backend": "^3.0.1",
     "isbot": "^5.1.17",
     "jose": "^5.9.4",
-    "monaco-editor": "^0.52.0",
-    "posthog-js": "^1.184.1",
+    "monaco-editor": "^0.52.2",
+    "posthog-js": "^1.195.0",
     "react": "^18.3.1",
     "react-dom": "^18.3.1",
     "react-highlight": "^0.15.0",
     "react-hot-toast": "^2.4.1",
-    "react-i18next": "^15.0.2",
-    "react-icons": "^5.3.0",
+    "react-i18next": "^15.1.4",
+    "react-icons": "^5.4.0",
     "react-markdown": "^9.0.1",
-    "react-redux": "^9.1.2",
-    "react-router": "^7.0.1",
+    "react-redux": "^9.2.0",
+    "react-router": "^7.0.2",
     "react-syntax-highlighter": "^15.6.1",
     "react-textarea-autosize": "^8.5.4",
     "remark-gfm": "^4.0.0",
@@ -75,14 +75,14 @@
     ]
   },
   "devDependencies": {
-    "@playwright/test": "^1.48.2",
-    "@react-router/dev": "^7.0.1",
+    "@playwright/test": "^1.49.1",
+    "@react-router/dev": "^7.0.2",
     "@tailwindcss/typography": "^0.5.15",
-    "@tanstack/eslint-plugin-query": "^5.60.1",
+    "@tanstack/eslint-plugin-query": "^5.62.1",
     "@testing-library/jest-dom": "^6.6.1",
-    "@testing-library/react": "^16.0.1",
+    "@testing-library/react": "^16.1.0",
     "@testing-library/user-event": "^14.5.2",
-    "@types/node": "^22.7.6",
+    "@types/node": "^22.10.2",
     "@types/react": "^18.3.11",
     "@types/react-dom": "^18.3.0",
     "@types/react-highlight": "^0.12.8",
@@ -104,14 +104,14 @@
     "eslint-plugin-react-hooks": "^4.6.2",
     "husky": "^9.1.6",
     "jsdom": "^25.0.1",
-    "lint-staged": "^15.2.10",
+    "lint-staged": "^15.2.11",
     "msw": "^2.6.6",
     "postcss": "^8.4.47",
-    "prettier": "^3.3.3",
-    "tailwindcss": "^3.4.14",
+    "prettier": "^3.4.2",
+    "tailwindcss": "^3.4.16",
     "typescript": "^5.6.3",
     "vite-plugin-svgr": "^4.2.0",
-    "vite-tsconfig-paths": "^5.0.1",
+    "vite-tsconfig-paths": "^5.1.4",
     "vitest": "^1.6.0"
   },
   "packageManager": "npm@10.5.0",

+ 15 - 3
frontend/public/mockServiceWorker.js

@@ -8,8 +8,8 @@
  * - Please do NOT serve this file on production.
  */
 
-const PACKAGE_VERSION = '2.6.6'
-const INTEGRITY_CHECKSUM = 'ca7800994cc8bfb5eb961e037c877074'
+const PACKAGE_VERSION = '2.6.8'
+const INTEGRITY_CHECKSUM = '00729d72e3b82faf54ca8b9621dbb96f'
 const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
 const activeClientIds = new Set()
 
@@ -199,7 +199,19 @@ async function getResponse(event, client, requestId) {
     // Remove the "accept" header value that marked this request as passthrough.
     // This prevents request alteration and also keeps it compliant with the
     // user-defined CORS policies.
-    headers.delete('accept', 'msw/passthrough')
+    const acceptHeader = headers.get('accept')
+    if (acceptHeader) {
+      const values = acceptHeader.split(',').map((value) => value.trim())
+      const filteredValues = values.filter(
+        (value) => value !== 'msw/passthrough',
+      )
+
+      if (filteredValues.length > 0) {
+        headers.set('accept', filteredValues.join(', '))
+      } else {
+        headers.delete('accept')
+      }
+    }
 
     return fetch(requestClone, { headers })
   }

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно