mirror of
https://github.com/langgenius/dify.git
synced 2026-04-15 18:06:36 +08:00
chore: update deps (#34704)
This commit is contained in:
parent
b0e524213e
commit
d30946dabf
1679
pnpm-lock.yaml
generated
1679
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -40,8 +40,8 @@ overrides:
|
||||
svgo@>=3.0.0 <3.3.3: 3.3.3
|
||||
tar@<=7.5.10: 7.5.11
|
||||
undici@>=7.0.0 <7.24.0: 7.24.0
|
||||
vite: npm:@voidzero-dev/vite-plus-core@0.1.15
|
||||
vitest: npm:@voidzero-dev/vite-plus-test@0.1.15
|
||||
vite: npm:@voidzero-dev/vite-plus-core@0.1.16
|
||||
vitest: npm:@voidzero-dev/vite-plus-test@0.1.16
|
||||
yaml@>=2.0.0 <2.8.3: 2.8.3
|
||||
yauzl@<3.2.1: 3.2.1
|
||||
catalog:
|
||||
@ -57,9 +57,9 @@ catalog:
|
||||
"@eslint/js": 10.0.1
|
||||
"@floating-ui/react": 0.27.19
|
||||
"@formatjs/intl-localematcher": 0.8.2
|
||||
"@headlessui/react": 2.2.9
|
||||
"@headlessui/react": 2.2.10
|
||||
"@heroicons/react": 2.2.0
|
||||
"@hono/node-server": 1.19.12
|
||||
"@hono/node-server": 1.19.13
|
||||
"@iconify-json/heroicons": 1.2.3
|
||||
"@iconify-json/ri": 1.2.10
|
||||
"@lexical/code": 0.42.0
|
||||
@ -83,24 +83,24 @@ catalog:
|
||||
"@remixicon/react": 4.9.0
|
||||
"@rgrove/parse-xml": 4.2.0
|
||||
"@sentry/react": 10.47.0
|
||||
"@storybook/addon-docs": 10.3.4
|
||||
"@storybook/addon-links": 10.3.4
|
||||
"@storybook/addon-onboarding": 10.3.4
|
||||
"@storybook/addon-themes": 10.3.4
|
||||
"@storybook/nextjs-vite": 10.3.4
|
||||
"@storybook/react": 10.3.4
|
||||
"@storybook/addon-docs": 10.3.5
|
||||
"@storybook/addon-links": 10.3.5
|
||||
"@storybook/addon-onboarding": 10.3.5
|
||||
"@storybook/addon-themes": 10.3.5
|
||||
"@storybook/nextjs-vite": 10.3.5
|
||||
"@storybook/react": 10.3.5
|
||||
"@streamdown/math": 1.0.2
|
||||
"@svgdotjs/svg.js": 3.2.5
|
||||
"@t3-oss/env-nextjs": 0.13.11
|
||||
"@tailwindcss/postcss": 4.2.2
|
||||
"@tailwindcss/typography": 0.5.19
|
||||
"@tailwindcss/vite": 4.2.2
|
||||
"@tanstack/eslint-plugin-query": 5.96.1
|
||||
"@tanstack/react-devtools": 0.10.1
|
||||
"@tanstack/eslint-plugin-query": 5.96.2
|
||||
"@tanstack/react-devtools": 0.10.2
|
||||
"@tanstack/react-form": 1.28.6
|
||||
"@tanstack/react-form-devtools": 0.2.20
|
||||
"@tanstack/react-query": 5.96.1
|
||||
"@tanstack/react-query-devtools": 5.96.1
|
||||
"@tanstack/react-query": 5.96.2
|
||||
"@tanstack/react-query-devtools": 5.96.2
|
||||
"@tanstack/react-virtual": 3.13.23
|
||||
"@testing-library/dom": 10.4.1
|
||||
"@testing-library/jest-dom": 6.9.1
|
||||
@ -112,18 +112,18 @@ catalog:
|
||||
"@types/js-cookie": 3.0.6
|
||||
"@types/js-yaml": 4.0.9
|
||||
"@types/negotiator": 0.6.4
|
||||
"@types/node": 25.5.0
|
||||
"@types/node": 25.5.2
|
||||
"@types/postcss-js": 4.1.0
|
||||
"@types/qs": 6.15.0
|
||||
"@types/react": 19.2.14
|
||||
"@types/react-dom": 19.2.3
|
||||
"@types/sortablejs": 1.15.9
|
||||
"@typescript-eslint/eslint-plugin": 8.58.0
|
||||
"@typescript-eslint/parser": 8.58.0
|
||||
"@typescript/native-preview": 7.0.0-dev.20260401.1
|
||||
"@typescript-eslint/eslint-plugin": 8.58.1
|
||||
"@typescript-eslint/parser": 8.58.1
|
||||
"@typescript/native-preview": 7.0.0-dev.20260407.1
|
||||
"@vitejs/plugin-react": 6.0.1
|
||||
"@vitejs/plugin-rsc": 0.5.21
|
||||
"@vitest/coverage-v8": 4.1.2
|
||||
"@vitejs/plugin-rsc": 0.5.22
|
||||
"@vitest/coverage-v8": 4.1.3
|
||||
abcjs: 6.6.2
|
||||
agentation: 3.0.2
|
||||
ahooks: 3.9.7
|
||||
@ -144,7 +144,7 @@ catalog:
|
||||
embla-carousel-react: 8.6.0
|
||||
emoji-mart: 5.6.0
|
||||
es-toolkit: 1.45.1
|
||||
eslint: 10.1.0
|
||||
eslint: 10.2.0
|
||||
eslint-markdown: 0.6.0
|
||||
eslint-plugin-better-tailwindcss: 4.3.2
|
||||
eslint-plugin-hyoban: 0.14.1
|
||||
@ -152,26 +152,26 @@ catalog:
|
||||
eslint-plugin-no-barrel-files: 1.2.2
|
||||
eslint-plugin-react-refresh: 0.5.2
|
||||
eslint-plugin-sonarjs: 4.0.2
|
||||
eslint-plugin-storybook: 10.3.4
|
||||
eslint-plugin-storybook: 10.3.5
|
||||
fast-deep-equal: 3.1.3
|
||||
foxact: 0.3.0
|
||||
happy-dom: 20.8.9
|
||||
hast-util-to-jsx-runtime: 2.3.6
|
||||
hono: 4.12.10
|
||||
hono: 4.12.12
|
||||
html-entities: 2.6.0
|
||||
html-to-image: 1.11.13
|
||||
i18next: 26.0.3
|
||||
i18next-resources-to-backend: 1.2.1
|
||||
iconify-import-svg: 0.1.2
|
||||
immer: 11.1.4
|
||||
jotai: 2.19.0
|
||||
jotai: 2.19.1
|
||||
js-audio-recorder: 1.0.7
|
||||
js-cookie: 3.0.5
|
||||
js-yaml: 4.1.1
|
||||
jsonschema: 1.5.0
|
||||
katex: 0.16.44
|
||||
knip: 6.2.0
|
||||
ky: 1.14.3
|
||||
katex: 0.16.45
|
||||
knip: 6.3.0
|
||||
ky: 2.0.0
|
||||
lamejs: 1.2.1
|
||||
lexical: 0.42.0
|
||||
mermaid: 11.14.0
|
||||
@ -182,7 +182,7 @@ catalog:
|
||||
next-themes: 0.4.6
|
||||
nuqs: 2.8.9
|
||||
pinyin-pro: 3.28.0
|
||||
postcss: 8.5.8
|
||||
postcss: 8.5.9
|
||||
postcss-js: 5.1.0
|
||||
qrcode.react: 4.2.0
|
||||
qs: 6.15.0
|
||||
@ -206,12 +206,12 @@ catalog:
|
||||
shiki: 4.0.2
|
||||
sortablejs: 1.15.7
|
||||
std-semver: 1.0.8
|
||||
storybook: 10.3.4
|
||||
storybook: 10.3.5
|
||||
streamdown: 2.5.0
|
||||
string-ts: 2.3.1
|
||||
tailwind-merge: 3.5.0
|
||||
tailwindcss: 4.2.2
|
||||
tldts: 7.0.27
|
||||
tldts: 7.0.28
|
||||
tsdown: 0.21.7
|
||||
tsx: 4.21.0
|
||||
typescript: 6.0.2
|
||||
@ -219,11 +219,11 @@ catalog:
|
||||
unist-util-visit: 5.1.0
|
||||
use-context-selector: 2.0.0
|
||||
uuid: 13.0.0
|
||||
vinext: 0.0.39
|
||||
vite: npm:@voidzero-dev/vite-plus-core@0.1.15
|
||||
vinext: 0.0.40
|
||||
vite: npm:@voidzero-dev/vite-plus-core@0.1.16
|
||||
vite-plugin-inspect: 12.0.0-beta.1
|
||||
vite-plus: 0.1.15
|
||||
vitest: npm:@voidzero-dev/vite-plus-test@0.1.15
|
||||
vite-plus: 0.1.16
|
||||
vitest: npm:@voidzero-dev/vite-plus-test@0.1.16
|
||||
vitest-canvas-mock: 1.1.4
|
||||
zod: 4.3.6
|
||||
zundo: 2.3.0
|
||||
|
||||
@ -23,7 +23,7 @@ export type FetchOptionType = Omit<RequestInit, 'body'> & {
|
||||
body?: BodyInit | Record<string, any> | null
|
||||
}
|
||||
|
||||
const afterResponse204: AfterResponseHook = async (_request, _options, response) => {
|
||||
const afterResponse204: AfterResponseHook = async ({ response }) => {
|
||||
if (response.status === 204) {
|
||||
return new Response(JSON.stringify({ result: 'success' }), {
|
||||
status: 200,
|
||||
@ -39,7 +39,7 @@ export type ResponseError = {
|
||||
}
|
||||
|
||||
const afterResponseErrorCode = (otherOptions: IOtherOptions): AfterResponseHook => {
|
||||
return async (_request, _options, response) => {
|
||||
return async ({ response }) => {
|
||||
if (!/^([23])\d{2}$/.test(String(response.status))) {
|
||||
const errorData = await response.clone()
|
||||
.json()
|
||||
@ -78,7 +78,7 @@ const resolveShareCode = () => {
|
||||
}
|
||||
}
|
||||
|
||||
const beforeRequestPublicWithCode = (request: Request) => {
|
||||
const beforeRequestPublicWithCode: BeforeRequestHook = ({ request }) => {
|
||||
const accessToken = getWebAppAccessToken()
|
||||
if (accessToken)
|
||||
request.headers.set('Authorization', `Bearer ${accessToken}`)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user