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

@dr/bem-helper

Package Overview
Dependencies
Maintainers
43
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dr/bem-helper - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

index.js

@@ -37,3 +37,3 @@ function BEM (...args) {

function modifierReducer (result, [modifier, value]) {
if (value !== false && value !== undefined && value !== null) {
if (value !== false && value !== null && typeof value !== "undefined") {
result.push(`--${modifier}${(value !== true) ? `-${value}` : "" }`);

@@ -40,0 +40,0 @@ }

{
"name": "@dr/bem-helper",
"version": "1.1.1",
"version": "1.1.2",
"description": "Helper to create BEM-style classnames",

@@ -5,0 +5,0 @@ "main": "index.js",

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