{"id":17366091,"url":"https://github.com/aaronshaf/shaf-star-rating","last_synced_at":"2025-09-01T03:38:37.544Z","repository":{"id":57357780,"uuid":"75218028","full_name":"aaronshaf/shaf-star-rating","owner":"aaronshaf","description":"Keyboard-accessible star rating element. Upgrades input element.","archived":false,"fork":false,"pushed_at":"2017-03-25T23:35:32.000Z","size":74,"stargazers_count":4,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T22:17:21.151Z","etag":null,"topics":["custom-elements","range","web-components"],"latest_commit_sha":null,"homepage":"https://aaronshaf.github.io/shaf-star-rating/","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/aaronshaf.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}},"created_at":"2016-11-30T19:07:52.000Z","updated_at":"2022-04-16T02:38:32.000Z","dependencies_parsed_at":"2022-09-26T16:33:21.514Z","dependency_job_id":null,"html_url":"https://github.com/aaronshaf/shaf-star-rating","commit_stats":null,"previous_names":["aaronshaf/shaf-rate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaronshaf/shaf-star-rating","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fshaf-star-rating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fshaf-star-rating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fshaf-star-rating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fshaf-star-rating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronshaf","download_url":"https://codeload.github.com/aaronshaf/shaf-star-rating/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fshaf-star-rating/sbom","scorecard":{"id":159461,"data":{"date":"2025-08-11","repo":{"name":"github.com/aaronshaf/shaf-star-rating","commit":"acdc7a35ba61e37ffb6dcb7fb2a312ae156c09e7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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"}}]},"last_synced_at":"2025-08-16T12:55:20.370Z","repository_id":57357780,"created_at":"2025-08-16T12:55:20.370Z","updated_at":"2025-08-16T12:55:20.370Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272174833,"owners_count":24886296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"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":["custom-elements","range","web-components"],"created_at":"2024-10-15T21:28:13.571Z","updated_at":"2025-09-01T03:38:37.523Z","avatar_url":"https://github.com/aaronshaf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## It's easy peasy\n\n\u003cimg src=\"https://camo.githubusercontent.com/af7823d13ed4789cc1e8cb9f5861f103bfed6907/68747470733a2f2f64337676366c703535716a6171632e636c6f756466726f6e742e6e65742f6974656d732f32493075335232353379326330303434336d31542f53637265656e2532305265636f7264696e67253230323031362d31322d3031253230617425323030382e3339253230414d2e6769663f582d436c6f75644170702d56697369746f722d49643d386337633364646234663832373534653030663664616330656161306362666126763d3666356633373162\" width=\"128\" height=\"31\" /\u003e\n\nKeyboard accessible. Check out the [demo](https://aaronshaf.github.io/shaf-star-rating/). Works in IE11, Edge, Chrome, Firefox, and Safari.\n\n```html\n\u003c!-- Custom Elements v1 polyfill (2.7KB gzipped) --\u003e\n\u003cscript src=\"https://unpkg.com/@webcomponents/custom-elements@1.0.0-alpha.3\"\u003e\u003c/script\u003e\n```\n\n```html\n\u003c!-- Our custom element's source (19.8KB, 6.5KB gzipped) --\u003e\n\u003cscript src=\"https://unpkg.com/shaf-star-rating@1.0.14\"\u003e\u003c/script\u003e\n```\n\n### Usage\n\n```html\n\u003cshaf-star-rating\u003e\n  \u003cinput type=\"number\" min=\"1\" max=\"5\" step=\"1\" value=\"3\" /\u003e\n\u003c/shaf-star-rating\u003e\n```\n\n### Benefits\n\nBecause this wraps an existing `\u003cinput type=\"number\" /\u003e`:\n\n* It is form-friendly.\n* It doesn't mess with your event handlers.\n\n## See also\n\n* [shaf-button](https://github.com/aaronshaf/shaf-button)\n* [shaf-chart](https://github.com/aaronshaf/shaf-chart)\n* [shaf-toggle](https://github.com/aaronshaf/shaf-toggle)\n* [shaf-unified-diff](https://github.com/aaronshaf/shaf-unified-diff)\n* [shaf-timeago](https://github.com/aaronshaf/shaf-timeago)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronshaf%2Fshaf-star-rating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronshaf%2Fshaf-star-rating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronshaf%2Fshaf-star-rating/lists"}