Socket
Socket
Sign inDemoInstall

react-resizable-box

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-resizable-box - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

9

lib/index.js

@@ -114,7 +114,8 @@ 'use strict';

var newWidth = typeof this.props.width === 'undefined' ? 'auto' : this.props.width;
if (width !== newWidth) {
this.setState({ width: newWidth });
if (width !== this.props.width) {
this.setState({ width: width });
}
if (height !== this.props.height) this.setState({ height: height });
if (height !== this.props.height) {
this.setState({ height: height });
}
}

@@ -121,0 +122,0 @@ }, {

{
"name": "react-resizable-box",
"version": "2.0.3",
"version": "2.0.4",
"description": "",

@@ -50,4 +50,4 @@ "main": "lib/index.js",

"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "6.10.3",
"eslint-plugin-jsx-a11y": "^5.0.0",
"eslint-plugin-react": "7.0.0",
"espower-babel": "4.0.3",

@@ -57,3 +57,3 @@ "estraverse": "4.2.0",

"flow-bin": "^0.45.0",
"flow-runtime": "^0.11.0",
"flow-runtime": "^0.12.0",
"husky": "^0.13.3",

@@ -73,3 +73,3 @@ "karma": "^1.6.0",

"react-dom": "^15.5.3",
"sinon": "2.1.0",
"sinon": "2.2.0",
"watchify": "3.9.0"

@@ -76,0 +76,0 @@ },

@@ -218,2 +218,6 @@ # react-resizable-box

#### v2.0.4
- Fix receiveProps. (related #85)
#### v2.0.3

@@ -220,0 +224,0 @@

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