{"id":1431769,"name":"array.prototype.foreach","ecosystem":"npm","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/es-shims/Array.prototype.forEach","keywords_array":["Array.prototype.forEach","forEach","array","ecmascript","ES","shim","polyfill","es-shim API"],"namespace":null,"versions_count":8,"first_release_published_at":"2021-08-07T20:38:33.837Z","latest_release_published_at":"2024-03-19T17:22:35.377Z","latest_release_number":"1.0.7","last_synced_at":"2026-03-14T23:03:10.666Z","created_at":"2022-04-09T00:56:10.887Z","updated_at":"2026-03-14T23:03:10.667Z","registry_url":"https://www.npmjs.com/package/array.prototype.foreach","install_command":"npm install array.prototype.foreach","documentation_url":null,"metadata":{"funding":{"url":"https://github.com/sponsors/ljharb"},"dist-tags":{"latest":"1.0.7"}},"repo_metadata":{"id":57184193,"uuid":"393743283","full_name":"es-shims/Array.prototype.forEach","owner":"es-shims","description":"Array.prototype.forEach spec-compliant polyfill","archived":false,"fork":false,"pushed_at":"2024-03-19T17:22:32.000Z","size":81,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-23T05:39:14.974Z","etag":null,"topics":["array","ecmascript","foreach","javascript","polyfill","shim"],"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/es-shims.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},"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":"npm/es5-shim","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-08-07T17:04:00.000Z","updated_at":"2023-10-09T19:13:16.000Z","dependencies_parsed_at":"2024-06-18T19:58:21.808Z","dependency_job_id":"df801758-7991-41b2-8edd-3454021e90c5","html_url":"https://github.com/es-shims/Array.prototype.forEach","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"0685b3e9e019eb8aa1595c0bfbd16a6e7bf6d242"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/es-shims/Array.prototype.forEach","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/es-shims","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/sbom","scorecard":{"id":382110,"data":{"date":"2025-08-11","repo":{"name":"github.com/es-shims/Array.prototype.forEach","commit":"221db09c351c56fd4c9172e40391f601cf6b8d8a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"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":"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":"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/es-shims/Array.prototype.forEach/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/es-shims/Array.prototype.forEach/node-pretest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-tens.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/es-shims/Array.prototype.forEach/node-tens.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rebase.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/es-shims/Array.prototype.forEach/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/es-shims/Array.prototype.forEach/require-allow-edits.yml/main?enable=pin","Info:   0 out of   5 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":"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":"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":"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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node-aught.yml:1","Warn: no topLevel permission defined: .github/workflows/node-pretest.yml:1","Warn: no topLevel permission defined: .github/workflows/node-tens.yml:1","Warn: no topLevel permission defined: .github/workflows/rebase.yml:1","Warn: no topLevel permission defined: .github/workflows/require-allow-edits.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":"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":"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":"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":"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":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/es-shims/.github/SECURITY.md:1","Info: Found linked content: github.com/es-shims/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/es-shims/.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"}}]},"last_synced_at":"2025-08-18T15:42:24.759Z","repository_id":57184193,"created_at":"2025-08-18T15:42:24.759Z","updated_at":"2025-08-18T15:42:24.759Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277632374,"owners_count":25850734,"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-09-30T02:00:09.208Z","response_time":75,"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_record":{"login":"es-shims","name":"ECMAScript Shims","uuid":"6288429","kind":"organization","description":"A community host for shims and polyfills that are compliant to EcmaScript specs.","email":null,"website":"https://tc39.es/ecma262/","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/6288429?v=4","repositories_count":153,"last_synced_at":"2024-04-16T00:30:48.097Z","metadata":{"has_sponsors_listing":false,"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":"npm/es5-shim","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"html_url":"https://github.com/es-shims","funding_links":["https://github.com/sponsors/ljharb","https://tidelift.com/funding/github/npm/es5-shim"],"total_stars":9478,"followers":128,"following":0,"created_at":"2022-11-02T16:18:54.419Z","updated_at":"2024-04-16T00:31:50.134Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/es-shims","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/es-shims/repositories"},"tags":[{"name":"v1.0.7","sha":"221db09c351c56fd4c9172e40391f601cf6b8d8a","kind":"tag","published_at":"2024-03-19T17:22:28.000Z","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/v1.0.7","html_url":"https://github.com/es-shims/Array.prototype.forEach/releases/tag/v1.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/es-shims/Array.prototype.forEach@v1.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.7/manifests"},{"name":"v1.0.6","sha":"68e050a455df169f4c7fd085324d81e5be8c7557","kind":"tag","published_at":"2024-02-05T07:26:12.000Z","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/v1.0.6","html_url":"https://github.com/es-shims/Array.prototype.forEach/releases/tag/v1.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/es-shims/Array.prototype.forEach@v1.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.6/manifests"},{"name":"v1.0.5","sha":"d563d8999b44b923e64eb6b99225b892cef5351d","kind":"tag","published_at":"2023-09-05T17:35:00.000Z","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/v1.0.5","html_url":"https://github.com/es-shims/Array.prototype.forEach/releases/tag/v1.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/es-shims/Array.prototype.forEach@v1.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.5/manifests"},{"name":"v1.0.4","sha":"0685b3e9e019eb8aa1595c0bfbd16a6e7bf6d242","kind":"tag","published_at":"2022-11-03T15:56:13.000Z","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/v1.0.4","html_url":"https://github.com/es-shims/Array.prototype.forEach/releases/tag/v1.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/es-shims/Array.prototype.forEach@v1.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.4/manifests"},{"name":"v1.0.3","sha":"71f8a002c0423bc36c729b371f48bb8cbbe913c9","kind":"tag","published_at":"2022-11-03T05:38:33.000Z","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/v1.0.3","html_url":"https://github.com/es-shims/Array.prototype.forEach/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/es-shims/Array.prototype.forEach@v1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"f9ef8762d0b4557800bc11daad8e5874919c65ad","kind":"tag","published_at":"2021-10-01T19:41:23.000Z","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/v1.0.2","html_url":"https://github.com/es-shims/Array.prototype.forEach/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/es-shims/Array.prototype.forEach@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"4184b65305cb9b679a3b37a8bca8a8443da8e353","kind":"tag","published_at":"2021-08-17T02:10:09.000Z","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/v1.0.1","html_url":"https://github.com/es-shims/Array.prototype.forEach/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/es-shims/Array.prototype.forEach@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"696d9aa8f79e8edf31785817868ab5b75082c56b","kind":"tag","published_at":"2021-08-07T20:38:11.000Z","download_url":"https://codeload.github.com/es-shims/Array.prototype.forEach/tar.gz/v1.0.0","html_url":"https://github.com/es-shims/Array.prototype.forEach/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/es-shims/Array.prototype.forEach@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-11-06T04:19:56.645Z","dependent_packages_count":5,"downloads":244072,"downloads_period":"last-month","dependent_repos_count":3400,"rankings":{"downloads":0.34615866592584493,"dependent_repos_count":0.40046948437407903,"dependent_packages_count":4.400922582085196,"stargazers_count":13.567876294087686,"forks_count":10.146542892626783,"docker_downloads_count":0.24639378716864013,"average":4.851393951044705},"purl":"pkg:npm/array.prototype.foreach","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/array.prototype.foreach","docker_dependents_count":92,"docker_downloads_count":24523369,"usage_url":"https://repos.ecosyste.ms/usage/npm/array.prototype.foreach","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/array.prototype.foreach/dependencies","status":null,"funding_links":["https://github.com/sponsors/ljharb","https://tidelift.com/funding/github/npm/es5-shim"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-23T05:39:16.619Z","issues_count":1,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":1,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FArray.prototype.forEach/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array.prototype.foreach/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array.prototype.foreach/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array.prototype.foreach/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array.prototype.foreach/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array.prototype.foreach/codemeta","maintainers":[{"uuid":"ljharb","login":"ljharb","name":null,"email":"ljharb@gmail.com","url":null,"packages_count":560,"html_url":"https://www.npmjs.com/~ljharb","role":null,"created_at":"2022-11-11T12:08:23.427Z","updated_at":"2022-11-11T12:08:23.427Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/ljharb/packages"}]}