Socket
Socket
Sign inDemoInstall

react-rnd

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-rnd - npm Package Compare versions

Comparing version 10.1.2 to 10.1.3

5

lib/index.es5.js

@@ -236,4 +236,7 @@ 'use strict';

var scale = this.props.scale;
var offset = this.getOffsetFromParent();
var pos = this.getDraggablePosition();
this.resizingPosition = { x: pos.x + offset.left, y: pos.y + offset.top };
this.setState({
original: this.getDraggablePosition(),
original: pos,
});

@@ -240,0 +243,0 @@ if (this.props.bounds) {

@@ -232,4 +232,7 @@ import { createElement, PureComponent } from 'react';

var scale = this.props.scale;
var offset = this.getOffsetFromParent();
var pos = this.getDraggablePosition();
this.resizingPosition = { x: pos.x + offset.left, y: pos.y + offset.top };
this.setState({
original: this.getDraggablePosition(),
original: pos,
});

@@ -236,0 +239,0 @@ if (this.props.bounds) {

4

package.json
{
"name": "react-rnd",
"version": "10.1.2",
"version": "10.1.3",
"description": "",

@@ -93,3 +93,3 @@ "title": "react-rnd",

"tslint-react": "4.0.0",
"typescript": "3.6.3"
"typescript": "3.7.3"
},

@@ -96,0 +96,0 @@ "files": [

@@ -511,2 +511,7 @@ <p align="center"><img src ="https://github.com/bokuweb/react-rnd/blob/master/logo.png?raw=true" /></p>

#### v10.1.2
- Upgrade re-resizable to 6.1.1
- Upgrade react-draggable to 4.1.0
#### v10.1.1

@@ -513,0 +518,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