{"id":21444828,"url":"https://github.com/google/elemental2","last_synced_at":"2026-01-14T02:02:55.429Z","repository":{"id":50014217,"uuid":"91626146","full_name":"google/elemental2","owner":"google","description":"Type checked access to browser APIs for Java code.","archived":false,"fork":false,"pushed_at":"2026-01-07T21:43:02.000Z","size":475,"stargazers_count":169,"open_issues_count":19,"forks_count":37,"subscribers_count":25,"default_branch":"master","last_synced_at":"2026-01-10T20:16:39.829Z","etag":null,"topics":["dom","gwt","indexeddb","j2cl","jsinterop","promise","svg","web-storage","webgl"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-05-17T22:39:36.000Z","updated_at":"2026-01-09T02:11:08.000Z","dependencies_parsed_at":"2023-10-04T23:58:00.818Z","dependency_job_id":"68aabfb2-0837-4269-aa04-704332cb121c","html_url":"https://github.com/google/elemental2","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/google/elemental2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Felemental2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Felemental2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Felemental2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Felemental2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/elemental2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Felemental2/sbom","scorecard":{"id":436833,"data":{"date":"2025-08-15T05:34:22Z","repo":{"name":"github.com/google/elemental2","commit":"f849772253b00cf77ff1d40120af98ce3b445ebb"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":8.1,"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yaml:42","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yaml:20","Warn: no topLevel permission defined: .github/workflows/release.yaml:1","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yaml:18"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"CI-Tests","score":-1,"reason":"no pull request found","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 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/ab2f6e92482462fe66246d9e32f642855a691dc1/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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":9,"reason":"dependency not pinned by hash detected -- score normalized to 9","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/scorecard.yaml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/google/elemental2/scorecard.yaml/master?enable=pin","Info:   6 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   1 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: :0"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":5,"reason":"1 out of the last 2 releases have a total of 1 signed artifacts.","details":["Warn: release artifact 1.1.0 not signed: https://api.github.com/repos/google/elemental2/releases/28288914","Info: provenance for release artifact: elemental2-1.3.0.tar.gz.intoto.jsonl: https://github.com/google/elemental2/releases/tag/1.3.0","Warn: release artifact 1.1.0 does not have provenance: https://api.github.com/repos/google/elemental2/releases/28288914"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/google/.github/SECURITY.md:1","Info: Found linked content: github.com/google/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/google/.github/SECURITY.md:1","Info: Found text in security policy: github.com/google/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Contributors","score":10,"reason":"project has 16 contributing companies or organizations","details":["Info: found contributions from: RHoKAustralia, Vertispan, apache, arez, deephaven, dfinityexplorer, google, google inc, gwt-plugins, gwtproject, react4j, replicant4j, rhok-melbourne, spritz, stocksoftware, vertispan"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}}]},"last_synced_at":"2025-08-19T04:53:28.323Z","repository_id":50014217,"created_at":"2025-08-19T04:53:28.324Z","updated_at":"2025-08-19T04:53:28.324Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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"}},"keywords":["dom","gwt","indexeddb","j2cl","jsinterop","promise","svg","web-storage","webgl"],"created_at":"2024-11-23T02:22:06.739Z","updated_at":"2026-01-14T02:02:55.423Z","avatar_url":"https://github.com/google.png","language":"Java","funding_links":[],"categories":["Web APIs"],"sub_categories":[],"readme":"# Elemental2 \u0026middot; ![Latest Release](https://img.shields.io/github/v/release/google/elemental2) \u0026middot; [![Build Status](https://github.com/google/elemental2/actions/workflows/ci.yaml/badge.svg)](https://github.com/google/elemental2/actions/workflows/ci.yaml)\n\nElemental2 provides type checked access to all browser APIs for Java code. This\nis done by using [closure extern files](https://github.com/google/closure-compiler/tree/master/externs)\nand generating JsTypes, which are part of the [new JsInterop specification](https://goo.gl/agme3T)\nthat is both implemented in GWT and J2CL.\n\nBazel dependencies\n------------------\nUsing Bazel 8 or later, add to your \\`MODULE.bazel\\` file:\n\n```starlark\nbazel_dep(name = \"elemental2\", version = \"\u003cRELEASE_VERSION\u003e\")\n```\n\nReplace `RELEASE_VERSION` with an actual\n[release version](https://github.com/google/elemental2/releases):\n\nNow from you can add elemental2 targets as needed to your `j2cl_library` deps.\n\nFollowing are the different elemental2 modules and their target names:\n\n module     | Bazel targets for J2CL\n -----------| -----------------------\n core       | `@elemental2//:elemental2-core-j2cl`\n dom        | `@elemental2//:elemental2-dom-j2cl`\n promise    | `@elemental2//:elemental2-promise-j2cl`\n indexeddb  | `@elemental2//:elemental2-indexeddb-j2cl`\n svg        | `@elemental2//:elemental2-svg-j2cl`\n webgl      | `@elemental2//:elemental2-webgl-j2cl`\n media      | `@elemental2//:elemental2-media-j2cl`\n webstorage | `@elemental2//:elemental2-webstorage-j2cl`\n\nMaven dependencies\n------------------\nIf your project uses [Maven](https://maven.apache.org), add the following maven\ndependencies in your `pom.xml`. Replace `RELEASE_VERSION` with an actual\n[release version](https://github.com/google/elemental2/releases):\n\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.google.elemental2\u003c/groupId\u003e\n      \u003cartifactId\u003e${artifact-id}\u003c/artifactId\u003e\n      \u003cversion\u003eRELEASE_VERSION\u003c/version\u003e\n    \u003c/dependency\u003e\n\n\n module | artifact-id\n ------ | -----------\n core | `elemental2-core`\n dom | `elemental2-dom`\n promise | `elemental2-promise`\n indexeddb | `elemental2-indexeddb`\n svg | `elemental2-svg`\n webgl | `elemental2-webgl`\n media | `elemental2-media`\n webstorage | `elemental2-webstorage`\n\nGWT\n---\n\n\u003e Elemental2 v1.0.0+ requires GWT 2.9 or above.\n\nIf you use Elemental2 with [GWT](http://www.gwtproject.org/), you need to inherit the right gwt module in your `gwt.xml` file:\n\n module | GWT module name\n ------ | ---------------\n core | `elemental2.core.Core`\n dom | `elemental2.dom.Dom`\n promise | `elemental2.promise.Promise`\n indexeddb | `elemental2.indexeddb.IndexedDb`\n svg | `elemental2.svg.Svg`\n webgl | `elemental2.webgl.WebGl`\n media | `elemental2.media.Media`\n webstorage | `elemental2.webstorage.WebStorage`\n\n\nBuild GWT compatible maven jar files\n------------------------------------\nIf you want to modify and/or build the last version on your own, follow the instructions below:\n\n- Install [Bazelisk](https://github.com/bazelbuild/bazelisk):\n\n```shell\n    $ npm install -g @bazel/bazelisk\n    $ alias bazel=bazelisk\n```\n- Clone this git repository:\n  ```shell\n  $ git clone https://github.com/google/elemental2.git\n  ```\n- Run the release script:\n  ```shell\n      $ cd elemental2\n      $ ./maven/release_elemental.sh --version local --no-deploy\n  ```\n\nThe script will output the directory containing the generated jar files that\ncan be used with maven.\n\nContributing\n------------\nPlease refer to [the contributing document](CONTRIBUTING.md).\n\nLicensing\n---------\nPlease refer to [the license file](LICENSE).\n\nDisclaimer\n----------\nThis is not an official Google product.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Felemental2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Felemental2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Felemental2/lists"}