react-lazy-tree
Advanced tools
Comparing version 1.0.3 to 1.0.4
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(['exports', 'react', 'lodash.omit', 'lodash.noop', './TreeNode', './search'], factory); | ||
define(['exports', 'react', 'prop-types', 'lodash.omit', 'lodash.noop', './TreeNode', './search'], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports, require('react'), require('lodash.omit'), require('lodash.noop'), require('./TreeNode'), require('./search')); | ||
factory(exports, require('react'), require('prop-types'), require('lodash.omit'), require('lodash.noop'), require('./TreeNode'), require('./search')); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports, global.react, global.lodash, global.lodash, global.TreeNode, global.search); | ||
factory(mod.exports, global.react, global.propTypes, global.lodash, global.lodash, global.TreeNode, global.search); | ||
global.ReactLazyTree = mod.exports; | ||
} | ||
})(this, function (exports, _react, _lodash, _lodash3, _TreeNode, _search) { | ||
})(this, function (exports, _react, _propTypes, _lodash, _lodash3, _TreeNode, _search) { | ||
'use strict'; | ||
@@ -23,2 +23,4 @@ | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _lodash2 = _interopRequireDefault(_lodash); | ||
@@ -183,15 +185,15 @@ | ||
ReactLazyTree.propTypes = { | ||
childrenPropertyName: _react.PropTypes.string, | ||
data: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.array]).isRequired, | ||
interactiveStartDepth: _react.PropTypes.number, | ||
mapInitialActiveNode: _react.PropTypes.func, | ||
mapListClassName: _react.PropTypes.func, | ||
mapListItemClassName: _react.PropTypes.func, | ||
mapNodeContent: _react.PropTypes.func.isRequired, | ||
onActiveNodeChanged: _react.PropTypes.func, | ||
shouldLazyRender: _react.PropTypes.bool, | ||
shouldShowAllNodes: _react.PropTypes.bool, | ||
verticalAnimationConfig: _react.PropTypes.shape({ | ||
durationInMs: _react.PropTypes.number, | ||
timing: _react.PropTypes.string | ||
childrenPropertyName: _propTypes2.default.string, | ||
data: _propTypes2.default.oneOfType([_propTypes2.default.object, _propTypes2.default.array]).isRequired, | ||
interactiveStartDepth: _propTypes2.default.number, | ||
mapInitialActiveNode: _propTypes2.default.func, | ||
mapListClassName: _propTypes2.default.func, | ||
mapListItemClassName: _propTypes2.default.func, | ||
mapNodeContent: _propTypes2.default.func.isRequired, | ||
onActiveNodeChanged: _propTypes2.default.func, | ||
shouldLazyRender: _propTypes2.default.bool, | ||
shouldShowAllNodes: _propTypes2.default.bool, | ||
verticalAnimationConfig: _propTypes2.default.shape({ | ||
durationInMs: _propTypes2.default.number, | ||
timing: _propTypes2.default.string | ||
}) | ||
@@ -198,0 +200,0 @@ }; |
{ | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"name": "react-lazy-tree", | ||
@@ -56,20 +56,20 @@ "description": "A React Treeview Component", | ||
"devDependencies": { | ||
"babel-cli": "^6.6.4", | ||
"babel-core": "^6.7.4", | ||
"babel-cli": "^6.24.0", | ||
"babel-core": "^6.24.0", | ||
"babel-eslint": "^7.1.1", | ||
"babel-plugin-transform-es2015-modules-umd": "^6.6.5", | ||
"babel-polyfill": "^6.7.4", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-preset-react": "^6.5.0", | ||
"babel-preset-stage-2": "^6.5.0", | ||
"babel-plugin-transform-es2015-modules-umd": "^6.24.0", | ||
"babel-polyfill": "^6.23.0", | ||
"babel-preset-es2015": "^6.24.0", | ||
"babel-preset-react": "^6.23.0", | ||
"babel-preset-stage-2": "^6.22.0", | ||
"chai": "^3.5.0", | ||
"coveralls": "^2.11.15", | ||
"enzyme": "^2.2.0", | ||
"eslint": "^3.14.0", | ||
"eslint-config-airbnb": "^14.0.0", | ||
"eslint-plugin-babel": "^4.0.1", | ||
"coveralls": "^2.12.0", | ||
"enzyme": "^2.7.1", | ||
"eslint": "^3.18.0", | ||
"eslint-config-airbnb": "^14.1.0", | ||
"eslint-plugin-babel": "^4.1.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-jsx-a11y": "^3.0.2", | ||
"eslint-plugin-mocha": "^4.8.0", | ||
"eslint-plugin-react": "^6.9.0", | ||
"eslint-plugin-jsx-a11y": "^4.0.0", | ||
"eslint-plugin-mocha": "^4.9.0", | ||
"eslint-plugin-react": "^6.10.0", | ||
"gulp": "^3.9.1", | ||
@@ -82,20 +82,20 @@ "gulp-coveralls": "^0.1.4", | ||
"istanbul": "^0.4.5", | ||
"jsdom": "^9.9.1", | ||
"jsdom": "^9.12.0", | ||
"mocha": "^3.2.0", | ||
"nodemon": "^1.9.1", | ||
"react": "^15.0.0", | ||
"react-addons-test-utils": "^15.0.0", | ||
"react-dom": "^15.0.0", | ||
"nodemon": "^1.11.0", | ||
"react": "15.6.2", | ||
"react-addons-test-utils": "^15.4.2", | ||
"react-dom": "15.6.2", | ||
"run-sequence": "^1.2.2", | ||
"sinon": "^1.17.6" | ||
"sinon": "^2.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "~0.14.8 || ^15.0.0", | ||
"react-dom": "~0.14.8 || ^15.0.0" | ||
"react": "~0.14.8 || ^15.0.0 || ^16.0.0" | ||
}, | ||
"dependencies": { | ||
"babel-runtime": "^6.22.0", | ||
"lodash.noop": "^3.0.1", | ||
"lodash.omit": "^4.5.0" | ||
"babel-runtime": "6.26.0", | ||
"lodash.noop": "3.0.1", | ||
"lodash.omit": "4.5.0", | ||
"prop-types": "15.6.0" | ||
} | ||
} |
@@ -18,4 +18,4 @@ # react-lazy-tree | ||
[![dependencies Status](https://david-dm.org/ethanselzer/react-lazy-tree/status.svg)](https://david-dm.org/ethanselzer/react-lazy-tree) | ||
[![devDependencies Status](https://david-dm.org/ethanselzer/react-lazy-tree/dev-status.svg)](https://david-dm.org/ethanselzer/react-lazy-tree?type=dev) | ||
[![npm](https://img.shields.io/npm/v/react-lazy-tree.svg)](https://www.npmjs.com/package/react-lazy-tree) | ||
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) | ||
@@ -22,0 +22,0 @@ ## Installation |
42081
7
621
+ Addedprop-types@15.6.0
+ Addedprop-types@15.6.0(transitive)
+ Addedreact@16.14.0(transitive)
- Removedcreate-react-class@15.7.0(transitive)
- Removedreact@15.7.0(transitive)
- Removedreact-dom@15.7.0(transitive)
Updatedbabel-runtime@6.26.0
Updatedlodash.noop@3.0.1
Updatedlodash.omit@4.5.0