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

rc-resize-observer

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-resize-observer - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

8

es/SingleObserver/index.js

@@ -16,6 +16,6 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

var sizeRef = React.useRef({
width: 0,
height: 0,
offsetWidth: 0,
offsetHeight: 0
width: -1,
height: -1,
offsetWidth: -1,
offsetHeight: -1
}); // ============================= Ref ==============================

@@ -22,0 +22,0 @@

@@ -34,6 +34,6 @@ "use strict";

var sizeRef = React.useRef({
width: 0,
height: 0,
offsetWidth: 0,
offsetHeight: 0
width: -1,
height: -1,
offsetWidth: -1,
offsetHeight: -1
}); // ============================= Ref ==============================

@@ -40,0 +40,0 @@

{
"name": "rc-resize-observer",
"version": "1.1.1",
"version": "1.1.2",
"description": "Resize observer for React",

@@ -5,0 +5,0 @@ "keywords": [

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