Socket
Socket
Sign inDemoInstall

rc-pagination

Package Overview
Dependencies
Maintainers
3
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-pagination - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

2

lib/Pagination.js

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

var hasOnChange = props.onChange !== noop;
var hasCurrent = props.current !== -1;
var hasCurrent = ('current' in props);
if (hasCurrent && !hasOnChange) {

@@ -33,0 +33,0 @@ console.warn('Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.');

{
"name": "rc-pagination",
"version": "1.3.4",
"version": "1.3.5",
"description": "pagination ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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