This repository was archived by the owner on Mar 10, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " tabletable" ,
3- "version" : " 0.4 .0" ,
3+ "version" : " 0.5 .0" ,
44 "description" : " A simple and extremely flexible table component written in React." ,
55 "main" : " dist/entry.js" ,
66 "scripts" : {
5151 ]
5252 },
5353 "devDependencies" : {
54- "babel-cli" : " ^6.7.5 " ,
54+ "babel-cli" : " ^6.14.0 " ,
5555 "babel-plugin-transform-decorators-legacy" : " ^1.3.4" ,
56- "babel-preset-es2015" : " ^6.6.0" ,
57- "babel-preset-react" : " ^6.5.0" ,
58- "babelify" : " ^7.2.0" ,
59- "browserify" : " ^13.0.0" ,
60- "react-dom" : " ^15.0.1" ,
56+ "babel-preset-es2015" : " ^6.14.0" ,
57+ "babel-preset-react" : " ^6.11.1" ,
58+ "babelify" : " ^7.3.0" ,
59+ "browserify" : " ^13.1.0" ,
6160 "watchify" : " ^3.7.0"
6261 },
6362 "dependencies" : {
6463 "autobind-decorator" : " ^1.3.3" ,
65- "classnames" : " ^2.2.3" ,
66- "immutable" : " ^3.7.6" ,
67- "react" : " ^15.0.1" ,
68- "react-addons-shallow-compare" : " ^15.0.1"
64+ "classnames" : " ^2.2.5" ,
65+ "immutable" : " ^3.8.1" ,
66+ "react" : " ^15.3.1" ,
67+ "react-addons-shallow-compare" : " ^15.3.1" ,
68+ "react-dom" : " ^15.3.1"
6969 }
7070}
Original file line number Diff line number Diff line change @@ -181,7 +181,14 @@ TabletableContainer.defaultProps = {
181181} ;
182182
183183TabletableContainer . propTypes = {
184- data : React . PropTypes . instanceOf ( Immutable . Seq ) . isRequired ,
184+ data : ( props , propName , componentName ) => {
185+ if ( ! Immutable . Iterable . isIterable ( props [ propName ] ) ) {
186+ return new Error (
187+ 'Invalid prop `' + propName + '` supplied to' +
188+ ' `' + componentName + '`. Expected Immutable iterable.'
189+ ) ;
190+ }
191+ } ,
185192 columns : React . PropTypes . object . isRequired ,
186193 rowsPerPage : React . PropTypes . number . isRequired ,
187194 pagerSize : React . PropTypes . number . isRequired ,
You can’t perform that action at this time.
0 commit comments