{"id":1114685,"name":"@patternfly/focus-trap","ecosystem":"npm","description":"Trap focus within a DOM node.","homepage":"https://github.com/focus-trap/focus-trap#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/focus-trap/focus-trap","keywords_array":["focus","accessibility","trap","capture","keyboard","modal"],"namespace":"patternfly","versions_count":1,"first_release_published_at":"2020-12-09T16:55:00.974Z","latest_release_published_at":"2020-12-09T16:55:00.974Z","latest_release_number":"4.0.0","last_synced_at":"2026-04-08T06:03:37.919Z","created_at":"2022-04-08T11:09:38.051Z","updated_at":"2026-04-08T09:59:26.162Z","registry_url":"https://www.npmjs.com/package/@patternfly/focus-trap","install_command":"npm install @patternfly/focus-trap","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"4.0.0"}},"repo_metadata":{"id":36535833,"uuid":"40841624","full_name":"focus-trap/focus-trap","owner":"focus-trap","description":"Trap focus within a DOM node.","archived":false,"fork":false,"pushed_at":"2026-03-25T22:42:00.000Z","size":7510,"stargazers_count":1535,"open_issues_count":6,"forks_count":119,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-03-30T06:57:28.137Z","etag":null,"topics":["dependabot"],"latest_commit_sha":null,"homepage":"http://focus-trap.github.io/focus-trap/","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/focus-trap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-08-16T21:18:23.000Z","updated_at":"2026-03-27T14:46:21.000Z","dependencies_parsed_at":"2023-10-13T06:32:49.374Z","dependency_job_id":"3a12979e-31ad-4809-adf0-273ae3d42e50","html_url":"https://github.com/focus-trap/focus-trap","commit_stats":{"total_commits":901,"total_committers":41,"mean_commits":"21.975609756097562","dds":0.3462819089900111,"last_synced_commit":"1d086d8e6c69ac3aa0051bcca203c374f49df978"},"previous_names":["davidtheclark/focus-trap"],"tags_count":90,"template":false,"template_full_name":null,"purl":"pkg:github/focus-trap/focus-trap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focus-trap%2Ffocus-trap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focus-trap%2Ffocus-trap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focus-trap%2Ffocus-trap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focus-trap%2Ffocus-trap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/focus-trap","download_url":"https://codeload.github.com/focus-trap/focus-trap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focus-trap%2Ffocus-trap/sbom","scorecard":{"id":327697,"data":{"date":"2025-08-11","repo":{"name":"github.com/focus-trap/focus-trap","commit":"3aae69514cae71e5819bf0cf9cbc30a4cfb86e5e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"Maintained","score":10,"reason":"30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/focus-trap/focus-trap/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/focus-trap/focus-trap/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/focus-trap/focus-trap/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/focus-trap/focus-trap/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/focus-trap/focus-trap/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/focus-trap/focus-trap/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/focus-trap/focus-trap/release.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   2 out of   2 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":"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 29 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":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-18T02:52:31.838Z","repository_id":36535833,"created_at":"2025-08-18T02:52:31.838Z","updated_at":"2025-08-18T02:52:31.838Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31327862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T02:17:30.558Z","status":"ssl_error","status_checked_at":"2026-04-03T02:17:30.071Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"},"tags":[]},"repo_metadata_updated_at":"2026-04-08T09:59:26.139Z","dependent_packages_count":2,"downloads":5,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":38.55837752871324,"dependent_repos_count":25.32799796580169,"dependent_packages_count":9.4821380216761,"stargazers_count":2.835323522389266,"forks_count":3.4622229279267205,"average":15.933211993301402},"purl":"pkg:npm/%40patternfly/focus-trap","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@patternfly/focus-trap","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@patternfly/focus-trap","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@patternfly/focus-trap/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-03-26T09:09:52.659Z","issues_count":37,"pull_requests_count":1067,"avg_time_to_close_issue":8790328.46875,"avg_time_to_close_pull_request":87696.65027322405,"issues_closed_count":32,"pull_requests_closed_count":915,"pull_request_authors_count":12,"issue_authors_count":29,"avg_comments_per_issue":5.5675675675675675,"avg_comments_per_pull_request":1.1302717900656045,"merged_pull_requests_count":830,"bot_issues_count":1,"bot_pull_requests_count":1021,"past_year_issues_count":8,"past_year_pull_requests_count":315,"past_year_avg_time_to_close_issue":316242.25,"past_year_avg_time_to_close_pull_request":47699.77155172414,"past_year_issues_closed_count":4,"past_year_pull_requests_closed_count":232,"past_year_pull_request_authors_count":5,"past_year_issue_authors_count":5,"past_year_avg_comments_per_issue":2.625,"past_year_avg_comments_per_pull_request":1.3365079365079364,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":309,"past_year_merged_pull_requests_count":215,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/focus-trap%2Ffocus-trap/issues","maintainers":[{"login":"stefcameron","count":36,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stefcameron"}],"active_maintainers":[{"login":"stefcameron","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stefcameron"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@patternfly%2Ffocus-trap/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@patternfly%2Ffocus-trap/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@patternfly%2Ffocus-trap/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@patternfly%2Ffocus-trap/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@patternfly%2Ffocus-trap/codemeta","maintainers":[{"uuid":"dgutride","login":"dgutride","name":null,"email":"dgutride@gmail.com","url":null,"packages_count":135,"html_url":"https://www.npmjs.com/~dgutride","role":null,"created_at":"2022-11-20T21:27:01.596Z","updated_at":"2022-11-20T21:27:01.596Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dgutride/packages"},{"uuid":"dlabrecq","login":"dlabrecq","name":null,"email":"dlabrecq@redhat.com","url":null,"packages_count":115,"html_url":"https://www.npmjs.com/~dlabrecq","role":null,"created_at":"2022-11-20T21:27:01.608Z","updated_at":"2022-11-20T21:27:01.608Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dlabrecq/packages"},{"uuid":"patternfly-build","login":"patternfly-build","name":null,"email":"patternfly-build@redhat.com","url":null,"packages_count":121,"html_url":"https://www.npmjs.com/~patternfly-build","role":null,"created_at":"2022-11-20T21:27:01.629Z","updated_at":"2022-11-20T21:27:01.629Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/patternfly-build/packages"},{"uuid":"jeff-phillips-18","login":"jeff-phillips-18","name":null,"email":"jephilli@redhat.com","url":null,"packages_count":108,"html_url":"https://www.npmjs.com/~jeff-phillips-18","role":null,"created_at":"2022-11-20T21:27:01.636Z","updated_at":"2022-11-20T21:27:01.636Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jeff-phillips-18/packages"},{"uuid":"mturley","login":"mturley","name":null,"email":"mike.turley@alum.cs.umass.edu","url":null,"packages_count":114,"html_url":"https://www.npmjs.com/~mturley","role":null,"created_at":"2022-11-20T21:27:01.641Z","updated_at":"2022-11-20T21:27:01.641Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mturley/packages"},{"uuid":"mwcz","login":"mwcz","name":null,"email":"mwc@clayto.com","url":null,"packages_count":180,"html_url":"https://www.npmjs.com/~mwcz","role":null,"created_at":"2022-11-20T21:27:01.658Z","updated_at":"2022-11-20T21:27:01.658Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mwcz/packages"},{"uuid":"kylebuch8","login":"kylebuch8","name":null,"email":"kylebuch8@gmail.com","url":null,"packages_count":181,"html_url":"https://www.npmjs.com/~kylebuch8","role":null,"created_at":"2022-11-20T21:27:01.668Z","updated_at":"2022-11-20T21:27:01.668Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/kylebuch8/packages"},{"uuid":"evwilkin","login":"evwilkin","name":null,"email":"evan.wilkinson@gmail.com","url":null,"packages_count":106,"html_url":"https://www.npmjs.com/~evwilkin","role":null,"created_at":"2022-11-20T21:27:01.706Z","updated_at":"2022-11-20T21:27:01.706Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/evwilkin/packages"},{"uuid":"schulj12","login":"schulj12","name":null,"email":"jdh.schuler@gmail.com","url":null,"packages_count":132,"html_url":"https://www.npmjs.com/~schulj12","role":null,"created_at":"2022-11-20T21:27:01.717Z","updated_at":"2022-11-20T21:27:01.717Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/schulj12/packages"},{"uuid":"nicolethoen","login":"nicolethoen","name":null,"email":"nthoen@redhat.com","url":null,"packages_count":110,"html_url":"https://www.npmjs.com/~nicolethoen","role":null,"created_at":"2022-11-20T21:27:01.730Z","updated_at":"2022-11-20T21:27:01.730Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nicolethoen/packages"},{"uuid":"heymp","login":"heymp","name":null,"email":"mgp140@gmail.com","url":null,"packages_count":543,"html_url":"https://www.npmjs.com/~heymp","role":null,"created_at":"2022-11-20T21:27:01.746Z","updated_at":"2022-11-20T21:27:01.746Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/heymp/packages"},{"uuid":"zhawkins","login":"zhawkins","name":null,"email":"zhawkins@gmail.com","url":null,"packages_count":105,"html_url":"https://www.npmjs.com/~zhawkins","role":null,"created_at":"2022-11-20T21:27:01.750Z","updated_at":"2022-11-20T21:27:01.750Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/zhawkins/packages"},{"uuid":"bennyp","login":"bennyp","name":null,"email":"web@bennypowers.com","url":null,"packages_count":246,"html_url":"https://www.npmjs.com/~bennyp","role":null,"created_at":"2023-05-27T05:13:59.214Z","updated_at":"2023-05-27T05:13:59.214Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/bennyp/packages"},{"uuid":"ausuliv","login":"ausuliv","name":null,"email":"ausulliv@redhat.com","url":null,"packages_count":128,"html_url":"https://www.npmjs.com/~ausuliv","role":null,"created_at":"2022-12-15T09:55:21.247Z","updated_at":"2022-12-15T09:55:21.247Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/ausuliv/packages"},{"uuid":"dlabaj","login":"dlabaj","name":null,"email":"dlabaj@redhat.com","url":null,"packages_count":115,"html_url":"https://www.npmjs.com/~dlabaj","role":null,"created_at":"2023-01-11T19:44:58.538Z","updated_at":"2023-01-11T19:44:58.538Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dlabaj/packages"}]}