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.7.9 to 1.7.10

2

modules/mixins/scroll-hash.js

@@ -64,3 +64,3 @@ 'use strict';

changeHash: function changeHash(to) {
if (this.isInitialized()) {
if (this.isInitialized() && _utils2.default.getHash() !== to) {
_utils2.default.pushHash(to);

@@ -67,0 +67,0 @@ }

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

var loc = window.location;
history.pushState(null, null, hash ? hash
history.pushState(null, null, hash ? loc.pathname + loc.search + hash
// remove hash

@@ -14,0 +14,0 @@ : loc.pathname + loc.search);

{
"name": "react-scroll",
"version": "1.7.9",
"version": "1.7.10",
"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