@juggle/resize-observer
Advanced tools
Comparing version 0.8.0 to 0.9.0
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": { |
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
36922
39
483