Socket
Socket
Sign inDemoInstall

@juggle/resize-observer

Package Overview
Dependencies
0
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.3.0

5

lib/utils/scheduler.js
import { process } from '../ResizeObserverController';
import { prettifyConsoleOutput } from './prettify';
const CATCH_FRAMES = 5;
const CATCH_FRAMES = 60 / 5;
const requestAnimationFrame = window.requestAnimationFrame;

@@ -58,5 +58,2 @@ const observerConfig = { attributes: true, characterData: true, childList: true, subtree: true };

run(frames) {
if (resizeObserverSlot.has(this)) {
return;
}
const scheduler = this;

@@ -63,0 +60,0 @@ resizeObserverSlot.set(this, function ResizeObserver() {

2

package.json
{
"name": "@juggle/resize-observer",
"version": "1.2.0",
"version": "1.3.0",
"description": "Polyfills the ResizeObserver API and supports box size options from the latest spec",

@@ -5,0 +5,0 @@ "main": "./lib/ResizeObserver.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc