Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-scroll

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scroll - npm Package Compare versions

Comparing version 1.8.6 to 1.8.7

2

CHANGELOG.md
#### 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)

6

modules/__tests__/scroll-cancellation-test.js

@@ -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": {

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