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

react-resizable

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-resizable - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

CHANGELOG.md

9

build/Resizable.js

@@ -19,2 +19,4 @@ 'use strict';

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -160,3 +162,8 @@

Resizable.prototype.render = function render() {
var p = this.props;
var _props = this.props;
var width = _props.width;
var height = _props.height;
var p = _objectWithoutProperties(_props, ['width', 'height']);
var className = p.className ? p.className + ' react-resizable' : 'react-resizable';

@@ -163,0 +170,0 @@

4

build/ResizableBox.js

@@ -67,4 +67,6 @@ 'use strict';

var lockAspectRatio = _props.lockAspectRatio;
var width = _props.width;
var height = _props.height;
var props = _objectWithoutProperties(_props, ['handleSize', 'onResizeStart', 'onResizeStop', 'draggableOpts', 'minConstraints', 'maxConstraints', 'lockAspectRatio']);
var props = _objectWithoutProperties(_props, ['handleSize', 'onResizeStart', 'onResizeStop', 'draggableOpts', 'minConstraints', 'maxConstraints', 'lockAspectRatio', 'width', 'height']);

@@ -71,0 +73,0 @@ return _react2.default.createElement(

{
"name": "react-resizable",
"version": "1.3.1",
"version": "1.3.2",
"description": "A component that is resizable with handles.",

@@ -5,0 +5,0 @@ "main": "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