Gathering detailed insights and metrics for @types/resize-observer-browser
Gathering detailed insights and metrics for @types/resize-observer-browser
Gathering detailed insights and metrics for @types/resize-observer-browser
Gathering detailed insights and metrics for @types/resize-observer-browser
The repository for high quality TypeScript type definitions.
npm install @types/resize-observer-browser
Typescript
Module System
100
Supply Chain
81.4
Quality
75.7
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
158,222,209
Last Day
27,931
Last Week
638,813
Last Month
2,731,677
Last Year
32,766,680
NOASSERTION License
49,990 Stars
89,688 Commits
30,436 Forks
641 Watchers
6 Branches
9,957 Contributors
Updated on Jul 03, 2025
Latest Version
0.1.11
Package Id
@types/resize-observer-browser@0.1.11
Unpacked Size
5.31 kB
Size
1.97 kB
File Count
5
Published on
Nov 21, 2023
Cumulative downloads
Total Downloads
Last Day
-2.6%
27,931
Compared to previous day
Last Week
-4.5%
638,813
Compared to previous week
Last Month
-1.6%
2,731,677
Compared to previous month
Last Year
-6.9%
32,766,680
Compared to previous year
npm install --save @types/resize-observer-browser
This package contains type definitions for resize-observer-browser (https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/resize-observer-browser.
1interface Window { 2 ResizeObserver: typeof ResizeObserver; 3} 4 5interface ResizeObserverOptions { 6 /** 7 * Sets which box model the observer will observe changes to. Possible values 8 * are `content-box` (the default), and `border-box`. 9 * 10 * @default 'content-box' 11 */ 12 box?: "content-box" | "border-box" | "device-pixel-content-box" | undefined; 13} 14 15interface ResizeObserverSize { 16 readonly inlineSize: number; 17 readonly blockSize: number; 18} 19 20interface ResizeObserver { 21 disconnect(): void; 22 observe(target: Element, options?: ResizeObserverOptions): void; 23 unobserve(target: Element): void; 24} 25 26declare var ResizeObserver: { 27 new(callback: ResizeObserverCallback): ResizeObserver; 28 prototype: ResizeObserver; 29}; 30 31interface ResizeObserverCallback { 32 (entries: ResizeObserverEntry[], observer: ResizeObserver): void; 33} 34 35interface ResizeObserverEntry { 36 readonly target: Element; 37 readonly contentRect: DOMRectReadOnly; 38 readonly borderBoxSize: readonly ResizeObserverSize[]; 39 readonly contentBoxSize: readonly ResizeObserverSize[]; 40 readonly devicePixelContentBoxSize: readonly ResizeObserverSize[]; 41} 42
These definitions were written by Chives, William Furr, and Alexander Shushunov.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 25/29 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More