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

classed-components

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classed-components - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0

3

dist/classNames.js

@@ -25,4 +25,3 @@ "use strict";

const compileClassnames = (placeholders, classes) => {
let className = '';
placeholders.forEach((placeholder, i) => className += classes[i] + placeholder);
const className = placeholders.reduce((acc, placeholder, i) => acc + classes[i] + placeholder, '');
return (className + classes[classes.length - 1]).replace(/\s+/g, ' ').trim();

@@ -29,0 +28,0 @@ };

{
"name": "classed-components",
"version": "1.0.0-beta.1",
"version": "1.0.0",
"description": "CSS Classes for the component age. Apply your Css with the power of Javascript.",

@@ -45,2 +45,3 @@ "keywords": [

"jest": "^24.8.0",
"react": "^16.8.6",
"react-test-renderer": "^16.8.6",

@@ -47,0 +48,0 @@ "ts-jest": "^24.0.2",

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