Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 0.8.0 to 0.9.0

2

lib/algorithms/calculateBoxSize.js
import { ResizeObserverBoxOptions } from '../ResizeObserverBoxOptions';
import { DOMRectReadOnly } from '../DOMRectReadOnly';
const cache = new Map();
const IE = (/msie|trident/i).test(navigator.userAgent);

@@ -7,3 +8,2 @@ const parseDimension = (pixel) => parseFloat(pixel || '0');

&& target instanceof SVGGraphicsElement && 'getBBox' in target;
const cache = new Map();
const calculateBoxSizes = (target) => {

@@ -10,0 +10,0 @@ if (cache.has(target)) {

{
"name": "@juggle/resize-observer",
"version": "0.8.0",
"version": "0.9.0",
"description": "ResizeObserver - Based on the official draft specification",
"main": "./lib/ResizeObserver.js",
"files": [
"lib/**/*.{js,ts}",
"src/**/*.ts"
"lib/**/*.{js,ts}"
],

@@ -10,0 +9,0 @@ "scripts": {

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