Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "bemmy", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Dependency-free utility to compose CSS classnames following the BEM convention.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -26,7 +26,7 @@ # bemmy | ||
bem(null, 'disabled'); // block + modifier | ||
// -> 'component component--disabled' | ||
bem(null, 'tall'); // block + modifier | ||
// -> 'component component--tall' | ||
bem('content', 'disabled'); // block + element + modifier | ||
// -> 'component__content component__content--disabled' | ||
bem('content', 'tall'); // block + element + modifier | ||
// -> 'component__content component__content--tall' | ||
@@ -39,4 +39,4 @@ bem('content', { tall: true, green: false }); // modifier object | ||
bem(null, null, 'some-class', 'another-class'); // // additional classes | ||
bem(null, null, 'some-class', 'another-class'); // additional classes | ||
// -> 'component some-class another-class' | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
0
2329
2
0
2