Update most frontend dependencies
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
* - Please do NOT serve this file on production.
|
||||
*/
|
||||
|
||||
const PACKAGE_VERSION = '2.6.5'
|
||||
const INTEGRITY_CHECKSUM = 'ca7800994cc8bfb5eb961e037c877074'
|
||||
const PACKAGE_VERSION = '2.7.0'
|
||||
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 })
|
||||
}
|
||||
|
||||
4334
frontend/package-lock.json
generated
4334
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -20,13 +20,13 @@
|
||||
"dependencies": {
|
||||
"@fontsource/inconsolata": "^5.1.1",
|
||||
"@fontsource/inter": "^5.1.1",
|
||||
"@radix-ui/react-collapsible": "^1.1.1",
|
||||
"@radix-ui/react-dialog": "^1.1.2",
|
||||
"@radix-ui/react-collapsible": "^1.1.2",
|
||||
"@radix-ui/react-dialog": "^1.1.4",
|
||||
"@tanstack/react-query": "^5.62.15",
|
||||
"@tanstack/react-router": "^1.95.1",
|
||||
"@tanstack/router-zod-adapter": "^1.81.5",
|
||||
"@vector-im/compound-design-tokens": "2.1.3",
|
||||
"@vector-im/compound-web": "^7.3.0",
|
||||
"@vector-im/compound-design-tokens": "3.0.1",
|
||||
"@vector-im/compound-web": "^7.6.2",
|
||||
"@zxcvbn-ts/core": "^3.0.4",
|
||||
"@zxcvbn-ts/language-common": "^3.0.4",
|
||||
"classnames": "^2.5.1",
|
||||
@@ -36,8 +36,8 @@
|
||||
"react-dom": "^18.3.1",
|
||||
"react-i18next": "^15.4.0",
|
||||
"swagger-ui-react": "^5.18.2",
|
||||
"vaul": "^1.1.1",
|
||||
"zod": "^3.23.8"
|
||||
"vaul": "^1.1.2",
|
||||
"zod": "^3.24.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
@@ -52,7 +52,7 @@
|
||||
"@storybook/addon-interactions": "^8.4.7",
|
||||
"@storybook/react": "^8.4.7",
|
||||
"@storybook/react-vite": "^8.4.7",
|
||||
"@storybook/test": "^8.4.4",
|
||||
"@storybook/test": "^8.4.7",
|
||||
"@tanstack/react-query-devtools": "^5.62.15",
|
||||
"@tanstack/router-devtools": "^1.95.1",
|
||||
"@tanstack/router-vite-plugin": "^1.95.1",
|
||||
@@ -63,29 +63,29 @@
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"@types/swagger-ui-react": "^4.18.3",
|
||||
"@vitejs/plugin-react": "^4.3.3",
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"@vitest/coverage-v8": "^2.1.8",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"browserslist-to-esbuild": "^2.1.1",
|
||||
"graphql": "^16.9.0",
|
||||
"happy-dom": "^15.11.4",
|
||||
"graphql": "^16.10.0",
|
||||
"happy-dom": "^16.3.0",
|
||||
"i18next-parser": "^9.1.0",
|
||||
"knip": "^5.41.1",
|
||||
"msw": "^2.6.5",
|
||||
"msw": "^2.7.0",
|
||||
"msw-storybook-addon": "^2.0.4",
|
||||
"postcss": "^8.4.49",
|
||||
"postcss-import": "^16.1.0",
|
||||
"postcss-nesting": "^13.0.1",
|
||||
"rimraf": "^6.0.1",
|
||||
"storybook": "^8.4.4",
|
||||
"storybook": "^8.4.7",
|
||||
"storybook-react-i18next": "^3.1.8",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"typescript": "^5.7.2",
|
||||
"vite": "5.4.11",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-graphql-codegen": "^3.3.8",
|
||||
"vite-plugin-graphql-codegen": "^3.4.4",
|
||||
"vite-plugin-manifest-sri": "^0.2.0",
|
||||
"vitest": "^2.1.2"
|
||||
"vitest": "^2.1.8"
|
||||
},
|
||||
"msw": {
|
||||
"workerDirectory": [".storybook"]
|
||||
|
||||
Reference in New Issue
Block a user