Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa-better-error-handler

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-better-error-handler - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

2

coverage/coverage.raw.json

@@ -1,1 +0,1 @@

{"/Users/nexus/Public/koa-better-error-handler/lib/index.js":{"path":"/Users/nexus/Public/koa-better-error-handler/lib/index.js","statementMap":{"0":{"start":{"line":3,"column":0},"end":{"line":5,"column":3}},"1":{"start":{"line":7,"column":19},"end":{"line":7,"column":55}},"2":{"start":{"line":9,"column":20},"end":{"line":9,"column":56}},"3":{"start":{"line":11,"column":17},"end":{"line":11,"column":64}},"4":{"start":{"line":13,"column":18},"end":{"line":13,"column":52}},"5":{"start":{"line":15,"column":25},"end":{"line":15,"column":74}},"6":{"start":{"line":17,"column":25},"end":{"line":17,"column":67}},"7":{"start":{"line":19,"column":10},"end":{"line":19,"column":23}},"8":{"start":{"line":21,"column":11},"end":{"line":21,"column":38}},"9":{"start":{"line":23,"column":13},"end":{"line":23,"column":29}},"10":{"start":{"line":25,"column":14},"end":{"line":25,"column":44}},"11":{"start":{"line":27,"column":14},"end":{"line":27,"column":31}},"12":{"start":{"line":29,"column":15},"end":{"line":29,"column":46}},"13":{"start":{"line":31,"column":12},"end":{"line":31,"column":27}},"14":{"start":{"line":33,"column":13},"end":{"line":33,"column":42}},"15":{"start":{"line":35,"column":10},"end":{"line":35,"column":23}},"16":{"start":{"line":37,"column":11},"end":{"line":37,"column":38}},"17":{"start":{"line":39,"column":12},"end":{"line":39,"column":27}},"18":{"start":{"line":41,"column":13},"end":{"line":41,"column":42}},"19":{"start":{"line":44,"column":2},"end":{"line":44,"column":56}},"20":{"start":{"line":47,"column":11},"end":{"line":49,"column":1}},"21":{"start":{"line":53,"column":11},"end":{"line":53,"column":92}},"22":{"start":{"line":54,"column":11},"end":{"line":54,"column":92}},"23":{"start":{"line":56,"column":12},"end":{"line":56,"column":59}},"24":{"start":{"line":66,"column":0},"end":{"line":320,"column":4}},"25":{"start":{"line":67,"column":13},"end":{"line":313,"column":5}},"26":{"start":{"line":69,"column":4},"end":{"line":312,"column":44}},"27":{"start":{"line":70,"column":6},"end":{"line":311,"column":7}},"28":{"start":{"line":71,"column":8},"end":{"line":310,"column":9}},"29":{"start":{"line":73,"column":12},"end":{"line":76,"column":13}},"30":{"start":{"line":74,"column":14},"end":{"line":74,"column":32}},"31":{"start":{"line":75,"column":14},"end":{"line":75,"column":20}},"32":{"start":{"line":78,"column":12},"end":{"line":78,"column":45}},"33":{"start":{"line":82,"column":12},"end":{"line":82,"column":69}},"34":{"start":{"line":82,"column":48},"end":{"line":82,"column":69}},"35":{"start":{"line":84,"column":12},"end":{"line":84,"column":58}},"36":{"start":{"line":86,"column":12},"end":{"line":90,"column":13}},"37":{"start":{"line":87,"column":14},"end":{"line":87,"column":55}},"38":{"start":{"line":88,"column":14},"end":{"line":88,"column":31}},"39":{"start":{"line":89,"column":14},"end":{"line":89,"column":74}},"40":{"start":{"line":93,"column":12},"end":{"line":93,"column":50}},"41":{"start":{"line":96,"column":12},"end":{"line":96,"column":44}},"42":{"start":{"line":98,"column":12},"end":{"line":98,"column":95}},"43":{"start":{"line":98,"column":62},"end":{"line":98,"column":95}},"44":{"start":{"line":102,"column":12},"end":{"line":102,"column":142}},"45":{"start":{"line":102,"column":107},"end":{"line":102,"column":142}},"46":{"start":{"line":104,"column":12},"end":{"line":104,"column":73}},"47":{"start":{"line":104,"column":56},"end":{"line":104,"column":73}},"48":{"start":{"line":107,"column":12},"end":{"line":107,"column":63}},"49":{"start":{"line":109,"column":12},"end":{"line":109,"column":40}},"50":{"start":{"line":112,"column":12},"end":{"line":112,"column":256}},"51":{"start":{"line":114,"column":12},"end":{"line":114,"column":46}},"52":{"start":{"line":117,"column":12},"end":{"line":117,"column":65}},"53":{"start":{"line":119,"column":12},"end":{"line":119,"column":42}},"54":{"start":{"line":122,"column":12},"end":{"line":122,"column":53}},"55":{"start":{"line":127,"column":12},"end":{"line":127,"column":92}},"56":{"start":{"line":128,"column":12},"end":{"line":128,"column":86}},"57":{"start":{"line":130,"column":12},"end":{"line":130,"column":53}},"58":{"start":{"line":132,"column":12},"end":{"line":132,"column":46}},"59":{"start":{"line":138,"column":12},"end":{"line":141,"column":13}},"60":{"start":{"line":139,"column":14},"end":{"line":139,"column":33}},"61":{"start":{"line":140,"column":14},"end":{"line":140,"column":20}},"62":{"start":{"line":143,"column":12},"end":{"line":143,"column":64}},"63":{"start":{"line":144,"column":12},"end":{"line":144,"column":34}},"64":{"start":{"line":145,"column":12},"end":{"line":145,"column":45}},"65":{"start":{"line":150,"column":12},"end":{"line":150,"column":47}},"66":{"start":{"line":151,"column":12},"end":{"line":151,"column":68}},"67":{"start":{"line":152,"column":12},"end":{"line":152,"column":42}},"68":{"start":{"line":153,"column":12},"end":{"line":153,"column":66}},"69":{"start":{"line":155,"column":12},"end":{"line":155,"column":39}},"70":{"start":{"line":157,"column":12},"end":{"line":157,"column":31}},"71":{"start":{"line":158,"column":12},"end":{"line":158,"column":91}},"72":{"start":{"line":159,"column":12},"end":{"line":159,"column":18}},"73":{"start":{"line":163,"column":12},"end":{"line":163,"column":31}},"74":{"start":{"line":165,"column":12},"end":{"line":168,"column":13}},"75":{"start":{"line":166,"column":14},"end":{"line":166,"column":33}},"76":{"start":{"line":167,"column":14},"end":{"line":167,"column":20}},"77":{"start":{"line":170,"column":12},"end":{"line":173,"column":13}},"78":{"start":{"line":171,"column":14},"end":{"line":171,"column":33}},"79":{"start":{"line":172,"column":14},"end":{"line":172,"column":20}},"80":{"start":{"line":175,"column":12},"end":{"line":175,"column":31}},"81":{"start":{"line":177,"column":12},"end":{"line":177,"column":40}},"82":{"start":{"line":178,"column":12},"end":{"line":178,"column":31}},"83":{"start":{"line":179,"column":12},"end":{"line":179,"column":38}},"84":{"start":{"line":182,"column":12},"end":{"line":182,"column":31}},"85":{"start":{"line":183,"column":12},"end":{"line":183,"column":18}},"86":{"start":{"line":186,"column":12},"end":{"line":186,"column":31}},"87":{"start":{"line":187,"column":12},"end":{"line":187,"column":48}},"88":{"start":{"line":189,"column":12},"end":{"line":189,"column":70}},"89":{"start":{"line":190,"column":12},"end":{"line":190,"column":29}},"90":{"start":{"line":193,"column":12},"end":{"line":193,"column":31}},"91":{"start":{"line":194,"column":12},"end":{"line":194,"column":18}},"92":{"start":{"line":197,"column":12},"end":{"line":197,"column":29}},"93":{"start":{"line":200,"column":12},"end":{"line":200,"column":31}},"94":{"start":{"line":201,"column":12},"end":{"line":201,"column":18}},"95":{"start":{"line":204,"column":12},"end":{"line":207,"column":13}},"96":{"start":{"line":205,"column":14},"end":{"line":205,"column":33}},"97":{"start":{"line":206,"column":14},"end":{"line":206,"column":20}},"98":{"start":{"line":212,"column":12},"end":{"line":212,"column":70}},"99":{"start":{"line":212,"column":28},"end":{"line":212,"column":70}},"100":{"start":{"line":215,"column":12},"end":{"line":215,"column":59}},"101":{"start":{"line":215,"column":26},"end":{"line":215,"column":59}},"102":{"start":{"line":219,"column":12},"end":{"line":222,"column":13}},"103":{"start":{"line":220,"column":14},"end":{"line":220,"column":33}},"104":{"start":{"line":221,"column":14},"end":{"line":221,"column":20}},"105":{"start":{"line":224,"column":12},"end":{"line":224,"column":31}},"106":{"start":{"line":226,"column":12},"end":{"line":226,"column":40}},"107":{"start":{"line":227,"column":12},"end":{"line":227,"column":31}},"108":{"start":{"line":228,"column":12},"end":{"line":228,"column":38}},"109":{"start":{"line":231,"column":12},"end":{"line":231,"column":31}},"110":{"start":{"line":232,"column":12},"end":{"line":232,"column":18}},"111":{"start":{"line":235,"column":12},"end":{"line":235,"column":31}},"112":{"start":{"line":236,"column":12},"end":{"line":236,"column":48}},"113":{"start":{"line":238,"column":12},"end":{"line":238,"column":70}},"114":{"start":{"line":239,"column":12},"end":{"line":239,"column":29}},"115":{"start":{"line":242,"column":12},"end":{"line":242,"column":31}},"116":{"start":{"line":243,"column":12},"end":{"line":243,"column":18}},"117":{"start":{"line":246,"column":12},"end":{"line":246,"column":29}},"118":{"start":{"line":249,"column":12},"end":{"line":249,"column":31}},"119":{"start":{"line":250,"column":12},"end":{"line":250,"column":18}},"120":{"start":{"line":255,"column":12},"end":{"line":255,"column":59}},"121":{"start":{"line":255,"column":26},"end":{"line":255,"column":59}},"122":{"start":{"line":260,"column":12},"end":{"line":263,"column":13}},"123":{"start":{"line":261,"column":14},"end":{"line":261,"column":33}},"124":{"start":{"line":262,"column":14},"end":{"line":262,"column":20}},"125":{"start":{"line":265,"column":12},"end":{"line":265,"column":31}},"126":{"start":{"line":266,"column":12},"end":{"line":266,"column":114}},"127":{"start":{"line":269,"column":12},"end":{"line":269,"column":89}},"128":{"start":{"line":287,"column":12},"end":{"line":287,"column":34}},"129":{"start":{"line":290,"column":12},"end":{"line":290,"column":48}},"130":{"start":{"line":293,"column":12},"end":{"line":293,"column":31}},"131":{"start":{"line":294,"column":12},"end":{"line":294,"column":69}},"132":{"start":{"line":295,"column":12},"end":{"line":295,"column":48}},"133":{"start":{"line":298,"column":12},"end":{"line":298,"column":31}},"134":{"start":{"line":299,"column":12},"end":{"line":299,"column":69}},"135":{"start":{"line":300,"column":12},"end":{"line":300,"column":48}},"136":{"start":{"line":304,"column":12},"end":{"line":304,"column":55}},"137":{"start":{"line":305,"column":12},"end":{"line":305,"column":36}},"138":{"start":{"line":309,"column":12},"end":{"line":309,"column":35}},"139":{"start":{"line":316,"column":4},"end":{"line":316,"column":39}},"140":{"start":{"line":319,"column":2},"end":{"line":319,"column":22}},"141":{"start":{"line":325,"column":2},"end":{"line":325,"column":49}},"142":{"start":{"line":325,"column":38},"end":{"line":325,"column":49}},"143":{"start":{"line":327,"column":2},"end":{"line":327,"column":17}},"144":{"start":{"line":331,"column":2},"end":{"line":336,"column":3}},"145":{"start":{"line":332,"column":4},"end":{"line":332,"column":65}},"146":{"start":{"line":334,"column":17},"end":{"line":334,"column":85}},"147":{"start":{"line":335,"column":4},"end":{"line":335,"column":127}},"148":{"start":{"line":338,"column":2},"end":{"line":338,"column":13}}},"fnMap":{"0":{"name":"_interopRequireDefault","decl":{"start":{"line":43,"column":9},"end":{"line":43,"column":31}},"loc":{"start":{"line":43,"column":37},"end":{"line":45,"column":1}},"line":43},"1":{"name":"(anonymous_1)","decl":{"start":{"line":66,"column":18},"end":{"line":66,"column":19}},"loc":{"start":{"line":66,"column":30},"end":{"line":320,"column":1}},"line":66},"2":{"name":"_callee","decl":{"start":{"line":67,"column":81},"end":{"line":67,"column":88}},"loc":{"start":{"line":67,"column":94},"end":{"line":313,"column":3}},"line":67},"3":{"name":"_callee$","decl":{"start":{"line":69,"column":47},"end":{"line":69,"column":55}},"loc":{"start":{"line":69,"column":66},"end":{"line":312,"column":5}},"line":69},"4":{"name":"errorHandler","decl":{"start":{"line":315,"column":11},"end":{"line":315,"column":23}},"loc":{"start":{"line":315,"column":28},"end":{"line":317,"column":3}},"line":315},"5":{"name":"parseValidationError","decl":{"start":{"line":322,"column":9},"end":{"line":322,"column":29}},"loc":{"start":{"line":322,"column":40},"end":{"line":339,"column":1}},"line":322}},"branchMap":{"0":{"loc":{"start":{"line":44,"column":9},"end":{"line":44,"column":55}},"type":"cond-expr","locations":[{"start":{"line":44,"column":33},"end":{"line":44,"column":36}},{"start":{"line":44,"column":39},"end":{"line":44,"column":55}}],"line":44},"1":{"loc":{"start":{"line":44,"column":9},"end":{"line":44,"column":30}},"type":"binary-expr","locations":[{"start":{"line":44,"column":9},"end":{"line":44,"column":12}},{"start":{"line":44,"column":16},"end":{"line":44,"column":30}}],"line":44},"2":{"loc":{"start":{"line":71,"column":8},"end":{"line":310,"column":9}},"type":"switch","locations":[{"start":{"line":72,"column":10},"end":{"line":78,"column":45}},{"start":{"line":80,"column":10},"end":{"line":145,"column":45}},{"start":{"line":147,"column":10},"end":{"line":159,"column":18}},{"start":{"line":161,"column":10},"end":{"line":179,"column":38}},{"start":{"line":181,"column":10},"end":{"line":183,"column":18}},{"start":{"line":185,"column":10},"end":{"line":190,"column":29}},{"start":{"line":192,"column":10},"end":{"line":194,"column":18}},{"start":{"line":196,"column":10},"end":{"line":197,"column":29}},{"start":{"line":199,"column":10},"end":{"line":201,"column":18}},{"start":{"line":203,"column":10},"end":{"line":228,"column":38}},{"start":{"line":230,"column":10},"end":{"line":232,"column":18}},{"start":{"line":234,"column":10},"end":{"line":239,"column":29}},{"start":{"line":241,"column":10},"end":{"line":243,"column":18}},{"start":{"line":245,"column":10},"end":{"line":246,"column":29}},{"start":{"line":248,"column":10},"end":{"line":250,"column":18}},{"start":{"line":252,"column":10},"end":{"line":266,"column":114}},{"start":{"line":268,"column":10},"end":{"line":269,"column":89}},{"start":{"line":271,"column":10},"end":{"line":287,"column":34}},{"start":{"line":289,"column":10},"end":{"line":290,"column":48}},{"start":{"line":292,"column":10},"end":{"line":295,"column":48}},{"start":{"line":297,"column":10},"end":{"line":300,"column":48}},{"start":{"line":302,"column":10},"end":{"line":305,"column":36}},{"start":{"line":307,"column":10},"end":{"line":307,"column":18}},{"start":{"line":308,"column":10},"end":{"line":309,"column":35}}],"line":71},"3":{"loc":{"start":{"line":73,"column":12},"end":{"line":76,"column":13}},"type":"if","locations":[{"start":{"line":73,"column":12},"end":{"line":76,"column":13}},{"start":{"line":73,"column":12},"end":{"line":76,"column":13}}],"line":73},"4":{"loc":{"start":{"line":82,"column":12},"end":{"line":82,"column":69}},"type":"if","locations":[{"start":{"line":82,"column":12},"end":{"line":82,"column":69}},{"start":{"line":82,"column":12},"end":{"line":82,"column":69}}],"line":82},"5":{"loc":{"start":{"line":86,"column":12},"end":{"line":90,"column":13}},"type":"if","locations":[{"start":{"line":86,"column":12},"end":{"line":90,"column":13}},{"start":{"line":86,"column":12},"end":{"line":90,"column":13}}],"line":86},"6":{"loc":{"start":{"line":98,"column":12},"end":{"line":98,"column":95}},"type":"if","locations":[{"start":{"line":98,"column":12},"end":{"line":98,"column":95}},{"start":{"line":98,"column":12},"end":{"line":98,"column":95}}],"line":98},"7":{"loc":{"start":{"line":98,"column":16},"end":{"line":98,"column":60}},"type":"binary-expr","locations":[{"start":{"line":98,"column":16},"end":{"line":98,"column":46}},{"start":{"line":98,"column":50},"end":{"line":98,"column":60}}],"line":98},"8":{"loc":{"start":{"line":102,"column":12},"end":{"line":102,"column":142}},"type":"if","locations":[{"start":{"line":102,"column":12},"end":{"line":102,"column":142}},{"start":{"line":102,"column":12},"end":{"line":102,"column":142}}],"line":102},"9":{"loc":{"start":{"line":102,"column":16},"end":{"line":102,"column":105}},"type":"binary-expr","locations":[{"start":{"line":102,"column":16},"end":{"line":102,"column":53}},{"start":{"line":102,"column":57},"end":{"line":102,"column":105}}],"line":102},"10":{"loc":{"start":{"line":104,"column":12},"end":{"line":104,"column":73}},"type":"if","locations":[{"start":{"line":104,"column":12},"end":{"line":104,"column":73}},{"start":{"line":104,"column":12},"end":{"line":104,"column":73}}],"line":104},"11":{"loc":{"start":{"line":112,"column":26},"end":{"line":112,"column":255}},"type":"binary-expr","locations":[{"start":{"line":112,"column":26},"end":{"line":112,"column":65}},{"start":{"line":112,"column":69},"end":{"line":112,"column":113}},{"start":{"line":112,"column":117},"end":{"line":112,"column":158}},{"start":{"line":112,"column":162},"end":{"line":112,"column":201}},{"start":{"line":112,"column":205},"end":{"line":112,"column":255}}],"line":112},"12":{"loc":{"start":{"line":127,"column":74},"end":{"line":127,"column":91}},"type":"binary-expr","locations":[{"start":{"line":127,"column":74},"end":{"line":127,"column":84}},{"start":{"line":127,"column":88},"end":{"line":127,"column":91}}],"line":127},"13":{"loc":{"start":{"line":138,"column":12},"end":{"line":141,"column":13}},"type":"if","locations":[{"start":{"line":138,"column":12},"end":{"line":141,"column":13}},{"start":{"line":138,"column":12},"end":{"line":141,"column":13}}],"line":138},"14":{"loc":{"start":{"line":138,"column":18},"end":{"line":138,"column":51}},"type":"binary-expr","locations":[{"start":{"line":138,"column":18},"end":{"line":138,"column":33}},{"start":{"line":138,"column":37},"end":{"line":138,"column":51}}],"line":138},"15":{"loc":{"start":{"line":158,"column":28},"end":{"line":158,"column":90}},"type":"cond-expr","locations":[{"start":{"line":158,"column":53},"end":{"line":158,"column":55}},{"start":{"line":158,"column":58},"end":{"line":158,"column":90}}],"line":158},"16":{"loc":{"start":{"line":158,"column":58},"end":{"line":158,"column":90}},"type":"cond-expr","locations":[{"start":{"line":158,"column":83},"end":{"line":158,"column":85}},{"start":{"line":158,"column":88},"end":{"line":158,"column":90}}],"line":158},"17":{"loc":{"start":{"line":165,"column":12},"end":{"line":168,"column":13}},"type":"if","locations":[{"start":{"line":165,"column":12},"end":{"line":168,"column":13}},{"start":{"line":165,"column":12},"end":{"line":168,"column":13}}],"line":165},"18":{"loc":{"start":{"line":170,"column":12},"end":{"line":173,"column":13}},"type":"if","locations":[{"start":{"line":170,"column":12},"end":{"line":173,"column":13}},{"start":{"line":170,"column":12},"end":{"line":173,"column":13}}],"line":170},"19":{"loc":{"start":{"line":204,"column":12},"end":{"line":207,"column":13}},"type":"if","locations":[{"start":{"line":204,"column":12},"end":{"line":207,"column":13}},{"start":{"line":204,"column":12},"end":{"line":207,"column":13}}],"line":204},"20":{"loc":{"start":{"line":204,"column":18},"end":{"line":204,"column":51}},"type":"binary-expr","locations":[{"start":{"line":204,"column":18},"end":{"line":204,"column":28}},{"start":{"line":204,"column":32},"end":{"line":204,"column":51}}],"line":204},"21":{"loc":{"start":{"line":212,"column":12},"end":{"line":212,"column":70}},"type":"if","locations":[{"start":{"line":212,"column":12},"end":{"line":212,"column":70}},{"start":{"line":212,"column":12},"end":{"line":212,"column":70}}],"line":212},"22":{"loc":{"start":{"line":215,"column":12},"end":{"line":215,"column":59}},"type":"if","locations":[{"start":{"line":215,"column":12},"end":{"line":215,"column":59}},{"start":{"line":215,"column":12},"end":{"line":215,"column":59}}],"line":215},"23":{"loc":{"start":{"line":219,"column":12},"end":{"line":222,"column":13}},"type":"if","locations":[{"start":{"line":219,"column":12},"end":{"line":222,"column":13}},{"start":{"line":219,"column":12},"end":{"line":222,"column":13}}],"line":219},"24":{"loc":{"start":{"line":255,"column":12},"end":{"line":255,"column":59}},"type":"if","locations":[{"start":{"line":255,"column":12},"end":{"line":255,"column":59}},{"start":{"line":255,"column":12},"end":{"line":255,"column":59}}],"line":255},"25":{"loc":{"start":{"line":260,"column":12},"end":{"line":263,"column":13}},"type":"if","locations":[{"start":{"line":260,"column":12},"end":{"line":263,"column":13}},{"start":{"line":260,"column":12},"end":{"line":263,"column":13}}],"line":260},"26":{"loc":{"start":{"line":260,"column":18},"end":{"line":260,"column":94}},"type":"binary-expr","locations":[{"start":{"line":260,"column":18},"end":{"line":260,"column":35}},{"start":{"line":260,"column":39},"end":{"line":260,"column":53}},{"start":{"line":260,"column":57},"end":{"line":260,"column":69}},{"start":{"line":260,"column":73},"end":{"line":260,"column":94}}],"line":260},"27":{"loc":{"start":{"line":325,"column":2},"end":{"line":325,"column":49}},"type":"if","locations":[{"start":{"line":325,"column":2},"end":{"line":325,"column":49}},{"start":{"line":325,"column":2},"end":{"line":325,"column":49}}],"line":325},"28":{"loc":{"start":{"line":331,"column":2},"end":{"line":336,"column":3}},"type":"if","locations":[{"start":{"line":331,"column":2},"end":{"line":336,"column":3}},{"start":{"line":331,"column":2},"end":{"line":336,"column":3}}],"line":331},"29":{"loc":{"start":{"line":335,"column":18},"end":{"line":335,"column":126}},"type":"cond-expr","locations":[{"start":{"line":335,"column":28},"end":{"line":335,"column":45}},{"start":{"line":335,"column":48},"end":{"line":335,"column":126}}],"line":335}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":9,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":246,"27":492,"28":983,"29":246,"30":123,"31":123,"32":123,"33":123,"34":0,"35":123,"36":123,"37":0,"38":0,"39":0,"40":123,"41":123,"42":123,"43":0,"44":123,"45":0,"46":123,"47":0,"48":123,"49":123,"50":123,"51":123,"52":123,"53":123,"54":123,"55":123,"56":123,"57":123,"58":123,"59":123,"60":123,"61":123,"62":0,"63":0,"64":0,"65":123,"66":123,"67":123,"68":123,"69":123,"70":123,"71":123,"72":123,"73":41,"74":41,"75":40,"76":40,"77":1,"78":1,"79":1,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":1,"93":1,"94":1,"95":40,"96":0,"97":0,"98":40,"99":40,"100":40,"101":0,"102":40,"103":40,"104":40,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":40,"118":40,"119":40,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":41,"130":41,"131":41,"132":41,"133":41,"134":41,"135":41,"136":123,"137":123,"138":246,"139":246,"140":1,"141":123,"142":123,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0},"f":{"0":9,"1":1,"2":246,"3":492,"4":246,"5":123},"b":{"0":[2,7],"1":[9,9],"2":[246,123,123,41,0,0,0,1,1,40,0,0,0,40,40,0,0,0,41,41,41,123,123,246],"3":[123,123],"4":[0,123],"5":[0,123],"6":[0,123],"7":[123,123],"8":[0,123],"9":[123,0],"10":[0,123],"11":[123,0,0,0,0],"12":[123,0],"13":[123,0],"14":[123,123],"15":[41,82],"16":[41,41],"17":[40,1],"18":[1,0],"19":[0,40],"20":[40,0],"21":[40,0],"22":[0,40],"23":[40,0],"24":[0,0],"25":[0,0],"26":[0,0,0,0],"27":[123,0],"28":[0,0],"29":[0,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"316d170dfe39ceaec44dd33ab18cddb00d4e022d"}}
{"/Users/nexus/Public/koa-better-error-handler/lib/index.js":{"path":"/Users/nexus/Public/koa-better-error-handler/lib/index.js","statementMap":{"0":{"start":{"line":3,"column":0},"end":{"line":5,"column":3}},"1":{"start":{"line":7,"column":19},"end":{"line":7,"column":55}},"2":{"start":{"line":9,"column":20},"end":{"line":9,"column":56}},"3":{"start":{"line":11,"column":17},"end":{"line":11,"column":64}},"4":{"start":{"line":13,"column":18},"end":{"line":13,"column":52}},"5":{"start":{"line":15,"column":25},"end":{"line":15,"column":74}},"6":{"start":{"line":17,"column":25},"end":{"line":17,"column":67}},"7":{"start":{"line":19,"column":10},"end":{"line":19,"column":23}},"8":{"start":{"line":21,"column":11},"end":{"line":21,"column":38}},"9":{"start":{"line":23,"column":13},"end":{"line":23,"column":29}},"10":{"start":{"line":25,"column":14},"end":{"line":25,"column":44}},"11":{"start":{"line":27,"column":14},"end":{"line":27,"column":31}},"12":{"start":{"line":29,"column":15},"end":{"line":29,"column":46}},"13":{"start":{"line":31,"column":12},"end":{"line":31,"column":27}},"14":{"start":{"line":33,"column":13},"end":{"line":33,"column":42}},"15":{"start":{"line":35,"column":10},"end":{"line":35,"column":23}},"16":{"start":{"line":37,"column":11},"end":{"line":37,"column":38}},"17":{"start":{"line":39,"column":12},"end":{"line":39,"column":27}},"18":{"start":{"line":41,"column":13},"end":{"line":41,"column":42}},"19":{"start":{"line":44,"column":2},"end":{"line":44,"column":56}},"20":{"start":{"line":47,"column":11},"end":{"line":49,"column":1}},"21":{"start":{"line":53,"column":11},"end":{"line":53,"column":92}},"22":{"start":{"line":54,"column":11},"end":{"line":54,"column":92}},"23":{"start":{"line":56,"column":12},"end":{"line":56,"column":59}},"24":{"start":{"line":66,"column":0},"end":{"line":320,"column":4}},"25":{"start":{"line":67,"column":13},"end":{"line":313,"column":5}},"26":{"start":{"line":69,"column":4},"end":{"line":312,"column":44}},"27":{"start":{"line":70,"column":6},"end":{"line":311,"column":7}},"28":{"start":{"line":71,"column":8},"end":{"line":310,"column":9}},"29":{"start":{"line":73,"column":12},"end":{"line":76,"column":13}},"30":{"start":{"line":74,"column":14},"end":{"line":74,"column":32}},"31":{"start":{"line":75,"column":14},"end":{"line":75,"column":20}},"32":{"start":{"line":78,"column":12},"end":{"line":78,"column":45}},"33":{"start":{"line":82,"column":12},"end":{"line":82,"column":69}},"34":{"start":{"line":82,"column":48},"end":{"line":82,"column":69}},"35":{"start":{"line":84,"column":12},"end":{"line":84,"column":58}},"36":{"start":{"line":86,"column":12},"end":{"line":90,"column":13}},"37":{"start":{"line":87,"column":14},"end":{"line":87,"column":55}},"38":{"start":{"line":88,"column":14},"end":{"line":88,"column":31}},"39":{"start":{"line":89,"column":14},"end":{"line":89,"column":74}},"40":{"start":{"line":93,"column":12},"end":{"line":93,"column":50}},"41":{"start":{"line":96,"column":12},"end":{"line":96,"column":44}},"42":{"start":{"line":98,"column":12},"end":{"line":98,"column":95}},"43":{"start":{"line":98,"column":62},"end":{"line":98,"column":95}},"44":{"start":{"line":102,"column":12},"end":{"line":102,"column":142}},"45":{"start":{"line":102,"column":107},"end":{"line":102,"column":142}},"46":{"start":{"line":104,"column":12},"end":{"line":104,"column":73}},"47":{"start":{"line":104,"column":56},"end":{"line":104,"column":73}},"48":{"start":{"line":107,"column":12},"end":{"line":107,"column":63}},"49":{"start":{"line":109,"column":12},"end":{"line":109,"column":40}},"50":{"start":{"line":112,"column":12},"end":{"line":112,"column":256}},"51":{"start":{"line":114,"column":12},"end":{"line":114,"column":46}},"52":{"start":{"line":117,"column":12},"end":{"line":117,"column":65}},"53":{"start":{"line":119,"column":12},"end":{"line":119,"column":42}},"54":{"start":{"line":122,"column":12},"end":{"line":122,"column":53}},"55":{"start":{"line":127,"column":12},"end":{"line":127,"column":92}},"56":{"start":{"line":128,"column":12},"end":{"line":128,"column":86}},"57":{"start":{"line":130,"column":12},"end":{"line":130,"column":53}},"58":{"start":{"line":132,"column":12},"end":{"line":132,"column":46}},"59":{"start":{"line":138,"column":12},"end":{"line":141,"column":13}},"60":{"start":{"line":139,"column":14},"end":{"line":139,"column":33}},"61":{"start":{"line":140,"column":14},"end":{"line":140,"column":20}},"62":{"start":{"line":143,"column":12},"end":{"line":143,"column":64}},"63":{"start":{"line":144,"column":12},"end":{"line":144,"column":34}},"64":{"start":{"line":145,"column":12},"end":{"line":145,"column":45}},"65":{"start":{"line":150,"column":12},"end":{"line":150,"column":47}},"66":{"start":{"line":151,"column":12},"end":{"line":151,"column":68}},"67":{"start":{"line":152,"column":12},"end":{"line":152,"column":42}},"68":{"start":{"line":153,"column":12},"end":{"line":153,"column":66}},"69":{"start":{"line":155,"column":12},"end":{"line":155,"column":39}},"70":{"start":{"line":157,"column":12},"end":{"line":157,"column":31}},"71":{"start":{"line":158,"column":12},"end":{"line":158,"column":91}},"72":{"start":{"line":159,"column":12},"end":{"line":159,"column":18}},"73":{"start":{"line":163,"column":12},"end":{"line":163,"column":31}},"74":{"start":{"line":165,"column":12},"end":{"line":168,"column":13}},"75":{"start":{"line":166,"column":14},"end":{"line":166,"column":33}},"76":{"start":{"line":167,"column":14},"end":{"line":167,"column":20}},"77":{"start":{"line":170,"column":12},"end":{"line":173,"column":13}},"78":{"start":{"line":171,"column":14},"end":{"line":171,"column":33}},"79":{"start":{"line":172,"column":14},"end":{"line":172,"column":20}},"80":{"start":{"line":175,"column":12},"end":{"line":175,"column":31}},"81":{"start":{"line":177,"column":12},"end":{"line":177,"column":40}},"82":{"start":{"line":178,"column":12},"end":{"line":178,"column":31}},"83":{"start":{"line":179,"column":12},"end":{"line":179,"column":38}},"84":{"start":{"line":182,"column":12},"end":{"line":182,"column":31}},"85":{"start":{"line":183,"column":12},"end":{"line":183,"column":18}},"86":{"start":{"line":186,"column":12},"end":{"line":186,"column":31}},"87":{"start":{"line":187,"column":12},"end":{"line":187,"column":48}},"88":{"start":{"line":189,"column":12},"end":{"line":189,"column":70}},"89":{"start":{"line":190,"column":12},"end":{"line":190,"column":29}},"90":{"start":{"line":193,"column":12},"end":{"line":193,"column":31}},"91":{"start":{"line":194,"column":12},"end":{"line":194,"column":18}},"92":{"start":{"line":197,"column":12},"end":{"line":197,"column":29}},"93":{"start":{"line":200,"column":12},"end":{"line":200,"column":31}},"94":{"start":{"line":201,"column":12},"end":{"line":201,"column":18}},"95":{"start":{"line":204,"column":12},"end":{"line":207,"column":13}},"96":{"start":{"line":205,"column":14},"end":{"line":205,"column":33}},"97":{"start":{"line":206,"column":14},"end":{"line":206,"column":20}},"98":{"start":{"line":212,"column":12},"end":{"line":212,"column":70}},"99":{"start":{"line":212,"column":28},"end":{"line":212,"column":70}},"100":{"start":{"line":215,"column":12},"end":{"line":215,"column":59}},"101":{"start":{"line":215,"column":26},"end":{"line":215,"column":59}},"102":{"start":{"line":219,"column":12},"end":{"line":222,"column":13}},"103":{"start":{"line":220,"column":14},"end":{"line":220,"column":33}},"104":{"start":{"line":221,"column":14},"end":{"line":221,"column":20}},"105":{"start":{"line":224,"column":12},"end":{"line":224,"column":31}},"106":{"start":{"line":226,"column":12},"end":{"line":226,"column":40}},"107":{"start":{"line":227,"column":12},"end":{"line":227,"column":31}},"108":{"start":{"line":228,"column":12},"end":{"line":228,"column":38}},"109":{"start":{"line":231,"column":12},"end":{"line":231,"column":31}},"110":{"start":{"line":232,"column":12},"end":{"line":232,"column":18}},"111":{"start":{"line":235,"column":12},"end":{"line":235,"column":31}},"112":{"start":{"line":236,"column":12},"end":{"line":236,"column":48}},"113":{"start":{"line":238,"column":12},"end":{"line":238,"column":70}},"114":{"start":{"line":239,"column":12},"end":{"line":239,"column":29}},"115":{"start":{"line":242,"column":12},"end":{"line":242,"column":31}},"116":{"start":{"line":243,"column":12},"end":{"line":243,"column":18}},"117":{"start":{"line":246,"column":12},"end":{"line":246,"column":29}},"118":{"start":{"line":249,"column":12},"end":{"line":249,"column":31}},"119":{"start":{"line":250,"column":12},"end":{"line":250,"column":18}},"120":{"start":{"line":255,"column":12},"end":{"line":255,"column":59}},"121":{"start":{"line":255,"column":26},"end":{"line":255,"column":59}},"122":{"start":{"line":260,"column":12},"end":{"line":263,"column":13}},"123":{"start":{"line":261,"column":14},"end":{"line":261,"column":33}},"124":{"start":{"line":262,"column":14},"end":{"line":262,"column":20}},"125":{"start":{"line":265,"column":12},"end":{"line":265,"column":31}},"126":{"start":{"line":266,"column":12},"end":{"line":266,"column":114}},"127":{"start":{"line":269,"column":12},"end":{"line":269,"column":89}},"128":{"start":{"line":287,"column":12},"end":{"line":287,"column":34}},"129":{"start":{"line":290,"column":12},"end":{"line":290,"column":48}},"130":{"start":{"line":293,"column":12},"end":{"line":293,"column":31}},"131":{"start":{"line":294,"column":12},"end":{"line":294,"column":69}},"132":{"start":{"line":295,"column":12},"end":{"line":295,"column":48}},"133":{"start":{"line":298,"column":12},"end":{"line":298,"column":31}},"134":{"start":{"line":299,"column":12},"end":{"line":299,"column":69}},"135":{"start":{"line":300,"column":12},"end":{"line":300,"column":48}},"136":{"start":{"line":304,"column":12},"end":{"line":304,"column":55}},"137":{"start":{"line":305,"column":12},"end":{"line":305,"column":36}},"138":{"start":{"line":309,"column":12},"end":{"line":309,"column":35}},"139":{"start":{"line":316,"column":4},"end":{"line":316,"column":39}},"140":{"start":{"line":319,"column":2},"end":{"line":319,"column":22}},"141":{"start":{"line":325,"column":2},"end":{"line":325,"column":49}},"142":{"start":{"line":325,"column":38},"end":{"line":325,"column":49}},"143":{"start":{"line":327,"column":2},"end":{"line":327,"column":17}},"144":{"start":{"line":331,"column":2},"end":{"line":336,"column":3}},"145":{"start":{"line":332,"column":4},"end":{"line":332,"column":65}},"146":{"start":{"line":334,"column":17},"end":{"line":334,"column":85}},"147":{"start":{"line":335,"column":4},"end":{"line":335,"column":127}},"148":{"start":{"line":338,"column":2},"end":{"line":338,"column":13}},"149":{"start":{"line":340,"column":0},"end":{"line":340,"column":36}}},"fnMap":{"0":{"name":"_interopRequireDefault","decl":{"start":{"line":43,"column":9},"end":{"line":43,"column":31}},"loc":{"start":{"line":43,"column":37},"end":{"line":45,"column":1}},"line":43},"1":{"name":"(anonymous_1)","decl":{"start":{"line":66,"column":18},"end":{"line":66,"column":19}},"loc":{"start":{"line":66,"column":30},"end":{"line":320,"column":1}},"line":66},"2":{"name":"_callee","decl":{"start":{"line":67,"column":81},"end":{"line":67,"column":88}},"loc":{"start":{"line":67,"column":94},"end":{"line":313,"column":3}},"line":67},"3":{"name":"_callee$","decl":{"start":{"line":69,"column":47},"end":{"line":69,"column":55}},"loc":{"start":{"line":69,"column":66},"end":{"line":312,"column":5}},"line":69},"4":{"name":"errorHandler","decl":{"start":{"line":315,"column":11},"end":{"line":315,"column":23}},"loc":{"start":{"line":315,"column":28},"end":{"line":317,"column":3}},"line":315},"5":{"name":"parseValidationError","decl":{"start":{"line":322,"column":9},"end":{"line":322,"column":29}},"loc":{"start":{"line":322,"column":40},"end":{"line":339,"column":1}},"line":322}},"branchMap":{"0":{"loc":{"start":{"line":44,"column":9},"end":{"line":44,"column":55}},"type":"cond-expr","locations":[{"start":{"line":44,"column":33},"end":{"line":44,"column":36}},{"start":{"line":44,"column":39},"end":{"line":44,"column":55}}],"line":44},"1":{"loc":{"start":{"line":44,"column":9},"end":{"line":44,"column":30}},"type":"binary-expr","locations":[{"start":{"line":44,"column":9},"end":{"line":44,"column":12}},{"start":{"line":44,"column":16},"end":{"line":44,"column":30}}],"line":44},"2":{"loc":{"start":{"line":71,"column":8},"end":{"line":310,"column":9}},"type":"switch","locations":[{"start":{"line":72,"column":10},"end":{"line":78,"column":45}},{"start":{"line":80,"column":10},"end":{"line":145,"column":45}},{"start":{"line":147,"column":10},"end":{"line":159,"column":18}},{"start":{"line":161,"column":10},"end":{"line":179,"column":38}},{"start":{"line":181,"column":10},"end":{"line":183,"column":18}},{"start":{"line":185,"column":10},"end":{"line":190,"column":29}},{"start":{"line":192,"column":10},"end":{"line":194,"column":18}},{"start":{"line":196,"column":10},"end":{"line":197,"column":29}},{"start":{"line":199,"column":10},"end":{"line":201,"column":18}},{"start":{"line":203,"column":10},"end":{"line":228,"column":38}},{"start":{"line":230,"column":10},"end":{"line":232,"column":18}},{"start":{"line":234,"column":10},"end":{"line":239,"column":29}},{"start":{"line":241,"column":10},"end":{"line":243,"column":18}},{"start":{"line":245,"column":10},"end":{"line":246,"column":29}},{"start":{"line":248,"column":10},"end":{"line":250,"column":18}},{"start":{"line":252,"column":10},"end":{"line":266,"column":114}},{"start":{"line":268,"column":10},"end":{"line":269,"column":89}},{"start":{"line":271,"column":10},"end":{"line":287,"column":34}},{"start":{"line":289,"column":10},"end":{"line":290,"column":48}},{"start":{"line":292,"column":10},"end":{"line":295,"column":48}},{"start":{"line":297,"column":10},"end":{"line":300,"column":48}},{"start":{"line":302,"column":10},"end":{"line":305,"column":36}},{"start":{"line":307,"column":10},"end":{"line":307,"column":18}},{"start":{"line":308,"column":10},"end":{"line":309,"column":35}}],"line":71},"3":{"loc":{"start":{"line":73,"column":12},"end":{"line":76,"column":13}},"type":"if","locations":[{"start":{"line":73,"column":12},"end":{"line":76,"column":13}},{"start":{"line":73,"column":12},"end":{"line":76,"column":13}}],"line":73},"4":{"loc":{"start":{"line":82,"column":12},"end":{"line":82,"column":69}},"type":"if","locations":[{"start":{"line":82,"column":12},"end":{"line":82,"column":69}},{"start":{"line":82,"column":12},"end":{"line":82,"column":69}}],"line":82},"5":{"loc":{"start":{"line":86,"column":12},"end":{"line":90,"column":13}},"type":"if","locations":[{"start":{"line":86,"column":12},"end":{"line":90,"column":13}},{"start":{"line":86,"column":12},"end":{"line":90,"column":13}}],"line":86},"6":{"loc":{"start":{"line":98,"column":12},"end":{"line":98,"column":95}},"type":"if","locations":[{"start":{"line":98,"column":12},"end":{"line":98,"column":95}},{"start":{"line":98,"column":12},"end":{"line":98,"column":95}}],"line":98},"7":{"loc":{"start":{"line":98,"column":16},"end":{"line":98,"column":60}},"type":"binary-expr","locations":[{"start":{"line":98,"column":16},"end":{"line":98,"column":46}},{"start":{"line":98,"column":50},"end":{"line":98,"column":60}}],"line":98},"8":{"loc":{"start":{"line":102,"column":12},"end":{"line":102,"column":142}},"type":"if","locations":[{"start":{"line":102,"column":12},"end":{"line":102,"column":142}},{"start":{"line":102,"column":12},"end":{"line":102,"column":142}}],"line":102},"9":{"loc":{"start":{"line":102,"column":16},"end":{"line":102,"column":105}},"type":"binary-expr","locations":[{"start":{"line":102,"column":16},"end":{"line":102,"column":53}},{"start":{"line":102,"column":57},"end":{"line":102,"column":105}}],"line":102},"10":{"loc":{"start":{"line":104,"column":12},"end":{"line":104,"column":73}},"type":"if","locations":[{"start":{"line":104,"column":12},"end":{"line":104,"column":73}},{"start":{"line":104,"column":12},"end":{"line":104,"column":73}}],"line":104},"11":{"loc":{"start":{"line":112,"column":26},"end":{"line":112,"column":255}},"type":"binary-expr","locations":[{"start":{"line":112,"column":26},"end":{"line":112,"column":65}},{"start":{"line":112,"column":69},"end":{"line":112,"column":113}},{"start":{"line":112,"column":117},"end":{"line":112,"column":158}},{"start":{"line":112,"column":162},"end":{"line":112,"column":201}},{"start":{"line":112,"column":205},"end":{"line":112,"column":255}}],"line":112},"12":{"loc":{"start":{"line":127,"column":74},"end":{"line":127,"column":91}},"type":"binary-expr","locations":[{"start":{"line":127,"column":74},"end":{"line":127,"column":84}},{"start":{"line":127,"column":88},"end":{"line":127,"column":91}}],"line":127},"13":{"loc":{"start":{"line":138,"column":12},"end":{"line":141,"column":13}},"type":"if","locations":[{"start":{"line":138,"column":12},"end":{"line":141,"column":13}},{"start":{"line":138,"column":12},"end":{"line":141,"column":13}}],"line":138},"14":{"loc":{"start":{"line":138,"column":18},"end":{"line":138,"column":51}},"type":"binary-expr","locations":[{"start":{"line":138,"column":18},"end":{"line":138,"column":33}},{"start":{"line":138,"column":37},"end":{"line":138,"column":51}}],"line":138},"15":{"loc":{"start":{"line":158,"column":28},"end":{"line":158,"column":90}},"type":"cond-expr","locations":[{"start":{"line":158,"column":53},"end":{"line":158,"column":55}},{"start":{"line":158,"column":58},"end":{"line":158,"column":90}}],"line":158},"16":{"loc":{"start":{"line":158,"column":58},"end":{"line":158,"column":90}},"type":"cond-expr","locations":[{"start":{"line":158,"column":83},"end":{"line":158,"column":85}},{"start":{"line":158,"column":88},"end":{"line":158,"column":90}}],"line":158},"17":{"loc":{"start":{"line":165,"column":12},"end":{"line":168,"column":13}},"type":"if","locations":[{"start":{"line":165,"column":12},"end":{"line":168,"column":13}},{"start":{"line":165,"column":12},"end":{"line":168,"column":13}}],"line":165},"18":{"loc":{"start":{"line":170,"column":12},"end":{"line":173,"column":13}},"type":"if","locations":[{"start":{"line":170,"column":12},"end":{"line":173,"column":13}},{"start":{"line":170,"column":12},"end":{"line":173,"column":13}}],"line":170},"19":{"loc":{"start":{"line":204,"column":12},"end":{"line":207,"column":13}},"type":"if","locations":[{"start":{"line":204,"column":12},"end":{"line":207,"column":13}},{"start":{"line":204,"column":12},"end":{"line":207,"column":13}}],"line":204},"20":{"loc":{"start":{"line":204,"column":18},"end":{"line":204,"column":51}},"type":"binary-expr","locations":[{"start":{"line":204,"column":18},"end":{"line":204,"column":28}},{"start":{"line":204,"column":32},"end":{"line":204,"column":51}}],"line":204},"21":{"loc":{"start":{"line":212,"column":12},"end":{"line":212,"column":70}},"type":"if","locations":[{"start":{"line":212,"column":12},"end":{"line":212,"column":70}},{"start":{"line":212,"column":12},"end":{"line":212,"column":70}}],"line":212},"22":{"loc":{"start":{"line":215,"column":12},"end":{"line":215,"column":59}},"type":"if","locations":[{"start":{"line":215,"column":12},"end":{"line":215,"column":59}},{"start":{"line":215,"column":12},"end":{"line":215,"column":59}}],"line":215},"23":{"loc":{"start":{"line":219,"column":12},"end":{"line":222,"column":13}},"type":"if","locations":[{"start":{"line":219,"column":12},"end":{"line":222,"column":13}},{"start":{"line":219,"column":12},"end":{"line":222,"column":13}}],"line":219},"24":{"loc":{"start":{"line":255,"column":12},"end":{"line":255,"column":59}},"type":"if","locations":[{"start":{"line":255,"column":12},"end":{"line":255,"column":59}},{"start":{"line":255,"column":12},"end":{"line":255,"column":59}}],"line":255},"25":{"loc":{"start":{"line":260,"column":12},"end":{"line":263,"column":13}},"type":"if","locations":[{"start":{"line":260,"column":12},"end":{"line":263,"column":13}},{"start":{"line":260,"column":12},"end":{"line":263,"column":13}}],"line":260},"26":{"loc":{"start":{"line":260,"column":18},"end":{"line":260,"column":94}},"type":"binary-expr","locations":[{"start":{"line":260,"column":18},"end":{"line":260,"column":35}},{"start":{"line":260,"column":39},"end":{"line":260,"column":53}},{"start":{"line":260,"column":57},"end":{"line":260,"column":69}},{"start":{"line":260,"column":73},"end":{"line":260,"column":94}}],"line":260},"27":{"loc":{"start":{"line":325,"column":2},"end":{"line":325,"column":49}},"type":"if","locations":[{"start":{"line":325,"column":2},"end":{"line":325,"column":49}},{"start":{"line":325,"column":2},"end":{"line":325,"column":49}}],"line":325},"28":{"loc":{"start":{"line":331,"column":2},"end":{"line":336,"column":3}},"type":"if","locations":[{"start":{"line":331,"column":2},"end":{"line":336,"column":3}},{"start":{"line":331,"column":2},"end":{"line":336,"column":3}}],"line":331},"29":{"loc":{"start":{"line":335,"column":18},"end":{"line":335,"column":126}},"type":"cond-expr","locations":[{"start":{"line":335,"column":28},"end":{"line":335,"column":45}},{"start":{"line":335,"column":48},"end":{"line":335,"column":126}}],"line":335}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":9,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":246,"27":492,"28":983,"29":246,"30":123,"31":123,"32":123,"33":123,"34":0,"35":123,"36":123,"37":0,"38":0,"39":0,"40":123,"41":123,"42":123,"43":0,"44":123,"45":0,"46":123,"47":0,"48":123,"49":123,"50":123,"51":123,"52":123,"53":123,"54":123,"55":123,"56":123,"57":123,"58":123,"59":123,"60":123,"61":123,"62":0,"63":0,"64":0,"65":123,"66":123,"67":123,"68":123,"69":123,"70":123,"71":123,"72":123,"73":41,"74":41,"75":40,"76":40,"77":1,"78":1,"79":1,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":1,"93":1,"94":1,"95":40,"96":0,"97":0,"98":40,"99":40,"100":40,"101":0,"102":40,"103":40,"104":40,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":40,"118":40,"119":40,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":41,"130":41,"131":41,"132":41,"133":41,"134":41,"135":41,"136":123,"137":123,"138":246,"139":246,"140":1,"141":123,"142":123,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":1},"f":{"0":9,"1":1,"2":246,"3":492,"4":246,"5":123},"b":{"0":[2,7],"1":[9,9],"2":[246,123,123,41,0,0,0,1,1,40,0,0,0,40,40,0,0,0,41,41,41,123,123,246],"3":[123,123],"4":[0,123],"5":[0,123],"6":[0,123],"7":[123,123],"8":[0,123],"9":[123,0],"10":[0,123],"11":[123,0,0,0,0],"12":[123,0],"13":[123,0],"14":[123,123],"15":[41,82],"16":[41,41],"17":[40,1],"18":[1,0],"19":[0,40],"20":[40,0],"21":[40,0],"22":[0,40],"23":[40,0],"24":[0,0],"25":[0,0],"26":[0,0,0,0],"27":[123,0],"28":[0,0],"29":[0,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"6227e5c782bc96a8f126e5e9a1e2f48d847506ce"}}

@@ -339,2 +339,3 @@ 'use strict';

}
module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJvcHRzIiwiZW5jb2RpbmciLCJfNDA0IiwicmVhZEZpbGVTeW5jIiwiam9pbiIsIl9fZGlybmFtZSIsIl81MDAiLCJkZWJ1ZyIsImVyciIsImlzRXJyb3IiLCJFcnJvciIsInR5cGUiLCJhY2NlcHRzIiwic3RhdHVzIiwibWVzc2FnZSIsIm5vdEFjY2VwdGFibGUiLCJvdXRwdXQiLCJwYXlsb2FkIiwicGFyc2VWYWx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4gZXJyO1xuXG59XG4iXX0=
{
"name": "koa-better-error-handler",
"description": "A better error-handler for Koa v2+, built for CrocodileJS. Makes `ctx.throw` beautiful again :sparkles!",
"version": "1.1.2",
"version": "1.2.0",
"author": "Nick Baugh <niftylettuce@gmail.com>",
"bugs": "https://github.com/niftylettuce/koa-better-error-handler/issues",
"dependencies": {
"boom": "^4.3.1",
"babel-runtime": "^6.23.0",
"boom": "^5.1.0",
"co": "^4.6.0",
"debug": "^2.2.0",
"lodash": "^4.16.4"
"debug": "^2.6.8",
"lodash": "^4.17.4"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-cli": "^6.24.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-crocodile": "^1.0.0",
"chai": "^3.5.0",
"codecov": "^1.0.1",
"dirty-chai": "^1.2.2",
"chai": "^4.0.2",
"codecov": "^2.2.0",
"dirty-chai": "^2.0.0",
"eslint-config-crocodile": "^1.0.0",
"istanbul": "^1.1.0-alpha.1",
"koa": "^2.0.0-alpha.3",
"koa": "^2.3.0",
"koa-connect-flash": "^0.1.2",
"koa-convert": "^1.2.0",
"koa-generic-session": "^1.11.3",
"koa-redis": "^2.1.2",
"koa-router": "^7.0.1",
"mocha": "^3.1.2",
"redis": "^2.6.2",
"supertest": "^2.0.1"
"koa-generic-session": "^1.11.6",
"koa-redis": "^3.0.0",
"koa-router": "^7.2.1",
"mocha": "^3.4.2",
"redis": "^2.7.1",
"supertest": "^3.0.0"
},

@@ -64,5 +66,5 @@ "engines": {

"mocha": "NODE_ENV=test node_modules/.bin/_mocha",
"prepublish": "npm run test",
"publish": "npm run test",
"test": "npm run lint && npm run compile && npm run coverage"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc