New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
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 2.3.1 to 2.3.2

4

Changelog.md
## Bemto-components changelog
### v2.3.2 (2018-04-05)
- Fixed incorrect variable definition.
### v2.3.1 (2018-04-05)

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

4

lib/index.js

@@ -28,6 +28,6 @@ const React = require('react');

if (type === 'string' || type === 'number') {
return `${key}_${value}`;
return key + '_' + value;
}
if (type === 'function') {
modValue = value(blockProps, component.state, component);
const modValue = value(blockProps, component.state, component);
if (modValue) {

@@ -34,0 +34,0 @@ return renderModifier(key, modValue, blockProps, component);

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

@@ -33,6 +33,6 @@ "main": "lib/index.js",

"devDependencies": {
"bemto-button": "^0.4.0",
"bemto-overflower": "^0.3.0",
"bemto-input": "^0.1.0",
"jest": "^22.4.2",
"bemto-button": "^0.5.0",
"bemto-overflower": "^0.4.0",
"bemto-input": "^0.2.0",
"jest": "21.2.1",
"react-docgen-annotation-resolver": "^1.0.0",

@@ -39,0 +39,0 @@ "react-dom": "^16.2.0",

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

test.only('passing a bemto block to an element in props', () => {
test('passing a bemto block to an element in props', () => {
testSnapshot(

@@ -2060,0 +2060,0 @@ bemto('.myBlock', {

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