{"id":13395341,"url":"https://github.com/capricorn86/happy-dom","last_synced_at":"2026-03-03T00:18:04.499Z","repository":{"id":38198774,"uuid":"207392577","full_name":"capricorn86/happy-dom","owner":"capricorn86","description":"A JavaScript implementation of a web browser without its graphical user interface","archived":false,"fork":false,"pushed_at":"2026-02-21T00:04:44.000Z","size":12140,"stargazers_count":4305,"open_issues_count":262,"forks_count":286,"subscribers_count":13,"default_branch":"master","last_synced_at":"2026-02-21T05:16:09.651Z","etag":null,"topics":["angular","browser","bun","dom","hacktoberfest","hacktoberfest2025","html","javascript","jest","lit-element","lit-html","nodejs","react","svelte","testing-library","typescript","vitest","vue","web-components","whatwg"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/capricorn86.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","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},"funding":{"github":"capricorn86"}},"created_at":"2019-09-09T19:53:08.000Z","updated_at":"2026-02-21T04:29:22.000Z","dependencies_parsed_at":"2023-09-23T14:07:27.997Z","dependency_job_id":"eb0927e3-b5a7-4253-8c20-0e975abd922a","html_url":"https://github.com/capricorn86/happy-dom","commit_stats":{"total_commits":1310,"total_committers":130,"mean_commits":"10.076923076923077","dds":"0.30458015267175576","last_synced_commit":"afd256b2e4f0260adb22432c1a354f558cda6623"},"previous_names":[],"tags_count":693,"template":false,"template_full_name":null,"purl":"pkg:github/capricorn86/happy-dom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capricorn86%2Fhappy-dom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capricorn86%2Fhappy-dom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capricorn86%2Fhappy-dom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capricorn86%2Fhappy-dom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capricorn86","download_url":"https://codeload.github.com/capricorn86/happy-dom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capricorn86%2Fhappy-dom/sbom","scorecard":{"id":265268,"data":{"date":"2025-08-11","repo":{"name":"github.com/capricorn86/happy-dom","commit":"cf74f5f63ca562e075c9c14b77ecfbb8fbc43dea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.6,"checks":[{"name":"Maintained","score":10,"reason":"23 commit(s) and 3 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/auto-assign.yml:1","Warn: no topLevel permission defined: .github/workflows/pull_request.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":"Code-Review","score":5,"reason":"Found 16/29 approved changesets -- score normalized to 5","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":"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":"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":"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/pull_request.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/pull_request.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pull_request.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/pull_request.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:129: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:135: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:140: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:159: update your workflow using https://app.stepsecurity.io/secureworkflow/capricorn86/happy-dom/release.yml/master?enable=pin","Info:   0 out of  16 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   4 out of   4 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":"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":-1,"reason":"internal error: internal error: Client.Checks.ListCheckRunsForRef: error during graphqlHandler.setupCheckRuns: non-200 OK status code: 502 Bad Gateway body: \"\u003chtml\u003e\\r\\n\u003chead\u003e\u003ctitle\u003e502 Bad Gateway\u003c/title\u003e\u003c/head\u003e\\r\\n\u003cbody\u003e\\r\\n\u003ccenter\u003e\u003ch1\u003e502 Bad Gateway\u003c/h1\u003e\u003c/center\u003e\\r\\n\u003chr\u003e\u003ccenter\u003enginx\u003c/center\u003e\\r\\n\u003c/body\u003e\\r\\n\u003c/html\u003e\\r\\n\"","details":null,"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-96g7-g7g9-jxw8"],"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-17T11:52:08.748Z","repository_id":38198774,"created_at":"2025-08-17T11:52:08.748Z","updated_at":"2025-08-17T11:52:08.748Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30024321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T22:30:10.381Z","status":"ssl_error","status_checked_at":"2026-03-02T22:23:34.650Z","response_time":60,"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"}},"keywords":["angular","browser","bun","dom","hacktoberfest","hacktoberfest2025","html","javascript","jest","lit-element","lit-html","nodejs","react","svelte","testing-library","typescript","vitest","vue","web-components","whatwg"],"created_at":"2024-07-30T17:01:53.130Z","updated_at":"2026-03-03T00:18:04.471Z","avatar_url":"https://github.com/capricorn86.png","language":"TypeScript","funding_links":["https://github.com/sponsors/capricorn86"],"categories":["TypeScript","whatwg","browser"],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n    \u003cimg alt=\"Happy DOM Logo\" src=\"https://github.com/capricorn86/happy-dom/raw/master/docs/happy-dom-logo.jpg\" /\u003e\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    A JavaScript implementation of a web browser without its graphical user interface.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/happy-dom\"\u003e\n        \u003cimg alt=\"Published on NPM\" src=\"https://img.shields.io/npm/v/happy-dom.svg\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/capricorn86/happy-dom/wiki/\"\u003eDocumentation\u003c/a\u003e | \u003ca href=\"https://github.com/capricorn86/happy-dom/wiki/Getting-started\"\u003eGetting started\u003c/a\u003e | \u003ca href=\"https://github.com/capricorn86/happy-dom/wiki/Setup-as-Test-Environment\"\u003eSetup as Test Environment\u003c/a\u003e\n\u003c/p\u003e\n\n## DOM Features\n\n- Custom Elements (Web Components)\n\n- Declarative Shadow DOM\n\n- Mutation Observer\n\n- Tree Walker\n\n- Fetch API\n\nAnd much more..\n\n## Works With\n\n - [Vitest](https://vitest.dev/)\n - [Bun](https://bun.sh)\n - [Jest](https://jestjs.io/)\n - [Testing Library](https://testing-library.com/)\n - [Google LitElement](https://lit.dev/)\n - [Vue](https://vuejs.org/)\n - [React](https://reactjs.org)\n - [Svelte](https://svelte.dev/)\n - [Angular](https://angular.dev/)\n\n## Sponsors\n\n\u003cp align=\"center\"\u003e\u003cb\u003eSponsors\u003c/b\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://sentry.io/\"\u003e\u003cimg alt=\"Sentry\" width=\"50px\" src=\"https://avatars.githubusercontent.com/u/1396951?s=200\u0026v=4\"\u003e\u003c/a\u003e\n    \u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://canonical.com/\"\u003e\u003cimg alt=\"Canonical\" width=\"50px\" src=\"https://avatars.githubusercontent.com/u/53057619?s=200\u0026v=4\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cb\u003eBackers\u003c/b\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://sourcegraph.com/\"\u003e\u003cimg alt=\"Sourcegraph\" src=\"https://images.weserv.nl/?url=avatars.githubusercontent.com/u/3979584?v=4\u0026h=40\u0026w=40\u0026fit=cover\u0026mask=circle\u0026maxage=7d\"\u003e\u003c/a\u003e\n    \u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://github.com/andykenward\"\u003e\u003cimg alt=\"andykenward\" src=\"https://images.weserv.nl/?url=avatars.githubusercontent.com/u/4893048?v=4\u0026h=40\u0026w=40\u0026fit=cover\u0026mask=circle\u0026maxage=7d\"\u003e\u003c/a\u003e\n    \u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://github.com/raystubbs\"\u003e\u003cimg alt=\"raystubbs\" src=\"https://images.weserv.nl/?url=avatars.githubusercontent.com/u/7083791?v=4\u0026h=40\u0026w=40\u0026fit=cover\u0026mask=circle\u0026maxage=7d\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Contributing\n\nSee [Contributing Guide](https://github.com/capricorn86/happy-dom/blob/master/docs/contributing.md).\n\n## License\n\nMIT License © 2019-Present [David Ortner](https://github.com/capricorn86)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapricorn86%2Fhappy-dom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapricorn86%2Fhappy-dom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapricorn86%2Fhappy-dom/lists"}