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 0.15.0 to 0.16.0

7

lib/mixins/Helpers.js

@@ -101,3 +101,4 @@ "use strict";

propTypes: {
to: React.PropTypes.string.isRequired
to: React.PropTypes.string.isRequired,
offset: React.PropTypes.number
},

@@ -187,4 +188,6 @@ getDefaultProps: function() {

if(y >= top && y <= height && __activeLink != to) {
var offsetY = y - self.props.offset;
if(offsetY >= top && offsetY <= height && __activeLink != to) {
__activeLink = to;

@@ -191,0 +194,0 @@

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

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

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