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 1.0.0-rc.0 to 1.0.0-rc.1

3

lib/ResizeObserver.d.ts
import { ResizeObserverCallback } from './ResizeObserverCallback';
import { ResizeObserverOptions } from './ResizeObserverOptions';
export default class ResizeObserver {
declare class ResizeObserver {
constructor(callback: ResizeObserverCallback);

@@ -10,2 +10,3 @@ observe(target: Element, options?: ResizeObserverOptions): void;

}
export default ResizeObserver;
export { ResizeObserver };

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

const DPPB = ResizeObserverBoxOptions.DEVICE_PIXEL_BORDER_BOX;
export default class ResizeObserver {
class ResizeObserver {
constructor(callback) {

@@ -44,2 +44,3 @@ if (arguments.length === 0) {

}
export default ResizeObserver;
export { ResizeObserver };

@@ -7,3 +7,3 @@ import { ResizeObserver } from './ResizeObserver';

declare const process: () => boolean;
export default class ResizeObserverController {
declare class ResizeObserverController {
static connect(resizeObserver: ResizeObserver, callback: ResizeObserverCallback): void;

@@ -10,0 +10,0 @@ static observe(resizeObserver: ResizeObserver, target: Element, options?: ResizeObserverOptions): void;

@@ -37,3 +37,3 @@ import { scheduler } from './utils/scheduler';

};
export default class ResizeObserverController {
class ResizeObserverController {
static connect(resizeObserver, callback) {

@@ -40,0 +40,0 @@ const detail = new ResizeObserverDetail(resizeObserver, callback);

import { ResizeObserverBoxOptions } from './ResizeObserverBoxOptions';
export default interface ResizeObserverOptions {
interface ResizeObserverOptions {
box: ResizeObserverBoxOptions | undefined;
}
export { ResizeObserverOptions };
{
"name": "@juggle/resize-observer",
"version": "1.0.0-rc.0",
"version": "1.0.0-rc.1",
"description": "ResizeObserver - Based on the official draft specification",

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

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