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

react-paginate

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-paginate - npm Package Compare versions

Comparing version 0.1.25 to 0.1.26

2

package.json
{
"name": "react-paginate",
"version": "0.1.25",
"version": "0.1.26",
"description": "A ReactJS component that creates a pagination.",

@@ -5,0 +5,0 @@ "main": "./react_components/index.js",

@@ -18,2 +18,3 @@ 'use strict';

initialSelected : React.PropTypes.number,
forceSelected : React.PropTypes.number,
containerClassName : React.PropTypes.string,

@@ -100,2 +101,8 @@ subContainerClassName : React.PropTypes.string,

);
},
componentWillReceiveProps: function (nextProps) {
if (typeof nextProps.forceSelected !== 'undefined' && nextProps.forceSelected !== this.state.selected) {
this.setState({ selected: nextProps.forceSelected });
}
}

@@ -102,0 +109,0 @@ });

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