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

re-resizable

Package Overview
Dependencies
Maintainers
1
Versions
88
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 4.0.0-beta.0 to 4.0.0-beta.1

3

lib/index.es5.js

@@ -690,5 +690,4 @@ 'use strict';

if (typeof window !== 'undefined') {
// const style = window.getComputedStyle(this.resizable, null);
width = this.resizable.offsetWidth;
height = this.resizable.offsetHeight; // +style.getPropertyValue('height').replace('px', '');
height = this.resizable.offsetHeight;
}

@@ -695,0 +694,0 @@ return { width: width, height: height };

@@ -688,5 +688,4 @@ import { Component, createElement } from 'react';

if (typeof window !== 'undefined') {
// const style = window.getComputedStyle(this.resizable, null);
width = this.resizable.offsetWidth;
height = this.resizable.offsetHeight; // +style.getPropertyValue('height').replace('px', '');
height = this.resizable.offsetHeight;
}

@@ -693,0 +692,0 @@ return { width: width, height: height };

@@ -692,5 +692,4 @@ (function (global, factory) {

if (typeof window !== 'undefined') {
// const style = window.getComputedStyle(this.resizable, null);
width = this.resizable.offsetWidth;
height = this.resizable.offsetHeight; // +style.getPropertyValue('height').replace('px', '');
height = this.resizable.offsetHeight;
}

@@ -697,0 +696,0 @@ return { width: width, height: height };

{
"name": "re-resizable",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"description": "Resizable component for React.",

@@ -28,3 +28,3 @@ "title": "re-resizable",

"flow-copy": "flow-copy-source -v src lib && cp lib/index.js.flow lib/index.es5.js.flow ",
"prepublish": "npm run build && npm run flow-copy",
"prepublish": "npm run build && npm run flow && npm run flow-copy",
"storybook": "start-storybook -p 6066",

@@ -31,0 +31,0 @@ "build-storybook": "build-storybook",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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