Socket
Socket
Sign inDemoInstall

antd

Package Overview
Dependencies
Maintainers
4
Versions
846
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.8.0-beta3 to 0.8.0-beta4

6

lib/index.js

@@ -43,5 +43,5 @@ require('./index.css');

Validation: require('./validation'),
Tree: require('./Tree'),
Tree: require('./tree'),
Upload: require('./upload'),
Menu: require('./Menu')
Menu: require('./menu')
};

@@ -51,2 +51,2 @@

antd.version = '0.8.0-beta3';
antd.version = '0.8.0-beta4';

@@ -24,9 +24,16 @@ 'use strict';

return {
prefixCls: 'ant-tree'
prefixCls: 'ant-tree',
checkable: false,
showIcon: false
};
},
render: function render() {
var props = this.props;
var checkable = props.checkable;
if (checkable) {
checkable = _react2['default'].createElement('span', { className: props.prefixCls + '-checkbox-inner' });
}
return _react2['default'].createElement(
_rcTree2['default'],
_extends({}, this.props, { showIcon: false }),
_extends({}, props, { checkable: checkable }),
this.props.children

@@ -33,0 +40,0 @@ );

{
"name": "antd",
"version": "0.8.0-beta3",
"version": "0.8.0-beta4",
"stableVersion": "0.7.3",

@@ -71,2 +71,4 @@ "title": "Ant Design",

"babel-loader": "^5.3.2",
"busboy": "~0.2.9",
"chalk": "~1.1.0",
"css-animation": "~1.0.3",

@@ -85,4 +87,3 @@ "css-loader": "^0.14.1",

"webpack": "^1.10.1",
"webpack-dev-middleware": "^1.2.0",
"busboy": "~0.2.9"
"webpack-dev-middleware": "^1.2.0"
},

@@ -89,0 +90,0 @@ "scripts": {

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