Socket
Socket
Sign inDemoInstall

@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.2 to 1.0.0

2

package.json
{
"name": "@juggle/resize-observer",
"version": "1.0.0-rc.2",
"version": "1.0.0",
"description": "ResizeObserver - Based on the official draft specification",

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

@@ -71,3 +71,6 @@ # Resize Observer Polyfill

> **Warning:** The latest Resize Observer specification is not yet finalised and is subject to change.
> Any drastic changes to the specification will bump the major version of this library, as there will likely be breaking changes.
## Switching between native and polyfilled versions

@@ -113,3 +116,9 @@

## Notification Schedule
Notifications are scheduled after all other changes have occured and all other animation callbacks have been called. This allows the observer callback to get the most accurate size of an element, as no other changes should occur in the same frame.
![resize observer notification schedule](https://user-images.githubusercontent.com/1519516/52825568-20433500-30b5-11e9-9854-4cee13a09a7d.jpg)
## How are differences detected?

@@ -133,2 +142,3 @@

## Features

@@ -144,2 +154,3 @@

## Limitations

@@ -155,4 +166,17 @@

## Tested Browsers
| Browser Name | Desktop | Mobile |
| ---------------- | ------- | ------ |
| Chrome | ✓ | ✓ |
| Safari | ✓ | ✓ |
| Firefox | ✓ | ✓ |
| Opera | ✓ | ✓ |
| Opera Mini | N/A | ✓ |
| Samsung Internet | N/A | ✓ |
| IE11 | ✓ | N/A |
| Edge | ✓ | ✓ |
## TypeScript support
This library is written in TypeScript, however, it's compiled into JavaScript during release. Definition files are included in the package and should be picked up automatically to re-enable support in TypeScript projects.
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