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.13 to 0.1.14

2

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

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

@@ -12,8 +12,8 @@ /** @jsx React.DOM */

if (this.props.pageNum <= this.props.pageRangeDisplayed) {
items = _.range(1, this.props.pageNum + 1).map(function(page) {
items = _.range(1, this.props.pageNum + 1).map(function(page, index) {
return (
<PageView
onClick={this.props.onPageSelected.bind(null, page)}
selected={this.props.selected === page}
key={page}>
onClick={this.props.onPageSelected.bind(null, index)}
selected={this.props.selected === index}
key={index}>
{page}

@@ -37,4 +37,5 @@ </PageView>

var items = [];
var index;
for (var index = 1; index < this.props.pageNum + 1; index++) {
for (index = 1; index < this.props.pageNum + 1; index++) {
var pageView = (

@@ -41,0 +42,0 @@ <PageView

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

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