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

@warp-ds/css

Package Overview
Dependencies
Maintainers
7
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@warp-ds/css - npm Package Compare versions

Comparing version 1.1.2-next.1 to 2.0.0-v2.1

16

component-classes/classes.js
import * as components from './index.js';
export const classes = Object.values(components)
.map((e) => {
if (typeof e === 'object') return Object.values(e).map((e) => e.split(/\s/));
return e.split(/\s/);
})
.flat(Infinity);
const getClasses = () =>
Object.values(components)
.map((e) => {
if (typeof e === 'object')
return Object.values(e).map((e) => e.split(/\s/));
return e.split(/\s/);
})
.flat(Infinity);
export const classes = [...new Set(getClasses())];
{
"name": "@warp-ds/css",
"repository": "git@github.com:warp-ds/css.git",
"version": "1.1.2-next.1",
"version": "2.0.0-v2.1",
"scripts": {

@@ -9,3 +9,3 @@ "build": "pnpm build:tokens && pnpm build:resets && pnpm build:cc",

"semantic-release": "semantic-release",
"build:cc": "cd component-classes && rm -rf *.d.ts && tsc && vite build",
"build:cc": "cd component-classes && rm -rf *.d.ts && tsc && vite build && node ./scripts/updateClassesToPurge.js",
"build:tokens": "cd tokens && node index.js",

@@ -19,3 +19,3 @@ "build:resets": "cd resets && node index.js",

"./component-classes": "./component-classes/index.js",
"./components": "./dist/components.css",
"./warp": "./dist/warp.css",
"./component-classes/classes": "./component-classes/classes.js",

@@ -44,3 +44,2 @@ "./component-classes/shortcuts": "./component-classes/shortcuts.js"

"dependencies": {
"@warp-ds/fonts": "1.1.0",
"@warp-ds/tokenizer": "^0.0.2",

@@ -54,13 +53,14 @@ "@warp-ds/uno": "^1.1.0"

"@semantic-release/git": "^10.0.1",
"@sindresorhus/slugify": "^2.2.0",
"@warp-ds/eslint-config": "^0.0.1",
"cz-conventional-changelog": "^3.3.0",
"@warp-ds/eslint-config": "^0.0.1",
"drnm": "^0.9.0",
"eslint": "^8.43.0",
"husky": "^8.0.3",
"lightningcss": "^1.19.0",
"semantic-release": "^20.1.3",
"typescript": "^5.0.0",
"unocss": "^0.53.1",
"unocss": "^0.56.0",
"vite": "^4.3.9",
"vite-plugin-dts": "^3.0.0",
"@sindresorhus/slugify": "^2.2.0",
"drnm": "^0.9.0",
"lightningcss": "^1.19.0"
"vite-plugin-dts": "^3.0.0"
},

@@ -67,0 +67,0 @@ "eslintConfig": {

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