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 1.0.3 to 1.0.4

2

dist/PaginationBoxView.js

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

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

@@ -169,0 +169,0 @@ }

{
"name": "react-paginate",
"version": "1.0.3",
"version": "1.0.4",
"description": "A ReactJS component that creates a pagination.",

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

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

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

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

Sorry, the diff of this file is not supported yet

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