Comparing version 1.4.0 to 1.4.1
@@ -36,2 +36,4 @@ 'use strict'; | ||
componentDidMount: function componentDidMount() { | ||
var _this = this; | ||
if (this.props.direction === 'vertical') { | ||
@@ -64,5 +66,4 @@ return; | ||
*/ | ||
var me = this; | ||
setTimeout(function () { | ||
me._resize(); | ||
_this._resize(); | ||
}); | ||
@@ -115,2 +116,4 @@ | ||
render: function render() { | ||
var _this2 = this; | ||
var props = this.props; | ||
@@ -134,3 +137,3 @@ var prefixCls = props.prefixCls; | ||
stepLast: idx === len, | ||
tailWidth: iws.length === 0 || idx === len ? 'auto' : iws[idx] + this.state.tailWidth, | ||
tailWidth: iws.length === 0 || idx === len ? 'auto' : iws[idx] + _this2.state.tailWidth, | ||
prefixCls: prefixCls, | ||
@@ -137,0 +140,0 @@ iconPrefix: iconPrefix, |
{ | ||
"name": "rc-steps", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "steps ui component for react", | ||
@@ -11,2 +11,6 @@ "keywords": [ | ||
"main": "./lib/index", | ||
"files": [ | ||
"lib", | ||
"assets/*.css" | ||
], | ||
"homepage": "http://github.com/react-component/steps", | ||
@@ -45,3 +49,3 @@ "maintainers": [ | ||
"expect.js": "~0.3.x", | ||
"precommit-hook": "1.x", | ||
"pre-commit": "1.x", | ||
"rc-server": "3.x", | ||
@@ -52,5 +56,5 @@ "rc-tools": "~4.2.6", | ||
}, | ||
"precommit": [ | ||
"pre-commit": [ | ||
"lint" | ||
] | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24931
8
913
2