react-scroll
Advanced tools
Comparing version 1.8.6 to 1.8.7
#### Changelog | ||
>1.8.7 | ||
- Published peerDependencies for React 18. | ||
>1.8.6 | ||
@@ -3,0 +5,0 @@ - Fixed hashSpy to work within Nextjs [Issue](https://github.com/fisshy/react-scroll/issues/476) |
@@ -66,4 +66,5 @@ 'use strict'; | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = TestComponent.__proto__ || Object.getPrototypeOf(TestComponent)).call.apply(_ref, [this].concat(args))), _this), _this.handleKeyDown = function () { | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = TestComponent.__proto__ || Object.getPrototypeOf(TestComponent)).call.apply(_ref, [this].concat(args))), _this), _this.handleKeyDown = function (e) { | ||
_animateScroll2.default.scrollMore(distance, { smooth: true, duration: duration }); | ||
e.stopPropagation(); | ||
}, _temp), _possibleConstructorReturn(_this, _ret); | ||
@@ -126,4 +127,5 @@ } | ||
return _ret2 = (_temp2 = (_this2 = _possibleConstructorReturn(this, (_ref2 = TestComponent.__proto__ || Object.getPrototypeOf(TestComponent)).call.apply(_ref2, [this].concat(args))), _this2), _this2.handleKeyDown = function () { | ||
return _ret2 = (_temp2 = (_this2 = _possibleConstructorReturn(this, (_ref2 = TestComponent.__proto__ || Object.getPrototypeOf(TestComponent)).call.apply(_ref2, [this].concat(args))), _this2), _this2.handleKeyDown = function (e) { | ||
_animateScroll2.default.scrollMore(distance, { smooth: true, duration: duration, horizontal: true }); | ||
e.stopPropagation(); | ||
}, _temp2), _possibleConstructorReturn(_this2, _ret2); | ||
@@ -130,0 +132,0 @@ } |
{ | ||
"name": "react-scroll", | ||
"version": "1.8.6", | ||
"version": "1.8.7", | ||
"description": "A scroll component for React.js", | ||
@@ -69,4 +69,4 @@ "main": "modules", | ||
"peerDependencies": { | ||
"react": "^15.5.4 || ^16.0.0 || ^17.0.0", | ||
"react-dom": "^15.5.4 || ^16.0.0 || ^17.0.0" | ||
"react": "^15.5.4 || ^16.0.0 || ^17.0.0 || ^18.0.0", | ||
"react-dom": "^15.5.4 || ^16.0.0 || ^17.0.0 || ^18.0.0" | ||
}, | ||
@@ -73,0 +73,0 @@ "babel": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129051
2717