react-paginate
Advanced tools
Comparing version 0.1.21 to 0.1.22
{ | ||
"name": "react-paginate", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"description": "A ReactJS component that creates a pagination.", | ||
@@ -28,2 +28,3 @@ "main": "./react_components/index.js", | ||
"browserify": "~6.0.3", | ||
"classnames": "^1.2.0", | ||
"express": "^4.12.1", | ||
@@ -35,3 +36,3 @@ "gulp": "~3.8.8", | ||
"jquery": "^2.1.3", | ||
"react": "~0.12.2", | ||
"react": "~0.13.1", | ||
"react-tools": "~0.12.2", | ||
@@ -38,0 +39,0 @@ "reactify": "1.0.0", |
'use strict'; | ||
var React = require('react/addons'); | ||
var React = require('react'); | ||
var classNames = require('classnames'); | ||
var PaginationListView = require("./PaginationListView.jsx"); | ||
@@ -67,5 +68,3 @@ | ||
render: function() { | ||
var cx = React.addons.classSet; | ||
var previousClasses = cx({ | ||
var previousClasses = classNames({ | ||
'previous': true, | ||
@@ -75,3 +74,3 @@ 'disabled': this.state.selected === 0 | ||
var nextClasses = cx({ | ||
var nextClasses = classNames({ | ||
'next': true, | ||
@@ -78,0 +77,0 @@ 'disabled': this.state.selected === this.props.pageNum - 1 |
'use strict'; | ||
var _ = require("underscore"); | ||
var React = require('react'); | ||
var React = require('react/addons'); | ||
var PageView = require("./PageView.jsx"); | ||
@@ -6,0 +6,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
263224
1268
15