{"id":2339737,"name":"scrollparent","ecosystem":"npm","description":"A function to get the scrolling parent of an html element.","homepage":"https://github.com/olahol/scrollparent.js#readme","licenses":"ISC","normalized_licenses":["ISC"],"repository_url":"https://github.com/olahol/scrollparent.js","keywords_array":["browser","scroll","scrollparent","dom"],"namespace":null,"versions_count":6,"first_release_published_at":"2015-07-08T01:39:46.299Z","latest_release_published_at":"2023-05-28T21:13:28.903Z","latest_release_number":"2.1.0","last_synced_at":"2026-08-01T12:00:54.074Z","created_at":"2022-04-10T00:24:46.916Z","updated_at":"2026-08-01T12:04:31.083Z","registry_url":"https://www.npmjs.com/package/scrollparent","install_command":"npm install scrollparent","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.1.0"},"contentPolicy":null},"repo_metadata":{"id":15668085,"uuid":"18405511","full_name":"olahol/scrollparent.js","owner":"olahol","description":"A function to get the scrolling parent of a html element.","archived":false,"fork":false,"pushed_at":"2026-02-28T03:14:04.000Z","size":35,"stargazers_count":58,"open_issues_count":3,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-07-22T01:09:19.894Z","etag":null,"topics":["dom","javascript","parent","scroll","scrolling"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/olahol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2014-04-03T14:14:20.000Z","updated_at":"2023-10-22T06:36:09.000Z","dependencies_parsed_at":"2024-06-18T13:35:43.426Z","dependency_job_id":"b4772674-6a74-496b-924f-12703ea01442","html_url":"https://github.com/olahol/scrollparent.js","commit_stats":{"total_commits":18,"total_committers":5,"mean_commits":3.6,"dds":0.6111111111111112,"last_synced_commit":"ff0e6e2298b63354e5258f195e19e29aacc278f6"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/olahol/scrollparent.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olahol","download_url":"https://codeload.github.com/olahol/scrollparent.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/sbom","scorecard":{"id":704467,"data":{"date":"2025-08-11","repo":{"name":"github.com/olahol/scrollparent.js","commit":"ac1f5a8ff47798cedb8dd24bebd63d689a05e372"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/olahol/scrollparent.js/playwright.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/olahol/scrollparent.js/playwright.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand 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":"Code-Review","score":1,"reason":"Found 4/24 approved changesets -- score normalized to 1","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/playwright.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":"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":"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":"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":"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:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 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"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T06:07:52.623Z","repository_id":15668085,"created_at":"2025-08-22T06:07:52.624Z","updated_at":"2025-08-22T06:07:52.624Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36155996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-01T02:00:05.789Z","response_time":100,"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":"olahol","name":"Ola","uuid":"1386739","kind":"user","description":":bird: ","email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/1386739?u=fffc4e3776e652e2be11d15780ed55a9ee1e03e3\u0026v=4","repositories_count":47,"last_synced_at":"2024-04-14T08:25:55.279Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/olahol","funding_links":[],"total_stars":7997,"followers":171,"following":51,"created_at":"2022-11-02T16:50:32.800Z","updated_at":"2024-04-14T08:26:02.378Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olahol","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olahol/repositories"},"tags":[{"name":"2.1.0","sha":"ac1f5a8ff47798cedb8dd24bebd63d689a05e372","kind":"commit","published_at":"2023-05-28T21:09:09.000Z","download_url":"https://codeload.github.com/olahol/scrollparent.js/tar.gz/2.1.0","html_url":"https://github.com/olahol/scrollparent.js/releases/tag/2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/olahol/scrollparent.js@2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/2.1.0/manifests"},{"name":"2.0.1","sha":"5b8186327d1240a1fb339210b9b49135436bea89","kind":"commit","published_at":"2017-04-10T18:47:46.000Z","download_url":"https://codeload.github.com/olahol/scrollparent.js/tar.gz/2.0.1","html_url":"https://github.com/olahol/scrollparent.js/releases/tag/2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/olahol/scrollparent.js@2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/2.0.1/manifests"},{"name":"2.0.0","sha":"9188bea452d4bd91ae05a39c01dc1f86375e3d31","kind":"commit","published_at":"2017-04-09T16:40:27.000Z","download_url":"https://codeload.github.com/olahol/scrollparent.js/tar.gz/2.0.0","html_url":"https://github.com/olahol/scrollparent.js/releases/tag/2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/olahol/scrollparent.js@2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/2.0.0/manifests"},{"name":"1.0.2","sha":"eb147b277836aff661a982830144d609b6e5ac42","kind":"commit","published_at":"2016-10-17T16:51:24.000Z","download_url":"https://codeload.github.com/olahol/scrollparent.js/tar.gz/1.0.2","html_url":"https://github.com/olahol/scrollparent.js/releases/tag/1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/olahol/scrollparent.js@1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/1.0.2/manifests"},{"name":"1.0.1","sha":"eb897854291215c0ad36bac2fc545fbf7df93c84","kind":"commit","published_at":"2016-03-18T18:15:33.000Z","download_url":"https://codeload.github.com/olahol/scrollparent.js/tar.gz/1.0.1","html_url":"https://github.com/olahol/scrollparent.js/releases/tag/1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/olahol/scrollparent.js@1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/1.0.1/manifests"},{"name":"1.0.0","sha":"5a548f11d77a521fcf9455c46f29b79eebc415b3","kind":"commit","published_at":"2016-03-18T17:57:52.000Z","download_url":"https://codeload.github.com/olahol/scrollparent.js/tar.gz/1.0.0","html_url":"https://github.com/olahol/scrollparent.js/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/olahol/scrollparent.js@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-08-01T12:04:31.083Z","dependent_packages_count":133,"downloads":2777879,"downloads_period":"last-month","dependent_repos_count":3584,"rankings":{"downloads":0.19866713079410708,"dependent_repos_count":0.3746238321954725,"dependent_packages_count":0.2996148490837226,"stargazers_count":5.7717424605571575,"forks_count":5.8557461778879025,"docker_downloads_count":0.09154352317642832,"average":2.0986563289491316},"purl":"pkg:npm/scrollparent","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/scrollparent","docker_dependents_count":233,"docker_downloads_count":1686969037,"usage_url":"https://repos.ecosyste.ms/usage/npm/scrollparent","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/scrollparent/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T21:54:29.037Z","issues_count":5,"pull_requests_count":4,"avg_time_to_close_issue":28301496.75,"avg_time_to_close_pull_request":9012741.5,"issues_closed_count":4,"pull_requests_closed_count":4,"pull_request_authors_count":3,"issue_authors_count":5,"avg_comments_per_issue":1.2,"avg_comments_per_pull_request":4.0,"merged_pull_requests_count":4,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahol%2Fscrollparent.js/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/scrollparent/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/scrollparent/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/scrollparent/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/scrollparent/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/scrollparent/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/scrollparent/codemeta","maintainers":[{"uuid":"olahol","login":"olahol","name":null,"email":"ola.holmstrom@gmail.com","url":null,"packages_count":20,"html_url":"https://www.npmjs.com/~olahol","role":null,"created_at":"2022-11-14T09:21:40.469Z","updated_at":"2022-11-14T09:21:40.469Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/olahol/packages"}]}