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 3.0.0-0 to 3.0.0-1

2

lib/algorithms/calculateBoxSize.js

@@ -34,3 +34,3 @@ import { ResizeObserverBoxOptions } from '../ResizeObserverBoxOptions';

var cs = getComputedStyle(target);
var svg = isSVG(target) && target.getBBox();
var svg = isSVG(target) && !target.ownerSVGElement && target.getBBox();
var removePadding = !IE && cs.boxSizing === 'border-box';

@@ -37,0 +37,0 @@ var switchSizes = verticalRegexp.test(cs.writingMode || '');

@@ -116,3 +116,3 @@ (function (global, factory) {

var cs = getComputedStyle(target);
var svg = isSVG(target) && target.getBBox();
var svg = isSVG(target) && !target.ownerSVGElement && target.getBBox();
var removePadding = !IE && cs.boxSizing === 'border-box';

@@ -119,0 +119,0 @@ var switchSizes = verticalRegexp.test(cs.writingMode || '');

@@ -10,3 +10,2 @@ import { ResizeObserverCallback } from './ResizeObserverCallback';

}
export default ResizeObserver;
export { ResizeObserver };

@@ -38,3 +38,2 @@ import { ResizeObserverController } from './ResizeObserverController';

}());
export default ResizeObserver;
export { ResizeObserver };
{
"name": "@juggle/resize-observer",
"version": "3.0.0-0",
"version": "3.0.0-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",

@@ -31,3 +31,3 @@ <p align="center">

``` js
import ResizeObserver from '@juggle/resize-observer';
import { ResizeObserver } from '@juggle/resize-observer';

@@ -45,3 +45,3 @@ const ro = new ResizeObserver((entries, observer) => {

``` js
import ResizeObserver from '@juggle/resize-observer';
import { ResizeObserver } from '@juggle/resize-observer';

@@ -64,3 +64,3 @@ const ro = new ResizeObserver((entries, observer) => {

``` js
import ResizeObserver from '@juggle/resize-observer';
import { ResizeObserver } from '@juggle/resize-observer';

@@ -89,3 +89,3 @@ const ro = new ResizeObserver((entries, observer) => {

``` js
import ResizeObserver from '@juggle/resize-observer';
import { ResizeObserver } from '@juggle/resize-observer';

@@ -147,3 +147,3 @@ const ro = new ResizeObserver((entries, observer) => {

```js
import ResizeObserver from '@juggle/resize-observer';
import { ResizeObserver } from '@juggle/resize-observer';

@@ -150,0 +150,0 @@ const ro = new ResizeObserver((entries, observer) => {

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