New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-virtualized

Package Overview
Dependencies
Maintainers
1
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtualized - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

3

CHANGELOG.md
Changelog
------------
##### 5.1.1
Marked `FlexColumn` `width` property as required since ommitting this property can lead to uneven column layouts.
### 5.1.0

@@ -5,0 +8,0 @@ Added `ColumnSizer` high-order component for auto-calculating column widths for `Grid` cells.

2

es/FlexTable/FlexColumn.js

@@ -99,3 +99,3 @@ 'use strict';

/** Optional fixed width for this column */
width: _react.PropTypes.number
width: _react.PropTypes.number.isRequired
},

@@ -102,0 +102,0 @@ enumerable: true

@@ -478,9 +478,4 @@ 'use strict';

value: function _getFlexStyleForColumn(column) {
var flex = [];
flex.push(column.props.flexGrow);
flex.push(column.props.flexShrink);
flex.push(column.props.width ? column.props.width + 'px' : 'auto');
var flexValue = column.props.flexGrow + ' ' + column.props.flexShrink + ' ' + column.props.width + 'px';
var flexValue = flex.join(' ');
return {

@@ -487,0 +482,0 @@ flex: flexValue,

@@ -6,3 +6,3 @@ {

"user": "bvaughn",
"version": "5.1.0",
"version": "5.1.1",
"homepage": "https://github.com/bvaughn/react-virtualized",

@@ -9,0 +9,0 @@ "main": "dist/react-virtualized.js",

@@ -79,4 +79,4 @@ /** @flow */

/** Optional fixed width for this column */
width: PropTypes.number
width: PropTypes.number.isRequired
}
}

@@ -390,13 +390,4 @@ /** @flow */

_getFlexStyleForColumn (column) {
const flex = []
flex.push(column.props.flexGrow)
flex.push(column.props.flexShrink)
flex.push(
column.props.width
? `${column.props.width}px`
: 'auto'
)
const flexValue = `${column.props.flexGrow} ${column.props.flexShrink} ${column.props.width}px`
const flexValue = flex.join(' ')
return {

@@ -403,0 +394,0 @@ flex: flexValue,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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