{"id":5696726,"name":"@wavemaker/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":"wavemaker","versions_count":2,"first_release_published_at":"2022-12-14T11:45:00.613Z","latest_release_published_at":"2024-06-04T08:38:47.039Z","latest_release_number":"1.0.1","last_synced_at":"2026-04-08T06:03:37.226Z","created_at":"2022-12-16T00:11:42.684Z","updated_at":"2026-04-08T09:59:26.182Z","registry_url":"https://www.npmjs.com/package/@wavemaker/focus-trap","install_command":"npm install @wavemaker/focus-trap","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.1"}},"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.155Z","dependent_packages_count":1,"downloads":1475,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":5.29688762803279,"dependent_repos_count":25.30552159382132,"dependent_packages_count":16.219766897652278,"stargazers_count":3.0116139928698016,"forks_count":3.6770800088076734,"average":10.702174024236772},"purl":"pkg:npm/%40wavemaker/focus-trap","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@wavemaker/focus-trap","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@wavemaker/focus-trap","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@wavemaker/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/@wavemaker%2Ffocus-trap/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@wavemaker%2Ffocus-trap/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@wavemaker%2Ffocus-trap/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@wavemaker%2Ffocus-trap/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@wavemaker%2Ffocus-trap/codemeta","maintainers":[{"uuid":"sboyina","login":"sboyina","name":null,"email":"boyinasrinivasulu@gmail.com","url":null,"packages_count":41,"html_url":"https://www.npmjs.com/~sboyina","role":null,"created_at":"2022-12-16T00:29:35.344Z","updated_at":"2022-12-16T00:29:35.344Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sboyina/packages"},{"uuid":"wavemaker_devops","login":"wavemaker_devops","name":null,"email":"devops-notifications@wavemaker.com","url":null,"packages_count":41,"html_url":"https://www.npmjs.com/~wavemaker_devops","role":null,"created_at":"2022-12-16T00:29:35.369Z","updated_at":"2022-12-16T00:29:35.369Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/wavemaker_devops/packages"},{"uuid":"wmdocs","login":"wmdocs","name":null,"email":"wmdocs@wavemaker.com","url":null,"packages_count":38,"html_url":"https://www.npmjs.com/~wmdocs","role":null,"created_at":"2022-12-16T00:29:35.398Z","updated_at":"2022-12-16T00:29:35.398Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/wmdocs/packages"},{"uuid":"nareshr","login":"nareshr","name":null,"email":"naresh.ravulapalli@gmail.com","url":null,"packages_count":39,"html_url":"https://www.npmjs.com/~nareshr","role":null,"created_at":"2022-12-16T00:29:35.414Z","updated_at":"2022-12-16T00:29:35.414Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nareshr/packages"}]}