Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore(web): upgrade Next.js to 16.3 (#39962)

yyhbe413650baff
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7d5c46edd13..06d4e16e060 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -94,8 +94,8 @@ catalogs:
specifier: 1.3.0
version: 1.3.0
'@next/mdx':
- specifier: 16.2.12
- version: 16.2.12
+ specifier: 16.3.0
+ version: 16.3.0
'@orpc/client':
specifier: 1.14.10
version: 1.14.10
@@ -478,8 +478,8 @@ catalogs:
specifier: 1.0.0
version: 1.0.0
next:
- specifier: 16.2.12
- version: 16.2.12
+ specifier: 16.3.0
+ version: 16.3.0
next-themes:
specifier: 0.4.6
version: 0.4.6
@@ -1385,13 +1385,13 @@ importers:
version: 1.0.0
next:
specifier: 'catalog:'
next-themes:
specifier: 'catalog:'
nuqs:
specifier: 'catalog:'
pinyin-pro:
specifier: 'catalog:'
version: 3.28.2
@@ -1521,7 +1521,7 @@ importers:
version: 3.1.1([email protected])
'@next/mdx':
specifier: 'catalog:'
'@rgrove/parse-xml':
specifier: 'catalog:'
version: 4.2.3
@@ -1539,7 +1539,7 @@ importers:
'@storybook/nextjs-vite':
specifier: 'catalog:'
'@storybook/react':
specifier: 'catalog:'
@@ -1638,7 +1638,7 @@ importers:
version: 3.19.3
vinext:
specifier: 'catalog:'
vite:
specifier: npm:@voidzero-dev/[email protected]
@@ -2368,24 +2368,12 @@ packages:
resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm64]
- os: [darwin]
-
resolution: {integrity: sha512-RMnFX7YQsMoh7lWfcM4NEHHymBX/rLuKNPVM84XE9ONPcaSCDgE7CHIHpSgPcO2xcRthgBy1HfNO319mwhIAkg==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [x64]
- os: [darwin]
-
resolution: {integrity: sha512-Xo+5uFBtLN0BKqieTxiFzFPQAUlBbbH5iBKyRX/z1JrbnYsHTfKJnUfL8+p2TPXr1pXqao4eeL4Rl144uDpK9w==}
engines: {node: '>=20.9.0'}
@@ -2397,129 +2385,64 @@ packages:
engines: {node: '>=20.9.0'}
os: [freebsd]
- resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==}
- cpu: [arm64]
- os: [darwin]
-
resolution: {integrity: sha512-9J6ypZFpQBj4YnePGoq/S38w6nz+vqg5WZLrLGY4YuSemdMq47GMLBPO42MzwdGwpg/agZ7xzZcFHa48xlywfg==}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==}
- cpu: [x64]
- os: [darwin]
-
resolution: {integrity: sha512-m2pW1n6cns9VaubNwsZ+c3CRYjxNQWgJ5gPlnL1nbBcpkBvFm6SCFN5o0psFHI8w9n11NKhFkeEDns98tiqbEw==}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-dqVSFynCox4C/J8kT16V7SIFAns0IjgLwkvYT7p8LQVmJ5OS5b6tI9IGflxTeuBS//zXeFIUbwt5dwxyZ17cnA==}
cpu: [arm64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
- cpu: [arm]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-1eMLzy92I4J6rmi4mAT8yC3HxOtniyGELlzGbNMLLeqe052ahFQ0h6LFq+lh5DsDIdYViIDst08abvSbcEdLXQ==}
cpu: [arm]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
- cpu: [ppc64]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-3z0NHDxD6n5I9gc05U1eW1AyRm+Gznzq3naMrthPNqE6oYykcogW0l/jfpJdjYnuNl8R7yI9pNbE1XiUeyq0Aw==}
cpu: [ppc64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
- cpu: [riscv64]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-bsb4rI+NldGOsXuej2r8OdSS8+zXDVaCWxyWrcv6kneTOlgAHtZABRzBBCwdsPiD90J4myNJuHpg6kA20ImW/w==}
cpu: [riscv64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
- cpu: [s390x]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-/ABshyj8gCpyIrNXnHn4LorDJ0HHm1VhXPBlxZ8zAtfVPAaSafXPGn+sUSIRiwaSBy0mmFjSjiXI5mkcwdChKQ==}
cpu: [s390x]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-ITPEtgffGJ0S6G9dRyw/366tJQqFRcHWPHhC+Stpg3Z8AEMrDrTr2lhdz4f/Y/HMbRh//7Z5mBzEpVdi62Oc3w==}
cpu: [x64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
resolution: {integrity: sha512-zE9EdiUzUmg5mDT5a1rk5fYJ6GWPloTwWBYDS14naqHsL+EaMpDj1AWnpLgh3u0YCORv2Tt50wrcrpYqkP97Kw==}
cpu: [arm64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
resolution: {integrity: sha512-m0lrLiUt+lBYnCFr8qV/65yMR4E/c7/wf78I5eKTdkEakFAlZ9QlzEM3QIhhAwVeUhLAHLcCq7a7Vszq/oFNZQ==}
cpu: [x64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-QgKDspHPnrU+GQ55XPhGwyhC8acLVOOSyAvo1oVfFmrIXLkDNmGWzAfDZ4xK8oSA1qBQrALcHX0G5UZni/SuFQ==}
engines: {node: '>=20.9.0'}
@@ -2527,13 +2450,6 @@ packages:
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-affVWCTLooy8TSxbDx2qkzuDeaWLNVBA+P//FNBirHsXpP2fuBhk5AuboYUnrDnzoXes8GFjpTx0SBFOCRg+FA==}
engines: {node: '>=20.9.0'}
@@ -2541,13 +2457,6 @@ packages:
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [ppc64]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-sMd8rDxmpLOwv/7N44klFjOD5DUO7FLdjiXDI0hoxYaf7Ar262dQIEkosE98bps+5HPLtp/EvNqeqQtOycP/IA==}
engines: {node: '>=20.9.0'}
@@ -2555,13 +2464,6 @@ packages:
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [riscv64]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-0Eob78yjlYPfL5vMNWAW55l3R9Y6BQS/gOfe0ZcP9mEz9ohhKSt4im1hayiknXgf8AWrFqMvJcKIdmLmEe7yeQ==}
engines: {node: '>=20.9.0'}
@@ -2569,13 +2471,6 @@ packages:
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [s390x]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-KgAxQ0DxpNOq1rG2t5cgTgShJFGSuU7XO45cqC+1NVOuZnP6tlgZRuSYOfNupGkHID0o3cJOsw4DVeJpMovcGw==}
engines: {node: '>=20.9.0'}
@@ -2583,13 +2478,6 @@ packages:
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
resolution: {integrity: sha512-8pqvxubL2PGdhlPy6GLqzDYMUjyRmKAwKHYKixpdJYBUK7PJ0C029XdsnpFIdgRZG68fZiGdHVWcKPvtiPB4cA==}
engines: {node: '>=20.9.0'}
@@ -2597,13 +2485,6 @@ packages:
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
resolution: {integrity: sha512-Vz0iQjzzcSX3HCbfwFfCSG/9SCIqyO0mH2sXyiHaAYfBk0cRsCWXRyQYX0ovCK/PAQBbTzQ0dsPQHh5MAFL59w==}
engines: {node: '>=20.9.0'}
@@ -2611,13 +2492,6 @@ packages:
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
resolution: {integrity: sha512-6O1NPKcDVj9QEdg7Hx549EX8U0rp6yXQERqru6yRN7fGBn32UvIRJUlWnk+8xDCiG76hXVBbX82NZ/ZKr0euIg==}
engines: {node: '>=20.9.0'}
@@ -2625,11 +2499,6 @@ packages:
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [wasm32]
-
resolution: {integrity: sha512-cZ0XkcYGpHZkqW6iCkqTcmUC0CD9DhD5d/qeZlZkfRBn6GnHniZXLUo5+9xw8Iv76YE6LQFN9YNBlKREcCG76w==}
engines: {node: '>=20.9.0'}
@@ -2639,36 +2508,18 @@ packages:
engines: {node: '>=20.9.0'}
cpu: [wasm32]
- resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [arm64]
- os: [win32]
-
resolution: {integrity: sha512-4bPwFdMbeC4JQ8L8LOyWp6nsHcboP5fxkp6iPOXz2Vg49R42TuMs2whkJ5OAP4/Ul035qOzy0AecOF9VOscn4w==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [ia32]
- os: [win32]
-
resolution: {integrity: sha512-r53mXsBN6lFUDiST764SvgwUdHAqM4rPAiDzAmf4fLoB6X/rkfyTrLCg6+g17wJJiCmB3JYgHuUldCWUIRFSXw==}
engines: {node: ^20.9.0}
cpu: [ia32]
os: [win32]
- resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
- cpu: [x64]
- os: [win32]
-
resolution: {integrity: sha512-D4y1vNeZrIIJCN+uHaWVtH86B+aCrdMYYjicy9pXHvbGZeGYLLSd3wdVuC37FxVXlU1ARsk84eKWfWMXGYEqvA==}
engines: {node: '>=20.9.0'}
@@ -3036,11 +2887,11 @@ packages:
resolution: {integrity: sha512-s5j2iFGp38QsG1LWRQaE2iUY3h1jc014/melHFfLdrsMJPqxqDQwWNwyQTcNoUSGZlCVZuM7t7JDMmSyRilsnA==}
- resolution: {integrity: sha512-d0Z5Bc13Fa4nR8pFAKx2jay2yhJM16vlfHbTzYnUQAxlNb6B6lmn4hjt69lYNt4kRtyYP6gEM49lPRHNbIyneg==}
+ resolution: {integrity: sha512-o9r1S0BNiNreHP9Vs+Qnqd9kviDkJh8xIACY7UFZSmiGbbQRzPBBosvHzAU4TULHOIuOj/18RSsyz2qrREmIFw==}
- resolution: {integrity: sha512-bbKvq/7SIJZgQFRYL3wwnzLwCBviQfWi5UR61RDWwaMX3fV6iSqKfVr5SErRNA/PhMer/ylvErX4SVaGNrwKcw==}
+ resolution: {integrity: sha512-Vpfuf928ACvx4AOdDXWx/cj13Ak6xlvMn3QCkjvfQMmLnQWCesQTeY01CPDbIyZvjY+NOwP7bvbvJ2ghkj/3GA==}
peerDependencies:
'@mdx-js/loader': '>=0.15.0'
'@mdx-js/react': '>=0.15.0'
@@ -3050,54 +2901,54 @@ packages:
'@mdx-js/react':
optional: true
- resolution: {integrity: sha512-0W1R0teHWJrqKX0FH20IzzIWAOuGtBxPGuObrxy1lE8hQvCFj49KE8a3WUg0D7sq6rn6zkM4c7YGUnhudBS6oA==}
+ resolution: {integrity: sha512-55hpqq18bEVAlxedlTt3tFqZmKg2nUXT1kn1G/BGEy0R13h3LwtwHPVzzjG6P4LLeOHE32PFDQUVaJEWvBEZBw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-Hy5Ls099+aFUmOLmIgPfLqNi6iCwhL3uQCssz5rWk+5Nkc6TUKCE83DY5BbNylfm3+mfwcSFnLRfrZDJhVxdtw==}
+ resolution: {integrity: sha512-SOi96kSaF5T+0wW4koiM1bWzSPwjzTesC1p3df+FjdOi5LIQkBK/blxh7HdoKnNuI4PURF1OO7TZqtfnbWDSgw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-+YqU2h1cQkHsGfvjAsrSmst8UIFBibBGm5x3Xgel8NLMiDQtNOM4sM2GOEMvG5YiOBNeN/Ykk8cQC2S0Xrqljg==}
+ resolution: {integrity: sha512-P0gZAoPMF4dyTRzhmkV4PrqVzSOB6t4mC1oI3c4dqijJ+OVEVx5clIXAKR4/uQpsqw2KKM/0D5tVumcR2r5blg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-0qjhiYBaKAqF63LA1ZWAAnKTzFUguAaZiRa5etMLGGPj/B6uEVjtIZldIzFEp3wHlB0koK6aTzqPtSdplTCjoA==}
+ resolution: {integrity: sha512-tXXGKJw0m37O0eKJARVTX/TheKPhz0QFVtVVZXmOig+9YKLQOSP6hvf2pxv5DO7CLEJyTHx3Pg043CDQkv1G4Q==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-7A3q26W+h7gnA15uqBToNuDqBEFZZcqh0mW2mn4AJh/G5pdg2RVE3n4slzLEliASZFG3NmsbEzng/x2Sh09mBg==}
+ resolution: {integrity: sha512-pjGxK5EY7yWml78ALejFkWmgHsU7wbFQrISiugpH6FbUJhgEvw3xFZ/EBAtLl7QtL0WdQKiG9eWJ3mOKGTukHw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-qSjL/uppm+cbh21s72Ss8gkiOhQ4dExWHNGOWy6eZV7STj5WsKehgxT61beSsOj+YYQuTplL376lOCdMQU5T8w==}
+ resolution: {integrity: sha512-sjo++Xx+lomlPs3HRsHWhVDyGG6ms1kGW5EtHLERdII8AyG1i+f6aq68xHREO6AEMlhjTNEWBSmfJfqm9orf7g==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-X6hzsOUJac/e7AWSbn9gQ9nzHld1xWP5iyjHpYWvud8pufB679O1xg4JDyKr8Xd69Jvd+kM2Der6uftiZCmjYA==}
+ resolution: {integrity: sha512-C5JSgiO54wURdaxdEUIXqkz04uMqC9UmPX1gtDrV/5Tf1UowdWYI8uA5hfFbPolTlp0q4KZ60xlHePNibf0VIw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-F6fakeHuFTLOPt0bslQJdf+xtT+WIP9DVn/m4y1w1mRnVPyh3D/cNvzlRkxM444xfm+IvvYNSOrKiA2CDJ0Uxw==}
+ resolution: {integrity: sha512-fDOggsweNb5SSw0ZKVk6U+gxSyGFFlIBY/LBc1r8GUj4u/6t6oArL+Pmkg0MBnsgR+KkdsURilVH4F3GXUGepA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -7570,8 +7421,8 @@ packages:
react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
- resolution: {integrity: sha512-iD59eYQWmbFcEbX7v/acG5DRym9iw1DdaPoD0WTA920naWsE25wShzJW4+UvAs8MK9EC2kBfIH6vtto1H1PHGw==}
+ resolution: {integrity: sha512-NEdGOzH+08eTXMUp9UYkA99Nhi5N6Thrhc1jgFOQgfgnGK/dA2hRwBpXep+exdFQrnwlRf/3Wixyp8lLBUpE2A==}
engines: {node: '>=20.9.0'}
hasBin: true
peerDependencies:
@@ -8404,10 +8255,6 @@ packages:
resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==}
- resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}
- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
-
resolution: {integrity: sha512-ej0zVHuZGHCiABXcNxeYhpRnPNPAcvbG8RMdBAhDAxLKkCRVSpK3Iyu7qbqw3JMzoj0REeM6f3tJLtVwl0023Q==}
engines: {node: '>=20.9.0'}
@@ -10256,21 +10103,11 @@ snapshots:
'@img/[email protected]': {}
- optionalDependencies:
- '@img/sharp-libvips-darwin-arm64': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-darwin-arm64': 1.3.2
optional: true
- optionalDependencies:
- '@img/sharp-libvips-darwin-x64': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-darwin-x64': 1.3.2
@@ -10281,151 +10118,76 @@ snapshots:
'@img/sharp-wasm32': 0.35.3
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optionalDependencies:
- '@img/sharp-libvips-linux-arm64': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-linux-arm64': 1.3.2
optional: true
- optionalDependencies:
- '@img/sharp-libvips-linux-arm': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-linux-arm': 1.3.2
optional: true
- optionalDependencies:
- '@img/sharp-libvips-linux-ppc64': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-linux-ppc64': 1.3.2
optional: true
- optionalDependencies:
- '@img/sharp-libvips-linux-riscv64': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-linux-riscv64': 1.3.2
optional: true
- optionalDependencies:
- '@img/sharp-libvips-linux-s390x': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-linux-s390x': 1.3.2
optional: true
- optionalDependencies:
- '@img/sharp-libvips-linux-x64': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-linux-x64': 1.3.2
optional: true
- optionalDependencies:
- '@img/sharp-libvips-linuxmusl-arm64': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-linuxmusl-arm64': 1.3.2
optional: true
- optionalDependencies:
- '@img/sharp-libvips-linuxmusl-x64': 1.2.4
- optional: true
-
optionalDependencies:
'@img/sharp-libvips-linuxmusl-x64': 1.3.2
optional: true
- dependencies:
- '@emnapi/runtime': 1.11.1
- optional: true
-
dependencies:
'@emnapi/runtime': 1.11.1
@@ -10436,21 +10198,12 @@ snapshots:
'@img/sharp-wasm32': 0.35.3
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
- optional: true
-
optional: true
@@ -10864,37 +10617,37 @@ snapshots:
'@next/[email protected]': {}
- '@next/[email protected]': {}
+ '@next/[email protected]': {}
dependencies:
source-map: 0.7.6
optionalDependencies:
'@mdx-js/loader': 3.1.1([email protected])
'@mdx-js/react': 3.1.1(@types/[email protected])([email protected])
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
'@nodelib/[email protected]':
@@ -11640,18 +11393,18 @@ snapshots:
dependencies:
react: 19.2.8
dependencies:
react: 19.2.8
react-dom: 19.2.8([email protected])
optionalDependencies:
'@types/react': 19.2.17
'@types/react-dom': 19.2.3(@types/[email protected])
@@ -12505,13 +12258,13 @@ snapshots:
dependencies:
unpic: 4.2.2
dependencies:
'@unpic/core': 1.0.3
react: 19.2.8
react-dom: 19.2.8([email protected])
optionalDependencies:
'@upsetjs/[email protected]':
optionalDependencies:
@@ -12707,9 +12460,9 @@ snapshots:
obug: 2.1.3
std-env: 4.1.0
tinyrainbow: 3.1.0
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -15695,29 +15448,30 @@ snapshots:
react: 19.2.8
react-dom: 19.2.8([email protected])
dependencies:
- '@next/env': 16.2.12
+ '@next/env': 16.3.0
'@swc/helpers': 0.5.15
baseline-browser-mapping: 2.10.40
caniuse-lite: 1.0.30001799
- postcss: 8.5.19
+ postcss: 8.5.23
react: 19.2.8
react-dom: 19.2.8([email protected])
optionalDependencies:
- '@next/swc-darwin-arm64': 16.2.12
- '@next/swc-darwin-x64': 16.2.12
- '@next/swc-linux-arm64-gnu': 16.2.12
- '@next/swc-linux-arm64-musl': 16.2.12
- '@next/swc-linux-x64-gnu': 16.2.12
- '@next/swc-linux-x64-musl': 16.2.12
- '@next/swc-win32-arm64-msvc': 16.2.12
- '@next/swc-win32-x64-msvc': 16.2.12
+ '@next/swc-darwin-arm64': 16.3.0
+ '@next/swc-darwin-x64': 16.3.0
+ '@next/swc-linux-arm64-gnu': 16.3.0
+ '@next/swc-linux-arm64-musl': 16.3.0
+ '@next/swc-linux-x64-gnu': 16.3.0
+ '@next/swc-linux-x64-musl': 16.3.0
+ '@next/swc-win32-arm64-msvc': 16.3.0
+ '@next/swc-win32-x64-msvc': 16.3.0
'@playwright/test': 1.62.0
- sharp: 0.34.5
+ sharp: 0.35.3(@types/[email protected])
transitivePeerDependencies:
- '@babel/core'
+ - '@types/node'
- babel-plugin-macros
@@ -15746,12 +15500,12 @@ snapshots:
dependencies:
boolbase: 1.0.0
dependencies:
'@standard-schema/spec': 1.1.0
react: 19.2.8
optionalDependencies:
@@ -16690,38 +16444,6 @@ snapshots:
- dependencies:
- '@img/colour': 1.1.0
- detect-libc: 2.1.2
- semver: 7.8.5
- optionalDependencies:
- '@img/sharp-darwin-arm64': 0.34.5
- '@img/sharp-darwin-x64': 0.34.5
- '@img/sharp-libvips-darwin-arm64': 1.2.4
- '@img/sharp-libvips-darwin-x64': 1.2.4
- '@img/sharp-libvips-linux-arm': 1.2.4
- '@img/sharp-libvips-linux-arm64': 1.2.4
- '@img/sharp-libvips-linux-ppc64': 1.2.4
- '@img/sharp-libvips-linux-riscv64': 1.2.4
- '@img/sharp-libvips-linux-s390x': 1.2.4
- '@img/sharp-libvips-linux-x64': 1.2.4
- '@img/sharp-libvips-linuxmusl-arm64': 1.2.4
- '@img/sharp-libvips-linuxmusl-x64': 1.2.4
- '@img/sharp-linux-arm': 0.34.5
- '@img/sharp-linux-arm64': 0.34.5
- '@img/sharp-linux-ppc64': 0.34.5
- '@img/sharp-linux-riscv64': 0.34.5
- '@img/sharp-linux-s390x': 0.34.5
- '@img/sharp-linux-x64': 0.34.5
- '@img/sharp-linuxmusl-arm64': 0.34.5
- '@img/sharp-linuxmusl-x64': 0.34.5
- '@img/sharp-wasm32': 0.34.5
- '@img/sharp-win32-arm64': 0.34.5
- '@img/sharp-win32-ia32': 0.34.5
- '@img/sharp-win32-x64': 0.34.5
- optional: true
-
dependencies:
'@img/colour': 1.1.0
@@ -17360,9 +17082,9 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.3
dependencies:
'@vercel/og': 0.8.6
'@vinext/types': 1.0.0-beta.2
@@ -17411,13 +17133,13 @@ snapshots:
- srvx
- typescript
dependencies:
'@next/env': 16.0.0
image-size: 2.0.2
magic-string: 0.30.21
module-alias: 2.3.4
ts-dedent: 2.3.0
@@ -17919,7 +17641,7 @@ time:
'@mediabunny/[email protected]': '2026-07-22T13:39:55.542Z'
'@monaco-editor/[email protected]': '2025-02-13T16:13:41.390Z'
'@napi-rs/[email protected]': '2026-04-30T09:56:44.246Z'
- '@next/[email protected]': '2026-07-25T20:44:34.328Z'
+ '@next/[email protected]': '2026-08-03T20:29:50.185Z'
'@orpc/[email protected]': '2026-07-25T15:25:02.733Z'
'@orpc/[email protected]': '2026-07-25T15:25:10.708Z'
'@orpc/[email protected]': '2026-07-25T15:26:07.275Z'
@@ -18050,7 +17772,7 @@ time:
[email protected]: '2026-06-30T18:27:12.298Z'
[email protected]: '2024-08-31T15:42:18.280Z'
[email protected]: '2025-03-11T21:02:05.882Z'
- [email protected]: '2026-07-25T20:45:53.940Z'
+ [email protected]: '2026-08-03T20:34:17.082Z'
[email protected]: '2026-07-24T13:59:15.513Z'
[email protected]: '2025-11-15T08:22:54.225Z'
[email protected]: '2026-06-22T12:24:49.225Z'
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 73147d01c61..b74a4cc60ef 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -80,7 +80,7 @@ catalog:
'@mediabunny/mp3-encoder': 1.51.0
'@monaco-editor/react': 4.7.0
'@napi-rs/keyring': 1.3.0
- '@next/mdx': 16.2.12
+ '@next/mdx': 16.3.0
'@orpc/client': 1.14.10
'@orpc/contract': 1.14.10
'@orpc/openapi-client': 1.14.10
@@ -208,7 +208,7 @@ catalog:
mitt: 3.0.1
motion: 12.42.2
negotiator: 1.0.0
- next: 16.2.12
+ next: 16.3.0
next-themes: 0.4.6
nuqs: 2.9.2
open: 11.0.0
diff --git a/web/app/components/base/icons/icon-gallery.stories.tsx b/web/app/components/base/icons/icon-gallery.stories.tsx
deleted file mode 100644
index 28a00c7e0bd..00000000000
--- a/web/app/components/base/icons/icon-gallery.stories.tsx
+++ /dev/null
@@ -1,257 +0,0 @@
-/// <reference types="vite/client" />
-import type { Meta, StoryObj } from '@storybook/nextjs-vite'
-import * as React from 'react'
-
-type IconComponent = React.ComponentType<Record<string, unknown>>
-type IconModule = { default: IconComponent }
-
-type IconEntry = {
- name: string
- category: string
- path: string
- Component: IconComponent
-}
-
-const iconModules: Record<string, IconModule> = import.meta.glob('./src/**/*.tsx', { eager: true })
-
-const iconEntries: IconEntry[] = Object.entries(iconModules)
- .filter(([key]) => !key.endsWith('.stories.tsx') && !key.endsWith('.spec.tsx'))
- .map(([key, mod]) => {
- const Component = mod.default
- if (!Component) return null
-
- const relativePath = key.replace(/^\.\/src\//, '')
- const path = `app/components/base/icons/src/${relativePath}`
- const parts = relativePath.split('/')
- const fileName = parts.pop() || ''
- const category = parts.length ? parts.join('/') : '(root)'
- const name = Component.displayName || fileName.replace(/\.tsx$/, '')
-
- return {
- name,
- category,
- path,
- Component,
- }
- })
- .filter(Boolean) as IconEntry[]
-
-const sortedEntries = [...iconEntries].sort((a, b) => {
- if (a.category === b.category) return a.name.localeCompare(b.name)
- return a.category.localeCompare(b.category)
-})
-
-const filterEntries = (entries: IconEntry[], query: string) => {
- const normalized = query.trim().toLowerCase()
- if (!normalized) return entries
-
- return entries.filter(
- (entry) =>
- entry.name.toLowerCase().includes(normalized) ||
- entry.path.toLowerCase().includes(normalized) ||
- entry.category.toLowerCase().includes(normalized),
- )
-}
-
-const groupByCategory = (entries: IconEntry[]) =>
- entries.reduce(
- (acc, entry) => {
- if (!acc[entry.category]) acc[entry.category] = []
-
- acc[entry.category]!.push(entry)
- return acc
- },
- {} as Record<string, IconEntry[]>,
- )
-
-const containerStyle: React.CSSProperties = {
- padding: 24,
- display: 'flex',
- flexDirection: 'column',
- gap: 24,
-}
-
-const headerStyle: React.CSSProperties = {
- display: 'flex',
- flexDirection: 'column',
- gap: 8,
-}
-
-const controlsStyle: React.CSSProperties = {
- display: 'flex',
- alignItems: 'center',
- gap: 12,
- flexWrap: 'wrap',
-}
-
-const searchInputStyle: React.CSSProperties = {
- padding: '8px 12px',
- minWidth: 280,
- borderRadius: 6,
- border: '1px solid #d0d0d5',
-}
-
-const toggleButtonStyle: React.CSSProperties = {
- padding: '8px 12px',
- borderRadius: 6,
- border: '1px solid #d0d0d5',
- background: '#fff',
- cursor: 'pointer',
-}
-
-const emptyTextStyle: React.CSSProperties = { color: '#5f5f66' }
-
-const sectionStyle: React.CSSProperties = {
- display: 'flex',
- flexDirection: 'column',
- gap: 12,
-}
-
-const gridStyle: React.CSSProperties = {
- display: 'grid',
- gap: 12,
- gridTemplateColumns: 'repeat(auto-fill, minmax(200px, 1fr))',
-}
-
-const cardStyle: React.CSSProperties = {
- border: '1px solid #e1e1e8',
- borderRadius: 8,
- padding: 12,
- display: 'flex',
- flexDirection: 'column',
- gap: 8,
- minHeight: 140,
-}
-
-const previewBaseStyle: React.CSSProperties = {
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- minHeight: 48,
- borderRadius: 6,
-}
-
-const nameButtonBaseStyle: React.CSSProperties = {
- display: 'inline-flex',
- padding: 0,
- border: 'none',
- background: 'transparent',
- font: 'inherit',
- cursor: 'pointer',
- textAlign: 'left',
- fontWeight: 600,
-}
-
-const PREVIEW_SIZE = 40
-
-const IconGalleryStory = () => {
- const [query, setQuery] = React.useState('')
- const [copiedPath, setCopiedPath] = React.useState<string | null>(null)
- const [previewTheme, setPreviewTheme] = React.useState<'light' | 'dark'>('light')
-
- const filtered = React.useMemo(() => filterEntries(sortedEntries, query), [query])
-
- const grouped = React.useMemo(() => groupByCategory(filtered), [filtered])
-
- const categoryOrder = React.useMemo(
- () => Object.keys(grouped).sort((a, b) => a.localeCompare(b)),
- [grouped],
- )
-
- React.useEffect(() => {
- if (!copiedPath) return undefined
-
- const timerId = window.setTimeout(() => {
- setCopiedPath(null)
- }, 1200)
-
- return () => window.clearTimeout(timerId)
- }, [copiedPath])
-
- const handleCopy = React.useCallback((text: string) => {
- navigator.clipboard
- ?.writeText(text)
- .then(() => {
- setCopiedPath(text)
- })
- .catch((err) => {
- console.error('Failed to copy icon path:', err)
- })
- }, [])
-
- return (
- <div style={containerStyle}>
- <header style={headerStyle}>
- <h1 style={{ margin: 0 }}>Icon Gallery</h1>
- <p style={{ margin: 0, color: '#5f5f66' }}>
- Browse all icon components sourced from <code>app/components/base/icons/src</code>. Use
- the search bar to filter by name or path.
- </p>
- <div style={controlsStyle}>
- <input
- style={searchInputStyle}
- placeholder="Search icons"
- value={query}
- onChange={(event) => setQuery(event.target.value)}
- />
- <span style={{ color: '#5f5f66' }}>{filtered.length} icons</span>
- <button
- type="button"
- onClick={() => setPreviewTheme((prev) => (prev === 'light' ? 'dark' : 'light'))}
- style={toggleButtonStyle}
- >
- Toggle {previewTheme === 'light' ? 'dark' : 'light'} preview
- </button>
- </div>
- </header>
- {categoryOrder.length === 0 && (
- <p style={emptyTextStyle}>No icons match the current filter.</p>
- )}
- {categoryOrder.map((category) => (
- <section key={category} style={sectionStyle}>
- <h2 style={{ margin: 0, fontSize: 18 }}>{category}</h2>
- <div style={gridStyle}>
- {grouped[category]!.map((entry) => (
- <div key={entry.path} style={cardStyle}>
- <div
- style={{
- ...previewBaseStyle,
- background: previewTheme === 'dark' ? '#1f2024' : '#fff',
- }}
- >
- <entry.Component style={{ width: PREVIEW_SIZE, height: PREVIEW_SIZE }} />
- </div>
- <button
- type="button"
- onClick={() => handleCopy(entry.path)}
- style={{
- ...nameButtonBaseStyle,
- color: copiedPath === entry.path ? '#00754a' : '#24262c',
- }}
- >
- {copiedPath === entry.path ? 'Copied!' : entry.name}
- </button>
- </div>
- ))}
- </div>
- </section>
- ))}
- </div>
- )
-}
-
-const meta: Meta<typeof IconGalleryStory> = {
- title: 'Base/Icons/Icon Gallery',
- component: IconGalleryStory,
- parameters: {
- layout: 'fullscreen',
- },
-}
-
-export default meta
-
-type Story = StoryObj<typeof IconGalleryStory>
-
-export const All: Story = {
- render: () => <IconGalleryStory />,
-}
diff --git a/web/app/components/explore/__tests__/index.spec.tsx b/web/app/components/explore/__tests__/index.spec.tsx
index 4355573cdb3..e3f9567c56f 100644
--- a/web/app/components/explore/__tests__/index.spec.tsx
+++ b/web/app/components/explore/__tests__/index.spec.tsx
@@ -1,23 +1,11 @@
-import { screen } from '@testing-library/react'
+import { render, screen } from '@testing-library/react'
import { MediaType } from '@/hooks/use-breakpoints'
-import { renderWithConsoleQuery as render } from '@/test/console/query-data'
import Explore from '../index'
-const mockReplace = vi.fn()
-const mockPush = vi.fn()
type MediaTypeValue = (typeof MediaType)[keyof typeof MediaType]
let mockMediaType: MediaTypeValue = MediaType.pc
-vi.mock('@/next/navigation', () => ({
- usePathname: () => '/explore',
- useRouter: () => ({
- replace: mockReplace,
- push: mockPush,
- }),
- useSelectedLayoutSegments: () => ['apps'],
-}))
-
vi.mock('@/hooks/use-breakpoints', () => ({
default: () => mockMediaType,
MediaType: {
@@ -27,9 +15,12 @@ vi.mock('@/hooks/use-breakpoints', () => ({
},
}))
+vi.mock('@/app/components/explore/sidebar', () => ({
+ default: () => <aside aria-label="explore.sidebar.title" />,
+}))
+
describe('Explore', () => {
beforeEach(() => {
- vi.clearAllMocks()
mockMediaType = MediaType.pc
})
@@ -51,7 +42,9 @@ describe('Explore', () => {
</Explore>,
)
- expect(screen.queryByText('explore.sidebar.title')).not.toBeInTheDocument()
+ expect(
+ screen.queryByRole('complementary', { name: 'explore.sidebar.title' }),
+ ).not.toBeInTheDocument()
})
it('should keep the legacy explore sidebar on mobile', () => {
@@ -63,31 +56,9 @@ describe('Explore', () => {
</Explore>,
)
- expect(screen.getByRole('link', { name: 'explore.sidebar.title' })).toBeInTheDocument()
- })
- })
-
- describe('Effects', () => {
- it('should not redirect at component level', () => {
- render(
- <Explore>
- <div>child</div>
- </Explore>,
- )
-
- expect(mockReplace).not.toHaveBeenCalled()
- })
-
- it('should not redirect on mobile', () => {
- mockMediaType = MediaType.mobile
-
- render(
- <Explore>
- <div>child</div>
- </Explore>,
- )
-
- expect(mockReplace).not.toHaveBeenCalled()
+ expect(
+ screen.getByRole('complementary', { name: 'explore.sidebar.title' }),
+ ).toBeInTheDocument()
})
})
})
diff --git a/web/next.config.ts b/web/next.config.ts
index 011a842e7d6..e9598e62799 100644
--- a/web/next.config.ts
+++ b/web/next.config.ts
@@ -19,6 +19,11 @@ const nextConfig: NextConfig = {
bundler: 'turbopack',
}),
},
+ experimental: {
+ // TODO: Remove when the `typescript` package can point to TypeScript 7.
+ // Next.js resolves that package, while compiler-API consumers still require TypeScript 6.
+ useTypeScriptCli: false,
+ },
productionBrowserSourceMaps: false, // enable browser source map generation during the production build
// Configure pageExtensions to include md and mdx
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
diff --git a/web/postcss.config.js b/web/postcss.config.mjs
similarity index 100%
rename from web/postcss.config.js
rename to web/postcss.config.mjs