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

react-resize-detector

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-resize-detector - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

5

lib/components/ResizeDetector.js

@@ -90,6 +90,3 @@ "use strict";

if (!currentElement) return undefined;
var renderType = _this.getRenderType();
return renderType === 'parent' ? currentElement.parentElement : currentElement;
return currentElement.parentElement;
});

@@ -96,0 +93,0 @@

@@ -73,6 +73,3 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

if (!currentElement) return undefined;
var renderType = _this.getRenderType();
return renderType === 'parent' ? currentElement.parentElement : currentElement;
return currentElement.parentElement;
});

@@ -79,0 +76,0 @@

2

package.json

@@ -46,3 +46,3 @@ {

"author": "Vitalii Maslianok <maslianok@gmail.com> (https://github.com/maslianok)",
"version": "4.0.1",
"version": "4.0.2",
"bugs": {

@@ -49,0 +49,0 @@ "url": "https://github.com/maslianok/react-resize-detector/issues"

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