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 6.0.1-rc.5 to 6.1.0

7

build/index.esm.js

@@ -269,3 +269,8 @@ import React,{cloneElement,isValidElement,createRef,PureComponent,forwardRef,Component,useRef,useEffect,useState}from'react';import {findDOMNode}from'react-dom';import rafSchd from'raf-schd';import debounce from'lodash.debounce';import throttle from'lodash.throttle';/*! *****************************************************************************

}
setSize({ width: width, height: height });
setSize(function (prev) {
if (prev.width === width && prev.height === height) {
return prev;
}
return { width: width, height: height };
});
});

@@ -272,0 +277,0 @@ };

@@ -269,3 +269,8 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var React=require('react'),reactDom=require('react-dom'),rafSchd=require('raf-schd'),debounce=require('lodash.debounce'),throttle=require('lodash.throttle');function _interopDefaultLegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var React__default=/*#__PURE__*/_interopDefaultLegacy(React);var rafSchd__default=/*#__PURE__*/_interopDefaultLegacy(rafSchd);var debounce__default=/*#__PURE__*/_interopDefaultLegacy(debounce);var throttle__default=/*#__PURE__*/_interopDefaultLegacy(throttle);/*! *****************************************************************************

}
setSize({ width: width, height: height });
setSize(function (prev) {
if (prev.width === width && prev.height === height) {
return prev;
}
return { width: width, height: height };
});
});

@@ -272,0 +277,0 @@ };

@@ -271,3 +271,8 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var React=require('react'),reactDom=require('react-dom'),rafSchd=require('raf-schd'),debounce=require('lodash.debounce'),throttle=require('lodash.throttle');function _interopDefaultLegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var React__default=/*#__PURE__*/_interopDefaultLegacy(React);var rafSchd__default=/*#__PURE__*/_interopDefaultLegacy(rafSchd);var debounce__default=/*#__PURE__*/_interopDefaultLegacy(debounce);var throttle__default=/*#__PURE__*/_interopDefaultLegacy(throttle);/*! *****************************************************************************

}
setSize({ width: width, height: height });
setSize(function (prev) {
if (prev.width === width && prev.height === height) {
return prev;
}
return { width: width, height: height };
});
});

@@ -274,0 +279,0 @@ };

2

package.json

@@ -56,3 +56,3 @@ {

"author": "Vitalii Maslianok <maslianok@gmail.com> (https://github.com/maslianok)",
"version": "6.0.1-rc.5",
"version": "6.1.0",
"bugs": {

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

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