{"id":378682,"url":"https://github.com/ljharb/es-to-primitive","last_synced_at":"2026-07-11T12:01:09.141Z","repository":{"id":28853806,"uuid":"32377814","full_name":"ljharb/es-to-primitive","owner":"ljharb","description":"ECMAScript \"ToPrimitive\" algorithm. Provides ES5 and ES6/ES2015 versions.","archived":false,"fork":false,"pushed_at":"2026-06-26T01:53:15.000Z","size":186,"stargazers_count":22,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-07-05T02:23:05.967Z","etag":null,"topics":["ecmascript","javascript","primitive","spec","toprimitive"],"latest_commit_sha":null,"homepage":"","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/ljharb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":"ljharb","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":"ljharb","custom":null}},"created_at":"2015-03-17T07:23:56.000Z","updated_at":"2026-06-26T01:53:18.000Z","dependencies_parsed_at":"2025-01-22T02:08:50.641Z","dependency_job_id":"1b64af4a-5ba0-4e09-8e58-db8fed25ba6b","html_url":"https://github.com/ljharb/es-to-primitive","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/ljharb/es-to-primitive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fes-to-primitive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fes-to-primitive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fes-to-primitive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fes-to-primitive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ljharb","download_url":"https://codeload.github.com/ljharb/es-to-primitive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fes-to-primitive/sbom","scorecard":{"id":594907,"data":{"date":"2025-08-11","repo":{"name":"github.com/ljharb/es-to-primitive","commit":"717f14a340bf0ab635eadc472cf1fe29a6c9240b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/29 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/rebase.yml:11","Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/rebase.yml:12","Warn: no topLevel permission defined: .github/workflows/node-aught.yml:1","Warn: no topLevel permission defined: .github/workflows/node-pretest.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/node-tens.yml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/node-twenties.yml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/rebase.yml:6","Warn: no topLevel permission defined: .github/workflows/require-allow-edits.yml:1"],"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-aught.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/es-to-primitive/node-aught.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-pretest.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/es-to-primitive/node-pretest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-tens.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/es-to-primitive/node-tens.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-twenties.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/es-to-primitive/node-twenties.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rebase.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/es-to-primitive/rebase.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rebase.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/es-to-primitive/rebase.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/require-allow-edits.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/es-to-primitive/require-allow-edits.yml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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":"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":-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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/ljharb/.github/SECURITY.md:1","Info: Found linked content: github.com/ljharb/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/ljharb/.github/SECURITY.md:1","Info: Found text in security policy: github.com/ljharb/.github/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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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"}}]},"last_synced_at":"2025-08-20T22:55:07.850Z","repository_id":28853806,"created_at":"2025-08-20T22:55:07.850Z","updated_at":"2025-08-20T22:55:07.850Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35301501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"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"}},"owner":null,"packages":null,"commits":null,"issues":{"table":{}},"events":null,"keywords":["ecmascript","javascript","primitive","spec","toprimitive"],"dependencies":[{"ecosystem":"npm","filepath":"package.json","sha":null,"kind":"manifest","created_at":"2022-08-29T08:51:08.508Z","updated_at":"2022-08-29T08:51:08.508Z","repository_link":"https://github.com/ljharb/es-to-primitive/blob/main/package.json","dependencies":[{"id":3137434618,"package_name":"is-callable","ecosystem":"npm","requirements":"^1.2.4","direct":true,"kind":"runtime","optional":false},{"id":3137434619,"package_name":"is-date-object","ecosystem":"npm","requirements":"^1.0.5","direct":true,"kind":"runtime","optional":false},{"id":3137434620,"package_name":"is-symbol","ecosystem":"npm","requirements":"^1.0.4","direct":true,"kind":"runtime","optional":false},{"id":3137434621,"package_name":"@ljharb/eslint-config","ecosystem":"npm","requirements":"^20.0.0","direct":true,"kind":"development","optional":false},{"id":3137434622,"package_name":"aud","ecosystem":"npm","requirements":"^1.1.5","direct":true,"kind":"development","optional":false},{"id":3137434623,"package_name":"es-value-fixtures","ecosystem":"npm","requirements":"^1.2.1","direct":true,"kind":"development","optional":false},{"id":3137434624,"package_name":"eslint","ecosystem":"npm","requirements":"^8.4.1","direct":true,"kind":"development","optional":false},{"id":3137434625,"package_name":"foreach","ecosystem":"npm","requirements":"^2.0.5","direct":true,"kind":"development","optional":false},{"id":3137434626,"package_name":"function.prototype.name","ecosystem":"npm","requirements":"^1.1.5","direct":true,"kind":"development","optional":false},{"id":3137434627,"package_name":"nyc","ecosystem":"npm","requirements":"^10.3.2","direct":true,"kind":"development","optional":false},{"id":3137434628,"package_name":"object-inspect","ecosystem":"npm","requirements":"^1.11.1","direct":true,"kind":"development","optional":false},{"id":3137434629,"package_name":"object-is","ecosystem":"npm","requirements":"^1.1.5","direct":true,"kind":"development","optional":false},{"id":3137434630,"package_name":"safe-publish-latest","ecosystem":"npm","requirements":"^2.0.0","direct":true,"kind":"development","optional":false},{"id":3137434631,"package_name":"tape","ecosystem":"npm","requirements":"^5.3.2","direct":true,"kind":"development","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/node-aught.yml","sha":null,"kind":"manifest","created_at":"2025-01-22T02:08:47.870Z","updated_at":"2025-01-22T02:08:47.870Z","repository_link":"https://github.com/ljharb/es-to-primitive/blob/main/.github/workflows/node-aught.yml","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/node-pretest.yml","sha":null,"kind":"manifest","created_at":"2025-01-22T02:08:47.922Z","updated_at":"2025-01-22T02:08:47.922Z","repository_link":"https://github.com/ljharb/es-to-primitive/blob/main/.github/workflows/node-pretest.yml","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/node-tens.yml","sha":null,"kind":"manifest","created_at":"2025-01-22T02:08:47.983Z","updated_at":"2025-01-22T02:08:47.983Z","repository_link":"https://github.com/ljharb/es-to-primitive/blob/main/.github/workflows/node-tens.yml","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/node-twenties.yml","sha":null,"kind":"manifest","created_at":"2025-01-22T02:08:48.039Z","updated_at":"2025-01-22T02:08:48.039Z","repository_link":"https://github.com/ljharb/es-to-primitive/blob/main/.github/workflows/node-twenties.yml","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/rebase.yml","sha":null,"kind":"manifest","created_at":"2025-01-22T02:08:48.094Z","updated_at":"2025-01-22T02:08:48.094Z","repository_link":"https://github.com/ljharb/es-to-primitive/blob/main/.github/workflows/rebase.yml","dependencies":[{"id":21564723536,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":21564723537,"package_name":"ljharb/rebase","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/require-allow-edits.yml","sha":null,"kind":"manifest","created_at":"2025-01-22T02:08:49.198Z","updated_at":"2025-01-22T02:08:49.198Z","repository_link":"https://github.com/ljharb/es-to-primitive/blob/main/.github/workflows/require-allow-edits.yml","dependencies":[{"id":21564723538,"package_name":"ljharb/require-allow-edits","ecosystem":"actions","requirements":"main","direct":true,"kind":"composite","optional":false}]}],"score":3.1354942159291497,"created_at":"2026-07-08T09:34:10.461Z","updated_at":"2026-07-11T12:01:09.142Z","avatar_url":"https://github.com/ljharb.png","language":"JavaScript","codemeta":null,"publiccode":null,"project_url":"https://summary.ecosyste.ms/api/v1/projects/378682","html_url":"https://summary.ecosyste.ms/projects/378682"}