Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "async-rect", | ||
"version": "1.0.0", | ||
"description": "Async version of getBoundingClientRect(), using IntersectionObserver", | ||
"version": "1.0.1", | ||
"description": "DEPRECATED - do not use", | ||
"main": "dist/async-rect.cjs.js", | ||
@@ -6,0 +6,0 @@ "module": "dist/async-rect.es.js", |
@@ -0,1 +1,8 @@ | ||
DEPRECATION NOTICE | ||
===== | ||
This library was built on faulty assumptions. You are better off calling `getBoundingClientRect()` inside of `requestAnimationFrame()`, which has essentially the same effect while avoiding the cost of creating an IntersectionObserver, as [this benchmark](https://bl.ocks.org/nolanlawson/daa6100518e00f9354e04a6a6b09926e) demonstrates. | ||
Original documentation follows. | ||
async-rect [![Build Status](https://travis-ci.org/nolanlawson/async-rect.svg?branch=master)](https://travis-ci.org/nolanlawson/async-rect) | ||
@@ -60,2 +67,2 @@ ==== | ||
npm test | ||
npm test |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
20114
68
1