Socket
Socket
Sign inDemoInstall

re-resizable

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

re-resizable - npm Package Compare versions

Comparing version 6.9.12 to 6.9.13

10

lib/index.es5.js

@@ -688,6 +688,8 @@ 'use strict';

var gap = this.props.snapGap || 0;
widthChangedWithGrid = gap === 0 || Math.abs(newGridWidth - newWidth) <= gap;
heightChangedWithGrid = gap === 0 || Math.abs(newGridHeight - newHeight) <= gap;
newWidth = widthChangedWithGrid ? newGridWidth : newWidth;
newHeight = heightChangedWithGrid ? newGridHeight : newHeight;
var w = gap === 0 || Math.abs(newGridWidth - newWidth) <= gap ? newGridWidth : newWidth;
var h = gap === 0 || Math.abs(newGridHeight - newHeight) <= gap ? newGridHeight : newHeight;
widthChangedWithGrid = w !== newWidth;
heightChangedWithGrid = h !== newHeight;
newWidth = w;
newHeight = h;
}

@@ -694,0 +696,0 @@ var delta = {

@@ -621,6 +621,8 @@ var __extends = (this && this.__extends) || (function () {

var gap = this.props.snapGap || 0;
widthChangedWithGrid = gap === 0 || Math.abs(newGridWidth - newWidth) <= gap;
heightChangedWithGrid = gap === 0 || Math.abs(newGridHeight - newHeight) <= gap;
newWidth = widthChangedWithGrid ? newGridWidth : newWidth;
newHeight = heightChangedWithGrid ? newGridHeight : newHeight;
var w = gap === 0 || Math.abs(newGridWidth - newWidth) <= gap ? newGridWidth : newWidth;
var h = gap === 0 || Math.abs(newGridHeight - newHeight) <= gap ? newGridHeight : newHeight;
widthChangedWithGrid = w !== newWidth;
heightChangedWithGrid = h !== newHeight;
newWidth = w;
newHeight = h;
}

@@ -627,0 +629,0 @@ var delta = {

2

package.json
{
"name": "re-resizable",
"version": "6.9.12",
"version": "6.9.13",
"description": "Resizable component for React.",

@@ -5,0 +5,0 @@ "title": "re-resizable",

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