{"_id":"4z-stated-promise","_rev":"12-a5d36fa13f42f703fa3526adfad3fe58","name":"4z-stated-promise","dist-tags":{"latest":"1.2.8"},"versions":{"1.0.0":{"name":"4z-stated-promise","version":"1.0.0","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"index.mjs","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w"},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"gitHead":"4f09eef796672b43b836de7ca3eb9e94b0fc3ab8","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.0.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-NR7pE+rm22JXow9QGpwnLHBObu0GM1u2n7zSBeMP6vRdI+wUWlbdzwn68ssOPcTn4t6v99rUkNIhFa55FPFYuQ==","shasum":"beb939cd9cdc675b81b9c26ad112e53556ac1570","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.0.0.tgz","fileCount":10,"unpackedSize":11014,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfUautLg7a/9yCbZilBEaIUvJCfBL2lEEIy7oUgf+HSAIhAMQ4xW9stNlXhnDY7BGl7xVFW/K3ebtoIzWgi8r+xAEb"}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.0.0_1709133506084_0.468831729688558"},"_hasShrinkwrap":false},"1.0.1":{"name":"4z-stated-promise","version":"1.0.1","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"index.mjs","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w"},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"036cef13d0c55371633f83c899ce3a75700593a9","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.0.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-dDOsXQBPeBiE8h58lCjBUv4hyNbUSSWybrUr885HV1Iuex624F0I7f6Rt7BABCeMFahrVmrNMMmWGlnGpP20Kw==","shasum":"6be7fd114163f7149aa34065856cdfb78c1c8fbb","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.0.1.tgz","fileCount":10,"unpackedSize":11108,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVddZ9JKWwUQHW8rqLR7O0VZqpRLHrdKRy3BU2sARfjAIgc68gu7mX0B2ZWQX0f93tq3FHMs/FdmHJgmzW2zgrgec="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.0.1_1709133671908_0.9701509225850802"},"_hasShrinkwrap":false},"1.0.2":{"name":"4z-stated-promise","version":"1.0.2","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"index.mjs","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w"},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"39d8a926481c899dcdb401963ae4d7baaad94454","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.0.2","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-if/jnz1PbRUT8oWM/IHI21NSCU5SpbRqziHzq1svkXxh2ji2egt/zoA2axuMZbommoQxNB8X2/dLtYGf8RE4aQ==","shasum":"c75f7fdf9496bd8a41a629f9801f2bfeb1220e40","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.0.2.tgz","fileCount":10,"unpackedSize":11108,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtT7N1QqjcZxdsejA65R1ko1hpKXwAcTHR5ueEseMWAAiEAh00eqP36Oa4INa0fOCblNFiEx/h2y3W3RR/3QGPgRvA="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.0.2_1709134880784_0.8829503613622289"},"_hasShrinkwrap":false},"1.0.3":{"name":"4z-stated-promise","version":"1.0.3","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"index.mjs","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w"},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"98b07637e4c5ab0b02900ba20128ea3095e7b995","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.0.3","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-wagNPmK6F76Urj0vvdzHEQorg7ole5jTCGra2HSbPaOaRd2tABE2mQ/tamX0RRPUL9BDTjxVVIOxbJ+6/Ig21Q==","shasum":"54b9b5d4a237c70cc4fd37f15a22b07be29468ea","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.0.3.tgz","fileCount":10,"unpackedSize":11135,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFOWnREgb/g2kPLUNZzB0YJNeQ0lKVh9h/yLUksNJqB/AiEAkRB4y86r1hP6Z+pvdQXIPu7F5ih7bwNIGieczDBx2cw="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.0.3_1709134966517_0.41924745710088485"},"_hasShrinkwrap":false},"1.1.0":{"name":"4z-stated-promise","version":"1.1.0","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"index.mjs","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w"},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"f9883149b419337fe4d13846d60a4a2f6da23fd0","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.1.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Qpnjs7bmhOmI7KKrQXqIWKYUwdLyYm/h+qdclVtGWp/RL7pqpm6T7IX4k18MHVmOhvHTHlWAoC0YmgAT6KreGw==","shasum":"9b99b427c3448706e3391521209c2d8a6faf02a2","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.1.0.tgz","fileCount":12,"unpackedSize":18064,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCY2ed0xQyYH7ytQbdA4SInJGQT0LSTcvf2BSNGTOU4dwIgf87aCTQ5rO8/H5GBBm9gmQ3rdUOEYkW9sjXlGNTaha8="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.1.0_1709149313758_0.48401848914934864"},"_hasShrinkwrap":false},"1.2.0":{"name":"4z-stated-promise","version":"1.2.0","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"index.mjs","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"jest"},"jest":{"verbose":true},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","jest":"^29.7.0","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"58173bd58c5f3b64d6a358af075f68b4e87ab3c2","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.2.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-lz9dJNjG+CvoG0jm9VUC5YC8ckQDR1i28Mqi7ZE10Vz52IAkxT1B1P8hkLpyrDGw7FPI74diZbaLb0XuzZTh+g==","shasum":"3c22addb89a91ee0108d8183febe122135d82490","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.2.0.tgz","fileCount":15,"unpackedSize":38630,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6yWFDAdRGmGSnZeYljJZVd8riRh3d7nZuhFcf/KJr2AIgJJVjE6EWL4nHYFNXL6yN1XT1oXK5ERAIk5tC7Pxm/ls="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.2.0_1709230727372_0.6336492225000954"},"_hasShrinkwrap":false},"1.2.1":{"name":"4z-stated-promise","version":"1.2.1","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"src/index.mjs","types":"src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"jest"},"jest":{"verbose":true},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","jest":"^29.7.0","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"701a26493ee5bca125947d6f3e1b71349d73d2ba","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.2.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-w2ri3wHD1N2pKJf0xixdSGgoMswZP3cq2jNhohWROyMs2kTQVcDtLSPI4rQjPTEipR+RDrjFfhiBmP8vfWP57A==","shasum":"ded68300df4cda25366e334cfff2607870275c73","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.2.1.tgz","fileCount":15,"unpackedSize":38646,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD17ppe4FChW+Vw6KT76KD7RJ7uR9LqdCF/r6wVW5jQTgIgaiP4PnAiR4LMeWcRuSD/uphPfkd73yiPtD8ExTMlrqU="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.2.1_1709246428827_0.785649195925757"},"_hasShrinkwrap":false},"1.2.2":{"name":"4z-stated-promise","version":"1.2.2","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"src/index.mjs","types":"src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"jest"},"jest":{"verbose":true},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","jest":"^29.7.0","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"0feab2c63dbcd2b6196f36f468e0eb0858aab48b","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.2.2","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-W6bBMclmh2ek8q4gt65d4jjvE52tH1i+y/18Na6RKaJc1PgtyrqiZ5WVOSrAYyJdY2hn0FGcFZ39VwWyEDMrvQ==","shasum":"f7e59fdad880f1fa6e62d9f32480de43763ff18c","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.2.2.tgz","fileCount":15,"unpackedSize":38655,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvnbi3O/Ob7hZ2/AMtKKYph1Cn/Du+9NYy8NZ0jj41AAIgKBBbYyOmjBzmWwGRs6MGdKN9R7/+BwqocSl/ZHs7B60="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.2.2_1709246564284_0.2825787722548643"},"_hasShrinkwrap":false},"1.2.3":{"name":"4z-stated-promise","version":"1.2.3","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"src/index.mjs","types":"src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"jest"},"jest":{"verbose":true},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","jest":"^29.7.0","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"011325d6cca20f250e665b19227c5fb57316b24d","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.2.3","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-qJjbbb9vnxQHAvld+L7y/AMSDe9TTmqCT8z+YIYp0aWbuu0PZ4CYz8gGdy432yljrpDRon83DvdVkm4WK6D02g==","shasum":"531776f1b541c416cd06b644fa0c022983a4f16a","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.2.3.tgz","fileCount":15,"unpackedSize":38663,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCewU5AkrUhsJ8E7BbQGo19LDoYI113KxwywxAW//v9QAIgf4jvV4G5P4dEe3RNYw5u4kqiw8tx8wEoDjtm742z7Wo="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.2.3_1709246611668_0.8431514249864671"},"_hasShrinkwrap":false},"1.2.4":{"name":"4z-stated-promise","version":"1.2.4","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"src/index.mjs","types":"src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"jest"},"jest":{"verbose":true},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","jest":"^29.7.0","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"e4f19860d956889a38fab602070782b8f52784af","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.2.4","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-MsvsX/F9QE2xaJxJ8EYH0XO7Hcz0WddmoooeIJRudRchY4a+5L8YPyVPksddtgjUPt0J7gi105RZo0I1rIqkaw==","shasum":"8f728563767de9bbec1a0eb6281c87b1d2b607dd","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.2.4.tgz","fileCount":15,"unpackedSize":39991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZeAX0tIOmoEOVloTBlj7Mk7/baPc1gpm8a0Oro0P3RgIgZ+FJhpdwvqNjVSQgkrFtLTotpMxFCQYSMq5cA8UzZKc="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.2.4_1709396896282_0.4848173818458108"},"_hasShrinkwrap":false},"1.2.6":{"name":"4z-stated-promise","version":"1.2.6","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"src/index.mjs","types":"src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"jest"},"jest":{"verbose":true},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","jest":"^29.7.0","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"ff4a6e29955484b4813bd129ce934afddbf3726c","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.2.6","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-jncuAnhj05iwqLWxbr10iJWLpzB+ZM9gV0Q/db2R9j7ewT1FRREmhNtJrH/yrXW500S54l9LRSAC8vYOweTCpQ==","shasum":"278659618776345c44211f61ba3ebb7a1f6402cb","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.2.6.tgz","fileCount":16,"unpackedSize":58615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUG8zKiHNg2KCMTLroYILTBhmON/SoSn016aPTFFB6gQIgcysP1IjzI/pzJo0TQ2bmrDfPXhsyvhxb5InPc54X9Vs="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.2.6_1709403899792_0.19398816933786445"},"_hasShrinkwrap":false},"1.2.7":{"name":"4z-stated-promise","version":"1.2.7","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"src/index.mjs","types":"src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"jest"},"jest":{"verbose":true},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","jest":"^29.7.0","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"bc771d740ebb9c75345cf264d0d2dc62c9c7da5f","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.2.7","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Qr1CU41trrbPHiov8KutiyWoefwtUo0Rn/EZuYykQFoLU1o2Piq/APXVlw0tEdBPfvvI7HNDos1/mkwbS+52aw==","shasum":"a7bbd82ee6588e520e42808884578fb33471a9a1","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.2.7.tgz","fileCount":16,"unpackedSize":59454,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHCB6o+g+xsBmcQ4soOVUzCpAE4tnjObZNCUnoaDtDJwIgPHdUKaEFPKRAq80wH2FgfsfNu41egIlHdw27yWqmivk="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.2.7_1709591138412_0.07596844925717217"},"_hasShrinkwrap":false},"1.2.8":{"name":"4z-stated-promise","version":"1.2.8","description":"A Promise class with a state property","main":"dist/4z-stated-promise.min.js","module":"src/index.mjs","types":"src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"jest"},"jest":{"verbose":true},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","jest":"^29.7.0","rollup":"^4.12.0","rollup-plugin-license":"^3.2.0"},"keywords":["promise","async","sync","status","state"],"gitHead":"c20f2ee4defca744da29d9ea42ae202fe5d59f13","bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","_id":"4z-stated-promise@1.2.8","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-uJzNkv8Ttk4eLkS/GDow451SjjGnBDI8MpFHpEWC1+u0Ubtk+ysmRhf4MBzuaB5X7kZKp3gQhZxU/OsNPNU2Hw==","shasum":"83db787ad8abea37917c797cf5d81beb09ee004d","tarball":"https://registry.npmjs.org/4z-stated-promise/-/4z-stated-promise-1.2.8.tgz","fileCount":16,"unpackedSize":41002,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClCaNb6iinVGyFIKQkKOX+IlAhIQ5loUhueZrZEQBPRQIgTpLLEgolF64nogCkf0iPWaCDeL8qaCqhtVdfEkfE5fI="}]},"_npmUser":{"name":"cedrictailly","email":"cedric.tailly@gmail.com"},"directories":{},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4z-stated-promise_1.2.8_1709647439979_0.9830113614490168"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-28T15:18:26.083Z","1.0.0":"2024-02-28T15:18:26.246Z","modified":"2024-03-05T14:04:00.615Z","1.0.1":"2024-02-28T15:21:12.096Z","1.0.2":"2024-02-28T15:41:20.998Z","1.0.3":"2024-02-28T15:42:46.661Z","1.1.0":"2024-02-28T19:41:53.984Z","1.2.0":"2024-02-29T18:18:47.528Z","1.2.1":"2024-02-29T22:40:28.957Z","1.2.2":"2024-02-29T22:42:44.437Z","1.2.3":"2024-02-29T22:43:31.982Z","1.2.4":"2024-03-02T16:28:16.474Z","1.2.6":"2024-03-02T18:24:59.964Z","1.2.7":"2024-03-04T22:25:38.545Z","1.2.8":"2024-03-05T14:04:00.172Z"},"maintainers":[{"name":"cedrictailly","email":"cedric.tailly@gmail.com"}],"description":"A Promise class with a state property","homepage":"https://github.com/cedrictailly/4z-stated-promise#readme","repository":{"type":"git","url":"git+https://github.com/cedrictailly/4z-stated-promise.git"},"author":{"name":"Cédric Tailly"},"bugs":{"url":"https://github.com/cedrictailly/4z-stated-promise/issues"},"license":"MIT","readme":"\n# 4z-stated-promise\n\n`StatedPromise` is a JavaScript class that wraps and mimic standard promises with the ability to get their state, result and error synchronously using additional properties.\n\n## Installation\n\nUsing yarn :\n\n```bash\nyarn add 4z-stated-promise\n```\n\nUsing npm :\n\n```bash\nnpm install 4z-stated-promise\n```\n\n## Usage\n\nThe `StatedPromise` class is used similarly to the original `Promise` class, you simply need to add `Stated` as a prefix when using it :\n\n```javascript\nimport StatedPromise from \"4z-stated-promise\";\n\nconst p1 = new StatedPromise((resolve, reject) => {\n  resolve(true);\n});\n\nconst p2 = new StatedPromise((resolve, reject) => {\n  setTimeout(resolve, 500, true);\n});\n```\n\nThe `StatedPromise` class can also be used with CommonJS :\n\n```javascript\nconst StatedPromise = require(\"4z-stated-promise\");\n\n(...)\n```\n\nYou can access the state, result, and reason of the rejection using the properties :\n\n```javascript\nconsole.log(p1.state);\nconsole.log(p1.result);\nconsole.log(p1.reason)\n```\n\n...or export as JSON :\n\n```javascript\nconsole.log(p1.toJSON());\n```\n\n## Static calls\n\nPromise static functions are also usable :\n\n```javascript\nStatedPromise.all([\n  new Promise(resolve => resolve(true))\n  new Promise(resolve => setTimeout(resolve, 500, true))\n]);\n```\n\n## Compatibility\n\nIt is compatible with the following module formats:\n\n- ESM (ECMAScript Module)\n- CommonJS\n- AMD (Asynchronous Module Definition)\n- UMD (Universal Module Definition)\n- TypeScript (`/src/index.d.ts`)\n\nThe UMD version with sourcemaps for web browser is available at `/dist/4z-stated-promise.min.js`.\n\n## Examples\n\nYou can find usage examples in the `/src/examples` directory.\n\n## License\n\nThis project is licensed under the MIT License.\n","readmeFilename":"README.md","keywords":["promise","async","sync","status","state"]}