{"_id":"array.prototype.findlast","_rev":"3337864","name":"array.prototype.findlast","description":"An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.","dist-tags":{"latest":"1.2.5"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2024-07-10T08:08:04.000Z","created":"2021-07-14T06:37:48.192Z","1.2.5":"2024-03-19T17:21:11.500Z","1.2.4":"2024-02-06T07:35:15.023Z","1.2.3":"2023-08-30T04:37:40.223Z","1.2.2":"2022-11-03T04:01:45.803Z","1.2.1":"2022-04-11T20:23:25.408Z","1.2.0":"2022-04-11T13:46:15.978Z","1.1.1":"2021-10-01T17:31:44.761Z","1.1.0":"2021-08-07T18:13:39.184Z","1.0.0":"2021-07-14T06:37:48.192Z"},"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.findLast.git"},"versions":{"1.2.5":{"name":"array.prototype.findlast","version":"1.2.5","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#readme","main":"index.js","exports":{".":"./index.js","./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.7","define-properties":"^1.2.1","es-abstract":"^1.23.2","es-errors":"^1.3.0","es-object-atoms":"^1.0.0","es-shim-unscopables":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","globalthis":"^1.0.3","has-strict-mode":"^1.0.1","hasown":"^2.0.2","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.5"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"array.prototype.findlast@1.2.5","gitHead":"86df6af8f39b82ad2d5cac3a362f920813bae030","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"shasum":"3e4fbcb30a15a7f5bf64cf2faae22d139c2e4904","size":9479,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.2.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.2.5_1710868871342_0.3589218307026676"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-19T17:21:11.500Z","publish_time":1710868871500,"_source_registry_name":"default","_cnpm_publish_time":1710868871500},"1.2.4":{"name":"array.prototype.findlast","version":"1.2.4","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#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":{"prepack":"npmignore --auto --commentLines=autogenerated","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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.5","define-properties":"^1.2.1","es-abstract":"^1.22.3","es-errors":"^1.3.0","es-shim-unscopables":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","globalthis":"^1.0.3","has-strict-mode":"^1.0.1","hasown":"^2.0.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","safe-publish-latest":"^2.0.0","tape":"^5.7.4"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"array.prototype.findlast@1.2.4","gitHead":"87ac8a235c35d726d3fd05937faea770467d3346","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"shasum":"eeb9e45fc894055c82e5675c463e8077b827ad36","size":9685,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.2.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.2.4_1707204914810_0.002040245895831294"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-06T07:35:15.023Z","publish_time":1707204915023,"_source_registry_name":"default","_cnpm_publish_time":1707204915023},"1.2.3":{"name":"array.prototype.findlast","version":"1.2.3","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#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":{"prepack":"npmignore --auto --commentLines=autogenerated","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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.2.0","es-abstract":"^1.22.1","es-shim-unscopables":"^1.0.0","get-intrinsic":"^1.2.1"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","globalthis":"^1.0.3","has":"^1.0.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"array.prototype.findlast@1.2.3","gitHead":"e58b02f009ebfbcac7ae2152e97e90e6ceaecd6c","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"4e4b375de5adf4897fed155e2d2771564865cc3b","size":9352,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.2.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.2.3_1693370259984_0.11899473961040519"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-30T04:37:40.223Z","publish_time":1693370260223,"_source_registry_name":"default","_cnpm_publish_time":1693370260223},"1.2.2":{"name":"array.prototype.findlast","version":"1.2.2","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#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":{"prepack":"npmignore --auto --commentLines=autogenerated","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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.4","es-abstract":"^1.20.4","es-shim-unscopables":"^1.0.0","get-intrinsic":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has":"^1.0.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"28bb5b27a293c463146064799e863312a0242203","_id":"array.prototype.findlast@1.2.2","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"134ef6b7215f131a8884fafe6af46846a032c518","size":9020,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.2.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.2.2_1667448105597_0.9239526488114376"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-03T04:08:15.275Z","publish_time":1667448105803,"_cnpm_publish_time":1667448105803},"1.2.1":{"name":"array.prototype.findlast","version":"1.2.1","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.2","es-shim-unscopables":"^1.0.0","get-intrinsic":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","auto-changelog":"^2.4.0","es-value-fixtures":"^1.2.1","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has":"^1.0.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","nyc":"^10.3.2","object-inspect":"^1.12.0","safe-publish-latest":"^2.0.0","tape":"^5.5.3"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"63745f0e606b707155cccb0026c8e9fd6da7057c","_id":"array.prototype.findlast@1.2.1","_nodeVersion":"17.9.0","_npmVersion":"8.3.1","dist":{"shasum":"4812212b125e1fafa3ea222f4430d60a3454e265","size":8561,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.2.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.2.1_1649708605286_0.843468158322856"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-11T20:27:06.611Z","publish_time":1649708605408,"_cnpm_publish_time":1649708605408},"1.2.0":{"name":"array.prototype.findlast","version":"1.2.0","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.2","get-intrinsic":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","auto-changelog":"^2.4.0","es-value-fixtures":"^1.2.1","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has":"^1.0.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","nyc":"^10.3.2","object-inspect":"^1.12.0","safe-publish-latest":"^2.0.0","tape":"^5.5.3"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"b8c4784c9556d03e868dd4435bb32b3780f3a74a","_id":"array.prototype.findlast@1.2.0","_nodeVersion":"17.9.0","_npmVersion":"8.3.1","dist":{"shasum":"49f3453a43d37e38105fbce8867062ac39ad2507","size":8522,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.2.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.2.0_1649684775844_0.4607520709668751"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-11T18:47:21.087Z","publish_time":1649684775978,"_cnpm_publish_time":1649684775978},"1.1.1":{"name":"array.prototype.findlast","version":"1.1.1","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.0","get-intrinsic":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.2.1","@ljharb/eslint-config":"^18.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","es-value-fixtures":"^1.2.1","eslint":"^7.32.0","evalmd":"^0.0.19","for-each":"^0.3.3","has-strict-mode":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"4e701579474c45943e35e7e7a318bd4dd2c13ab0","_id":"array.prototype.findlast@1.1.1","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"72caf7a9347c6e5e747c743823ea261143d9242b","size":7962,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.1.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.1.1_1633109504585_0.02450764313697218"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T18:17:07.891Z","publish_time":1633109504761,"_cnpm_publish_time":1633109504761},"1.1.0":{"name":"array.prototype.findlast","version":"1.1.0","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#readme","main":"index.js","exports":{".":[{"import":"./index.mjs","require":"./index.js","default":"./index.js"},"./index.js"],"./auto":[{"import":"./auto.mjs","require":"./auto.js","default":"./auto.js"},"./auto.js"],"./implementation":[{"import":"./implementation.mjs","require":"./implementation.js","default":"./implementation.js"},"./implementation.js"],"./polyfill":[{"import":"./polyfill.mjs","require":"./polyfill.js","default":"./polyfill.js"},"./polyfill.js"],"./shim":[{"import":"./shim.mjs","require":"./shim.js","default":"./shim.js"},"./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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.18.5","get-intrinsic":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","es-value-fixtures":"^1.2.1","eslint":"^7.32.0","evalmd":"^0.0.19","for-each":"^0.3.3","has-strict-mode":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"4825faa80108205b7eeed369400865621577ae0b","_id":"array.prototype.findlast@1.1.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"d10bfd5cc40c74549508934626f8d7a10f019bc1","size":7621,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.1.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.1.0_1628360019063_0.474334804581902"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T18:17:07.012Z","publish_time":1628360019184,"_cnpm_publish_time":1628360019184},"1.0.0":{"name":"array.prototype.findlast","version":"1.0.0","description":"An ESnext spec-compliant `Array.prototype.findLast` 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.findLast/issues"},"homepage":"https://github.com/es-shims/Array.prototype.findLast#readme","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","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.findLast.git"},"keywords":["Array.prototype.findLast","find","findLast","array","ESnext","shim","polyfill","last","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.18.3","get-intrinsic":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","es-value-fixtures":"^1.2.1","eslint":"^7.30.0","evalmd":"^0.0.19","for-each":"^0.3.3","has-strict-mode":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.2.2"},"testling":{"files":["test/index.js","test/shimmed.js"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"250c7ffd414b364a2c1657e65050c8d51aa7e843","_id":"array.prototype.findlast@1.0.0","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"shasum":"31a4e541fa08afad6c485ef34640bfc589cb20f5","size":6441,"noattachment":false,"key":"/array.prototype.findlast/-/array.prototype.findlast-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.findlast/download/array.prototype.findlast-1.0.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.findlast_1.0.0_1626244668088_0.002651341006817187"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T18:17:06.118Z","publish_time":1626244668192,"_cnpm_publish_time":1626244668192}},"readme":"# array.prototype.findlast <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 ESnext spec-compliant `Array.prototype.findLast` 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 proposed [spec](https://tc39.es/proposal-array-find-from-last).\n\nBecause `Array.prototype.findLast` 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.findlast\n```\n\n## Usage/Examples\n\n```js\nvar findLast = require('array.prototype.findlast');\nvar assert = require('assert');\n\nvar arr = [1, [2], [], 3, [[4]]];\nvar isNumber = function (x) { return typeof x === 'number' };\n\nassert.deepEqual(findLast(arr, isNumber), 3);\n```\n\n```js\nvar findLast = require('array.prototype.findlast');\nvar assert = require('assert');\n/* when Array#findLast is not present */\ndelete Array.prototype.findLast;\nvar shimmed = findLast.shim();\n\nassert.equal(shimmed, findLast.getPolyfill());\nassert.deepEqual(arr.findLast(isNumber), findLast(arr, isNumber));\n```\n\n```js\nvar findLast = require('array.prototype.findlast');\nvar assert = require('assert');\n/* when Array#findLast is present */\nvar shimmed = findLast.shim();\n\nassert.equal(shimmed, Array.prototype.findLast);\nassert.deepEqual(arr.findLast(isNumber), findLast(arr, isNumber));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/array.prototype.findlast\n[npm-version-svg]: https://versionbadg.es/es-shims/Array.prototype.findLast.svg\n[deps-svg]: https://david-dm.org/es-shims/Array.prototype.findLast.svg\n[deps-url]: https://david-dm.org/es-shims/Array.prototype.findLast\n[dev-deps-svg]: https://david-dm.org/es-shims/Array.prototype.findLast/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Array.prototype.findLast#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/array.prototype.findlast.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/array.prototype.findlast.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/array.prototype.findlast.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=array.prototype.findlast\n[codecov-image]: https://codecov.io/gh/es-shims/Array.prototype.findLast/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Array.prototype.findLast/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Array.prototype.findLast\n[actions-url]: https://github.com/es-shims/Array.prototype.findLast\n","_attachments":{},"homepage":"https://github.com/es-shims/Array.prototype.findLast#readme","bugs":{"url":"https://github.com/es-shims/Array.prototype.findLast/issues"},"license":"MIT"}