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.5 to 1.8.6

2

CHANGELOG.md
#### Changelog
>1.8.6
- Fixed hashSpy to work within Nextjs [Issue](https://github.com/fisshy/react-scroll/issues/476)
>1.8.3

@@ -3,0 +5,0 @@ - Fix for scroll offset [PR](https://github.com/fisshy/react-scroll/pull/469)

2

modules/mixins/utils.js

@@ -11,3 +11,3 @@ "use strict";

var urlToPush = hashToUpdate ? curLoc.pathname + curLoc.search + hashToUpdate : curLoc.pathname + curLoc.search;
historyUpdate ? history.pushState(null, "", urlToPush) : history.replaceState(null, "", urlToPush);
historyUpdate ? history.pushState(history.state, "", urlToPush) : history.replaceState(history.state, "", urlToPush);
};

@@ -14,0 +14,0 @@

{
"name": "react-scroll",
"version": "1.8.5",
"version": "1.8.6",
"description": "A scroll component for React.js",

@@ -5,0 +5,0 @@ "main": "modules",

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