Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

antd

Package Overview
Dependencies
Maintainers
4
Versions
850
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antd - npm Package Compare versions

Comparing version 0.7.3-beta2 to 0.7.3-beta3

2

lib/index.js

@@ -31,2 +31,2 @@ require('./index.css');

antd.version = '0.7.3-beta2';
antd.version = '0.7.3-beta3';

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

var noPagination = this.props.pagination === false;
var pagination = (0, _objectAssign2['default'])({
pageSize: 10,
total: this.props.dataSource.length
}, this.props.pagination);
var pagination = this.initPagination(this.props.pagination);

@@ -86,2 +83,17 @@ return {

},
componentWillReceiveProps: function componentWillReceiveProps(nextProps) {
if ('pagination' in nextProps) {
var noPagination = nextProps.pagination === false;
this.setState({
pagination: this.initPagination(nextProps.pagination),
noPagination: noPagination
});
}
},
initPagination: function initPagination(pagination) {
return (0, _objectAssign2['default'])({
pageSize: 10,
total: this.props.dataSource.length
}, pagination);
},
toggleSortOrder: function toggleSortOrder(order, column) {

@@ -88,0 +100,0 @@ var sortColumn = this.state.sortColumn;

{
"name": "antd",
"version": "0.7.3-beta2",
"version": "0.7.3-beta3",
"stableVersion": "0.7.2",

@@ -5,0 +5,0 @@ "title": "Ant Design",

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