{"_id":"@ava/babel-plugin-throws-helper","_rev":"198787","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"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"time":{"modified":"2021-06-03T12:30:28.000Z","created":"2017-03-26T13:11:10.836Z","4.0.0":"2019-08-11T18:08:20.581Z","3.0.0":"2018-08-28T20:10:47.200Z","3.0.0-beta.8":"2018-08-12T14:00:50.854Z","3.0.0-beta.7":"2018-06-13T14:32:20.834Z","3.0.0-beta.6":"2018-05-30T15:08:54.252Z","3.0.0-beta.5":"2018-05-25T15:06:05.338Z","3.0.0-beta.4":"2018-04-08T15:13:59.961Z","3.0.0-beta.3":"2018-02-14T11:29:54.894Z","3.0.0-beta.2":"2018-01-31T15:36:51.090Z","3.0.0-beta.1":"2018-01-27T14:24:00.880Z","2.0.0":"2017-03-26T13:11:10.836Z"},"users":{},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"repository":{"type":"git","url":"git+https://github.com/avajs/babel-plugin-throws-helper.git"},"versions":{"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":{"shasum":"8f5b45b7a0a79c6f4032de2101e0c221847efb62","size":2562,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-4.0.0.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"_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,"publish_time":1565546900581,"_cnpm_publish_time":1565546900581},"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":{"shasum":"2c933ec22da0c4ce1fc5369f2b95452c70420586","size":2549,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0_1535487047111_0.691384059319162"},"_hasShrinkwrap":false,"publish_time":1535487047200,"_cnpm_publish_time":1535487047200},"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"]},"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":{"shasum":"64762939911a3bf2516134364003cb43a83a1f92","size":2559,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0-beta.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0-beta.8.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.8_1534082450736_0.7676412991701405"},"_hasShrinkwrap":false,"publish_time":1534082450854,"_cnpm_publish_time":1534082450854},"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"]},"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":{"shasum":"45d70f44dac967f978e98bb0da7f55d8011936d6","size":2569,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0-beta.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0-beta.7.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.7_1528900340763_0.4014153090994024"},"_hasShrinkwrap":false,"publish_time":1528900340834,"_cnpm_publish_time":1528900340834},"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"]},"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":{"shasum":"1a1fd023e30e5add16a222ac7f2e4fe0f20cb8a4","size":2569,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0-beta.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0-beta.6.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.6_1527692934189_0.50691401332701"},"_hasShrinkwrap":false,"publish_time":1527692934252,"_cnpm_publish_time":1527692934252},"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"]},"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":{"shasum":"4e8a2b27fb57886851d20adef492fa5a1f23a349","size":2568,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0-beta.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0-beta.5.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.5_1527260765215_0.6462265735268324"},"_hasShrinkwrap":false,"publish_time":1527260765338,"_cnpm_publish_time":1527260765338},"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"]},"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":{"shasum":"15e2d7962aa922b457f6b9978c9cb488fa9720aa","size":2551,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0-beta.4.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.4_1523200439871_0.5557488150610255"},"_hasShrinkwrap":false,"publish_time":1523200439961,"_cnpm_publish_time":1523200439961},"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"]},"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":{"shasum":"7fb5f64fae8bd1b0a525634b302347819c1baee7","size":2567,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0-beta.3.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper_3.0.0-beta.3_1518607794254_0.9638887029734762"},"_hasShrinkwrap":false,"publish_time":1518607794894,"_cnpm_publish_time":1518607794894},"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":{"shasum":"954c0c2e699a03e7ee3a96bfe68d73e065e2f09a","size":2568,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0-beta.2.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper-3.0.0-beta.2.tgz_1517413010120_0.6432610417250544"},"directories":{},"publish_time":1517413011090,"_hasShrinkwrap":false,"_cnpm_publish_time":1517413011090},"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":{"shasum":"28d134d9670aa23b06f0df4837448a2c73a3b5ca","size":2565,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-3.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-3.0.0-beta.1.tgz"},"maintainers":[{"name":"novemberborn","email":"mark@novemberborn.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-throws-helper-3.0.0-beta.1.tgz_1517063039942_0.2310965124052018"},"directories":{},"publish_time":1517063040880,"_hasShrinkwrap":false,"_cnpm_publish_time":1517063040880},"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","size":2633,"noattachment":false,"key":"/@ava/babel-plugin-throws-helper/-/@ava/babel-plugin-throws-helper-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ava/babel-plugin-throws-helper/download/@ava/babel-plugin-throws-helper-2.0.0.tgz"},"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":{},"publish_time":1490533870836,"_cnpm_publish_time":1490533870836,"_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","_attachments":{},"homepage":"https://github.com/avajs/babel-plugin-throws-helper#readme","bugs":{"url":"https://github.com/avajs/babel-plugin-throws-helper/issues"},"license":"MIT"}