You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

bemto-components

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bemto-components - npm Package Compare versions

Comparing version

to
2.0.2

4

Changelog.md
## Bemto-components changelog
### v2.0.2 (2018-03-28)
- Fixed component passed as a tag for an element (less partially lol?).
### v2.0.1 (2018-03-27)

@@ -4,0 +8,0 @@

2

lib/index.js

@@ -69,3 +69,3 @@ const React = require('react');

const isTagFunction = tagOrFunction => typeof tagOrFunction === 'function' && !React.Component.isPrototypeOf(tagOrFunction) && !tagOrFunction.styledComponentId;
const isTagFunction = tagOrFunction => typeof tagOrFunction === 'function' && !React.Component.isPrototypeOf(tagOrFunction) && !(tagOrFunction.prototype && tagOrFunction.prototype.isReactComponent) && !tagOrFunction.styledComponentId;

@@ -72,0 +72,0 @@ // Base for polymorphic tag names

{
"name": "bemto-components",
"version": "2.0.1",
"version": "2.0.2",
"description": "Smart components for using parts of BEM methodology with React",

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