Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,5 +1,11 @@
## HEAD
## 2.1.0
###### _Jan 31, 2018_
- Lodash as a peerDependency was causing missing peerDependency errors. Lodash peerDep replaced with stifle dep (#7) @shawnmcknight
- Bump several dependency versions @shawnmcknight
- Configure npm to not generate package-lock file @shawnmcknight
## 2.0.0
###### _May 30, 2017_

View File

@@ -36,9 +36,9 @@ var _reactEventListener = require('react-event-listener');
var _reactEventListener2 = _interopRequireDefault(_reactEventListener);
var _throttle = require('lodash/throttle');
var _stifle = require('stifle');
var _throttle2 = _interopRequireDefault(_throttle);
var _stifle2 = _interopRequireDefault(_stifle);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -68,7 +68,7 @@ var ScrollbarSize = function (_Component) {
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = ScrollbarSize.__proto__ || (0, _getPrototypeOf2.default)(ScrollbarSize)).call.apply(_ref, [this].concat(args))), _this), _this.setMeasurements = function () {
_this.scrollbarHeight = _this.node.offsetHeight - _this.node.clientHeight;
_this.scrollbarWidth = _this.node.offsetWidth - _this.node.clientWidth;
}, _this.handleResize = (0, _throttle2.default)(function () {
}, _this.handleResize = (0, _stifle2.default)(function () {
var onChange = _this.props.onChange;

View File

@@ -1,31 +1,31 @@
{
"_args": [
[
"react-scrollbar-size@2.0.2",
"react-scrollbar-size@2.1.0",
"C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI"
]
],
"_from": "react-scrollbar-size@2.0.2",
"_id": "react-scrollbar-size@2.0.2",
"_from": "react-scrollbar-size@2.1.0",
"_id": "react-scrollbar-size@2.1.0",
"_inBundle": false,
"_integrity": "sha512-scpDs2PZFf9CJteBeDu7jkk7s+YX06Si4rQGVHsH6vjR/p7417q1Jv5SpOblLLesOgNrfWekwoHQG1g0/p3tvw==",
"_integrity": "sha512-9dDUJvk7S48r0TRKjlKJ9e/LkLLYgc9LdQR6W21I8ZqtSrEsedPOoMji4nU3DHy7fx2l8YMScJS/N7qiloYzXQ==",
"_location": "/material-ui/react-scrollbar-size",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "react-scrollbar-size@2.0.2",
"raw": "react-scrollbar-size@2.1.0",
"name": "react-scrollbar-size",
"escapedName": "react-scrollbar-size",
"rawSpec": "2.0.2",
"rawSpec": "2.1.0",
"saveSpec": null,
"fetchSpec": "2.0.2"
"fetchSpec": "2.1.0"
},
"_requiredBy": [
"/material-ui"
],
"_resolved": "https://registry.npmjs.org/react-scrollbar-size/-/react-scrollbar-size-2.0.2.tgz",
"_spec": "2.0.2",
"_resolved": "https://registry.npmjs.org/react-scrollbar-size/-/react-scrollbar-size-2.1.0.tgz",
"_spec": "2.1.0",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI",
"author": {
"name": "STORIS"
@@ -34,9 +34,10 @@
"url": "https://github.com/STORIS/react-scrollbar-size/issues"
},
"dependencies": {
"babel-runtime": "^6.23.0",
"prop-types": "^15.5.10",
"react-event-listener": "^0.5.0"
"babel-runtime": "^6.26.0",
"prop-types": "^15.6.0",
"react-event-listener": "^0.5.1",
"stifle": "^1.0.2"
},
"description": "React component to calculate the size of browser scrollbars",
"homepage": "https://github.com/STORIS/react-scrollbar-size#readme",
@@ -48,12 +49,11 @@
"main": "./index.js",
"name": "react-scrollbar-size",
"peerDependencies": {
"lodash": "^4.17.0",
"react": "^15.3.0 || ^16.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/STORIS/react-scrollbar-size.git"
},
"version": "2.0.2"
"version": "2.1.0"
}