Socket
Socket
Sign inDemoInstall

rc-steps

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-steps - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

assets/iconfont.css

12

lib/Steps.js

@@ -20,6 +20,10 @@ 'use strict';

iconPrefix: 'rc',
maxDescriptionWidth: 120
maxDescriptionWidth: 120,
direction: ''
};
},
componentDidMount: function componentDidMount() {
if (this.props.direction === 'vertical') {
return;
}
var $dom = React.findDOMNode(this);

@@ -55,2 +59,5 @@ var len = $dom.children.length - 1;

componentWillUnmount: function componentWillUnmount() {
if (this.props.direction === 'vertical') {
return;
}
if (window.attachEvent) {

@@ -62,2 +69,5 @@ window.detachEvent('onresize', this._resize);

},
componentDidUpdate: function componentDidUpdate() {
this._resize();
},
_resize: function _resize() {

@@ -64,0 +74,0 @@ var w = Math.floor(React.findDOMNode(this).offsetWidth);

2

package.json
{
"name": "rc-steps",
"version": "1.2.3",
"version": "1.2.4",
"description": "steps 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