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.15 to 0.1.16

2

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

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

@@ -53,3 +53,5 @@ /** @jsx React.DOM */

event.preventDefault();
if (this.state.selected > 1) this.handlePageSelected(this.state.selected - 1, event);
if (this.state.selected > 1) {
this.handlePageSelected(this.state.selected - 1, event);
}
},

@@ -67,3 +69,3 @@

<ul className={this.props.containerClassName}>
<li onClick={this.handlePreviousPage} className="previous">
<li onClick={this.handlePreviousPage} className="previous" disabled={this.state.selected === 1 ? 'disabled' : false}>
<a href="">{this.props.previousLabel}</a>

@@ -82,3 +84,3 @@ </li>

<li onClick={this.handleNextPage} className="next">
<li onClick={this.handleNextPage} className="next" disabled={this.state.selected === this.props.pageNum ? 'disabled' : false}>
<a href="">{this.props.nextLabel}</a>

@@ -85,0 +87,0 @@ </li>

@@ -15,3 +15,3 @@ /** @jsx React.DOM */

return (
<div>{comment.comment}</div>
<div key={index}>{comment.comment}</div>
);

@@ -86,3 +86,3 @@ });

React.renderComponent(
React.render(
<App url={'http://localhost:3000/comments'}

@@ -89,0 +89,0 @@ author={'adele'}

Sorry, the diff of this file is too big to display

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