Socket
Socket
Sign inDemoInstall

@juggle/resize-observer

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@juggle/resize-observer - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

3

lib/exports/resize-observer.umd.js

@@ -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);

2

package.json
{
"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).
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