{"_id":"p-wait-for","_rev":"19-978c119134fe0e509c8712377301e09b","name":"p-wait-for","dist-tags":{"latest":"6.0.0"},"versions":{"1.0.0":{"name":"p-wait-for","version":"1.0.0","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@1.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"xo":{"esnext":true},"dist":{"shasum":"874dd6418abef2a1990520409a4bb6b0621f8b90","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-1.0.0.tgz","integrity":"sha512-raZs7eMN7mRqP2UEaXMSxDAkSqwN41J0yXCV1AVU9PbB4t7aBAj/6nDPgFcUikX+4GeBgXWLxITAn9hr+bdhrg==","signatures":[{"sig":"MEYCIQDnw3d2IWLQWprgixXmq0EbgTYHmboB8ud5fHKWrLekYAIhAN4xvYc8YrtQQzKOpBRGhbwbLNHG31bSHZ4Asr2qHRw0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"874dd6418abef2a1990520409a4bb6b0621f8b90","engines":{"node":">=4"},"gitHead":"a11253981fae90c8539cae5ba1418981be689c95","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"2.15.9","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"4.6.0","devDependencies":{"xo":"*","ava":"*","delay":"^1.3.1","time-span":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for-1.0.0.tgz_1477033382804_0.17285202839411795","host":"packages-18-east.internal.npmjs.com"}},"2.0.0":{"name":"p-wait-for","version":"2.0.0","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@2.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"57a0367fb2ed23fcf1cc71db78b119a2068ca0f1","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-2.0.0.tgz","fileCount":4,"integrity":"sha512-oYYu7b442P/subBXkvaWi8lZMEsECLi2Uqxr5kbzT7Fpuy6lgV4k893EtkzL8KHApMc/ZAynBJ89O+ZYlTSQng==","signatures":[{"sig":"MEUCIQCjb4ajIT/rBN8o2lfvkrjjaUab2uS/AlNpUmIIikxFdgIgPIZrOic/GQvvfMeAYMOcgvbkDn3hsUMKdEqavxknli0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXXmOCRA9TVsSAnZWagAAh1wP/3D7wax3w/sxub5atxlX\nh/0U0G06UuRYzSd9RDY4PC3IErw/hb1qQwYSRjs6r5jD5XU13Jf6Ge/++aeo\nQaroMO0iWpmSd2wJITWpxctnRl4TRWdAj2JEDUUEqJs3E0Z7qFQCEq0d1Hse\n4ZwPn7RAam1DPcN9sA2QKUQsFKP7Z2JB4TBPqxtTjeVEUWJn3gmqBHJ+C+Nv\nk+VHo0ZXCIFBnHI8xfRoA2aysDd9NcVqur3NBjSdzrtUwyhNE9HQuE+kH6Hr\ncBAuNvAcQ1Sr8PvA/OsjAP9gj3XaS8Wha3AOpUGQvKK+yJEJjquFINaiyOTE\nZXqMK++xpHiQXBu0MpQf33/8KR4Z9MKzNucjzQtvPy9aahr1DdL0naNC1/GH\n733YPTsJUV+kf1yiVWua0rhYboS6EFQYI46flNMATypddMRRZ/C6c6Kw7nOE\nsgmA9sQaXR5U3Yjip5azE9iGEf0Ue4tyFVa6QlNiQxNI1rJp1YoSkjPuTIFB\nIMYk0NbcUV5/34I4chXg++RJF4tV2FKC9lexE5MYP+OQ1flVrL/M5xpSVASf\nsDyZam1E5zAHui4Thb+rVzG9HegRnD3LnKaX/Mbe902OkJePW/IM5tXzWmNx\nOpNuWtnWhe5W8zRMDZe3ET8PUdfZlCmXfz0phKtfnp3AuZBJGvYpqB8L3C/L\nmnqg\r\n=9H2f\r\n-----END PGP SIGNATURE-----\r\n"},"files":["index.js"],"engines":{"node":">=6"},"gitHead":"849661a4c839abaf982710161f5791851a1770d4","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"6.2.0","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"8.11.3","dependencies":{"p-timeout":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"*","ava":"*","delay":"^3.0.0","time-span":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_2.0.0_1532852622371_0.767313834099898","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"p-wait-for","version":"2.0.1","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@2.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"bc4dc3410dcba8ca4a92354f5b44f5c4ee6b6d7f","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-2.0.1.tgz","fileCount":4,"integrity":"sha512-edEuJC7eRokPf3AWycsS3lp8JimWLnVgCeGoWw67qFerUmsAHKyhRBj8rDvaBjPV2bTyzgTwmF+U8vNMMBEcyA==","signatures":[{"sig":"MEUCIQCrBT2slJ/FkIFOTHiVRwYuIRnQL9UQV8Iuopt8ITBygQIgS14akHFY1N0vdW3H/z+aKZhwvPeTSK82lQvr99UREmk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4stzCRA9TVsSAnZWagAAnMcP/30EytIP7VEr309rLW/3\nJ8OBe4YdDQBycNSwROOBZWjZhImz2wVbMK3IVR2/IGuZ3qx1E8zIfDMga495\nYqKt0QOD0LaVSqNXV+xa2lYzBPPk8FcMsZeg0fUV1x+Zx/bl5hj3qqwsrq1d\nbQoU6jOxctOEkx4RKRTpZHZwL2i9HjW9XEw/NCcCJCF9VlPRFQZOw7whGXcA\nsW3smRWWOnC+TfzcKTu9/pWRHl5bzOAcOAjRMscqluGPoJrobM4Sr4AssHSQ\n6dABz+RwNt+krCPm+8j8vrrYbY+N+T9AisGajuoaahsAi6nK3poFXajQe8RT\nFWQUa+caXdv3q90/w5CT831Yh59j9zg1owTMhHWdXbGP0OqbXeHby2X7GwNG\n3YklEwWFaGnJ/diRgpBRViVmYlKRYA+A7lQhBicQ3B3ql+19afr4GSScCBYG\nqZ1doskMcs6DA8T7e7zEFJLSzByZwd5aU/xBs4+UFbEnS4Uc/vVXDpxTMD69\nKwjC1YM/bajiw4dS66F5GbQTrRuAJ78ki9dF5C0ocpUhptvwct4zlNnkBocr\n7Qittgf1Eer21eOUFi9md4MqPlTryXEWmEKZYz1wG6ochu7kRSWpnzZ17yEH\n0f9fF+h46RjV9AiVtfo1B18v5QCV3aIvt+yiP/L4x2fRBFahKsq9nF97F42K\nxyaO\r\n=viE3\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=6"},"gitHead":"fef5dd9e3d3d3f81c1ce1eac3dc950a64f384362","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"6.4.1","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"8.12.0","dependencies":{"p-timeout":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"*","ava":"*","delay":"^3.0.0","time-span":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_2.0.1_1541589874451_0.39454136392264405","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"p-wait-for","version":"3.0.0","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@3.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"b2fe5cc0706de9ea442c1d6691a302a48e342d1c","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-3.0.0.tgz","fileCount":5,"integrity":"sha512-EU0yPUgSrF+kUfBMTD/rWs01m7h0AJK9MfGlAWQc562Tojs5GYsLwhEWOmOdldpx9J9tLAbhql4iO670wxhPbw==","signatures":[{"sig":"MEQCIF+iT0EyzPdV7PGM1U6NLgSEYvGAbIgZA6w5iG7oW+4zAiB2NG/mUceeIe8yyJdR1za3OCe1Pm0w1O9I8qVMeJMEYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckHiJCRA9TVsSAnZWagAARioP/jzGRkRKaq/wNf6NXlVH\nX1WyruebwQ9CVp43pyqvG9TfbEEBcVClY+QOEz6q+NiquDhjYoa89zScbHZv\nViWCDtmXyY74x0odZB/uonpc/uB48CXX+YG2Liq1VxkzReSYTAE9YSDZ7dDh\nnUQdIEQmcnUESZ2+XzRyktQNegXK+4Ydc03YLlE/8nrhRYneGxPjpNNbHF+Y\nYF1D+A19apxwCC8l5aZ4iAxCGkGU+XJxbx67I1d0tzlmQ8+nnogg7YxaR5ay\ncJifFp8MU+gulbG//gkojNbFpfplyslBGO6TKo/m71UBHnVX9mE9e9+68aiZ\nIrGNbiJ1TJ66/BO6r3v4fGny83ZEn2TXAytv3PF8h/jt3FxHGfn2px13Rkpw\nqPfJyioxw2B85KIWdPK1ZhwJ5C9L1s9Hr7wh9ZXaDBTlefZapzbNaMZo/MUf\nQN8ZNbxJZ6ABeoapyWlFU6CA38Wnnemi9xuLZCrrKyVXHqi7ueExSYsyy/Du\nvfNAuWKWKcpz2V1xa1ZM242xHvnvq23xoZoJvpzAchix6RHB+EJOJ+v9Ub27\nSA3hoWTBk7IFrwI/er50AJU8wdZqrfqG10fmHj6vU2ay1vST0tBpyzaVOuQl\nbu3fPZWQU0ATXmd86yznuUUogNlPQy7h24S/jxs1IXsVBxmeuhof0spCHc54\nxZd4\r\n=vRN+\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=8"},"gitHead":"9093f4e6e0f3ffe21959a32e43adb4105e0a9bf0","scripts":{"test":"xo && ava && tsd-check"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"6.4.1","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"10.15.1","dependencies":{"p-timeout":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.3.1","delay":"^4.1.0","time-span":"^3.0.0","tsd-check":"^0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_3.0.0_1552971912865_0.8215618225252734","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"p-wait-for","version":"3.1.0","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@3.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"9da568a2adda3ea8175a3c43f46a5317e28c0e47","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-3.1.0.tgz","fileCount":5,"integrity":"sha512-0Uy19uhxbssHelu9ynDMcON6BmMk6pH8551CvxROhiz3Vx+yC4RqxjyIDk2V4ll0g9177RKT++PK4zcV58uJ7A==","signatures":[{"sig":"MEUCIG3AKkbdujvY/a5ZUbE3I0yfN2ivNzAc8MIpWrq1a7aKAiEA1WpEixuSj4vcyYN7JKcEMhGF+gezlYZYIej7UobpPug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5198,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcos0yCRA9TVsSAnZWagAA94kP/0gutFbByaddG7RVmRK3\ncbQNVQh8HDFQnhViADfnxCOVNOgmnL9mHedLnO1qew2HRy8E2mdNgpn6UsMt\nIDMEwfqdTMJWaPkMTkZsD0bF4+39+eyNQOt7Q3KXXtm31prUNnMsT7mUg80K\n0euHzIfBIA5ExmOi1spvFSgCPMiBiafwhECnfKLPAwH+ugrjIJQxdyQoO34U\n2QEixNRHrJAsM56VSVsXHGxrgHGgJVOPhEElUxTpr0YrXorM6ItOl2wC+7xM\n8U6RowYiIZYbcz0cmCL22igwXQYmzNDKWhnigQIeIHtSWA8+uV62dYNQqs4i\nDXM7sy1gKlb8Ctm0UBHYSd8Oc4e4/BuyxMqAdSBSuYfBFsNSSgYndCGW0JFI\n7LctWXQ0O5VUaR9XnNT4L0ozuQpMR4EROXyKple6kOt9KTHZjDACP4k+F8a1\nq8qM5a8a07d9nLkqUYOU+T0jlK+DCiZYD3lOacsMpZyeRppp3TyDoH49ZY47\n1ApUJLGhz3kaYBy55eQRMLPAUGUslgMzfc+kolsyLEmSVTQZ3X95CD6shv8t\nSMT4U4v7arS1K3n+caZcaE0aUC7jBZoo3Ejn4HXi22GLg7Gwbl61Z5MlmvWy\nyiYMX7bDTNVNaHlKOyWwmdae0Gu5OcVh5UTTmk7JV3kwG0/NhANwr6O/QLw9\nLhUg\r\n=24fe\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=8"},"gitHead":"d4aca6d4f1f0935eb622382a82373d16a1321fdc","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"6.9.0","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"8.15.0","dependencies":{"p-timeout":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.1","delay":"^4.1.0","time-span":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_3.1.0_1554173233346_0.6117480431125537","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"p-wait-for","version":"3.2.0","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@3.2.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"640429bcabf3b0dd9f492c31539c5718cb6a3f1f","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-3.2.0.tgz","fileCount":5,"integrity":"sha512-wpgERjNkLrBiFmkMEjuZJEWKKDrNfHCKA1OhyN1wg1FrLkULbviEy6py1AyJUgZ72YWFbZ38FIpnqvVqAlDUwA==","signatures":[{"sig":"MEYCIQCKV7NQh8H4PxhUpV7XeCwC2iyfbmaOuL988vIynBO/JQIhAIK33sc/kJ/aVnSF4UPcxBOcg7w+T5kvFPwKDo6tjnNU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf70cFCRA9TVsSAnZWagAAA4YP/2lOjuj0Eohrw03hkJir\nFy3a1S93QoUctQvW8bv9RouD9/RcAopBprAObtNltbGRE4TzOKdr6qul2K0e\nVd1kw3iFzBWUHYpYPAqy4FzTcRyFL0ZJOkcmFC+NYVTkqFA9xVKiG6oIJ4bw\n9slcgEnZFTvysMIXLDZjOKrl4rlhVoGbGo8YHne3gVvUM5iyJ5vbbiqnbyY/\nHdpO7qU2OWso5OzklcFY/3yPUkFPvpIYtG2NHLpAoxSE1cV7xZhadTbpklwK\nzDaNV+JXCl8NMZYNkOWJwCGJ0iwd1QfuF9EP3p3qVi993nTtaVH/ls/C7YXv\n8Xd0np2UdUFMojAeu0hmtPDpQxuRuWAuWTkyF1ERN/McH67AbBAPiRqnyuk6\n+Oqsj9GG017+5t6ERhvbG8BQqQrf8FITDZW7SHWOBej84HPP3l5pa9efognJ\nQy6H491tNV1vnKInuCff90MCjiFJu1XQmjTVGAgWqBXHD9Oze1klVrGxJWiL\npY2ypu+Nh8O42N17pkQPyLQXDHfqZT253vWsi62YHXhRb6FeZloOo36aWqT/\nEOcOfiANU63A1/deX8WUjdNhpH2w5XTBuSqvh6tEnwBxUfnC8YyTFVBclCQb\n4nQdvWbQlIQxU9NVsfnxvyCjMDp26nn6BMmJRnVtnDyzqOEpdLtB5XD/Bva3\nCJCn\r\n=EvEB\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=8"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"df45dd3cde7dc49ba00de23de5a92f351f967fe0","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"6.14.10","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"15.5.0","dependencies":{"p-timeout":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.1","delay":"^4.1.0","time-span":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_3.2.0_1609516804727_0.882239530688842","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"p-wait-for","version":"4.0.0","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@4.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"b4f488eef4365c295f6b21b852b95752d077b670","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-4.0.0.tgz","fileCount":5,"integrity":"sha512-nNTv4xr44ZCilARTe9Bbh0+Ou5D2O1y8CPUsgH7ok6r1F7pSHM7pkOjaySgrW+sq3l4NEMFtLu8u8rgHm6TK5w==","signatures":[{"sig":"MEUCIDazqw2qQIn4EINTqVa+pMiMyEatpwY2t9nt91uuycfXAiEAkPJPbnuil14wBoOMKT96L/VDHd1hVzD2mEsVHEKny7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbJ+5CRA9TVsSAnZWagAAcFcP/ihLrSEUbe0M1x7fNl0g\nbsNKMU0hmsmjdUc8/lu5PyDxN7IEYfqNI7HOdXm+J9tJhcfScpyPHVyLZB9H\nDGy+88EIDRJbGGI8NRjRtLY20lXQHqf8cC0Q7lWnRsXgpYuiTpEtMTWbxRdM\nD6vMt+Pwrstgf1ZFGAYDIGNzMDcT9L9i66E4HrTKNSgzAKAaZJV8Sm1NQWcc\nbCN1XI5aNuoA9qiuS1no8GlpbFBIFJgavAfSswvrSDREwWzBqdb3+38zoLuJ\n7RH55xqGVVYi+AIwh1PM6oAu9BpTGNE3wvjCoSBtEw4/xudGfL1voWJHOZcA\n+DYc1OB/Os1xpaYzDJE+ug0JSaK4PNAS3no8n7rNTaebrRh/goMLv7Dx2Xe9\nyFqXo9uRjeJQH1A8v01QLirZROVvEDhWHyKOaq1NJoeOKw8GosrB3KktSaQv\nvixMZeJnw//Pp05KnTkz4wMHguIJWT1UjrqsQGomFKKF+QjnC0u2QOhN03AY\nFlRPEJk6w6T25iBNJ8foDPJElwUtcqQLbsHcR7YohrKLCUu6KRBm1lIFpV+s\ncadI54kjqwwwtmYWMjApIwisM9h6AqhUPMbN3Syrb8d3FX4tZdS33O3CFWsl\nvstobUg52a6jx3QGwLg9hUePsXEK0LRxRY+vi4ejvdx37+dcWq/pzx0/Bquq\nq8RH\r\n=VK91\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":">=12"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"edc93ea3ed4e6fdea0a6e4cf3fb78a5250a707bf","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"6.14.10","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"12.20.1","dependencies":{"p-timeout":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.38.2","ava":"^3.15.0","tsd":"^0.14.0","delay":"^5.0.0","time-span":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_4.0.0_1617731512637_0.7978968341716086","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"p-wait-for","version":"4.1.0","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@4.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"290f126f49bbd7c84e0cedccb342cd631aaa0f16","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-4.1.0.tgz","fileCount":5,"integrity":"sha512-i8nE5q++9h8oaQHWltS1Tnnv4IoMDOlqN7C0KFG2OdbK0iFJIt6CROZ8wfBM+K4Pxqfnq4C4lkkpXqTEpB5DZw==","signatures":[{"sig":"MEUCIQCyJ+z+5Jt4WoRSVMdcmr3cRKPQxFxlmsbz7WsSW7H2gwIgHhfVmU6g4Mnq9NSpYTVPMqfvHB35Wa9z/Ceql9k39iY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6CK2CRA9TVsSAnZWagAAi4oP/A+8serswbuqzMAuV6g4\nEIkO4X7o7Ckpy6R9TLzuerBbiFffuNmhOljST3/7oCgVNYtTZ4cuarl5z82L\nPa50BrN+efbN2+OUCEzaNeXUEKWdbvtt26ClM/TQnxKY3RK/otJCozciCoZb\n8FDOVBCyt3KkVpjY3YYhdxgbxjCMUgyumijdRIQDAt7NJ9Rctr6GX0XFT1oF\n7vmv0z8P6yvI6foi7viMGY2kpBIXNTE3B2FD+u53eDRO7oUj5riBLuOpsRpA\nqUjoXyCtgvOeExXXc6tqtkWiTGk7oPAR/gjpbZJwkyZ8tljJAAooaXGgQ8iB\n4RG0cWXnGQSufr4LGzOR8aEoZJXgho7Fuih0bdoJ4/CpB1b1pZRFlC5lU79d\nqTDF10NBROyMpv2yy47GDHdJTKL+cGz0UwUuqgzwz0kxVvdusr5RCcyv37wq\nw9XS9MORWWKer9UmFHVP1G3H/Nm7MA1k3QxEKXiVZYCZPYBkLx8eFTqdzxwm\ndQUfXFSeevQQM4kc6rEVVJA1W++y0yYg0NqW0pgm3ve0oNF4krIKjKltyNa3\ndZ4oXOSBPsBvqu/7RyTDUN268roU+2X/RC/VBEHGZ926Ppi0qBP+lf+gpMXr\ns2RLQh84TFAvi6wvwyNG4/zB+wmsjXOoeM/l/EWR2dXBkFiEHaoAwX0oGGLE\nVTh0\r\n=gvz3\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":">=12"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"1cb1d24decfbcabe0ace93784df2eca6440eab77","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"7.10.0","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"16.2.0","dependencies":{"p-timeout":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.38.2","ava":"^3.15.0","tsd":"^0.14.0","delay":"^5.0.0","time-span":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_4.1.0_1625825974198_0.14773614960542902","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"p-wait-for","version":"5.0.0","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@5.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"67e0f7e83969f7e0da59f6f0b9fd38452eb8dbd5","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-5.0.0.tgz","fileCount":5,"integrity":"sha512-nkxeZInKET8e78NTtqBgxpnxDLbiCiQnGdoTnkLkluovfTyI5UTCrGwPNOr6ewJ90NpWyxEFt1ToZ96LmIXXHQ==","signatures":[{"sig":"MEUCIQCii73vqrHYRKUyQC9l/YpBdykdkba3Vf0rmgLl+MfdsQIgeOXkclKHydl8lwFal7vHl/nZ8lONRevP2WiGlN3pkkY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5HIDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrM5A/9EHPEXGF/P1MASm/m8m9jyteh9sy50iQQz6Z4279nuIFfiaQL\r\nJVZJ4ymuaPRuBIi42BmQZWc1xK+I81GgJYCMfR/3i4bB6y9gQLLHjYKmqImj\r\nc4cCY4jPNqpIUqvig2gAwOuHnYd4cxHCKgj6YJo12YsUxbBTxmEKrdZ/J/j9\r\nJnjmeoLvn8NwW6bHfSYFFi/VClKuyipTiWij8tUXM/B11FqAItD+iaEYduTw\r\n8It95smxDCsOwae92lvUJqcxwi2etISSXwAnJ7y5JdN6lYNQAvpFxkJ2zGwX\r\nnul72hpoOgajeb0rzFZEwLnjRaoZ2GMl+1jmgkg6/CyoiuWgjvTQQuSshM9W\r\n//EdVO49HjcWtFlilInp1ha1RFV4N/FJrfEs4wrVn4x3hz9gFXt1tYhS9i6T\r\n3nsExnBPzuS2O+h4nRZv0nNvayQO7e++RJAZ5Rdi8vMuw2vweOi3X0D3Z2K4\r\n6cRzfQoBMqp2yTDk7V/TuyeB36zguGQ0OLNS7yymYrou7VYx57UJAkPRxcUB\r\nVb8A2+9sBhMUw9KBUsRsLS8dlEMnG862MYtNAWwOh6MX94IgCFMl5cuK6Ek3\r\nEyxL10ebz6RpguvMHTIHDmvp4y3Mg6+r3bndi4HVDospGDCbP+FyJkvr37LV\r\n1qiyhQexhnYV7b/xa9eH3IApYhkqpS7/8mY=\r\n=pc0A\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":">=12"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"f6716eb5e1eab6560c9614ccb74ab062e832ccdf","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"8.3.2","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"14.19.3","dependencies":{"p-timeout":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.51.0","ava":"^4.3.1","tsd":"^0.22.0","delay":"^5.0.0","time-span":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_5.0.0_1659138563584_0.7896461669335804","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"p-wait-for","version":"5.0.1","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@5.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"1edd9434394048701c5d213751d750231219c273","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-5.0.1.tgz","fileCount":5,"integrity":"sha512-RQv6TqiPxJitN7wxUW4vRVakUiMYDTjtJt4JXfNzx8DHx98Ikitn4S35M+qT1wzMtBxrM1RUwBpJmycABqjgAg==","signatures":[{"sig":"MEUCIQCruByTp8h60BC/pRgyiq2PuD1CdW4Bakf6X9owkfDPvQIgSDWud+vFlgWDFDK4dS/vu6RPcv2I+46O2uYDiBCMi7U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEyvqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxQA/9HZvFh0YNKgrcJprnMyENB4+753lMSsq6lRn7VKH9njEdvHMF\r\nDbq0HeYJnYtUc/wTolRgZwTVRZlq8bQpcgMNvr16aQJr0E1QBunLYVw4d6XO\r\n14ldz8z9ttuzuWtz+GfJyB5AHCaehZJf5n24arHFxT+KrOVbDo7H5Y21uMLk\r\nkh8aGKpl65VL+y4RogOo0uF/fflFu2eZxn9OjDdS1AzEuo23tXP90uOC8Bt5\r\nNphKERd9KLnYAL5UFGTRbybTQgGsgF8C6fE7d+m1y9bgTla4KxfElqkYCASr\r\nVkRprri4HTkYMFhY+d6LhQ9lB6sHxPvOg7j1RuBfN9+nh4E88LNF0HZTlynA\r\n+nAA7lVL3/T0C3uHhkt98tjWk6u1u/2hWqM5SxbhDrikGatlCzE9zLNyat4p\r\ntkpSKcgnzIRbkCqRSIHMQzW64KeNmQYCiIwHUTGRLTPGZnS2gkErKRf5pQ89\r\nMtJwSezNsygWvurB5YGodiSrd+DDeYJiAcepWpYfUMb7FLpXEaT9TK5hx/cL\r\nWPFX9Nrm3VnM0Bh/0T1Jb6rnRPvP/MOnF0usahB0mBfl0pgs8N4Vxlb6Bzrt\r\n4LETToGZRHjb9RaDL025+RNj22swAUh3FC3zbbrlFCF1mvQzbhH/kd2YkC8G\r\nveEYjYdM3fsvlp90D4HtLkgEmXVjW+QBS3Y=\r\n=L9kP\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":">=12"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"eb5cb217994f740a740d26e1a4fd82d943ed7c09","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"9.2.0","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"18.14.2","dependencies":{"p-timeout":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.51.0","ava":"^4.3.1","tsd":"^0.22.0","delay":"^5.0.0","time-span":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_5.0.1_1678978026243_0.8611596097536547","host":"s3://npm-registry-packages"}},"5.0.2":{"name":"p-wait-for","version":"5.0.2","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"p-wait-for@5.0.2","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/p-wait-for#readme","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"dist":{"shasum":"1546a15e64accf1897377cb1507fa4c756fffe96","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-5.0.2.tgz","fileCount":5,"integrity":"sha512-lwx6u1CotQYPVju77R+D0vFomni/AqRfqLmqQ8hekklqZ6gAY9rONh7lBQ0uxWMkC2AuX9b2DVAl8To0NyP1JA==","signatures":[{"sig":"MEUCIHWyYeC3k63S5Vw+v3ihAGSbI5PFAr4OX5Vl+ZasspjiAiEApFXCmNZ1zXFA8kc3E+8RdHPzM8WLA1hPJT8D/NrOKFg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9185,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJPUpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLGw/9F6qHb9J/pHnwOWyb6ivDcOW9nnE/tgo5Qjbx7D+eHt1F6ZkC\r\negoI/6uStNUWg5FB/YRi1C8IdNQ7HcVjTGzs/DQZsHuYc6GfSACAh4mZ48IP\r\n0EQuzaTq/N+4X0Si08IfNJ0Ts/ratUcv+Bhv9bZFDfFoE30NI8cjOC52Fwjh\r\nejDscVdVnFaBa4IOn38tQXIe0kLABO+WvMnFrAEtO8RFYIng5R8uQEPZy5qd\r\nEwMcVVGY2lTWdO7vKe6sc2yY1DVaKnhREbTigdqeXBgIZHQtudVm6EeRYlK1\r\n4ve9I0K+rBZcrK0/tU4jtrXrzrQLoAHLV2nNYguZx1fUJkC4Dps0s+J3pn8l\r\nWo9Ola8jjDaXtqNqxNwXIxi01MxH+0iER/3YCxTmok4UDAg3Ju+bnoqcEIQF\r\nrboNuf+XP2c64NvAzus29Po8F9EwX5O9wrBWNVlcN3a+r0nTBofnU0nQuDzl\r\n0bIbY46skwXLtXsAeVhEl7n2OuKvpSMEMNaK891PhS0wOsARpUPUBWLY3YSm\r\nqKrouVLmfnA8o9wwLsgxRtC+bEmpo2UM+mKOpkaDH5tIB3kyooMroQniwuXZ\r\noxIJMlrvKfD4/4VICFqyao9tuR8SX7hepO4DzNAIsDTl0dTNWo4o3aUNpgiR\r\nAHxV91zc+TLmCdO83YTjk+uwmCkVoY3sWz0=\r\n=oYmt\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":">=12"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"f0499f2957425b71850e6bd7db4fba32f1b81e74","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/p-wait-for.git","type":"git"},"_npmVersion":"9.2.0","description":"Wait for a condition to be true","directories":{},"_nodeVersion":"16.16.0","dependencies":{"p-timeout":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.51.0","ava":"^4.3.1","tsd":"^0.22.0","delay":"^5.0.0","time-span":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/p-wait-for_5.0.2_1680143656913_0.25284266846057823","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"p-wait-for","version":"6.0.0","description":"Wait for a condition to be true","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-wait-for.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":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"dependencies":{},"devDependencies":{"ava":"^6.4.1","delay":"^6.0.0","time-span":"^5.1.0","tsd":"^0.33.0","xo":"^1.2.2"},"_id":"p-wait-for@6.0.0","gitHead":"81a9d13668a1b2e6e17b79813e43c88de6e2acf2","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"homepage":"https://github.com/sindresorhus/p-wait-for#readme","_nodeVersion":"20.19.5","_npmVersion":"10.9.2","dist":{"integrity":"sha512-2kKzMtjS8TVcpCOU/gr3vZ4K/WIyS1AsEFXFWapM/0lERCdyTbB6ZeuCIp+cL1aeLZfQoMdZFCBTHiK4I9UtOw==","shasum":"c31fdf0a40e2154968a26abc835688d1226dcaa3","tarball":"https://registry.npmjs.org/p-wait-for/-/p-wait-for-6.0.0.tgz","fileCount":5,"unpackedSize":11518,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDBtG0cBKZ8SmyFmUVLymbRGHuo8DgFFny6UAIW4/u8ygIhALx8ewIRAXZYKAjnz6yGQBzvYtN2zQ6U+geCtUCvIWMQ"}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/p-wait-for_6.0.0_1758426342276_0.24793587575385123"},"_hasShrinkwrap":false}},"time":{"created":"2016-10-21T07:03:05.054Z","modified":"2025-09-21T03:45:42.622Z","1.0.0":"2016-10-21T07:03:05.054Z","2.0.0":"2018-07-29T08:23:42.462Z","2.0.1":"2018-11-07T11:24:34.573Z","3.0.0":"2019-03-19T05:05:13.000Z","3.1.0":"2019-04-02T02:47:13.490Z","3.2.0":"2021-01-01T16:00:04.876Z","4.0.0":"2021-04-06T17:51:52.750Z","4.1.0":"2021-07-09T10:19:34.535Z","5.0.0":"2022-07-29T23:49:23.814Z","5.0.1":"2023-03-16T14:47:06.478Z","5.0.2":"2023-03-30T02:34:17.051Z","6.0.0":"2025-09-21T03:45:42.448Z"},"bugs":{"url":"https://github.com/sindresorhus/p-wait-for/issues"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","homepage":"https://github.com/sindresorhus/p-wait-for#readme","keywords":["promise","wait","for","waits","condition","poll","polling","boolean","async","await","promises","bluebird"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-wait-for.git"},"description":"Wait for a condition to be true","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"readme":"# p-wait-for\n\n> Wait for a condition to be true\n\nCan be useful for polling.\n\n## Install\n\n```sh\nnpm install p-wait-for\n```\n\n## Usage\n\n```js\nimport pWaitFor from 'p-wait-for';\nimport {pathExists} from 'path-exists';\n\nawait pWaitFor(() => pathExists('unicorn.png'));\nconsole.log('Yay! The file now exists.');\n```\n\n## API\n\n### pWaitFor(condition, options?)\n\nReturns a `Promise` that resolves when `condition` returns `true`. Rejects if `condition` throws or returns a `Promise` that rejects.\n\n#### condition\n\nType: `Function`\n\nExpected to return `Promise<boolean> | boolean` or a value from `pWaitFor.resolveWith()`.\n\n#### options\n\nType: `object`\n\n##### interval\n\nType: `number`\\\nDefault: `20`\n\nNumber of milliseconds to wait after `condition` resolves to `false` before calling it again.\n\n##### timeout\n\nType: `number | TimeoutOptions`\\\nDefault: `Infinity`\n\nNumber of milliseconds to wait before automatically rejecting with a `TimeoutError`.\n\nYou can customize the timeout `Error` by specifying `TimeoutOptions`.\n\n```js\nimport pWaitFor from 'p-wait-for';\nimport {pathExists} from 'path-exists';\n\nawait pWaitFor(() => pathExists('unicorn.png'), {\n\ttimeout: {\n\t\tmilliseconds: 100,\n\t\tmessage: new Error('Time’s up!')\n\t}\n});\n\nconsole.log('Yay! The file now exists.');\n```\n\n###### milliseconds\n\nType: `number`\n\nMilliseconds before timing out.\n\nPassing `Infinity` will cause it to never time out.\n\n###### message\n\nType: `string | Error`\n\nSpecify a custom error message or error. If not specified, the default error message will be 'Promise timed out after {milliseconds} milliseconds' where {milliseconds} is replaced with the actual timeout value.\n\nIf you do a custom error, it's recommended to sub-class `TimeoutError`.\n\n###### fallback\n\nType: `Function`\n\nDo something other than rejecting with an error on timeout.\n\nYou could for example retry with more attempts.\n\nExample:\n\n```js\nimport pWaitFor from 'p-wait-for';\nimport {pathExists} from 'path-exists';\n\nconst result = await pWaitFor(() => pathExists('unicorn.png'), {\n\ttimeout: {\n\t\tmilliseconds: 50,\n\t\tfallback: () => {\n\t\t\tconsole.log('Time’s up! Executed the fallback function.');\n\t\t\treturn 'default-value';\n\t\t},\n\t}\n});\n\nconsole.log(result); // 'default-value'\n```\n\n##### before\n\nType: `boolean`\\\nDefault: `true`\n\nWhether to run the check immediately rather than starting by waiting `interval` milliseconds.\n\nUseful for when the check, if run immediately, would likely return `false`. In this scenario, set `before` to `false`.\n\n##### signal\n\nType: `AbortSignal`\n\nAn `AbortSignal` to cancel the wait operation.\n\n### pWaitFor.resolveWith(value)\n\nResolve the main promise with a custom value.\n\n```js\nimport pWaitFor from 'p-wait-for';\nimport {pathExists} from 'path-exists';\n\nconst path = await pWaitFor(async () => {\n\tconst path = getPath();\n\treturn await pathExists(path) && pWaitFor.resolveWith(path);\n});\n\nconsole.log(path);\n```\n\n### TimeoutError\n\nExposed for instance checking.\n\n## Related\n\n- [p-whilst](https://github.com/sindresorhus/p-whilst) - Calls a function repeatedly while a condition returns true and then resolves the promise\n- [More…](https://github.com/sindresorhus/promise-fun)\n","readmeFilename":"readme.md","users":{"neofreko":true,"strawhat":true,"rocket0191":true}}