{ "name": "array.prototype.findlastindex", "version": "1.2.4", "description": "An ESnext spec-compliant `Array.prototype.findLastIndex` 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.findLastIndex/issues" }, "homepage": "https://github.com/es-shims/Array.prototype.findLastIndex#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", "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", "prelint": "evalmd README.md", "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.findLastIndex.git" }, "keywords": [ "Array.prototype.findLastIndex", "find", "findLast", "findLastIndex", "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", "functions-have-names": "^1.2.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" ] } }