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

react-bem-helper

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bem-helper - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

29

index.d.ts

@@ -7,3 +7,8 @@ /**

declare module Bem {
interface BEMHelper {
(element?: string, modifiers?: BEMHelper.List, extra?: BEMHelper.List): {className: string};
(args: BEMHelper.Arguments): {className: string};
}
declare namespace BEMHelper {
interface PredicateList {

@@ -15,3 +20,3 @@ [key: string]: boolean | (() => boolean);

interface HelperArguments {
interface Arguments {
element?: string;

@@ -23,8 +28,3 @@ modifier?: List;

interface Helper {
(element?: string, modifiers?: List, extra?: List): {className: string};
(args: HelperArguments): {className: string};
}
interface HelperConstructorOptions {
interface ConstructorOptions {
name: string;

@@ -35,11 +35,12 @@ prefix?: string;

interface HelperConstructor {
new(name: string): Helper;
new(options: HelperConstructorOptions): Helper;
(name: string): Helper;
(options: HelperConstructorOptions): Helper;
interface Constructor {
new(name: string): BEMHelper;
new(options: ConstructorOptions): BEMHelper;
(name: string): BEMHelper;
(options: ConstructorOptions): BEMHelper;
}
}
declare var BEMHelper: Bem.HelperConstructor;
declare var BEMHelper: BEMHelper.Constructor;
export = BEMHelper;
{
"name": "react-bem-helper",
"version": "1.3.0",
"version": "1.3.1",
"description": "allows you to easily add BEM-style element and modifier classes to React elements, while hopefully making it easier to scan.",

@@ -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