@juggle/resize-observer
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -84,2 +84,5 @@ (function (global, factory) { | ||
var _a, _b; | ||
if (obj instanceof Element) { | ||
return true; | ||
} | ||
var scope = (_b = (_a = obj) === null || _a === void 0 ? void 0 : _a.ownerDocument) === null || _b === void 0 ? void 0 : _b.defaultView; | ||
@@ -86,0 +89,0 @@ return !!(scope && obj instanceof scope.Element); |
@@ -12,2 +12,5 @@ var isSVG = function (target) { return target instanceof SVGElement && 'getBBox' in target; }; | ||
var _a, _b; | ||
if (obj instanceof Element) { | ||
return true; | ||
} | ||
var scope = (_b = (_a = obj) === null || _a === void 0 ? void 0 : _a.ownerDocument) === null || _b === void 0 ? void 0 : _b.defaultView; | ||
@@ -14,0 +17,0 @@ return !!(scope && obj instanceof scope.Element); |
{ | ||
"name": "@juggle/resize-observer", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "Polyfills the ResizeObserver API and supports box size options from the latest spec", | ||
@@ -5,0 +5,0 @@ "main": "lib/exports/resize-observer.umd.js", |
@@ -8,4 +8,4 @@ <p align="center"> | ||
<p align="center"> | ||
<img src="https://img.shields.io/circleci/project/github/juggle/resize-observer/master.svg?logo=circleci&style=for-the-badge" /> | ||
<img src="https://img.shields.io/coveralls/github/juggle/resize-observer.svg?logoColor=white&style=for-the-badge" /> | ||
<img src="https://img.shields.io/circleci/project/github/juggle/resize-observer/v3.svg?logo=circleci&style=for-the-badge" /> | ||
<img src="https://img.shields.io/coveralls/github/juggle/resize-observer/v3.svg?logoColor=white&style=for-the-badge" /> | ||
<img src="https://img.shields.io/bundlephobia/minzip/@juggle/resize-observer.svg?colorB=%233399ff&style=for-the-badge" /> | ||
@@ -222,2 +222,2 @@ <img src="https://img.shields.io/npm/l/@juggle/resize-observer.svg?colorB=%233399ff&style=for-the-badge" /> | ||
\*\*IE10 requires additional polyfills for `Map` and `MutationObserver`. IE9 requires IE10 polyfills plus `requestAnimationFrame`. For more information, [see issue here](https://github.com/juggle/resize-observer/issues/64). | ||
\*\*IE10 requires additional polyfills for `WeakMap`, `MutationObserver` and `devicePixelRatio`. IE9 requires IE10 polyfills plus `requestAnimationFrame`. For more information, [see issue here](https://github.com/juggle/resize-observer/issues/64). |
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
73672
1193