From 470ebef8b56ab3de460b710a2c4f7db697721c7b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 7 Feb 2025 06:54:35 +0000 Subject: [PATCH] fix: upgrade next-themes from 0.3.0 to 0.4.4 Snyk has created this PR to upgrade next-themes from 0.3.0 to 0.4.4. See this package in npm: next-themes See this project in Snyk: https://app.snyk.io/org/souravgoyal88820/project/afaa59ef-60a6-494e-a058-99fb3a1ebc6e?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 13 +++++++------ package.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index c641fbe..953b318 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "lucide-react": "^0.468.0", "next": "14.2.21", "next-auth": "^4.24.7", - "next-themes": "^0.3.0", + "next-themes": "^0.4.4", "nodemailer": "^6.9.14", "pg": "^8.12.0", "postgres": "^3.4.4", @@ -8054,12 +8054,13 @@ } }, "node_modules/next-themes": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.3.0.tgz", - "integrity": "sha512-/QHIrsYpd6Kfk7xakK4svpDI5mmXP0gfvCoJdGpZQ2TOrQZmsW0QxjaiLn8wbIKjtm4BTSqLoix4lxYYOnLJ/w==", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.4.tgz", + "integrity": "sha512-LDQ2qIOJF0VnuVrrMSMLrWGjRMkq+0mpgl6e0juCLqdJ+oo8Q84JRWT6Wh11VDQKkMMe+dVzDKLWs5n87T+PkQ==", + "license": "MIT", "peerDependencies": { - "react": "^16.8 || ^17 || ^18", - "react-dom": "^16.8 || ^17 || ^18" + "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc" } }, "node_modules/next-tick": { diff --git a/package.json b/package.json index a8ea323..593d3c8 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "lucide-react": "^0.468.0", "next": "14.2.21", "next-auth": "^4.24.7", - "next-themes": "^0.3.0", + "next-themes": "^0.4.4", "nodemailer": "^6.9.14", "pg": "^8.12.0", "postgres": "^3.4.4",