Gathering detailed insights and metrics for rc-resize-observer-modern
Gathering detailed insights and metrics for rc-resize-observer-modern
Gathering detailed insights and metrics for rc-resize-observer-modern
Gathering detailed insights and metrics for rc-resize-observer-modern
npm install rc-resize-observer-modern
Typescript
Module System
Node Version
NPM Version
64.8
Supply Chain
80
Quality
79.2
Maintenance
100
Vulnerability
100
License
JavaScript (46.76%)
TypeScript (44.59%)
Less (8.65%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
934
Last Day
5
Last Week
9
Last Month
36
Last Year
934
MIT License
188 Stars
88 Commits
44 Forks
5 Watchers
12 Branches
33 Contributors
Updated on Jan 26, 2025
Minified
Minified + Gzipped
Latest Version
1.4.4
Package Id
rc-resize-observer-modern@1.4.4
Unpacked Size
31.63 kB
Size
7.29 kB
File Count
25
NPM Version
10.2.4
Node Version
20.11.1
Published on
May 11, 2024
Cumulative downloads
Total Downloads
Last Day
0%
5
Compared to previous day
Last Week
28.6%
9
Compared to previous week
Last Month
89.5%
36
Compared to previous month
Last Year
0%
934
Compared to previous year
3
Resize observer for React.
https://react-component.github.io/resize-observer/
1import ResizeObserver from 'rc-resize-observer'; 2import { render } from 'react-dom'; 3 4render( 5 <ResizeObserver 6 onResize={() => { 7 console.log('resized!'); 8 }} 9 > 10 <textarea /> 11 </ResizeObserver>, 12 mountNode, 13);
Property | Type | Default | Description |
---|---|---|---|
disabled | boolean | false | |
onResize | ({ width, height }) => void | - | Trigger when child node resized |
npm install
npm start
rc-resize-observer is released under the MIT license.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
10 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 9
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 8/22 approved changesets -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-02-10
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