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

react-flexr

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flexr - npm Package Compare versions

Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5

8

dist/grid.component.js

@@ -114,6 +114,8 @@ 'use strict';

// TODO: Find a better context solution when React 0.14 lands.
var parentProps = {};
if (flexCells) parentProps.flex = true;
var contextifiedChildren = _react2['default'].Children.map(children, function (child) {
return _reactLibCloneWithProps2['default'](child, parentProps);
return _reactLibCloneWithProps2['default'](child, {
flex: flexCells ? true : false,
key: child.key,
ref: child.ref
});
});

@@ -120,0 +122,0 @@

@@ -96,6 +96,10 @@ import stylesheet from './stylesheet';

// TODO: Find a better context solution when React 0.14 lands.
let parentProps = {};
if (flexCells) parentProps.flex = true;
const contextifiedChildren = React.Children.map(
children, ( child ) => cloneWithProps( child, parentProps )
children, ( child ) => {
return cloneWithProps( child, {
flex: flexCells ? true : false,
key: child.key,
ref: child.ref
});
}
);

@@ -102,0 +106,0 @@

{
"name": "react-flexr",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"description": "React flexbox grid made simple.",

@@ -5,0 +5,0 @@ "main": "dist",

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