Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-next-theme

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-next-theme - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

dist/index.js

7

package.json
{
"name": "react-next-theme",
"version": "1.0.4",
"version": "1.0.5",
"type": "module",

@@ -9,3 +9,4 @@ "description": "A simple and flexible theme switcher for React and Next.js, supporting light and dark modes with localStorage and system preferences.",

"build:dev": "rollup -c --environment NODE_ENV:development",
"build": "rollup -c --environment NODE_ENV:production",
"build": "rollup -c --environment NODE_ENV:production && yarn run minify-theme-script",
"minify-theme-script": "terser scripts/themeScript.js -o public/react-next-theme-script.js --compress --mangle",
"postinstall": "node postinstall.js"

@@ -15,3 +16,3 @@ },

"dist",
"scripts/themeScript.js"
"public/react-next-theme-script.js"
],

@@ -18,0 +19,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc