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

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 0.3.2 to 0.3.3

15

lib/index.js

@@ -64,2 +64,11 @@ 'use strict';

}, {
key: 'componentWillReceiveProps',
value: function componentWillReceiveProps(_ref) {
var width = _ref.width;
var height = _ref.height;
if (width !== this.props.width) this.setState({ width: width });
if (height !== this.props.height) this.setState({ height: height });
}
}, {
key: 'componentWillUnmount',

@@ -79,5 +88,5 @@ value: function componentWillUnmount() {

key: 'onMouseMove',
value: function onMouseMove(_ref) {
var clientX = _ref.clientX;
var clientY = _ref.clientY;
value: function onMouseMove(_ref2) {
var clientX = _ref2.clientX;
var clientY = _ref2.clientY;
var _state = this.state;

@@ -84,0 +93,0 @@ var direction = _state.direction;

2

package.json
{
"name": "react-resizable-box",
"version": "0.3.2",
"version": "0.3.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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