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

@warp-ds/component-classes

Package Overview
Dependencies
Maintainers
6
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@warp-ds/component-classes - npm Package Compare versions

Comparing version 1.0.0-alpha.12 to 1.0.0-alpha.13

10

classes.js
import * as components from './index.js';
const filterInternalClasses = (str) => {
const classes = str.split(/\s/);
return classes.filter(c => c.startsWith("i-"));
}
export const classes = Object.values(components)
.map((e) => {
if (typeof e === 'object') return Object.values(e).map(filterInternalClasses);
return filterInternalClasses(e)
if (typeof e === 'object') return Object.values(e).map((e) => e.split(/\s/));
return e.split(/\s/);
})
.flat(Infinity);

2

package.json
{
"name": "@warp-ds/component-classes",
"repository": "git@github.com:warp-ds/component-classes.git",
"version": "1.0.0-alpha.12",
"version": "1.0.0-alpha.13",
"description": "WARP component classes",

@@ -6,0 +6,0 @@ "type": "module",

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