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.5 to 0.1.6

dist/badcss-0.1.5/components/Alert.js

14

lib/components/Alert.js

@@ -0,1 +1,3 @@

import { generateUUID } from "../utils/generateUUID.js";
export function AlertComponent(tag) {

@@ -63,14 +65,2 @@ // Replace tag with a button

/* Helper function to generate a UUID (Universally Unique Identifier) */
function generateUUID() {
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
/[xy]/g,
function (c) {
var r = (Math.random() * 16) | 0,
v = c === "x" ? r : (r & 0x3) | 0x8;
return v.toString(16);
}
);
}
// Add Basic styles

@@ -77,0 +67,0 @@ const styles = document.createElement("style");

@@ -0,1 +1,3 @@

import { generateUUID } from "../utils/generateUUID.js";
export function ButtonComponent(tag) {

@@ -58,14 +60,2 @@ // Replace tag with a button

/* Helper function to generate a UUID (Universally Unique Identifier) */
function generateUUID() {
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
/[xy]/g,
function (c) {
var r = (Math.random() * 16) | 0,
v = c === "x" ? r : (r & 0x3) | 0x8;
return v.toString(16);
}
);
}
// Add Basic styles

@@ -72,0 +62,0 @@ const styles = document.createElement("style");

{
"name": "@badcss/core",
"version": "0.1.5",
"version": "0.1.6",
"description": "A lightweight and customizable framework designed to simplify web development and enhance the styling capabilities of your projects.",
"main": "index.js",
"scripts": {
"publish": "npm publish",
"publish": "pnpm build && npm publish --access public",
"build": "node scripts/build.js",
"docs:dev": "vitepress dev docs",

@@ -20,4 +21,5 @@ "docs:build": "vitepress build docs",

"type": "git",
"url": "https://github.com/lassejlv/themostbadd-css-framework.git"
"url": "https://github.com/lassejlv/badcss.git"
},
"homepage": "https://badcss.dev",
"author": "Lasse Vestergaard",

@@ -29,3 +31,7 @@ "license": "MIT",

"vue": "^3.3.4"
},
"dependencies": {
"esbuild": "0.18.17",
"globby": "11.0.4"
}
}
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