{"id":11292026,"name":"@rc-component/resize-observer","ecosystem":"npm","description":"Resize observer for React","homepage":"https://react-component.github.io/resize-observer","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/react-component/resize-observer","keywords_array":["react","react-component","react-resize-observer","resize-observer"],"namespace":"rc-component","versions_count":5,"first_release_published_at":"2025-01-23T03:58:59.979Z","latest_release_published_at":"2026-03-24T09:44:59.256Z","latest_release_number":"1.1.2","last_synced_at":"2026-03-24T10:08:50.147Z","created_at":"2025-01-23T04:00:21.280Z","updated_at":"2026-03-24T14:51:58.327Z","registry_url":"https://www.npmjs.com/package/@rc-component/resize-observer","install_command":"npm install @rc-component/resize-observer","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.2"}},"repo_metadata":{"id":38329109,"uuid":"211602399","full_name":"react-component/resize-observer","owner":"react-component","description":"👓 Resize observer for React","archived":false,"fork":false,"pushed_at":"2025-10-08T10:32:21.000Z","size":4805,"stargazers_count":194,"open_issues_count":21,"forks_count":46,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-28T02:58:17.388Z","etag":null,"topics":["ant-design","antd","react","react-component"],"latest_commit_sha":null,"homepage":"https://resize-observer.react-component.now.sh","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/react-component.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-29T04:17:45.000Z","updated_at":"2025-10-27T01:34:16.000Z","dependencies_parsed_at":"2024-06-18T12:28:59.567Z","dependency_job_id":"05827ee8-cc13-40ca-8a34-dfd80d04825e","html_url":"https://github.com/react-component/resize-observer","commit_stats":{"total_commits":63,"total_committers":7,"mean_commits":9.0,"dds":0.2857142857142857,"last_synced_commit":"fe320b1be8b17eef1c67cea3ff3fafa507d45b1c"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":"react-component/footer","purl":"pkg:github/react-component/resize-observer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fresize-observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fresize-observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fresize-observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fresize-observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-component","download_url":"https://codeload.github.com/react-component/resize-observer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fresize-observer/sbom","scorecard":{"id":765402,"data":{"date":"2025-08-11","repo":{"name":"github.com/react-component/resize-observer","commit":"f2b327fad147a72006d1babcb3f3ff57a85e0c03"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":3,"reason":"Found 8/22 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/react-component/resize-observer/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/react-component/resize-observer/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/react-component/resize-observer/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/react-component/resize-observer/codeql.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/react-component-ci.yml:5: update your workflow using https://app.stepsecurity.io/secureworkflow/react-component/resize-observer/react-component-ci.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:16","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:17","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/react-component-ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 6 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T00:37:41.868Z","repository_id":38329109,"created_at":"2025-08-23T00:37:41.868Z","updated_at":"2025-08-23T00:37:41.868Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-26T02:00:06.075Z","response_time":193,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"react-component","name":"react-component","uuid":"9441414","kind":"organization","description":"React components foundation of http://ant.design","email":null,"website":"http://react-component.github.io","location":"china","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/9441414?v=4","repositories_count":105,"last_synced_at":"2023-04-09T06:36:28.834Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/react-component","funding_links":[],"total_stars":26822,"followers":null,"following":null,"created_at":"2022-11-02T16:22:14.807Z","updated_at":"2023-04-09T06:36:29.243Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-component","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-component/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-24T14:51:58.300Z","dependent_packages_count":0,"downloads":2102258,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":25.161215879191822,"dependent_packages_count":36.39654443073056,"stargazers_count":3.4741678807575926,"forks_count":3.3902915123288317,"docker_downloads_count":null,"average":17.1055549257522},"purl":"pkg:npm/%40rc-component/resize-observer","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@rc-component/resize-observer","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@rc-component/resize-observer","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@rc-component/resize-observer/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-11-26T04:01:46.657Z","issues_count":10,"pull_requests_count":144,"avg_time_to_close_issue":1075278.6666666667,"avg_time_to_close_pull_request":8062566.114503817,"issues_closed_count":3,"pull_requests_closed_count":131,"pull_request_authors_count":17,"issue_authors_count":10,"avg_comments_per_issue":1.3,"avg_comments_per_pull_request":2.576388888888889,"merged_pull_requests_count":29,"bot_issues_count":0,"bot_pull_requests_count":113,"past_year_issues_count":4,"past_year_pull_requests_count":16,"past_year_avg_time_to_close_issue":1075278.6666666667,"past_year_avg_time_to_close_pull_request":985697.5714285715,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":14,"past_year_pull_request_authors_count":6,"past_year_issue_authors_count":4,"past_year_avg_comments_per_issue":1.25,"past_year_avg_comments_per_pull_request":3.3125,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":11,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fresize-observer/issues","maintainers":[{"login":"zombieJ","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/zombieJ"},{"login":"li-jia-nan","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/li-jia-nan"},{"login":"afc163","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/afc163"}],"active_maintainers":[{"login":"li-jia-nan","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/li-jia-nan"},{"login":"zombieJ","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/zombieJ"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rc-component%2Fresize-observer/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rc-component%2Fresize-observer/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rc-component%2Fresize-observer/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rc-component%2Fresize-observer/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rc-component%2Fresize-observer/codemeta","maintainers":[{"uuid":"afc163","login":"afc163","name":null,"email":"afc163@gmail.com","url":null,"packages_count":668,"html_url":"https://www.npmjs.com/~afc163","role":null,"created_at":"2025-01-23T04:00:25.962Z","updated_at":"2025-01-23T04:00:25.962Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/afc163/packages"},{"uuid":"chenshuai2144","login":"chenshuai2144","name":null,"email":"wasd2144@hotmail.com","url":null,"packages_count":398,"html_url":"https://www.npmjs.com/~chenshuai2144","role":null,"created_at":"2025-08-16T05:26:02.681Z","updated_at":"2025-08-16T05:26:02.681Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/chenshuai2144/packages"},{"uuid":"zombiej","login":"zombiej","name":null,"email":"smith3816@gmail.com","url":null,"packages_count":197,"html_url":"https://www.npmjs.com/~zombiej","role":null,"created_at":"2025-01-23T04:00:25.616Z","updated_at":"2025-01-23T04:00:25.616Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/zombiej/packages"},{"uuid":"peachscript","login":"peachscript","name":null,"email":"scdzwyxst@gmail.com","url":null,"packages_count":237,"html_url":"https://www.npmjs.com/~peachscript","role":null,"created_at":"2025-01-23T04:00:26.840Z","updated_at":"2025-01-23T04:00:26.840Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/peachscript/packages"},{"uuid":"madccc","login":"madccc","name":null,"email":"1075746765@qq.com","url":null,"packages_count":161,"html_url":"https://www.npmjs.com/~madccc","role":null,"created_at":"2025-01-23T04:00:26.501Z","updated_at":"2025-01-23T04:00:26.501Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/madccc/packages"}]}