{"_id":"array.prototype.reduce","_rev":"4177542","name":"array.prototype.reduce","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","dist-tags":{"latest":"1.0.8"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2026-03-01T21:38:43.000Z","created":"2019-10-01T02:04:35.443Z","1.0.8":"2025-03-15T05:05:56.799Z","1.0.7":"2024-03-21T04:54:18.498Z","1.0.6":"2023-08-30T04:38:36.406Z","1.0.5":"2022-11-04T05:42:22.108Z","1.0.4":"2022-04-11T20:30:29.557Z","1.0.3":"2021-10-01T23:51:15.379Z","1.0.2":"2020-11-20T00:07:08.682Z","1.0.1":"2019-12-20T22:21:04.241Z","1.0.0":"2019-10-01T02:04:35.443Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"versions":{"1.0.8":{"name":"array.prototype.reduce","version":"1.0.8","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"npx npm@\">= 10.2\" audit --production","tests-only":"nyc tape 'test/**/*.js'","testling":"npx testling --html > test.html"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"dependencies":{"call-bind":"^1.0.8","call-bound":"^1.0.4","define-properties":"^1.2.1","es-abstract":"^1.23.9","es-array-method-boxes-properly":"^1.0.0","es-errors":"^1.3.0","es-object-atoms":"^1.1.1","is-string":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.5.1","@ljharb/eslint-config":"^21.1.1","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","has-strict-mode":"^1.1.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"array.prototype.reduce@1.0.8","gitHead":"27597d0bba6159b678f7d44bbc9cef550f294851","_nodeVersion":"23.10.0","_npmVersion":"10.9.2","dist":{"shasum":"42f97f5078daedca687d4463fd3c05cbfd83da57","size":10082,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.8.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/array.prototype.reduce_1.0.8_1742015156608_0.6128605484295464"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-15T05:05:56.799Z","publish_time":1742015156799,"_source_registry_name":"default","_cnpm_publish_time":1742015156799},"1.0.7":{"name":"array.prototype.reduce","version":"1.0.7","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","testling":"npx testling --html > test.html"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"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","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.7.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"array.prototype.reduce@1.0.7","gitHead":"2f1a228221baa168fc8872aa82f0163b42d15844","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"shasum":"6aadc2f995af29cb887eb866d981dc85ab6f7dc7","size":9759,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.reduce_1.0.7_1710996858342_0.3223250114717786"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-21T04:54:18.498Z","publish_time":1710996858498,"_source_registry_name":"default","_cnpm_publish_time":1710996858498},"1.0.6":{"name":"array.prototype.reduce","version":"1.0.6","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","testling":"npx testling --html > test.html"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.2.0","es-abstract":"^1.22.1","es-array-method-boxes-properly":"^1.0.0","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","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"array.prototype.reduce@1.0.6","gitHead":"5c5a9c378d3873b56e3afa1d277b3660b8889437","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"63149931808c5fc1e1354814923d92d45f7d96d5","size":9453,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.6.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.reduce_1.0.6_1693370316230_0.5024777920956474"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-30T04:38:36.406Z","publish_time":1693370316406,"_source_registry_name":"default","_cnpm_publish_time":1693370316406},"1.0.5":{"name":"array.prototype.reduce","version":"1.0.5","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","testling":"npx testling --html > test.html"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.4","es-abstract":"^1.20.4","es-array-method-boxes-properly":"^1.0.0","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","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"9721175338f7085d7c76f73d2c827a44d1307b89","_id":"array.prototype.reduce@1.0.5","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"6b20b0daa9d9734dd6bc7ea66b5bbce395471eac","size":9352,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.reduce_1.0.5_1667540541906_0.9586282067461434"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-04T05:42:47.153Z","publish_time":1667540542108,"_cnpm_publish_time":1667540542108},"1.0.4":{"name":"array.prototype.reduce","version":"1.0.4","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","testling":"npx testling --html > test.html"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.2","es-array-method-boxes-properly":"^1.0.0","is-string":"^1.0.7"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","auto-changelog":"^2.4.0","eslint":"=8.8.0","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.5.3"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"7b6ef2c74622bd27655abfded727f9391238084a","_id":"array.prototype.reduce@1.0.4","_nodeVersion":"17.9.0","_npmVersion":"8.3.1","dist":{"shasum":"8167e80089f78bff70a99e20bd4201d4663b0a6f","size":8975,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.reduce_1.0.4_1649709029353_0.443575073569882"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-11T23:40:53.767Z","publish_time":1649709029557,"_cnpm_publish_time":1649709029557},"1.0.3":{"name":"array.prototype.reduce","version":"1.0.3","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"npx aud --production","tests-only":"nyc tape 'test/**/*.js'","testling":"npx testling --html > test.html"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.0","es-array-method-boxes-properly":"^1.0.0","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"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"dd1e223d72116924955b1d80f18b0c4d5657aaf1","_id":"array.prototype.reduce@1.0.3","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"7e1b1aabd813af2e748cfe79401d27c15c85d1ed","size":8486,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.reduce_1.0.3_1633132275205_0.9118518874111201"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T18:33:18.208Z","publish_time":1633132275379,"_cnpm_publish_time":1633132275379},"1.0.2":{"name":"array.prototype.reduce","version":"1.0.2","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepublish":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"npx aud --production","tests-only":"nyc tape 'test/**/*.js'","testling":"npx testling --html > test.html"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"dependencies":{"call-bind":"^1.0.0","define-properties":"^1.1.3","es-abstract":"^1.18.0-next.1","es-array-method-boxes-properly":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.2.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eslint":"^7.13.0","evalmd":"^0.0.19","functions-have-names":"^1.2.1","has-strict-mode":"^1.0.0","is-string":"^1.0.5","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"1339e41906b81981090054d5a188fe164bf643ac","_id":"array.prototype.reduce@1.0.2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"115aa3dc392e4f6399b3c2a1ddc8de1401c79c43","size":7821,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.reduce_1.0.2_1605830828541_0.09255635465486334"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T18:33:17.334Z","publish_time":1605830828682,"_cnpm_publish_time":1605830828682},"1.0.1":{"name":"array.prototype.reduce","version":"1.0.1","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepublish":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint .","pretest":"npm run lint","test":"npm run tests-only","posttest":"npx aud","tests-only":"es-shim-api --bound && npm run test:shimmed && npm run test:module && npm run test:implementation","test:implementation":"node test/implementation","test:shimmed":"node test/shimmed","test:module":"node test/index","testling":"npx testling --html > test.html","coverage":"covert test/*.js"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"dependencies":{"define-properties":"^1.1.3","es-abstract":"^1.17.0-next.1","es-array-method-boxes-properly":"^1.0.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^15.1.0","auto-changelog":"^1.16.2","covert":"^1.1.1","eslint":"^6.7.2","evalmd":"^0.0.19","functions-have-names":"^1.2.0","has-strict-mode":"^1.0.0","is-string":"^1.0.5","safe-publish-latest":"^1.1.4","tape":"^4.12.0"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"bc82f3facf9ff5b208adfcb8586937a3ee58a3a1","_id":"array.prototype.reduce@1.0.1","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","dist":{"shasum":"9b27fb6629406a36bf26f8dd85c1594f3b030a88","size":7171,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.reduce_1.0.1_1576880464128_0.2203629094843771"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T18:33:16.467Z","publish_time":1576880464241,"_cnpm_publish_time":1576880464241},"1.0.0":{"name":"array.prototype.reduce","version":"1.0.0","description":"An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.","main":"index.js","directories":{"test":"test"},"scripts":{"prepublish":"safe-publish-latest","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)\")\"","prelint":"evalmd README.md","lint":"eslint .","pretest":"npm run lint","test":"npm run tests-only","posttest":"npx aud","tests-only":"es-shim-api --bound && npm run test:shimmed && npm run test:module && npm run test:implementation","test:implementation":"node test/implementation","test:shimmed":"node test/shimmed","test:module":"node test/index","testling":"npx testling --html > test.html","coverage":"covert test/*.js"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Array.prototype.reduce.git"},"keywords":["Array.prototype.reduce","reduce","array","ES5","shim","polyfill","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","engines":{"node":">= 0.4"},"dependencies":{"define-properties":"^1.1.3","es-abstract":"^1.14.2","es-array-method-boxes-properly":"^1.0.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^14.1.0","auto-changelog":"^1.16.1","covert":"^1.1.1","eslint":"^6.4.0","evalmd":"^0.0.19","functions-have-names":"^1.1.1","has-strict-mode":"^1.0.0","is-string":"^1.0.4","safe-publish-latest":"^1.1.3","tape":"^4.11.0"},"auto-changelog":{"backfillLimit":false,"commitLimit":false,"template":"keepachangelog"},"gitHead":"55fdd3f9d2b496ce20cf0d90f743ab461706b22c","_id":"array.prototype.reduce@1.0.0","_nodeVersion":"12.11.0","_npmVersion":"6.11.3","dist":{"shasum":"83878470a02e4982e294af265b87aaa317c1cd90","size":7243,"noattachment":false,"key":"/array.prototype.reduce/-/array.prototype.reduce-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.reduce/download/array.prototype.reduce-1.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.reduce_1.0.0_1569895475315_0.45955894499599825"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T18:33:15.594Z","publish_time":1569895475443,"_cnpm_publish_time":1569895475443}},"readme":"# array.prototype.reduce <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 ES5 spec-compliant `Array.prototype.reduce` 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://www.ecma-international.org/ecma-262/5.1/).\n\nBecause `Array.prototype.reduce` depends on a receiver (the “this” value), the main export takes the array to operate on as the first argument.\n\n## Example\n\n```js\nvar reduce = require('array.prototype.reduce');\nvar assert = require('assert');\n\nassert.equal(reduce([1, 2, 3], function (prev, x) { return prev + x; }), 6);\nassert.equal(reduce([1, 2, 3], function (prev, x) { return prev + x; }, 1), 7);\n```\n\n```js\nvar reduce = require('array.prototype.reduce');\nvar assert = require('assert');\n/* when Array#reduce is not present */\ndelete Array.prototype.reduce;\nvar shimmed = reduce.shim();\nassert.equal(shimmed, reduce.getPolyfill());\nvar arr = [1, 2, 3];\nvar sum = function (a, b) { return a + b; };\nassert.equal(arr.reduce(sum), reduce(arr, sum));\nassert.equal(arr.reduce(sum), 6);\nassert.equal(arr.reduce(sum, 1), 7);\n```\n\n```js\nvar reduce = require('array.prototype.reduce');\nvar assert = require('assert');\n/* when Array#reduce is present */\nvar shimmed = reduce.shim();\nassert.equal(shimmed, Array.prototype.reduce);\nassert.equal(arr.reduce(sum), reduce(arr, sum));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/array.prototype.reduce\n[npm-version-svg]: https://versionbadg.es/es-shims/Array.prototype.reduce.svg\n[deps-svg]: https://david-dm.org/es-shims/Array.prototype.reduce.svg\n[deps-url]: https://david-dm.org/es-shims/Array.prototype.reduce\n[dev-deps-svg]: https://david-dm.org/es-shims/Array.prototype.reduce/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Array.prototype.reduce#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/array.prototype.reduce.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/array.prototype.reduce.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/array.prototype.reduce.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=array.prototype.reduce\n[codecov-image]: https://codecov.io/gh/es-shims/Array.prototype.reduce/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Array.prototype.reduce/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Array.prototype.reduce\n[actions-url]: https://github.com/es-shims/Array.prototype.reduce/actions\n","_attachments":{},"homepage":"https://github.com/es-shims/Array.prototype.reduce#readme","bugs":{"url":"https://github.com/es-shims/Array.prototype.reduce/issues"},"license":"MIT"}