MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/.npm/registry.npmjs.org/locate-path/.cache.json
{"_id":"locate-path","_rev":"7-503d4cbdacdb914df5cf47299b879812","name":"locate-path","description":"Get the first path that exists on disk of multiple paths","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"locate-path","version":"1.0.0","description":"Get the first path that exists on disk of multiple paths","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/locate-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["locate","path","paths","file","files","exists","find","finder","search","searcher","array","iterable","iterator"],"dependencies":{"p-locate":"^1.0.0","path-exists":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"53677e8b93f38e84061d131d3d9455a3509bfa58","bugs":{"url":"https://github.com/sindresorhus/locate-path/issues"},"homepage":"https://github.com/sindresorhus/locate-path#readme","_id":"locate-path@1.0.0","_shasum":"cacf3ab8bb8a3dee6e7f011d0c850f5d516fea1a","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cacf3ab8bb8a3dee6e7f011d0c850f5d516fea1a","tarball":"https://registry.npmjs.org/locate-path/-/locate-path-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/locate-path-1.0.0.tgz_1479637649308_0.8211715335492045"},"directories":{}},"1.1.0":{"name":"locate-path","version":"1.1.0","description":"Get the first path that exists on disk of multiple paths","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/locate-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["locate","path","paths","file","files","exists","find","finder","search","searcher","array","iterable","iterator"],"dependencies":{"p-locate":"^1.0.0","path-exists":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"d8ffb20e1aa08e382e61a95e4aa1aae66dcafb0d","bugs":{"url":"https://github.com/sindresorhus/locate-path/issues"},"homepage":"https://github.com/sindresorhus/locate-path#readme","_id":"locate-path@1.1.0","_shasum":"bef5eea5d511d2e7438dfeedfc6af8ce6a4dd811","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bef5eea5d511d2e7438dfeedfc6af8ce6a4dd811","tarball":"https://registry.npmjs.org/locate-path/-/locate-path-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/locate-path-1.1.0.tgz_1479648048095_0.9578655750956386"},"directories":{}},"2.0.0":{"name":"locate-path","version":"2.0.0","description":"Get the first path that exists on disk of multiple paths","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/locate-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["locate","path","paths","file","files","exists","find","finder","search","searcher","array","iterable","iterator"],"dependencies":{"p-locate":"^2.0.0","path-exists":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"a30b86df0934329c66ff6a2be395db03d65478b8","bugs":{"url":"https://github.com/sindresorhus/locate-path/issues"},"homepage":"https://github.com/sindresorhus/locate-path#readme","_id":"locate-path@2.0.0","_shasum":"2b568b265eec944c6d9c0de9c3dbbbca0354cd8e","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2b568b265eec944c6d9c0de9c3dbbbca0354cd8e","tarball":"https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/locate-path-2.0.0.tgz_1480310853492_0.9661909360438585"},"directories":{}},"3.0.0":{"name":"locate-path","version":"3.0.0","description":"Get the first path that exists on disk of multiple paths","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/locate-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["locate","path","paths","file","files","exists","find","finder","search","searcher","array","iterable","iterator"],"dependencies":{"p-locate":"^3.0.0","path-exists":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"d6f19ffa31544161ee94118963deb3b683418151","bugs":{"url":"https://github.com/sindresorhus/locate-path/issues"},"homepage":"https://github.com/sindresorhus/locate-path#readme","_id":"locate-path@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==","shasum":"dbec3b3ab759758071b58fe59fc41871af21400e","tarball":"https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz","fileCount":4,"unpackedSize":3869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJsuvCRA9TVsSAnZWagAAKJ8P/j0FJhuUso5Gpt4CxJDh\n8BOK0XgQpBa7/ZywwygXnB5QuPo+Fe+G4t3mrsc+9MRJrbja4q0eqrtutwnb\n3EYSokKlQj+++9DAMyEamET3XbQVKypSkJ/phXXrzYpSafRkM6H7Zmh1PLIK\nuoGtpbYiGATaUFqbz+sYwkQ0RTweEQTfG+XvgOLVviCDF2Q5TE1wD+w/Lk4V\noGyu1vH1O6nyGuI8+OCZtO/7ub628/5n1WmgYId4CG9umDRPAiIKaQ6IXkhI\nmLy/4FbDGW5dn95YfHxKiJyzJOyE3EagyOEDANkO58htWE2WxdTlHLJrKVgD\ngS6ggUfTrslD7gQYNW3mwBEIBxTeRP7FSdLLEhGsJ7x9+bGEdJnNeKHVwNMX\nujKGOYre3xhwOfzNY+RzmHCXDRxf1gDXFcLQASxaS2CkcYjxDukhDxqL0Egi\n90o0xCX8tEGxuTvDC/1Zlxvin+SWWvPgWHgO0FVZyLEwaM/kL6YZPHQ5Qqg2\n1g+kQoMjFwxqXnY14nPIqPqzsLF4XXtnWr6PI9pZacJfU+OCT14b9vcSmQYY\nf6QnwppSq2ND7SnwVrXMB+JSZSrOMoGf5O2XVyhh3YipmryXp+NauT1GIkAd\nWO5/KdhVqUM7EGFAS8y0kchxFRzswxE7aGqn+o2OqNpKQtBXmfkI3547ncrc\n7Exq\r\n=AQcu\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/locate-path_3.0.0_1529269166609_0.06080172995584565"}}},"readme":"# locate-path [![Build Status](https://travis-ci.org/sindresorhus/locate-path.svg?branch=master)](https://travis-ci.org/sindresorhus/locate-path)\n\n> Get the first path that exists on disk of multiple paths\n\n\n## Install\n\n```\n$ npm install locate-path\n```\n\n\n## Usage\n\nHere we find the first file that exists on disk, in array order.\n\n```js\nconst locatePath = require('locate-path');\n\nconst files = [\n\t'unicorn.png',\n\t'rainbow.png', // Only this one actually exists on disk\n\t'pony.png'\n];\n\n(async () => {\n\tconsole(await locatePath(files));\n\t//=> 'rainbow'\n})();\n```\n\n\n## API\n\n### locatePath(input, [options])\n\nReturns a `Promise` for the first path that exists or `undefined` if none exists.\n\n#### input\n\nType: `Iterable<string>`\n\nPaths to check.\n\n#### options\n\nType: `Object`\n\n##### concurrency\n\nType: `number`<br>\nDefault: `Infinity`<br>\nMinimum: `1`\n\nNumber of concurrently pending promises.\n\n##### preserveOrder\n\nType: `boolean`<br>\nDefault: `true`\n\nPreserve `input` order when searching.\n\nDisable this to improve performance if you don't care about the order.\n\n##### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nCurrent working directory.\n\n### locatePath.sync(input, [options])\n\nReturns the first path that exists or `undefined` if none exists.\n\n#### input\n\nType: `Iterable<string>`\n\nPaths to check.\n\n#### options\n\nType: `Object`\n\n##### cwd\n\nSame as above.\n\n\n## Related\n\n- [path-exists](https://github.com/sindresorhus/path-exists) - Check if a path exists\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2018-06-17T20:59:31.350Z","created":"2016-11-20T10:27:29.562Z","1.0.0":"2016-11-20T10:27:29.562Z","1.1.0":"2016-11-20T13:20:48.318Z","2.0.0":"2016-11-28T05:27:33.711Z","3.0.0":"2018-06-17T20:59:26.704Z"},"homepage":"https://github.com/sindresorhus/locate-path#readme","keywords":["locate","path","paths","file","files","exists","find","finder","search","searcher","array","iterable","iterator"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/locate-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/locate-path/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"aretecode":true},"_attachments":{},"_etag":"W/\"b0ebdad81f88e6a8c43bd37d4c4ae388\"","_lastModified":"Sun, 17 Jun 2018 20:59:32 GMT","_cached":true}