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.0.1 to 1.0.2

13

lib/mixins/Helpers.js

@@ -6,4 +6,2 @@ "use strict";

const { bool, object, string, func, number } = React.PropTypes
var animateScroll = require('./animate-scroll');

@@ -14,3 +12,3 @@ var scrollSpy = require('./scroll-spy');

var Helpers = {
Scroll: function (Component) {

@@ -21,5 +19,5 @@

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

@@ -98,3 +96,3 @@

this.setState({ active : true });
if(this.props.onSetActive) {

@@ -155,2 +153,1 @@ this.props.onSetActive(to);

module.exports = Helpers;
{
"name": "react-scroll",
"version": "1.0.1",
"version": "1.0.2",
"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