New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@badcss/core

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@badcss/core - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

lib/components/Alert.js

21

lib/index.js
import { ButtonComponent } from "./components/Button.js";
import { AlertComponent } from "./components/Alert.js";
const validComponents = ["button"];
const validComponents = ["button", "alert"];

@@ -17,9 +18,17 @@ // Set font on page load

--primary: #2563eb;
--primary-light: #60a5fa;
--secondary: #475569;
--secondary-light: #94a3b8;
--danger: #dc2626;
--success: #16a34a;
--danger-light: #f87171;
--success: #16a34a;
--success-light: #4ade80;
--warning: #eab308;
--warning-light: #fde047;
--info: #06b6d4;
--info-light: #67e8f9;
--dark: #19191a;
--dark-light: #6b7280;
--light: #f2f2f2;
--light-light: #f7f7f7;
}

@@ -59,2 +68,4 @@ `;

}
// Remove the "themostbad" from the body tag
body.removeAttribute("themostbad");

@@ -77,2 +88,8 @@ // Wait for the DOMContentLoaded event before running the mapping loop

}
case "alert": {
console.log("alert");
AlertComponent(tag);
break;
}
}

@@ -79,0 +96,0 @@ } else {

2

package.json
{
"name": "@badcss/core",
"version": "0.1.4",
"version": "0.1.5",
"description": "A lightweight and customizable framework designed to simplify web development and enhance the styling capabilities of your projects.",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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