mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 19:37:59 -05:00
ce7dc2be92
Adds support for running npm package lifecycle scripts, opted into via a new `--allow-scripts` flag. With this PR, when running `deno cache` (or `DENO_FUTURE=1 deno install`) you can specify the `--allow-scripts=pkg1,pkg2` flag to run lifecycle scripts attached to the given packages. Note at the moment this only works when `nodeModulesDir` is true (using the local resolver). When a package with un-run lifecycle scripts is encountered, we emit a warning suggesting things may not work and to try running lifecycle scripts. Additionally, if a package script implicitly requires `node-gyp` and it's not found on the system, we emit a warning. Extra things in this PR: - Extracted out bits of `task.rs` into a separate module for reuse - Added a couple fields to `process.config` in order to support `node-gyp` (it relies on a few variables being there) - Drive by fix to downloading new npm packages to test registry --- TODO: - [x] validation for allow-scripts args (make sure it looks like an npm package) - [x] make allow-scripts matching smarter - [ ] figure out what issues this closes --- Review notes: - This adds a bunch of deps to our test registry due to using `node-gyp`, so it's pretty noisy
1 line
No EOL
47 KiB
JSON
1 line
No EOL
47 KiB
JSON
{"_id":"p-map","_rev":"30-4c26f697254694b9858902b212546e9f","name":"p-map","description":"Map over promises concurrently","dist-tags":{"latest":"7.0.2"},"versions":{"1.0.0":{"name":"p-map","version":"1.0.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"*","delay":"^1.3.1","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^1.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"fef15cfe481989afdd1728ba02b64b7ca6552462","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@1.0.0","_shasum":"fecf578d8f46c4f4254eb3631e56d031ad30e4fd","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"fecf578d8f46c4f4254eb3631e56d031ad30e4fd","tarball":"http://localhost:4260/p-map/p-map-1.0.0.tgz","integrity":"sha512-CB7SH0Marg8DG2SqCuKUC36OAVak0yicQ7tFPFYQpUpJOxxIs3fd34EBxzQ8ZhgqPNbFONEu0WlZ8kO0XFcbqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+/iudw+UTD8urnBVwwPZkly89ZLNzLDeWsqOvbMrZyAiEAqXnKTJtvjNtj2lyHjSCZGEu4fiBoJ3r197O0mpJK9sc="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/p-map-1.0.0.tgz_1477021449093_0.09832565626129508"},"directories":{}},"1.1.0":{"name":"p-map","version":"1.1.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"*","delay":"^1.3.1","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^1.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"ce04bc09745da7fcd7f223fe893fa5a29f7a38c7","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@1.1.0","_shasum":"8fc54b3057cca902d223a2950ddd76ffa6582e8d","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8fc54b3057cca902d223a2950ddd76ffa6582e8d","tarball":"http://localhost:4260/p-map/p-map-1.1.0.tgz","integrity":"sha512-Dbg02olSyUf4hkMXm2HnDhWkEkRT636F2N1iIGE/4zZ/kiRRVjlJpUeQyDZ/NGrexfNyv9mkPdx1lbynsZ2DCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICnI2bugKCc0JC4/gXEwWt0kVm9+2VoXBmCxXkIa1ud2AiEA4S7ZZI5ty5kuTSUfulfpjFLeaqPKnhEwoNU54NaWRAM="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/p-map-1.1.0.tgz_1479466185862_0.4718094489071518"},"directories":{}},"1.1.1":{"name":"p-map","version":"1.1.1","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"*","delay":"^1.3.1","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^1.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"c61810d78576c1e93e0fec6bb05b6249584dde8d","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@1.1.1","_shasum":"05f5e4ae97a068371bc2a5cc86bfbdbc19c4ae7a","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"05f5e4ae97a068371bc2a5cc86bfbdbc19c4ae7a","tarball":"http://localhost:4260/p-map/p-map-1.1.1.tgz","integrity":"sha512-ZgdxREbSfiil6R8zOCRv0Coh3O6+wU6QTQa8TBXbSzQCVl1v0G0eKLZpom5iecB1FFZx9PQxQtDcJJchiYdAqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCQljm1aQ3pWCsUxuo6HcbXPwAF6/IqbdtY5bBa3GSAAiEAik9fqA8L28Qbt5OP4DGDR8CG5qZ6WR2ooaLLBE/baz4="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/p-map-1.1.1.tgz_1484809158096_0.3943324906285852"},"directories":{}},"1.2.0":{"name":"p-map","version":"1.2.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"*","delay":"^2.0.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","xo":"*"},"gitHead":"e0a1c91c00d5509e9f04c6f0392693a452f385f0","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@1.2.0","_npmVersion":"5.4.1","_nodeVersion":"8.4.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==","shasum":"e4e94f311eabbc8633a1e79908165fca26241b6b","tarball":"http://localhost:4260/p-map/p-map-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID5ykbIAct6Sn+JamOE4nl7q/+B1gNDUP04SfFizbQLhAiEA+7uaZsG2Gi18h8Ky0/zjjLtoqUwnzn+QtgXXVo5RrD4="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map-1.2.0.tgz_1505195035419_0.6017468643840402"},"directories":{}},"2.0.0":{"name":"p-map","version":"2.0.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"*","delay":"^3.0.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","tsd-check":"^0.2.1","xo":"*"},"gitHead":"3774d3026388f379dfebaa8601c67034adee56cd","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-GO107XdrSUmtHxVoi60qc9tUl/KkNKm+X2CF4P9amalpGxv5YqVPJNfSb0wcA+syCopkZvYYIzW8OVTQW59x/w==","shasum":"be18c5a5adeb8e156460651421aceca56c213a50","tarball":"http://localhost:4260/p-map/p-map-2.0.0.tgz","fileCount":5,"unpackedSize":6943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn89XCRA9TVsSAnZWagAAcG4QAIztwgwNKp9cYlPgkKSA\nYxzyFOWnC3i9aQ8SXoLJMdKNK14JFx4g76eenuEA4uP8UyJCKNF9vGxktCHj\nSl6m1EPuYAO6vhpzWwttJf00HPCYNj6y6Fna4PYR+lPEX/3qXerzdQkZcbdN\nVl4u1XRDKlps3Gb0njNKBc/6dwG+QGbJTC9+j2ctzA7UryIjLuBOSq54QcdR\n5ZJPHUGDYDGcoSh6KvKt5Q+gv1Yb4z2br21AMtQfL6buj6D5I673wBL0VCcZ\n52Opcq5DHvVqwJbZWk1hpLQX27OcPjwwtYRnI1ZIXthprZzCgi+u5qZIHa/W\naV8K/VFN2/i3/iMJ/K8sBtkgSE/NxZBZqY0egnGlYQ8y4V5sD6Hdsj8+/9OG\nKEb8wnkEwJJP34u/mHL1V4L9Gyt6pAIFplp/m/GzBMRF/wN4xjFK5AF91DhU\nozCQYKYO12hc5/LTLRtOkwh868zNhjvMpBKEsSHPzgUz4XFtwz3DG2QYlOlA\nU0mgn+aKN1gsJ7s/EDQH6pNZFNTvkZkoi8N24cr1IgFHDACvMpoH+zwq2ZnK\n9GfA67xQ5zqXUBQXeFtqmEkhVga7Vhn9/SR4T7wSB8HKAR2RWNB+ZCpmpsDB\nExt1lb7Q/pdC4HWQnsfa9zM20RMzidCyB2wfpeUt9smfsE2MYE235pYODGd2\ngU4S\r\n=lCMQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPpRr9kDf55sYaPNs5+UMzF55g6VUgv9xt2WwNKM2L+AiEA8dxvSt+Qzeywyk2ZVTNoXd0btSeVM8eVVKDG5UWmWUg="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_2.0.0_1537199959062_0.08655110554165257"},"_hasShrinkwrap":false},"2.1.0":{"name":"p-map","version":"2.1.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"^1.4.1","delay":"^4.1.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^3.1.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"a44286e8c4b63bebeae3526b94dd21779e26c518","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==","shasum":"310928feef9c9ecc65b68b17693018a665cea175","tarball":"http://localhost:4260/p-map/p-map-2.1.0.tgz","fileCount":5,"unpackedSize":7492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqMVzCRA9TVsSAnZWagAAH7MP/1dhjbYA95u96lcrXoI7\nPANumsOKN46Kk45pH6026PJJWJYnNsuf5LFchkf2j3K9aDxjwHg9T9tQdnQX\ni4zsurQSVDF7y24MNc54kJ4sj2zWIBYVp1coF+eiVJ9pBvQUxW6Ei+7a67ID\np09x8rzbuBdUQc1UuXyfWA/o6MeGhrH7IG/jHQYuNIaQrTNFmTfKtnE724aV\nXHFHYru9IsBv90l1DmeBdkAzZE7C5pV+XRTLRzgB1k1vd2YBOaKYVsalAYFd\nsvALaPBHveu5q4yU/BbU1I2bzdU3FNa0+BuTBMnj9PFM8si81/G/isIFHd3u\n8jIqxoZ28stb/G9ESlodd+ml+0qCWTjC5owQUnGA0jbcDlMTMnbIHMA6BcIy\nwFjUoF8dD7jELaSocnUVxgPD/Ce0g7pb0q1W2YDiOx/nK88q3NS+Ne6B+X4G\nxAJk5gqGNa3k1HK5uFv7qEr8WfiDy95odJLnUZr+IBOpKy8c9eipuZwkoVfv\nZ/SaTt9xUR7YY6jV0e84FwcNwc9NekaVuQnHMK2SpWofeM1SnMda2C6sh3jl\nBqxhPqN+boUIqxI8bPUajuWAMfX4mX85pIyQyYddMxxhBCjpWTNmrgOUpAW/\nV61b/jzV/bEcadK70NhqiZZ8RyeZpPNhaq23hkviya4f/MknvyHWXO5pTzcK\nfAOk\r\n=GygQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPcD6WXeFcipGNxxVG3qyK5cq/BFYseeCejlflJQrpYgIgVKpCa6LkjRBI2JhiFXy07JEuJenOGh5dG8cMsUOjScs="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_2.1.0_1554564466828_0.6092914198956048"},"_hasShrinkwrap":false},"3.0.0":{"name":"p-map","version":"3.0.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"dependencies":{"aggregate-error":"^3.0.0"},"devDependencies":{"ava":"^2.2.0","delay":"^4.1.0","in-range":"^2.0.0","random-int":"^2.0.0","time-span":"^3.1.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"a8c06732e440214da89c410fa8d0cd74e110868e","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@3.0.0","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==","shasum":"d704d9af8a2ba684e2600d9a215983d4141a979d","tarball":"http://localhost:4260/p-map/p-map-3.0.0.tgz","fileCount":5,"unpackedSize":8391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKf0ZCRA9TVsSAnZWagAA0MUP/3SzMyChZOyT3+q6Jnxt\nUHffQMX0kx8GgU9atDH+JZ7kwddePS1xnZRfTbqkU1Kke21NgaB/M2DzyxBA\nbqGFPuFeTRQxIFyLX04Cfr5yyk8MfWryQV0MHbcpHulYA+6MsK2TDnLBrO8z\njoboUjZeQypnnJM6IflNEhtLiTGNgaA7Gcq0cQBUXlXCqGcwTleN5Os+PiMr\nIP2wG3yc1OYiq4WE4oB+zbVOk0aHr/YqGvmC7dd1FEM4IRrdlhEmblpaR5kO\n1s1DlwcSop/0B6JxdgCWlwi5QBPTu8gEEbv+9u76FmELNRK4dsbpwgJ992B4\ngx4YOJqL3Dr/8bSCVELBz6WiPols9FMDzJgWoECJImrLi0eyLB7qhMBiJzcc\nGlBuBByjdL6w/PEIs7y2yRcgDLysRknvOqm5EhB1GK2pjJV6HiBmmYnT3svW\nOrH9SwPJH0C20WRDCb+LMwvCzTRBUB1gaSV3pZPV4ARNcfvyyAzAqkckxzIb\nPBs5dFmXQgvwDteC4nSVqDURnSu0scCfgMGhpWJ8LJY8RuDZT4+bq5YRQFvo\ntcLyIP4I7ABh+/k4DtLc43+MKbLJfDPItYwoz4Z9fMyYxJovWqCj0FUQfOPc\n3Sdh5qDIexsDcUdXEF6vLK0x1kWjkwpSi7wzP0G/SyQd2HoHWZajK8IWmrtG\nyL0k\r\n=cZsp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJom6ErHQN90jgAoaCprUAsGD+QDbQLboUNzhu9W2C/AIhALw8iGspN4HDwzSpUH6N0pv7+D8znVxgsiuQEzdhIFhA"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_3.0.0_1563032855528_0.7953198023305246"},"_hasShrinkwrap":false},"4.0.0":{"name":"p-map","version":"4.0.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"dependencies":{"aggregate-error":"^3.0.0"},"devDependencies":{"ava":"^2.2.0","delay":"^4.1.0","in-range":"^2.0.0","random-int":"^2.0.0","time-span":"^3.1.0","tsd":"^0.7.4","xo":"^0.27.2"},"gitHead":"a4b4dec459544d98880bc53a580e53691aff9fa9","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@4.0.0","_nodeVersion":"10.18.1","_npmVersion":"6.14.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==","shasum":"bb2f95a5eda2ec168ec9274e06a747c3e2904d2b","tarball":"http://localhost:4260/p-map/p-map-4.0.0.tgz","fileCount":5,"unpackedSize":8687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYLuGCRA9TVsSAnZWagAALNkP/icS/zHu6yNrCwiCNS4E\nnbsyyry8rc6iti+rBi4HJkNecN+gWM5J+OC8mmBa29jOWiefCtMlI2vjIPs5\n/UCBVEkHoZhhwriQ5X2Yz8yW5jimdE1QErzYKHhzGsNMFdc9VuPCVGtqartl\nQkrlJT+D0LOPBtOugmaLBt6XWX2Ks1NGYr/WtFwqfsE35kDGQvZ1MaAj9+Fc\naRK5LUoEn/06LPmVqPGjKjhoue3QgihCZSxoBWjMgwYblZyAkbiEM9Xe+Gjg\nB+MCAk2Eh6gZbqzyTmAythHyQgiz+lnNwXTGDXCKAD2rf8R11V7bOl6eFiml\nuMjmDHJ84VTwt9doONukyzxbGhJqCiwc6+38yT85DZCTQpmtUgcniRPygxqC\n5LQTx6DrQQ7nFUfwF+YfUd+q+GFyzGZNknW/+J9lKJazEFd2UCOaNHguRw0F\nPFcENv4j3bX2RfNkral0JZ2I+U8vu2NkpXWG3DmL1o38SgpQ7JC/wdXjSRcn\n4VlIhz5LcBms967YXTg1LAW7OQob73ksIXp2hGaGwiVfaZhPxWowZbCahfbA\nELrajj3H88QN4QDFxmp1CNrkgPkE4AyuBSgpnTiSP9wQTeBL4lZ+mfThBwtn\n4v694zqg4uF4u2vn7v5AkNBS2OlBvYNd59WjScPCOLWWZATQKqiHVVDErAGe\nFdI9\r\n=NTiQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7DQo5ZwXGnm1bMkOmN+5uiS7ZpVvO4j+NbQuzyssCjQIgNdV4S73hWNZCO72WffAW3PYDOVEzEam4A1J4dnk0iCM="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_4.0.0_1583397765582_0.6466932244877022"},"_hasShrinkwrap":false},"5.0.0":{"name":"p-map","version":"5.0.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"dependencies":{"aggregate-error":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","delay":"^5.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.0.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"4146ef4abc7b2041b37cf37b69e98bb329243a28","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@5.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-FeQNuFp/ecZidgaTXc65qXdTGD7mniwgzZNq5czwcJSy6ClETr2v3y4ZQESGe8C1038XhO/fjfKOyiTNH3d0/g==","shasum":"e042c6e6201aa64183489b6bcadbac0a94a1cfcb","tarball":"http://localhost:4260/p-map/p-map-5.0.0.tgz","fileCount":5,"unpackedSize":8677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeyTcCRA9TVsSAnZWagAAx4UP/2MeslXz7D0/8MVwL3km\nsVYVoA07s/ztZlAEQaszFGnTnhlguskZ1M5+6ea2qIk2+A1kaiJXSTtQYKzZ\nwQOWZFQzUEEsyFqw+2pMTzFjFa99U1n+5wdRZlsDLTGf+g8GyNbhdUTuQ/+l\ngUEVaIcxNY4zzYCzbZuROHuTX5KB49WtglFXRsDtKG9nYQ4XYOx0fG2QGex+\ntqv2sByjmAzza3UQe2VvHiZgL1Ce8Qq1ZKtS1uBGB9J1uAQfP+iUUxKtM37a\n4IV+dKPs4PohhBF+jUt72OmQk0DnLpIjLcCJa5iJaI9G60VYKpGbBr167zVl\nGO/JhEl+C98O2igh8XIwL7vauSmNgRqjaoT1dZw3H3VRDYRKahBF4YIKrn27\nurM6hnf98xiMxVHRAJmDzamzIT9fLOCBbx6lf+CjXfkYmn6HqSspHpZ/O1+h\n+S9q4wV0HoAXFibNRv7D/9k78anbPb7EA+MDGX8aTgelAXX9AQuwawuaI2GH\njRPD/XTwtsU3qZbJ1fakZ5dQKPRnd9hV83udAaJaMIHp5ushf3ORjiVCCtg5\n4sPEMzMaUUZCU5duY2l+O5asrpjjDIiykPfRy++yScy8ulZYHKeAbNAdXtkm\n8n4lOvOP/P2uC9SLBPHk7iJxJpASGbTajoMImZbEfjJt6TJP4aWfH9HAa0Oj\ngyBK\r\n=PtUB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCQkW5OeBuuu7VWLjjYgQeICExONF79odUcCv9pxs4igIhAO/gkXyEbjoR/TxpS0vPgEZl/GWqyn0VztKoGRGuzBtl"}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_5.0.0_1618683099463_0.3556414956388112"},"_hasShrinkwrap":false},"5.1.0":{"name":"p-map","version":"5.1.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"dependencies":{"aggregate-error":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","delay":"^5.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.0.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"c470a485584a34aa9893f219e09d640169a4a93c","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@5.1.0","_nodeVersion":"16.2.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-hDTnBRGPXM4hUkmV4Nbe9ZyFnqUAHFYq5S/3+P38TRf0KbmkQuRSzfGM+JngEJsvB0m6nHvhsSv5E6VsGSB2zA==","shasum":"1c31bdfc492910098bdb4e63d099efbdd9b37755","tarball":"http://localhost:4260/p-map/p-map-5.1.0.tgz","fileCount":5,"unpackedSize":10319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+05pCRA9TVsSAnZWagAAStcP+gMFAO7kAQE2xWCieOqL\ny2WD9oeyNg6pa5ASdDGlsyIuSs7LHUqwLXevjYi5fgRWpeFM4V5Hyv1W3lmV\nFDrrc/Jky0WxjX14m6Z2Fh7FHgV+AlOJf0VIb7wCSxCui65xaJaOeo8nznOp\njuPpKDgZy4dLYU6f2I7bIxZmqMdwWmZWUoQwx5imGyogQba+aD+a16HoQO1U\n/3xxvgnI18we5jN/OZqGzyeZ1XlD5pIKmV79Ta2wyOAaSljrCWtKpKagPtK3\n9iuCi1Ud+pJsI99Bs3tgkAX6yBc3zLOFg5f6mLXp6zK+SSXgHrkgV3PSzBa4\nY3ScJDZ5wtqw/0Sb0ZCjfGk0T5mS9efhusSjaIGvkT8Eno3mlwe38tZL7Y35\nU+HWrTKmqUDtU0iIyuH7MnbC3o+6s4eQTawj8DeKZ9dWi/YTsYKH12FAnU39\nicIXGJPLIPisorTMToZUlhXWdHtuik9L2qmZNMnxeOiuqr6+bgTszGsH6E7P\nA/lmANA+gRZuHPnJ1ve0f8Y+qXtlq+TuhXh+KW6OPlJpvBO2gnWlUiNTG7lL\nipry1dC/EvsLjC9jfevTRhOqu+QfpZmWZrHnHsjenaWhMla33bgR6WiY4Xfp\n0dJijkqcXaQ8BcPlIC2VhJ0fVihhyUfRjCRc0EFBVqI/Vxq+yKLVBzsgpo9u\ncBNO\r\n=yjzi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjlqq+e8cZkyLd4HbPqObzqpAGmQf9WYpkl/b7JgsZlQIgApVc2rcHcmJ9xRrpxfmYOLtnBd+CipGRSJWotkNAR4c="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_5.1.0_1627082345398_0.6809119511329844"},"_hasShrinkwrap":false},"5.2.0":{"name":"p-map","version":"5.2.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"dependencies":{"aggregate-error":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","delay":"^5.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.0.0","tsd":"^0.14.0","xo":"^0.38.2"},"types":"./index.d.ts","gitHead":"e7ca665fa3402b6f3ac743e638a284f1694df0b8","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@5.2.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-VJA0IG5Y+tDP6ndo/gZx71kxro1hZrYn8IbnkeQgJeoeArbfO4dH4aV5yFFfz1uIrviNdG1BbnUp5MlPb97feg==","shasum":"21ae8a35dc5f39cc841468cec29af631ee02a2a2","tarball":"http://localhost:4260/p-map/p-map-5.2.0.tgz","fileCount":5,"unpackedSize":14274,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8C8mxyFoxxVyh40uX/3hS/AvEK43TYTdC8psTn/EUoQIgVeB8g/xdmMbJcicqsq6sFGm3gHXzcaStdijwdbPtBqk="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_5.2.0_1635319443635_0.06725950542481862"},"_hasShrinkwrap":false},"5.3.0":{"name":"p-map","version":"5.3.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"dependencies":{"aggregate-error":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","delay":"^5.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.0.0","tsd":"^0.14.0","xo":"^0.38.2"},"types":"./index.d.ts","gitHead":"3b62341e0803307b263346566c2ceba30d1be54e","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@5.3.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-SRbIQFoLYNezHkqZslqeg963HYUtqOrfMCxjNrFOpJ19WTYuq26rQoOXeX8QQiMLUlLqdYV/7PuDsdYJ7hLE1w==","shasum":"2204823bc9f37f17ddc9e7f446293c4530b8a4cf","tarball":"http://localhost:4260/p-map/p-map-5.3.0.tgz","fileCount":5,"unpackedSize":14556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22HOCRA9TVsSAnZWagAAUowQAJyABKSexvWpgX0VvVk2\nFcnfwaKXRDt8X9YSxqr4q0ixTLBvpcsJ3zjCurcVx8foLX00igKCnm6cy/tN\nAXmKhyiQ/5f/ZOcbtZ+OVanlr6ojvTG9zwbuo4rlxx3CAkibyG6RjurfZggX\nB54EQJpeGuuH/SpZKI/hHuJA0PcqQDr47fWS2hk9B6DFVKp30xVTlF8YLS/F\nIVDA+6X0EKoWWh0+hwknZaIIKdK7DoVjjVKj2k+6UzaN9UZWR4dUes4gTQBu\nF2IYeBTmn3jgMYYcmMcfGx4xuRIc06JiPjVLK0U66Y1rqoz8NMRGhcHDzojG\n4V8j9tZszEPl5nDpZVS6fsr13hYZcqQhUoYNibHPC/rzhLSIMfzYDXSoeM4j\n0U08nJs46FecDpFADebPGs4Ne8cOLxXptSkd+QTDnC/MtZrZnKKxc2jLycqU\nMO8H3rgoQnysBpg8XKcHvp2P98jjICARNMi/k6NCeYd2r+DkzhZ+e8RLRQK4\n7ruAMu1nPcJrJQnPSy1+PU2BTIXZzuELqbOlIRWx+30ktj5vg/Ue49QKMzTr\nhAWGd94t2Z9l+Tfkn2TkSAoxeo70fcD9tblkdgrOT4y4qTbM4p6vEC+dnzd1\nzCvpDycTtF/d7g+ep+f3G6vbGL/2hxDsYnP/eZYAsC4OYU6GHHasqSH94nQ6\n6ckX\r\n=DckV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYSBzGziSJbNFznCAl39ELQKOXlkCFdyvNXcKUD9FaWgIgHkibUaiP2geUlejrWiU+YG5+JPe9PKj+aa6JiPYwnOc="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_5.3.0_1635854715965_0.9288814164339345"},"_hasShrinkwrap":false},"5.4.0":{"name":"p-map","version":"5.4.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"dependencies":{"aggregate-error":"^4.0.0"},"devDependencies":{"ava":"^4.1.0","delay":"^5.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.0.0","tsd":"^0.19.1","xo":"^0.48.0"},"types":"./index.d.ts","gitHead":"5ef93c23b20d4caa57c71d7cec695b595a7e9e30","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@5.4.0","_nodeVersion":"14.19.2","_npmVersion":"8.3.2","dist":{"integrity":"sha512-obHraaWkwl4y1NHR4vW5D5k+33+S5QrkFqsNrrvK0R7lilXdzo/DZgnloDvYUaRT+Sk6vVK47JUQMQY6cjPMXg==","shasum":"59b1b931b8c832b5ee5a5cf7274d031e8f4f1624","tarball":"http://localhost:4260/p-map/p-map-5.4.0.tgz","fileCount":5,"unpackedSize":16688,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0YmJ3cJ9q7mXUyA/iv4MFqLesy7y1FFjP44wc2a2OoAiBcR6kplTGjjmmcB9SPYffuuPC0+ioderMG/rUx58HtFg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigz2yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQdQ/8Cypd0F1V+GL8c2roojX6OKlw/FH8nObhq2CjWb8S3PqRZ0iJ\r\nHUYhoAPVn0qNIPSQsseDMyCiqWuIOJaVihyI2ucPKQP33po8Lgrlyy59r3Up\r\nBLqUWyG1gxu/8AtVMaW3h2hEkJmccr33EjY8jVdVBTOwFRn1eSwpUgRmiSGZ\r\nkAQWwXeA8LEEbev6PxxKSawJGLS4R7WjOqVimjq/PvTY3WnJtasRpld5LP3H\r\n6I9bstvs2r6WEHS4Mctyswk0t6Fip6MWAjgcU3RjUDFl+seaNcA1hbhJzlHk\r\nBHoO1bW91FCtwVA8TC9fZk8CK7WdON1OvG1NkkXjTdR1GgNv4tXD7/hR9Snj\r\n1TXd7TuEREZp5Dfp3Td6uZfcdwTPXolfwkpzR1PCvUUUeTUB6RYF3iyZiyLb\r\nEi2U/yeP/95i74+IlC96jIPdOKJo5Z+/T99pS6rxC0K+AiwiSCG7W0ZtOHy1\r\nGTjPMVtu9N4GtUu4cZoT/gfFj4Z03cRMZm2wP9EdTkxxlUag+K7eGI32l376\r\nzebjBXboaNaLorzGlBBzGkoR7RNVD4ufbxI4023EwXgliMBzqLGopGRICe85\r\ndWM8NeGA7KugLXwNnmUoKn24/gRlYXjLTxvLPYcoc0y/lSxgZXAXzPQ+vhlN\r\njQ5QMlYV2ilWyMxbSe6W6uJmSjTwjkPBFvo=\r\n=bZIa\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_5.4.0_1652768178064_0.10577513866458466"},"_hasShrinkwrap":false},"5.5.0":{"name":"p-map","version":"5.5.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"dependencies":{"aggregate-error":"^4.0.0"},"devDependencies":{"ava":"^4.1.0","delay":"^5.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.0.0","tsd":"^0.19.1","xo":"^0.48.0"},"types":"./index.d.ts","gitHead":"a5faf425ad3f871d10b3a18e30ae10d1edc78311","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@5.5.0","_nodeVersion":"18.3.0","_npmVersion":"8.3.2","dist":{"integrity":"sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==","shasum":"054ca8ca778dfa4cf3f8db6638ccb5b937266715","tarball":"http://localhost:4260/p-map/p-map-5.5.0.tgz","fileCount":5,"unpackedSize":16738,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDShJZqwCFyw3ipS/QDPaazrqmU0A1STU605R679jJ1qAIgPWHbLGxYiCGjPA4JCxhN9Zimuf20PlWJCUDNp08Xrwc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiojK3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrfqg//UM8x9N+HN+OemuoX95XxRCzpw4NWwZF6Gj6YqIQZ81snBZT8\r\n/s0RSkR0xcqhIl4MHh7lPo61o7pUTDqy95GS1ymrb19tjt6sGAXVkv2J4NSf\r\n8nOlIwUTCgNCKUv54FrQ2JdSg2oj0j+PHt6J3wO9T6RABNymLOmQjNTxq0CB\r\ncfHN2RpNe36mcqJm9ytgdiv8Nvsil+1/FwQ0tlhJojmkb0dAVFEDKrADBdHU\r\n3Vplo2sj0W6CBy9UfDPv1cbGb+ATMJUADt2xnv8AAaGfgoc3cSDGbciR0eF4\r\nX8eekJCe5Bq21iMFrwdUxsMm1xv/OdI+x5LPeGnnZmoeGquuEHwSJyo5mX2X\r\nfyW1EbsJtVKY7N8YdyV9p2iTDBMaVx1YvTkcTbRiJu5EpCKFFh6XJPB6lFKO\r\nPwpVodHVn2yDkdKl66CqY5PNykW7dY+XU+ILgCx5t20kpZ/Kz6FLU6lWW3er\r\nB4P+oJopkhrlUjsIva+I/UMKCOvn6ZICQ8zja0iRXn5P6NAlgZrRWT+rxlzS\r\nZ9A4yLv7z9CP6w+/BEgmJdy4MaoTNGEuBGXCwBZbaCWKM5TMW7NRV+HJbCI1\r\nXRkqey+9H1blbJHPzxtlGUqSP00Eie8tYDfcaQr/O/0za8+i7LQpsWu2HrdZ\r\nOKd9slGicoKn75vSBpnApx0ZThBUkDhb2Jw=\r\n=zfQQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_5.5.0_1654796983493_0.2026151307062729"},"_hasShrinkwrap":false},"6.0.0":{"name":"p-map","version":"6.0.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"^5.2.0","delay":"^5.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.1.0","tsd":"^0.28.1","xo":"^0.54.1"},"types":"./index.d.ts","gitHead":"66b039b20d362c3d508f15b11dd867638b02f75b","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@6.0.0","_nodeVersion":"16.16.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-T8BatKGY+k5rU+Q/GTYgrEf2r4xRMevAN5mtXc2aPc4rS1j3s+vWTaO2Wag94neXuCAUAs8cxBL9EeB5EA6diw==","shasum":"4d9c40d3171632f86c47601b709f4b4acd70fed4","tarball":"http://localhost:4260/p-map/p-map-6.0.0.tgz","fileCount":5,"unpackedSize":16087,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEoUWn1OYZcAjBQ4s1tTxc9uk9T76ctv6HxFtaCdxF3RAiEAi9ZQCIGI0P4qoPxtIyHLQNsROGpLaR4BJinnF+UmCR0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQ6KSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGWxAAh5uRaF8htnkW/mAbs3rVjKvdAEv8OMWODOplNGh29yFrHRMv\r\n4IiVhyHsbgEig1GF4lVrWic7MqBXO+5a0YTzYohHbqHvBASSXKbMq5jn/1At\r\nxySN26ykZawFfmm44W2vG2PIYKi3gXfiPlaT4z77Y7hBWZlBTXLj4LHDT+Yw\r\nMmwOJjWvmrulIGs2ahlS4pLK3g/wLto2QrcA54WYnDBVg67H/s7/kiLKUKwH\r\nR/I2+16rb+j7tsjCUYgMPnQb0jN5/kwMG7+hvhhHFfYarplKi40DspC4tm6s\r\nCYT1pu5KDLdOBjGC5CdmpEhdeZ3j2v1kdx9KCrogiLF4WiOZYUooCyYY0YKj\r\nv38xwDqan1gmGq84lZ9ZJGn0MQ9j3OunHLssjPPamiNz1//Rp2jjKVhdTukw\r\nXiDEVxnlo89274JVwUBHbHgeH35qyWV/BybCTxeL9ONBFxUGXOiXWEzQ7SwE\r\ngjp20Ogw1H1JFmALMkM93t5SmyQKPgXhFwoqNak6gZJDBqmI09k0CTTuKYDl\r\nzSZgGLsGrw8btDx4oWDQh5rlT0PspGTj1BfgUJCODPWWw6/XJY9VJtUjXgHr\r\nLx0zNiYqToJL7Ki9459bVOdOowLCvKKvOPiGvzyVjVr6mpun+O5rHQJa/RQ9\r\nJY20UFkij+jwmoCReIfzp3RQ9CZ6i6F6kqg=\r\n=pWqn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_6.0.0_1682154130779_0.22834690413774705"},"_hasShrinkwrap":false},"7.0.0":{"name":"p-map","version":"7.0.0","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"^5.2.0","chalk":"^5.3.0","delay":"^6.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.1.0","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"0039552ae17c76a817fad118914bb76a2130ff92","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@7.0.0","_nodeVersion":"20.9.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-EZl03dLKv3RypkrjlevZoNwQMSy4bAblWcR18zhonktnN4fUs3asFQKSe0awn982omGxamvbejqQKQYDJYHCEg==","shasum":"757a189703986134d5d34ef7c16cf2f824d19ebe","tarball":"http://localhost:4260/p-map/p-map-7.0.0.tgz","fileCount":5,"unpackedSize":20929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQSI5VtEQfxqQDRYs7d6ngH5H5hofP3LG8AU56dBf4DAiB/B6Uvl4JO2XhdwI4vx05LRHHc4msQHGmrrToDfSlegg=="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_7.0.0_1701779133888_0.6177545245541411"},"_hasShrinkwrap":false},"7.0.1":{"name":"p-map","version":"7.0.1","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"^5.2.0","chalk":"^5.3.0","delay":"^6.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.1.0","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"34006c9222bbea40981b2487bda4ebe5806d7030","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@7.0.1","_nodeVersion":"21.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-2wnaR0XL/FDOj+TgpDuRb2KTjLnu3Fma6b1ZUwGY7LcqenMcvP/YFpjpbPKY6WVGsbuJZRuoUz8iPrt8ORnAFw==","shasum":"1faf994e597160f7851882926bfccabc1d226f80","tarball":"http://localhost:4260/p-map/p-map-7.0.1.tgz","fileCount":5,"unpackedSize":20934,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcPL4eCLZab81ecr9JujotXQblxiY7ZhTUEjh0QyZ8vgIhAIDqs4gf9gubw0OxTQmuWvGB2+AjXoUfUgFQqulN/6BH"}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_7.0.1_1703637833185_0.8716308436170674"},"_hasShrinkwrap":false},"7.0.2":{"name":"p-map","version":"7.0.2","description":"Map over promises concurrently","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"devDependencies":{"ava":"^5.2.0","chalk":"^5.3.0","delay":"^6.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.1.0","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"a38d5a7180ba9ecd6a02e37ec5cc6ae11f3433ac","bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"homepage":"https://github.com/sindresorhus/p-map#readme","_id":"p-map@7.0.2","_nodeVersion":"18.19.1","_npmVersion":"9.2.0","dist":{"integrity":"sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==","shasum":"7c5119fada4755660f70199a66aa3fe2f85a1fe8","tarball":"http://localhost:4260/p-map/p-map-7.0.2.tgz","fileCount":5,"unpackedSize":20961,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeG2L2mqYNdMumZC3kD4I8HPKJ3sKt/Hdo9t4zuqYU5QIgB/7+DCsvIkW23+zCX79tlwJIJFu3ZoJB+srSkdCJ4hM="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-map_7.0.2_1712130830168_0.64139979383085"},"_hasShrinkwrap":false}},"readme":"# p-map\n\n> Map over promises concurrently\n\nUseful when you need to run promise-returning & async functions multiple times with different inputs concurrently.\n\nThis is different from `Promise.all()` in that you can control the concurrency and also decide whether or not to stop iterating when there's an error.\n\n## Install\n\n```sh\nnpm install p-map\n```\n\n## Usage\n\n```js\nimport pMap from 'p-map';\nimport got from 'got';\n\nconst sites = [\n\tgetWebsiteFromUsername('sindresorhus'), //=> Promise\n\t'https://avajs.dev',\n\t'https://github.com'\n];\n\nconst mapper = async site => {\n\tconst {requestUrl} = await got.head(site);\n\treturn requestUrl;\n};\n\nconst result = await pMap(sites, mapper, {concurrency: 2});\n\nconsole.log(result);\n//=> ['https://sindresorhus.com/', 'https://avajs.dev/', 'https://github.com/']\n```\n\n## API\n\n### pMap(input, mapper, options?)\n\nReturns a `Promise` that is fulfilled when all promises in `input` and ones returned from `mapper` are fulfilled, or rejects if any of the promises reject. The fulfilled value is an `Array` of the fulfilled values returned from `mapper` in `input` order.\n\n### pMapIterable(input, mapper, options?)\n\nReturns an async iterable that streams each return value from `mapper` in order.\n\n```js\nimport {pMapIterable} from 'p-map';\n\n// Multiple posts are fetched concurrently, with limited concurrency and backpressure\nfor await (const post of pMapIterable(postIds, getPostMetadata, {concurrency: 8})) {\n\tconsole.log(post);\n};\n```\n\n#### input\n\nType: `AsyncIterable<Promise<unknown> | unknown> | Iterable<Promise<unknown> | unknown>`\n\nSynchronous or asynchronous iterable that is iterated over concurrently, calling the `mapper` function for each element. Each iterated item is `await`'d before the `mapper` is invoked so the iterable may return a `Promise` that resolves to an item.\n\nAsynchronous iterables (different from synchronous iterables that return `Promise` that resolves to an item) can be used when the next item may not be ready without waiting for an asynchronous process to complete and/or the end of the iterable may be reached after the asynchronous process completes. For example, reading from a remote queue when the queue has reached empty, or reading lines from a stream.\n\n#### mapper(element, index)\n\nType: `Function`\n\nExpected to return a `Promise` or value.\n\n#### options\n\nType: `object`\n\n##### concurrency\n\nType: `number` *(Integer)*\\\nDefault: `Infinity`\\\nMinimum: `1`\n\nNumber of concurrently pending promises returned by `mapper`.\n\n##### backpressure\n\n**Only for `pMapIterable`**\n\nType: `number` *(Integer)*\\\nDefault: `options.concurrency`\\\nMinimum: `options.concurrency`\n\nMaximum number of promises returned by `mapper` that have resolved but not yet collected by the consumer of the async iterable. Calls to `mapper` will be limited so that there is never too much backpressure.\n\nUseful whenever you are consuming the iterable slower than what the mapper function can produce concurrently. For example, to avoid making an overwhelming number of HTTP requests if you are saving each of the results to a database.\n\n##### stopOnError\n\n**Only for `pMap`**\n\nType: `boolean`\\\nDefault: `true`\n\nWhen `true`, the first mapper rejection will be rejected back to the consumer.\n\nWhen `false`, instead of stopping when a promise rejects, it will wait for all the promises to settle and then reject with an [`AggregateError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) containing all the errors from the rejected promises.\n\nCaveat: When `true`, any already-started async mappers will continue to run until they resolve or reject. In the case of infinite concurrency with sync iterables, *all* mappers are invoked on startup and will continue after the first rejection. [Issue #51](https://github.com/sindresorhus/p-map/issues/51) can be implemented for abort control.\n\n##### signal\n\n**Only for `pMap`**\n\nType: [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal)\n\nYou can abort the promises using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).\n\n```js\nimport pMap from 'p-map';\nimport delay from 'delay';\n\nconst abortController = new AbortController();\n\nsetTimeout(() => {\n\tabortController.abort();\n}, 500);\n\nconst mapper = async value => value;\n\nawait pMap([delay(1000), delay(1000)], mapper, {signal: abortController.signal});\n// Throws AbortError (DOMException) after 500 ms.\n```\n\n### pMapSkip\n\nReturn this value from a `mapper` function to skip including the value in the returned array.\n\n```js\nimport pMap, {pMapSkip} from 'p-map';\nimport got from 'got';\n\nconst sites = [\n\tgetWebsiteFromUsername('sindresorhus'), //=> Promise\n\t'https://avajs.dev',\n\t'https://example.invalid',\n\t'https://github.com'\n];\n\nconst mapper = async site => {\n\ttry {\n\t\tconst {requestUrl} = await got.head(site);\n\t\treturn requestUrl;\n\t} catch {\n\t\treturn pMapSkip;\n\t}\n};\n\nconst result = await pMap(sites, mapper, {concurrency: 2});\n\nconsole.log(result);\n//=> ['https://sindresorhus.com/', 'https://avajs.dev/', 'https://github.com/']\n```\n\n## Related\n\n- [p-all](https://github.com/sindresorhus/p-all) - Run promise-returning & async functions concurrently with optional limited concurrency\n- [p-filter](https://github.com/sindresorhus/p-filter) - Filter promises concurrently\n- [p-times](https://github.com/sindresorhus/p-times) - Run promise-returning & async functions a specific number of times concurrently\n- [p-props](https://github.com/sindresorhus/p-props) - Like `Promise.all()` but for `Map` and `Object`\n- [p-map-series](https://github.com/sindresorhus/p-map-series) - Map over promises serially\n- [More…](https://github.com/sindresorhus/promise-fun)\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2024-04-03T07:53:50.463Z","created":"2016-10-21T03:44:11.145Z","1.0.0":"2016-10-21T03:44:11.145Z","1.1.0":"2016-11-18T10:49:47.847Z","1.1.1":"2017-01-19T06:59:19.945Z","1.2.0":"2017-09-12T05:43:56.000Z","2.0.0":"2018-09-17T15:59:19.208Z","2.1.0":"2019-04-06T15:27:46.979Z","3.0.0":"2019-07-13T15:47:35.679Z","4.0.0":"2020-03-05T08:42:45.749Z","5.0.0":"2021-04-17T18:11:39.631Z","5.1.0":"2021-07-23T23:19:05.567Z","5.2.0":"2021-10-27T07:24:03.798Z","5.3.0":"2021-11-02T12:05:16.074Z","5.4.0":"2022-05-17T06:16:18.220Z","5.5.0":"2022-06-09T17:49:43.630Z","6.0.0":"2023-04-22T09:02:10.957Z","7.0.0":"2023-12-05T12:25:34.094Z","7.0.1":"2023-12-27T00:43:53.371Z","7.0.2":"2024-04-03T07:53:50.317Z"},"homepage":"https://github.com/sindresorhus/p-map#readme","keywords":["promise","map","resolved","wait","collection","iterable","iterator","race","fulfilled","async","await","promises","concurrently","concurrency","parallel","bluebird"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-map.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/p-map/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"seangenabe":true,"rocket0191":true,"geniusm4ster":true,"ferx":true,"r37r0m0d3l":true,"karuppiah7890":true,"flumpus-dev":true}} |