Skip to content

Open-source status page, incident response and uptime monitoring

chore: bump nuqs (#1120)

Maximilian Kaske79c7dc48736d
diff --git a/apps/web/package.json b/apps/web/package.json
index 2f2727a79..ab99cca6b 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -64,7 +64,7 @@
"next-auth": "5.0.0-beta.21",
"next-plausible": "3.12.0",
"next-themes": "0.2.1",
- "nuqs": "1.19.1",
+ "nuqs": "2.2.3",
"posthog-js": "1.136.1",
"posthog-node": "4.0.1",
"random-word-slugs": "0.1.7",
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index ac27ed9c8..81695d6c0 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -14,6 +14,7 @@ import {
import { TailwindIndicator } from "@/components/tailwind-indicator";
import { ThemeProvider } from "@/components/theme-provider";
import { TRPCReactQueryProvider } from "@/trpc/rq-client";
+import { NuqsAdapter } from "nuqs/adapters/next/app";
import Background from "./_components/background";
const inter = Inter({ subsets: ["latin"] });
@@ -46,13 +47,15 @@ export default function RootLayout({
// biome-ignore lint/nursery/useSortedClasses: <explanation>
} ${calSans.variable}`}
>
- <ThemeProvider attribute="class" defaultTheme="light" enableSystem>
- <TRPCReactQueryProvider>
- <Background>{children}</Background>
- <Toaster richColors closeButton />
- <TailwindIndicator />
- </TRPCReactQueryProvider>
- </ThemeProvider>
+ <NuqsAdapter>
+ <ThemeProvider attribute="class" defaultTheme="light" enableSystem>
+ <TRPCReactQueryProvider>
+ <Background>{children}</Background>
+ <Toaster richColors closeButton />
+ <TailwindIndicator />
+ </TRPCReactQueryProvider>
+ </ThemeProvider>
+ </NuqsAdapter>
</body>
</html>
);
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 18814c22e..62a2a019c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -366,8 +366,8 @@ importers:
specifier: 0.2.1
nuqs:
- specifier: 1.19.1
+ specifier: 2.2.3
posthog-js:
specifier: 1.136.1
version: 1.136.1
@@ -8820,10 +8820,20 @@ packages:
resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
- resolution: {integrity: sha512-oixldNThB1wbu6B5K961++7wpTz/EZFPWnraGmIQhibDT+YxRJNplWMIoPJgL4dlsiSDVI5bbUWKpzsIWVh3Pg==}
+ resolution: {integrity: sha512-nMCcUW06KSqEXA0xp+LiRqDpIE59BVYbjZLe0HUisJAlswfihHYSsAjYTzV0lcE1thfh8uh+LqUHGdQ8qq8rfA==}
peerDependencies:
- next: '>=13.4 <14.0.2 || ^14.0.3'
+ '@remix-run/react': '>=2'
+ next: '>=14.2.0'
+ react: '>=18.2.0 || ^19.0.0-0'
+ react-router-dom: '>=6'
+ peerDependenciesMeta:
+ '@remix-run/react':
+ optional: true
+ next:
+ optional: true
+ react-router-dom:
+ optional: true
resolution: {integrity: sha512-BI2SdqqTHg2d4wJh8P9A1W+bslg33vOE9IZDY6eR2QC+Pu1iNBVZUqczrd43rJb+fMzHU7ltAYKsEFY/kHMFcw==}
@@ -13841,7 +13851,7 @@ snapshots:
dependencies:
- '@mdx-js/mdx': 3.1.0
+ '@mdx-js/mdx': 3.1.0([email protected])
'@types/unist': 3.0.2
esbuild: 0.21.5
source-map: 0.7.4
@@ -13851,36 +13861,6 @@ snapshots:
- acorn
- supports-color
- '@mdx-js/[email protected]':
- dependencies:
- '@types/estree': 1.0.3
- '@types/estree-jsx': 1.0.2
- '@types/hast': 3.0.4
- '@types/mdx': 2.0.9
- collapse-white-space: 2.1.0
- devlop: 1.1.0
- estree-util-is-identifier-name: 3.0.0
- estree-util-scope: 1.0.0
- estree-walker: 3.0.3
- hast-util-to-jsx-runtime: 2.3.2
- markdown-extensions: 2.0.0
- recma-build-jsx: 1.0.0
- recma-jsx: 1.0.0
- recma-stringify: 1.0.0
- rehype-recma: 1.0.0
- remark-mdx: 3.1.0
- remark-parse: 11.0.0
- remark-rehype: 11.1.0
- source-map: 0.7.4
- unified: 11.0.5
- unist-util-position-from-estree: 2.0.0
- unist-util-stringify-position: 4.0.0
- unist-util-visit: 5.0.0
- vfile: 6.0.1
- transitivePeerDependencies:
- - acorn
- - supports-color
-
dependencies:
'@types/estree': 1.0.3
@@ -20611,9 +20591,11 @@ snapshots:
dependencies:
boolbase: 1.0.0
dependencies:
mitt: 3.0.1
+ react: 18.3.1
+ optionalDependencies:
@@ -21465,16 +21447,6 @@ snapshots:
estree-util-build-jsx: 3.0.1
vfile: 6.0.1
- dependencies:
- acorn-jsx: 5.3.2([email protected])
- estree-util-to-js: 2.0.0
- recma-parse: 1.0.0
- recma-stringify: 1.0.0
- unified: 11.0.5
- transitivePeerDependencies:
- - acorn
-
dependencies:
acorn-jsx: 5.3.2([email protected])