{"_id":"array.prototype.foreach","_rev":"3281772","name":"array.prototype.foreach","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","dist-tags":{"latest":"1.0.7"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2024-05-16T05:30:30.000Z","created":"2021-08-17T02:10:34.217Z","1.0.7":"2024-03-19T17:22:35.377Z","1.0.6":"2024-02-05T07:26:23.278Z","1.0.5":"2023-09-05T17:35:07.881Z","1.0.4":"2022-11-03T15:56:28.902Z","1.0.3":"2022-11-03T05:38:53.302Z","1.0.2":"2021-10-01T20:27:53.279Z","1.0.1":"2021-08-17T02:10:34.217Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.forEach.git"},"versions":{"1.0.7":{"name":"array.prototype.foreach","version":"1.0.7","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.forEach/issues"},"homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","main":"index.js","exports":{".":"./index.js","./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run --silent lint && evalmd README.md","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.forEach.git"},"keywords":["Array.prototype.forEach","forEach","array","ecmascript","ES","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.7","define-properties":"^1.2.1","es-abstract":"^1.23.2","es-array-method-boxes-properly":"^1.0.0","es-errors":"^1.3.0","es-object-atoms":"^1.0.0","is-string":"^1.0.7"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.7.5"},"testling":{"files":["test/index.js","test/implementation.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"_id":"array.prototype.foreach@1.0.7","gitHead":"221db09c351c56fd4c9172e40391f601cf6b8d8a","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"shasum":"e4bfbfb16ed9d9f04409e900ac85a7bb6a58f940","size":7970,"noattachment":false,"key":"/array.prototype.foreach/-/array.prototype.foreach-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.foreach/download/array.prototype.foreach-1.0.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.foreach_1.0.7_1710868955192_0.4896821484569156"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-19T17:22:35.377Z","publish_time":1710868955377,"_source_registry_name":"default","_cnpm_publish_time":1710868955377},"1.0.6":{"name":"array.prototype.foreach","version":"1.0.6","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.forEach/issues"},"homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run --silent lint && evalmd README.md","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.forEach.git"},"keywords":["Array.prototype.forEach","forEach","array","ecmascript","ES","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.5","define-properties":"^1.2.1","es-abstract":"^1.22.3","es-array-method-boxes-properly":"^1.0.0","es-errors":"^1.1.0","is-string":"^1.0.7"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.7.4"},"testling":{"files":["test/index.js","test/implementation.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"_id":"array.prototype.foreach@1.0.6","gitHead":"68e050a455df169f4c7fd085324d81e5be8c7557","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"shasum":"e0d1d686b286d3b51de53eab673472b1cdb61847","size":8157,"noattachment":false,"key":"/array.prototype.foreach/-/array.prototype.foreach-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.foreach/download/array.prototype.foreach-1.0.6.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.foreach_1.0.6_1707117983051_0.16622658549707192"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-05T07:26:23.278Z","publish_time":1707117983278,"_source_registry_name":"default","_cnpm_publish_time":1707117983278},"1.0.5":{"name":"array.prototype.foreach","version":"1.0.5","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.forEach/issues"},"homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run --silent lint && evalmd README.md","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.forEach.git"},"keywords":["Array.prototype.forEach","forEach","array","ecmascript","ES","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.2.0","es-abstract":"^1.22.1","es-array-method-boxes-properly":"^1.0.0","get-intrinsic":"^1.2.1","is-string":"^1.0.7"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"testling":{"files":["test/index.js","test/implementation.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"_id":"array.prototype.foreach@1.0.5","gitHead":"d563d8999b44b923e64eb6b99225b892cef5351d","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"01228c468b69bf3aff9945669db886c51b3f92fb","size":7904,"noattachment":false,"key":"/array.prototype.foreach/-/array.prototype.foreach-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.foreach/download/array.prototype.foreach-1.0.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.foreach_1.0.5_1693935307716_0.18399172567653332"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-05T17:35:07.881Z","publish_time":1693935307881,"_source_registry_name":"default","_cnpm_publish_time":1693935307881},"1.0.4":{"name":"array.prototype.foreach","version":"1.0.4","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.forEach/issues"},"homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run --silent lint && evalmd README.md","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.forEach.git"},"keywords":["Array.prototype.forEach","forEach","array","ecmascript","ES","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.4","es-abstract":"^1.20.4","es-array-method-boxes-properly":"^1.0.0","get-intrinsic":"^1.1.3","is-string":"^1.0.7"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"testling":{"files":["test/index.js","test/implementation.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"0685b3e9e019eb8aa1595c0bfbd16a6e7bf6d242","_id":"array.prototype.foreach@1.0.4","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"ea248e0bc250fef587c369cc7102908a43d9f23c","size":7802,"noattachment":false,"key":"/array.prototype.foreach/-/array.prototype.foreach-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.foreach/download/array.prototype.foreach-1.0.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.foreach_1.0.4_1667490988741_0.5517706221244525"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-03T16:08:17.031Z","publish_time":1667490988902,"_cnpm_publish_time":1667490988902},"1.0.3":{"name":"array.prototype.foreach","version":"1.0.3","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.forEach/issues"},"homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run --silent lint && evalmd README.md","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.forEach.git"},"keywords":["Array.prototype.forEach","forEach","array","ecmascript","ES","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.1","es-array-method-boxes-properly":"^1.0.0","get-intrinsic":"^1.1.1","is-string":"^1.0.7"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^20.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^8.4.1","evalmd":"^0.0.19","functions-have-names":"^1.2.2","has-strict-mode":"^1.0.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.3.2"},"testling":{"files":["test/index.js","test/implementation.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"71f8a002c0423bc36c729b371f48bb8cbbe913c9","_id":"array.prototype.foreach@1.0.3","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"d6fda6b8bcb019f83ef88bc50d477e582e9ecf26","size":7646,"noattachment":false,"key":"/array.prototype.foreach/-/array.prototype.foreach-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.foreach/download/array.prototype.foreach-1.0.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.foreach_1.0.3_1667453933145_0.8518282754785642"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-03T05:41:05.674Z","publish_time":1667453933302,"_cnpm_publish_time":1667453933302},"1.0.2":{"name":"array.prototype.foreach","version":"1.0.2","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.forEach/issues"},"homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./implementation":"./implementation.js","./polyfill":"./polyfill.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","lint":"eslint .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.forEach.git"},"keywords":["Array.prototype.forEach","forEach","array","ecmascript","ES","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.0","es-array-method-boxes-properly":"^1.0.0","get-intrinsic":"^1.1.1","is-string":"^1.0.7"},"devDependencies":{"@es-shims/api":"^2.2.1","@ljharb/eslint-config":"^18.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^7.32.0","evalmd":"^0.0.19","functions-have-names":"^1.2.2","has-strict-mode":"^1.0.1","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"testling":{"files":["test/index.js","test/implementation.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"f9ef8762d0b4557800bc11daad8e5874919c65ad","_id":"array.prototype.foreach@1.0.2","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"592b177c8d6abb84e14de1649eb6e7cc5eb9c9ae","size":7399,"noattachment":false,"key":"/array.prototype.foreach/-/array.prototype.foreach-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.foreach/download/array.prototype.foreach-1.0.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.foreach_1.0.2_1633120073135_0.7985081417286723"},"_hasShrinkwrap":false,"publish_time":1633120073279,"_cnpm_publish_time":1633120073279,"_cnpmcore_publish_time":"2021-12-16T19:45:10.489Z"},"1.0.1":{"name":"array.prototype.foreach","version":"1.0.1","description":"An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.forEach/issues"},"homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./implementation":"./implementation.js","./polyfill":"./polyfill.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","lint":"eslint .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.forEach.git"},"keywords":["Array.prototype.forEach","forEach","array","ecmascript","ES","shim","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.18.5","es-array-method-boxes-properly":"^1.0.0","get-intrinsic":"^1.1.1","is-string":"^1.0.7"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^7.32.0","evalmd":"^0.0.19","functions-have-names":"^1.2.2","has-strict-mode":"^1.0.1","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"testling":{"files":["test/index.js","test/implementation.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"4184b65305cb9b679a3b37a8bca8a8443da8e353","_id":"array.prototype.foreach@1.0.1","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"shasum":"c0e2ba7e6a7f663d1bcf0369fdb0470a0df8c231","size":7228,"noattachment":false,"key":"/array.prototype.foreach/-/array.prototype.foreach-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.foreach/download/array.prototype.foreach-1.0.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.foreach_1.0.1_1629166234049_0.41503951194382904"},"_hasShrinkwrap":false,"publish_time":1629166234217,"_cnpm_publish_time":1629166234217,"_cnpmcore_publish_time":"2021-12-16T19:45:10.675Z"}},"readme":"# array.prototype.foreach <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nAn ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-array.prototype.foreach).\n\nBecause `Array.prototype.forEach` depends on a receiver (the `this` value), the main export takes the array to operate on as the first argument.\n\n## Getting started\n\n```sh\nnpm install --save array.prototype.foreach\n```\n\n## Usage/Examples\n\n```js\nvar forEach = require('array.prototype.foreach');\nvar assert = require('assert');\n\nvar arr = [1, [2], [], 3, [[4]]];\nvar counter = 0;\nvar increaseCounter = function (x) { counter += 1; };\n\nassert.equal(forEach(arr, increaseCounter), undefined);\nassert.equal(counter, arr.length);\n```\n\n```js\nvar forEach = require('array.prototype.foreach');\nvar assert = require('assert');\n/* when Array#forEach is not present */\ndelete Array.prototype.forEach;\nvar shimmed = forEach.shim();\nvar counter = 0;\n\nassert.equal(shimmed, forEach.getPolyfill());\nassert.equal(arr.forEach(increaseCounter), forEach(arr, increaseCounter));\nassert.equal(counter, arr.length * 2);\n```\n\n```js\nvar forEach = require('array.prototype.foreach');\nvar assert = require('assert');\n/* when Array#forEach is present */\nvar shimmed = forEach.shim();\nvar counter = 0;\n\nassert.equal(shimmed, Array.prototype.forEach);\nassert.equal(arr.forEach(increaseCounter), forEach(arr, increaseCounter));\nassert.equal(counter, arr.length * 2);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/array.prototype.foreach\n[npm-version-svg]: https://versionbadg.es/es-shims/Array.prototype.forEach.svg\n[deps-svg]: https://david-dm.org/es-shims/Array.prototype.forEach.svg\n[deps-url]: https://david-dm.org/es-shims/Array.prototype.forEach\n[dev-deps-svg]: https://david-dm.org/es-shims/Array.prototype.forEach/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Array.prototype.forEach#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/array.prototype.foreach.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/array.prototype.foreach.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/array.prototype.foreach.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=array.prototype.foreach\n[codecov-image]: https://codecov.io/gh/es-shims/Array.prototype.forEach/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Array.prototype.forEach/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Array.prototype.forEach\n[actions-url]: https://github.com/es-shims/Array.prototype.forEach\n","_attachments":{},"homepage":"https://github.com/es-shims/Array.prototype.forEach#readme","bugs":{"url":"https://github.com/es-shims/Array.prototype.forEach/issues"},"license":"MIT"}