diff --git a/package.json b/package.json index 379ad3d69f3..3da9bb82592 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "mermaid": "10.9.0", "nanoid": "^5.0.6", "next": "14.1.4", - "next-themes": "0.2.1", + "next-themes": "0.3.0", "openai": "4.29.2", "pngjs": "7.0.0", "qrcode.react": "3.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2163a1e6a8a..c91455cbc0a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -201,8 +201,8 @@ dependencies: specifier: 14.1.4 version: 14.1.4(@babel/core@7.24.3)(react-dom@18.2.0)(react@18.2.0) next-themes: - specifier: 0.2.1 - version: 0.2.1(next@14.1.4)(react-dom@18.2.0)(react@18.2.0) + specifier: 0.3.0 + version: 0.3.0(react-dom@18.2.0)(react@18.2.0) openai: specifier: 4.29.2 version: 4.29.2 @@ -7939,14 +7939,12 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true - /next-themes@0.2.1(next@14.1.4)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==} + /next-themes@0.3.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-/QHIrsYpd6Kfk7xakK4svpDI5mmXP0gfvCoJdGpZQ2TOrQZmsW0QxjaiLn8wbIKjtm4BTSqLoix4lxYYOnLJ/w==} peerDependencies: - next: '*' - react: '*' - react-dom: '*' + react: ^16.8 || ^17 || ^18 + react-dom: ^16.8 || ^17 || ^18 dependencies: - next: 14.1.4(@babel/core@7.24.3)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false