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

dark-mode-toggle

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dark-mode-toggle - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

9

package.json
{
"name": "dark-mode-toggle",
"version": "0.4.6",
"version": "0.4.7",
"description": "Web Component that toggles dark mode 🌒",

@@ -15,5 +15,5 @@ "main": "./src/dark-mode-toggle.mjs",

"start": "npx http-server && echo \"Server running on http://localhost:8080/demo/\"",
"clean": "rm -rf ./dist && mkdir dist",
"lint:js": "npx eslint './src/*.mjs' --fix && npx eslint './demo/*.mjs' --fix",
"lint:css": "cp ./src/template-contents.tpl ./src/template-contents.html && npx stylelint './src/*.html' --fix && cp ./src/template-contents.html ./src/template-contents.tpl && rm ./src/template-contents.html && npx stylelint './demo/*.css' --fix",
"clean": "shx rm -rf ./dist && mkdir dist",
"lint:js": "npx eslint \"./src/*.mjs\" --fix && npx eslint \"./demo/*.mjs\" --fix",
"lint:css": "shx cp ./src/template-contents.tpl ./src/template-contents.html && npx stylelint \"./src/*.html\" --fix && shx cp ./src/template-contents.html ./src/template-contents.tpl && shx rm ./src/template-contents.html && npx stylelint \"./demo/*.css\" --fix",
"lint": "npm run lint:js && npm run lint:css",

@@ -41,2 +41,3 @@ "build": "npm run clean && npx terser ./src/dark-mode-toggle.mjs -m toplevel=true --comments /@license/ --ecma=8 -o ./dist/dark-mode-toggle.min.mjs",

"http-server": "^0.11.1",
"shx": "^0.3.2",
"stylelint": "^11.0.0",

@@ -43,0 +44,0 @@ "stylelint-config-standard": "^19.0.0",

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