react-resize-detector
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -32,3 +32,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; 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); } | ||
import React, { createRef, forwardRef } from 'react'; | ||
import { shape, func, oneOfType, instanceOf } from 'prop-types'; | ||
import { shape, func, oneOfType, any } from 'prop-types'; | ||
import ResizeDetector from "../components/ResizeDetector"; | ||
@@ -92,3 +92,3 @@ | ||
forwardedRef: oneOfType([func, shape({ | ||
current: instanceOf(Element) | ||
current: any | ||
})]) | ||
@@ -95,0 +95,0 @@ }; |
@@ -106,3 +106,3 @@ "use strict"; | ||
forwardedRef: (0, _propTypes.oneOfType)([_propTypes.func, (0, _propTypes.shape)({ | ||
current: (0, _propTypes.instanceOf)(Element) | ||
current: _propTypes.any | ||
})]) | ||
@@ -109,0 +109,0 @@ }; |
@@ -47,3 +47,3 @@ { | ||
"author": "Vitalii Maslianok <maslianok@gmail.com> (https://github.com/maslianok)", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"bugs": { | ||
@@ -50,0 +50,0 @@ "url": "https://github.com/maslianok/react-resize-detector/issues" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66867