New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-resizable-rotatable-draggable

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-resizable-rotatable-draggable - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

6

lib/utils.js

@@ -79,2 +79,4 @@ "use strict";

rotateAngle = rect.rotateAngle;
var widthFlag = width < 0 ? -1 : 1;
var heightFlag = height < 0 ? -1 : 1;
width = Math.abs(width);

@@ -267,4 +269,4 @@ height = Math.abs(height);

size: {
width: width,
height: height
width: width * widthFlag,
height: height * heightFlag
}

@@ -271,0 +273,0 @@ };

{
"name": "react-resizable-rotatable-draggable",
"version": "0.1.7",
"version": "0.1.8",
"description": "A rectangle react component which can be resized and rotated",

@@ -5,0 +5,0 @@ "author": "MockingBot",

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