{"_id":"@ava/babel-plugin-throws-helper","_rev":"25-efd24494dc9ff4975e8efe07af1ce835","name":"@ava/babel-plugin-throws-helper","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","dist-tags":{"latest":"4.0.0"},"versions":{"2.0.0":{"name":"@ava/babel-plugin-throws-helper","version":"2.0.0","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava","preversion":"WRITE_EXAMPLES=1 npm run test && git add example-output.md"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"ava":"^0.18.2","babel-core":"^6.7.5","xo":"^0.17.0"},"gitHead":"81164c150fb79645689217b3b527988dc7923fde","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@2.0.0","_shasum":"2fc1fe3c211a71071a4eca7b8f7af5842cd1ae7c","_from":".","_npmVersion":"4.5.0","_nodeVersion":"7.7.1","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"shasum":"2fc1fe3c211a71071a4eca7b8f7af5842cd1ae7c","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-2.0.0.tgz","integrity":"sha512-pX8AjCJPlthNUGcvD4g/sgjIaZgOUN0CIBf5IOoLA5YROxuoHOXGvDiJeNZpEUeh62WWen6XfNTHh8Hmp/Oulw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDv44E/1k5RdPso9kte0z6xCEVllT8yiFwonz4sROZ3EAiEAzivN2SgLWymNpOOV0mJjnG0rzj4H12/mIHBD0zWk5uw="}]},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/babel-plugin-throws-helper-2.0.0.tgz_1490533870255_0.6552232054527849"},"directories":{}},"3.0.0-beta.1":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0-beta.1","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=4"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"^7.0.0-beta.38","ava":"^0.25.0","codecov":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"nyc":{"reporter":["html","lcov","text"]},"gitHead":"a12330de0723b39e7a29cf8a21ded3b0c7efa6fd","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0-beta.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-R2A1xb8shFuQ6wVyzi4Fl4MtNbx9WeahLoPPZkQgiPGv6Mz+IOyhGUV1I9yk/BECHCi9LFzBmUmbmj5EXtSY5Q==","shasum":"28d134d9670aa23b06f0df4837448a2c73a3b5ca","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0-beta.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFdJnWQ97GYXbLfDf09iXAS16X1yDPu92SZj3ORzHcCgIhAKgQwEYvVS3GviJ6+VcFaLcMtDLj8KWwqXdCg/NOFtHB"}]},"maintainers":[{"email":"vdemedes@gmail.com","name":"vdemedes"},{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper-3.0.0-beta.1.tgz_1517063039942_0.2310965124052018"},"directories":{}},"3.0.0-beta.2":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0-beta.2","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=4"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"^7.0.0-beta.39","ava":"^0.25.0","codecov":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"nyc":{"reporter":["html","lcov","text"]},"gitHead":"319a57ec38a0c74274f6b31bd1a15be50724aef8","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0-beta.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-iKjAy0bQ/l/qN5jNDTvjIPlADoEmgXoN0Yw00CVPsxqv1ySLCKKdTVGmRTGxCr0avsuVi8P0Ba7T5QSzyXTZEg==","shasum":"954c0c2e699a03e7ee3a96bfe68d73e065e2f09a","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0-beta.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSVl9LvCUcv5eV1uo+HabP4azUhgeon9/F0/HiCalSzAiEA768rklp46hqIC5fBOAUx2lwdRWsx/0mm3QQls+Z5Clo="}]},"maintainers":[{"email":"vdemedes@gmail.com","name":"vdemedes"},{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper-3.0.0-beta.2.tgz_1517413010120_0.6432610417250544"},"directories":{}},"3.0.0-beta.3":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0-beta.3","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=4"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"^7.0.0-beta.40","ava":"^0.25.0","codecov":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"nyc":{"reporter":["html","lcov","text"]},"readme":"# babel-plugin-throws-helper [![Build Status](https://travis-ci.org/avajs/babel-plugin-throws-helper.svg?branch=master)](https://travis-ci.org/avajs/babel-plugin-throws-helper)\n\n> Babel plugin for protecting against improper use of `t.throws()` in [AVA](https://ava.li)\n\nProbably not useful except as an internal plugin for the AVA test runner.\n\n[Genesis of the idea.](https://github.com/sindresorhus/eslint-plugin-ava/issues/75)\n\n## Issue\n\n> I've seen a lot of incorrect use of the throws assertion in other test runner and even done the mistake myself sometimes. Now I'm beginning to see it with AVA too, so would be nice to be preemptive about it.\n>\n> People don't realize they need to wrap their call in a function, so many end up doing `t.throws(foo())` instead of `t.throws(() => foo());`. It's an easy mistake to make.\n\nThe difficulty is that `t.throws(foo())` is allowed if `foo()` returns a promise or a function. There is no good way to differentiate between the two at runtime. So providing a good error message is going to take some AST transform magic.\n\n\n## Solution\n\nSee [`test.js.md`](test.js.md) for the transformation this plugin performs.\n\n## License\n\nMIT © [James Talmage](https://github.com/jamestalmage)\n","readmeFilename":"readme.md","gitHead":"337d8c201a5d6e82d774d8b86b7d304bb652cbe5","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0-beta.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-9+0fWjzm66ThbPsZDGQBsPBI3YSOEiOHAtMaqepiwWq0OE8v3Zizm0spxmY98oo9PpkgA7gGA1y2q99qcgmWfw==","shasum":"7fb5f64fae8bd1b0a525634b302347819c1baee7","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0-beta.3.tgz","fileCount":4,"unpackedSize":5036,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD48W+Dc/Dg0BLJeZzJ0EJYHrwuWlQVjw0iBqfDHRbIVQIgU3ZbEYlI60nDk+Nq/HYU3OjzfqFJE9MRb7ehF4d9Cgs="}]},"maintainers":[{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"vdemedes@gmail.com","name":"vdemedes"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.3_1518607794254_0.9638887029734762"},"_hasShrinkwrap":false},"3.0.0-beta.4":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0-beta.4","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=6.12.3 <7 || >=8.9.4"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"7.0.0-beta.44","ava":"^0.25.0","codecov":"^3.0.0","nyc":"^11.6.0","xo":"^0.20.3"},"nyc":{"reporter":["html","lcov","text"]},"readme":"# babel-plugin-throws-helper [![Build Status](https://travis-ci.org/avajs/babel-plugin-throws-helper.svg?branch=master)](https://travis-ci.org/avajs/babel-plugin-throws-helper)\n\n> Babel plugin for protecting against improper use of `t.throws()` in [AVA](https://ava.li)\n\nProbably not useful except as an internal plugin for the AVA test runner.\n\n[Genesis of the idea.](https://github.com/sindresorhus/eslint-plugin-ava/issues/75)\n\n## Issue\n\n> I've seen a lot of incorrect use of the throws assertion in other test runner and even done the mistake myself sometimes. Now I'm beginning to see it with AVA too, so would be nice to be preemptive about it.\n>\n> People don't realize they need to wrap their call in a function, so many end up doing `t.throws(foo())` instead of `t.throws(() => foo());`. It's an easy mistake to make.\n\nThe difficulty is that `t.throws(foo())` is allowed if `foo()` returns a promise or a function. There is no good way to differentiate between the two at runtime. So providing a good error message is going to take some AST transform magic.\n\n\n## Solution\n\nSee [`test.js.md`](test.js.md) for the transformation this plugin performs.\n\n## License\n\nMIT © [James Talmage](https://github.com/jamestalmage)\n","readmeFilename":"readme.md","gitHead":"fdc2ec69cf79ad603319ec9876f6814c14f2524c","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0-beta.4","_npmVersion":"5.8.0","_nodeVersion":"8.11.0","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-Gqdcu/eOlHzOsPTm0BNjwUiZxK9I+4OEVPNXob/ViqLN+qEc480PIMjnJeWc6mq1wSax6/KE4ldjd1H4VX7Hzw==","shasum":"15e2d7962aa922b457f6b9978c9cb488fa9720aa","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0-beta.4.tgz","fileCount":4,"unpackedSize":5053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbIhGF7OK6lzmftYqEeQ93OHDaWjzcEyz/vk/PJU6ykQIgE6uPttozEAu4iav3+1mOiUKm7gvsyhMTKIJPC0GUzow="}]},"maintainers":[{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"vdemedes@gmail.com","name":"vdemedes"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.4_1523200439871_0.5557488150610255"},"_hasShrinkwrap":false},"3.0.0-beta.5":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0-beta.5","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=6.12.3 <7 || >=8.9.4 <9 || >=9.11.1 <10 || >=10.0.0"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"7.0.0-beta.48","ava":"^0.25.0","codecov":"^3.0.2","nyc":"^11.8.0","xo":"^0.21.1"},"nyc":{"reporter":["html","lcov","text"]},"readme":"# babel-plugin-throws-helper [![Build Status](https://travis-ci.org/avajs/babel-plugin-throws-helper.svg?branch=master)](https://travis-ci.org/avajs/babel-plugin-throws-helper)\n\n> Babel plugin for protecting against improper use of `t.throws()` in [AVA](https://ava.li)\n\nProbably not useful except as an internal plugin for the AVA test runner.\n\n[Genesis of the idea.](https://github.com/sindresorhus/eslint-plugin-ava/issues/75)\n\n## Issue\n\n> I've seen a lot of incorrect use of the throws assertion in other test runner and even done the mistake myself sometimes. Now I'm beginning to see it with AVA too, so would be nice to be preemptive about it.\n>\n> People don't realize they need to wrap their call in a function, so many end up doing `t.throws(foo())` instead of `t.throws(() => foo());`. It's an easy mistake to make.\n\nThe difficulty is that `t.throws(foo())` is allowed if `foo()` returns a promise or a function. There is no good way to differentiate between the two at runtime. So providing a good error message is going to take some AST transform magic.\n\n\n## Solution\n\nSee [`test.js.md`](test.js.md) for the transformation this plugin performs.\n\n## License\n\nMIT © [James Talmage](https://github.com/jamestalmage)\n","readmeFilename":"readme.md","gitHead":"8e611a886bc1ac3a3806787384e6c6c02f39514f","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0-beta.5","_npmVersion":"6.1.0","_nodeVersion":"10.2.1","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-c+qPCTafwSkvWlqhMY15wajNaHrOBVls38RJq+zMWVzj7T5b9djirPLeF9ffro48terghDOhmaqG9mr29/b4QQ==","shasum":"4e8a2b27fb57886851d20adef492fa5a1f23a349","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0-beta.5.tgz","fileCount":4,"unpackedSize":5084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCCZdCRA9TVsSAnZWagAAJksP/3AlA7EU3u12BYtgdj1C\nAGz5F5cK9nu/mExtvTPMazxJk4v3o8RLzzQqRQh7vGnpmyH/FfKuj8ufHEvh\n6MHexGGJsF929OqRjuJpOHY8Bv+4aHhYPJ4zsq5ARknuWUYnQkEtRF+YT60g\n9vI3cmv8pgZinlFIXYZIy1lmCqTbVgBLl6Uzx86mr5FSt90pjU4U+nl3GKaB\nGqy848s/vy6y0WdnFsjf3SvsWXiyEiSskNO3h/9BLZlA9opAD38l/ELBJwlh\nFCq4AtURWg1NFh0MxFKap0lPYMuZ7b6cNKvmvwxnhl4km/x3jDmctN6fMX/F\nf0keDPCbwGyS/a68ikXh6cVRi45mBVRYM0HSil1Jb9DmX4WLMXade4OhkYm2\n/uFodsatYvhT7EElgLJlydnM8+MrGOF70jLrmV9YYZRePd5iAK4lOTe8kWU2\npF6qIIQyIQ7qKSqt2sMG3UFKUbPjhyChl/VcwzHlACxBc2OnOBSVg3mqCrOj\nYER2mGZmd3pscfG9T8AwDpUrH2/DxcG5Hr+cKavNOnfOprfErB1CstGAMaea\nXgn8WL6OsBQgyFgrDWnM251OTjYzwZx7ciKpfnMrGw1vi4TaxqSWTNpIOyHU\nQ73W3aa2cMByZn8lBMPSWyYvk5Pp78fHT4CR/B/QOPm8NwmdvL9Rl+kCUdqF\nsUuN\r\n=cgHv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4hPiJKS8w+lVogm0H6uOK5nSG23i6ziyY3HfCpd45hAiEAhtcwrTKf3ZoivYD5HT7eQtgV3R8E7XAnPM1e2KKWazg="}]},"maintainers":[{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"vdemedes@gmail.com","name":"vdemedes"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.5_1527260765215_0.6462265735268324"},"_hasShrinkwrap":false},"3.0.0-beta.6":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0-beta.6","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=6.12.3 <7 || >=8.9.4 <9 || >=9.11.1 <10 || >=10.0.0"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"7.0.0-beta.49","ava":"^0.25.0","codecov":"^3.0.2","nyc":"^11.8.0","xo":"^0.21.1"},"nyc":{"reporter":["html","lcov","text"]},"readme":"# babel-plugin-throws-helper [![Build Status](https://travis-ci.org/avajs/babel-plugin-throws-helper.svg?branch=master)](https://travis-ci.org/avajs/babel-plugin-throws-helper)\n\n> Babel plugin for protecting against improper use of `t.throws()` in [AVA](https://ava.li)\n\nProbably not useful except as an internal plugin for the AVA test runner.\n\n[Genesis of the idea.](https://github.com/sindresorhus/eslint-plugin-ava/issues/75)\n\n## Issue\n\n> I've seen a lot of incorrect use of the throws assertion in other test runner and even done the mistake myself sometimes. Now I'm beginning to see it with AVA too, so would be nice to be preemptive about it.\n>\n> People don't realize they need to wrap their call in a function, so many end up doing `t.throws(foo())` instead of `t.throws(() => foo());`. It's an easy mistake to make.\n\nThe difficulty is that `t.throws(foo())` is allowed if `foo()` returns a promise or a function. There is no good way to differentiate between the two at runtime. So providing a good error message is going to take some AST transform magic.\n\n\n## Solution\n\nSee [`test.js.md`](test.js.md) for the transformation this plugin performs.\n\n## License\n\nMIT © [James Talmage](https://github.com/jamestalmage)\n","readmeFilename":"readme.md","gitHead":"df143905677448fb991d829b2a28b49d25e76414","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0-beta.6","_npmVersion":"6.1.0","_nodeVersion":"10.2.1","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-JaDRZ8uqHZBapK5uEEWH1CowIRdaAW9HuP0KmA1ooKHsKi7WbljMZvfJ7Ynomir1+obz2zgW2543TrdoqwDgKw==","shasum":"1a1fd023e30e5add16a222ac7f2e4fe0f20cb8a4","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0-beta.6.tgz","fileCount":4,"unpackedSize":5084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDr6GCRA9TVsSAnZWagAATqgP/1Bi8BsOG1dqTD+QKj6p\nS6Qxa+IO7v20N54q1Ae6lronsXbx0EDQ+DnxE4/xpEIirxjJNW+OHbwCAqU7\n6iLBkDfYZo6kOMMsTBpmSbHzMTRE/g4hMQjyrgM8YG2HzEDl10UXSzPgejhY\ns+pJWNGIdB3sxR9yFe9Nr7+RXDoszGVXPGFZCRXJecaG/8HmJjCzFkMOmiAU\nxSxMGC8vjxDL3471nvvC3UJEpgSKTjbIl3+5be2QMjeoIsHIXSNfDVKakKjJ\naRyA7Oy6tCyiNbEkSCXDSGzxFOe9qVayTfergShnDPmj/9ciyCXG5b8dpY7+\n97RWt8ZRi2iTT0kfmXBevO6rUmvH1kR4x/dUczoYAsYenJMGiGmzLbQ09VsZ\nBuXYEGwuefkG3nJnzXsAfgWDtUEgTJ8rWHkokmySqDIJTgco1pIQha62LaXc\nKCSVM55F7ntyTtNZ050LT+CpaaiJxalnPGTILMmfykbuZyKCoFuB80kb7lys\nHWjtqsSF3axOJtIWGKMiVHnAHXtPFmWf/wkS4LV4rvAap87POH+NyqUUiO2f\n9LXpcF0E6HsaRgW0o+czWHPVs68GSv35xIXjLh0Doetc6GwaXgxufSvedaJN\nXNxgTqi9pxSIr6yviAd2MLmlJQCxmq2VrF+v2a8h5Z9fLmFzRiAe2/d3MBCo\nNANl\r\n=P5/+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE2XhvRBCPDiJUCvICh+qkYhvq/FCsl2zgdBWWLaUgkeAiEAnbEXfI58SrbNqIz00QnFrqJYv5iSxpsRejQ48cZicsU="}]},"maintainers":[{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"vdemedes@gmail.com","name":"vdemedes"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.6_1527692934189_0.50691401332701"},"_hasShrinkwrap":false},"3.0.0-beta.7":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0-beta.7","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=6.12.3 <7 || >=8.9.4 <9 || >=9.11.1 <10 || >=10.0.0"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"7.0.0-beta.51","ava":"^0.25.0","codecov":"^3.0.2","nyc":"^11.8.0","xo":"^0.21.1"},"nyc":{"reporter":["html","lcov","text"]},"readme":"# babel-plugin-throws-helper [![Build Status](https://travis-ci.org/avajs/babel-plugin-throws-helper.svg?branch=master)](https://travis-ci.org/avajs/babel-plugin-throws-helper)\n\n> Babel plugin for protecting against improper use of `t.throws()` in [AVA](https://ava.li)\n\nProbably not useful except as an internal plugin for the AVA test runner.\n\n[Genesis of the idea.](https://github.com/sindresorhus/eslint-plugin-ava/issues/75)\n\n## Issue\n\n> I've seen a lot of incorrect use of the throws assertion in other test runner and even done the mistake myself sometimes. Now I'm beginning to see it with AVA too, so would be nice to be preemptive about it.\n>\n> People don't realize they need to wrap their call in a function, so many end up doing `t.throws(foo())` instead of `t.throws(() => foo());`. It's an easy mistake to make.\n\nThe difficulty is that `t.throws(foo())` is allowed if `foo()` returns a promise or a function. There is no good way to differentiate between the two at runtime. So providing a good error message is going to take some AST transform magic.\n\n\n## Solution\n\nSee [`test.js.md`](test.js.md) for the transformation this plugin performs.\n\n## License\n\nMIT © [James Talmage](https://github.com/jamestalmage)\n","readmeFilename":"readme.md","gitHead":"4fe0b26db2bba5e7e71619c25a9b360136dbf01e","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0-beta.7","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-1nCjzg5iRbxwuI1F31bh6k4JxlgJnhKxhKpdZCC28v8Hl0STonIudeNcqgTvGMA2uTiWTvmyFYU3ZqTJHoJuCA==","shasum":"45d70f44dac967f978e98bb0da7f55d8011936d6","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0-beta.7.tgz","fileCount":4,"unpackedSize":5084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbISr1CRA9TVsSAnZWagAA5xMP/2L7yYKvBcWu6ztz2TJV\n7gTyEWHD19C73yPfPoJWLkUk4lRT9C35BEEFr0ic7zadQylWbwbglcp5U0CL\nf9rfuuhIyzyLSQ0DULWNJK5VocA6MkMA7nrlNxlQZrt5dp8+ZInCcghp1+oD\ni4rq3AUmwWaQn5dJ1ysuzusW1r4PQnJSznQVyh4DBR4Xkej9UihJN4xXkWt8\nIkxxsBS9M3p/OjrEs9xB9kH48+awrUFKr3SpcFhToG3K/FprrOz2DT7bb8VX\nkd+lVUj/IpjzXsOIOov+mVn5jvVyf8b/wa6am+kSehfDy8WtD+ZbqoXFeK7O\naAjwfU6O/NqrtY/JvY80Op+xvKenSdOmvRRSQvmAvmuHhzwjkYTirEWqx7lo\nI0R9JfTQn5DYuqX1VUWhcebMU5EOCqA9RYZGITUejHDUhUsO/R2brS5uKlEU\nYMzpBGinhxqb7LEFvtTVL801ibidZIOh11XkwPbYqqgcMOV/z5SgbUIjywhb\nPMtEq4/RkN/rN0q/Y8si82UbjCiAUkJVH3oGMzeR9I3xXPdA8NLuCbjP8Zo6\nRNxPbWuYG6NF//KLDLtNSPQdzgakCHqkeVugAGm+1bj8LLc2esBh+Hi4vjKe\nGpD08s9dmGKz6rgUqfXnGIii3dfZzYKpwKHifpF68uHe5yymxzNNPZVz8+JK\naflV\r\n=jtjb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+CYFaU6Tqrtjm3Jq4+Sd2arRkecy5tXHvfp4R1XWOqgIhAIOdSlB9AryucdrTRb0/gdZnLawbI7nZGAKowzcCHwne"}]},"maintainers":[{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"vdemedes@gmail.com","name":"vdemedes"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.7_1528900340763_0.4014153090994024"},"_hasShrinkwrap":false},"3.0.0-beta.8":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0-beta.8","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=6.12.3 <7 || >=8.9.4 <9 || >=10.0.0"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"7.0.0-rc.1","ava":"^0.25.0","codecov":"^3.0.4","nyc":"^12.0.2","xo":"^0.22.0"},"nyc":{"reporter":["html","lcov","text"]},"readme":"# babel-plugin-throws-helper [![Build Status](https://travis-ci.org/avajs/babel-plugin-throws-helper.svg?branch=master)](https://travis-ci.org/avajs/babel-plugin-throws-helper)\n\n> Babel plugin for protecting against improper use of `t.throws()` in [AVA](https://ava.li)\n\nProbably not useful except as an internal plugin for the AVA test runner.\n\n[Genesis of the idea.](https://github.com/sindresorhus/eslint-plugin-ava/issues/75)\n\n## Issue\n\n> I've seen a lot of incorrect use of the throws assertion in other test runner and even done the mistake myself sometimes. Now I'm beginning to see it with AVA too, so would be nice to be preemptive about it.\n>\n> People don't realize they need to wrap their call in a function, so many end up doing `t.throws(foo())` instead of `t.throws(() => foo());`. It's an easy mistake to make.\n\nThe difficulty is that `t.throws(foo())` is allowed if `foo()` returns a promise or a function. There is no good way to differentiate between the two at runtime. So providing a good error message is going to take some AST transform magic.\n\n\n## Solution\n\nSee [`test.js.md`](test.js.md) for the transformation this plugin performs.\n\n## License\n\nMIT © [James Talmage](https://github.com/jamestalmage)\n","readmeFilename":"readme.md","gitHead":"559b5dc00135280bb762d66aac749549da655d7a","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0-beta.8","_npmVersion":"6.3.0","_nodeVersion":"10.8.0","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-K3y99Y7Mp8A2MXC/MV/laIPntEaq13VrmqnuHE0XHf1VBpOlQnVRNYnwBQRD+ZmPPrSmBAEaH0SsjIe4JH+e8g==","shasum":"64762939911a3bf2516134364003cb43a83a1f92","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0-beta.8.tgz","fileCount":4,"unpackedSize":5065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcD2TCRA9TVsSAnZWagAANj0P/inho+VxjnEYTJTysXsg\nmFG5iuWim6reeMWqW52+jy7hO1jp9wihOncQspStxv3HjoN1YQhoCEyamizJ\nS1cnpnaCSGjQuBwp7MR5aMgZ6m6DgD3G/eEWcssAF1SCytvm5FhOKIU/IfU4\neg16OmkHtUXfvfJxJeE0JogBFQMno6mDKAavbAIPpqkpU4r4c3K8n1zaK6mR\nb7+enM3/EirP43uWQt9QNx+Ld7/uSp/DYEf5pl3b308/kdM16NCtVoaENfhg\nCKEA4mUfIqZYOZ6qLaeG+um4oz0civnwDrjf+eerWHzGLrxWOWpnbnh3sA7I\nvCSHCEc3wkXowYcufiNKeOFpcy6Xbfa6k+lbebeoxV3wpHiQaugUeoZmeT7E\n0hpOZUTUHNhq+wQKt3F0ZGWrXBs6Sd/d3GqLjvhRGcAfCnS+wL1z10jdI9pH\nr7f3zXWvVeQvoUS5Pg9lkpvzrLhXERbzTxYN17sWVi6swwTlM+0EZiY41iFv\nkf+qJgEedYqXAbQHuB4z0PRiWhA6TotUJ8nH+O9TYtMQfN++7mrgGkntlcMw\nCCpx5s7F04lZmOqP5MdsCjSIwM2PWHFdMABcghyo56PtWKrfwLlsgpOFe+MO\nF1k3Pi4vloHKow4AwCNeuc+0ENRUh8SXB4Ifs+AkNxdG5Kl3MZmB3dnrRKbL\nIybm\r\n=3ixC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBF35FiobLH3QNIrlGyWTN+lV9rzg90acIhpk7AhHtu0AiEA2E7kqs6qNCd3qTHYR3DHPqXSwpc1mSqvZTW+QHJEE6U="}]},"maintainers":[{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"vdemedes@gmail.com","name":"vdemedes"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.8_1534082450736_0.7676412991701405"},"_hasShrinkwrap":false},"3.0.0":{"name":"@ava/babel-plugin-throws-helper","version":"3.0.0","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=6.12.3 <7 || >=8.9.4 <9 || >=10.0.0"},"scripts":{"test":"xo && nyc ava"},"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"^7.0.0","ava":"^0.25.0","codecov":"^3.0.4","nyc":"^12.0.2","xo":"^0.22.0"},"nyc":{"reporter":["html","lcov","text"]},"gitHead":"736569de41f4f39792f5924ac68485b79cb48dc7","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@3.0.0","_npmVersion":"6.4.0","_nodeVersion":"10.9.0","_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"dist":{"integrity":"sha512-mN9UolOs4WX09QkheU1ELkVy2WPnwonlO3XMdN8JF8fQqRVgVTR21xDbvEOUsbwz6Zwjq7ji9yzyjuXqDPalxg==","shasum":"2c933ec22da0c4ce1fc5369f2b95452c70420586","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-3.0.0.tgz","fileCount":4,"unpackedSize":5054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhaxHCRA9TVsSAnZWagAAOrsP+wSFyX5DcjA7I6moEtPx\no2Lkp5aOblYUfUFyYwoqx15sE0PrD6HrCKoGo8onJJAub6GCTD/UXrH1oyvb\ne86alk1wHeG6eHElU5WlUin4Z8HwffprwwMNWk8dMvr5i2b3ENPWnHBrPZcV\nQcsY9IU9VjGgVflLI9Np8/J53VVpnSFWJ4QkDnsE/QG0uhLMwmhq9sBY0APq\nlux6Ghre3XlR9BE006SX1JI/BfnT4JWdrMu1O52a37nuywz81BPk1nfV16zC\no4VUDiFSZQ8FE8OhzWEFCzdO+ZC/IN0rOfSKDgX8D8wbOPW2ikIB6kb/uT6+\n9w7xLDZUfkTrsyGUGtVAR36fOBSvL3encQgZpKvW8lnYRcwr0cuw3bpUwwcw\nsYf4F2WIbYB252JPvKURbBymkWPYUuHhBX87eXx/c2zTwKJ6n9ssTAWvVuDk\n/eNkuoXZgwBCYxRXdQLfRWZ8aShOE/qdx5v7rOPRfAmgNU1aIGHTg1bnRQGG\nSzuTocjYPVGELTAdZ/51b/l4f7eL5l3MR2QrHEq/WFw0hu1WfWNYYp/nghBp\nn56AgdrSXxF9yf7QdmYRfU3LyOYQWRllQx+h4FfPagDfs0nVLEezw8njh3ur\n4E7kocFwAYVeR4K6EPIoIaGbMyxI7DTuU1s0xomafk47Fw0+lQHp+fqeWq3i\n6fTM\r\n=hQaY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBYFAKQtE17yVDQM/bwjuIkI+YlFpkRwq2FYQIoDRLNgIgKr1C0IOlQlWU56E9Piyv1M/PK9irOxAORhvrqkRqtts="}]},"maintainers":[{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"vdemedes@gmail.com","name":"vdemedes"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0_1535487047111_0.691384059319162"},"_hasShrinkwrap":false},"4.0.0":{"name":"@ava/babel-plugin-throws-helper","version":"4.0.0","description":"Babel plugin for protecting against improper use of `t.throws()` in AVA","license":"MIT","repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=8.9.4 <9 || >=10.0.0 <11 || >=12.0.0"},"scripts":{"test":"xo && nyc ava"},"keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"devDependencies":{"@babel/core":"^7.5.5","ava":"^2.2.0","codecov":"^3.5.0","nyc":"^14.1.1","xo":"^0.24.0"},"nyc":{"reporter":["html","lcov","text"]},"gitHead":"7c1d16a8d4a63efa0225929f6bff87a0d0171aee","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","_id":"@ava/babel-plugin-throws-helper@4.0.0","_nodeVersion":"12.8.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-3diBLIVBPPh3j4+hb5lo0I1D+S/O/VDJPI4Y502apBxmwEqjyXG4gTSPFUlm41sSZeZzMarT/Gzovw9kV7An0w==","shasum":"8f5b45b7a0a79c6f4032de2101e0c221847efb62","tarball":"https://registry.npmjs.org/@ava/babel-plugin-throws-helper/-/babel-plugin-throws-helper-4.0.0.tgz","fileCount":4,"unpackedSize":5046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUFmVCRA9TVsSAnZWagAAtZ8P/jVKmc3uLdqOfBn6SI6q\nuD19Ucsam/Q5efAIi8K2XK9M2V5o2j1yZDM9rAH5VPz16hfAdl9GLDFpemDA\nUNFFbmOeQ46zxj3oLZDxws5AFhAEvnN5wBw7ohZ+mf8/a4aLVshWm33EG2Nx\ny/PSIgSYz+PvUPZ4IT1T5y1L0ZZ5/IOm6rIMswJyQypbmmNymOxh2ZGFnbDp\nws+bQMg1wEQPqBd5MxaznZ7AepdN2HZr2XBpgL6SxogmX2KsSV1KwXSf+aAs\nLk5ydJ2SgLTP2LMfxv2TMawUg8sn1E4fe404j8oh98YTv9qcncAU6Lo8BfU4\nz5hy5+RSBfAi3SZxtA0DyHE7JAh81Qjvolh+eaDH/6DIGNJW0GAPbAj//LJh\nvYtr551fTjLyE3ND61/cvc0MW/DpQwXOEVNx7WNdV1lJKujld8kNIP8vMYzu\nS+lI9itgP47pQO1qu9TEBqVJLQjGQc5G+KI1M9I5CwWa1T05jT4FtnPxNWo7\nlvzrJxzbJ9dz5X2nYqosNA2PJf6YAOUlQY9QW3+4Kz9V465VzWhR6hoAXCyz\nG/uKHdv9MXQQe2+pAaS1bb8b80foa/14ZooYoyDSQZk4rbKI7UckqM9kr9G4\neN8wDKSo5Gr7iJBcszqDSN0dv24/f4g1k35gtV2+3b/JR3c9qh2cCfJlQKkz\nB3RX\r\n=j0ZY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOp2ynEpAY08yfbKuJMNmlUf7PlYVkvUGxtUa6o3slaAiEAknjf89ALPfAj0Qnf1tEetpbzBwQVOMJMFkAF3geecLc="}]},"maintainers":[{"email":"mark@novemberborn.net","name":"novemberborn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"vdemedes@gmail.com","name":"vdemedes"}],"_npmUser":{"name":"novemberborn","email":"mark@novemberborn.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_4.0.0_1565546900478_0.5795434218756126"},"_hasShrinkwrap":false}},"readme":"# babel-plugin-throws-helper [![Build Status](https://travis-ci.org/avajs/babel-plugin-throws-helper.svg?branch=master)](https://travis-ci.org/avajs/babel-plugin-throws-helper)\n\n> Babel plugin for protecting against improper use of `t.throws()` in [AVA](https://ava.li)\n\nProbably not useful except as an internal plugin for the AVA test runner.\n\n[Genesis of the idea.](https://github.com/sindresorhus/eslint-plugin-ava/issues/75)\n\n## Issue\n\n> I've seen a lot of incorrect use of the throws assertion in other test runner and even done the mistake myself sometimes. Now I'm beginning to see it with AVA too, so would be nice to be preemptive about it.\n>\n> People don't realize they need to wrap their call in a function, so many end up doing `t.throws(foo())` instead of `t.throws(() => foo());`. It's an easy mistake to make.\n\nThe difficulty is that `t.throws(foo())` is allowed if `foo()` returns a promise or a function. There is no good way to differentiate between the two at runtime. So providing a good error message is going to take some AST transform magic.\n\n\n## Solution\n\nSee [`test.js.md`](test.js.md) for the transformation this plugin performs.\n\n## License\n\nMIT © [James Talmage](https://github.com/jamestalmage)\n","maintainers":[{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"mark@novemberborn.net","name":"novemberborn"}],"time":{"modified":"2022-06-12T14:52:56.416Z","created":"2017-03-26T13:11:10.836Z","2.0.0":"2017-03-26T13:11:10.836Z","3.0.0-beta.1":"2018-01-27T14:24:00.880Z","3.0.0-beta.2":"2018-01-31T15:36:51.090Z","3.0.0-beta.3":"2018-02-14T11:29:54.894Z","3.0.0-beta.4":"2018-04-08T15:13:59.961Z","3.0.0-beta.5":"2018-05-25T15:06:05.338Z","3.0.0-beta.6":"2018-05-30T15:08:54.252Z","3.0.0-beta.7":"2018-06-13T14:32:20.834Z","3.0.0-beta.8":"2018-08-12T14:00:50.854Z","3.0.0":"2018-08-28T20:10:47.200Z","4.0.0":"2019-08-11T18:08:20.581Z"},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","keywords":["babel-plugin","babel","helper","ava","assertion","throws"],"repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"license":"MIT","readmeFilename":"readme.md"}