New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mythx-report-helper

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mythx-report-helper - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

8

__tests__/main.spec.ts

@@ -171,2 +171,10 @@ import { Report } from '../src/Report';

})
it('Source have the analyses logs', () => {
const expectedLogs = [{ level: 'info', msg: 'log1message' },{ level: 'info', msg: 'log2message' }]
expect(analyses.logs.length).toBe(2)
for(let i in expectedLogs){
expect(analyses.logs[i].level).toBe(expectedLogs[i].level)
expect(analyses.logs[i].msg).toBe(expectedLogs[i].msg)
}
})
})

@@ -173,0 +181,0 @@ describe('File 2', () => {

6

coverage/coverage-final.json

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

{"/Users/boss/git/mythx/test/mythx-reports-helper/src/Issue.ts": {"path":"/Users/boss/git/mythx/test/mythx-reports-helper/src/Issue.ts","statementMap":{"0":{"start":{"line":40,"column":8},"end":{"line":40,"column":null}},"1":{"start":{"line":41,"column":8},"end":{"line":41,"column":null}},"2":{"start":{"line":42,"column":8},"end":{"line":42,"column":null}},"3":{"start":{"line":43,"column":8},"end":{"line":43,"column":null}},"4":{"start":{"line":44,"column":8},"end":{"line":44,"column":null}},"5":{"start":{"line":45,"column":8},"end":{"line":45,"column":null}},"6":{"start":{"line":46,"column":8},"end":{"line":46,"column":null}},"7":{"start":{"line":48,"column":8},"end":{"line":50,"column":null}},"8":{"start":{"line":49,"column":12},"end":{"line":49,"column":null}},"9":{"start":{"line":52,"column":8},"end":{"line":52,"column":null}},"10":{"start":{"line":53,"column":8},"end":{"line":53,"column":null}},"11":{"start":{"line":57,"column":26},"end":{"line":57,"column":72}},"12":{"start":{"line":58,"column":8},"end":{"line":61,"column":25}},"13":{"start":{"line":60,"column":12},"end":{"line":60,"column":57}},"14":{"start":{"line":65,"column":8},"end":{"line":65,"column":null}},"15":{"start":{"line":66,"column":8},"end":{"line":74,"column":null}},"16":{"start":{"line":77,"column":8},"end":{"line":77,"column":null}},"17":{"start":{"line":81,"column":8},"end":{"line":81,"column":null}},"18":{"start":{"line":81,"column":63},"end":{"line":81,"column":null}},"19":{"start":{"line":82,"column":8},"end":{"line":82,"column":null}},"20":{"start":{"line":85,"column":8},"end":{"line":85,"column":null}},"21":{"start":{"line":85,"column":63},"end":{"line":85,"column":null}},"22":{"start":{"line":86,"column":8},"end":{"line":86,"column":null}},"23":{"start":{"line":90,"column":8},"end":{"line":90,"column":null}},"24":{"start":{"line":90,"column":63},"end":{"line":90,"column":null}},"25":{"start":{"line":91,"column":8},"end":{"line":91,"column":null}},"26":{"start":{"line":94,"column":8},"end":{"line":94,"column":null}},"27":{"start":{"line":94,"column":63},"end":{"line":94,"column":null}},"28":{"start":{"line":95,"column":8},"end":{"line":95,"column":null}},"29":{"start":{"line":99,"column":8},"end":{"line":99,"column":null}},"30":{"start":{"line":99,"column":62},"end":{"line":99,"column":null}},"31":{"start":{"line":100,"column":8},"end":{"line":100,"column":null}},"32":{"start":{"line":103,"column":8},"end":{"line":103,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":39,"column":4},"end":{"line":39,"column":16}},"loc":{"start":{"line":39,"column":33},"end":{"line":54,"column":5}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":56,"column":4},"end":{"line":56,"column":14}},"loc":{"start":{"line":56,"column":14},"end":{"line":62,"column":5}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":58,"column":62},"end":{"line":58,"column":65}},"loc":{"start":{"line":58,"column":67},"end":{"line":61,"column":9}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":64,"column":4},"end":{"line":64,"column":14}},"loc":{"start":{"line":64,"column":14},"end":{"line":78,"column":5}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":80,"column":4},"end":{"line":80,"column":19}},"loc":{"start":{"line":80,"column":19},"end":{"line":83,"column":5}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":84,"column":4},"end":{"line":84,"column":21}},"loc":{"start":{"line":84,"column":21},"end":{"line":87,"column":5}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":89,"column":4},"end":{"line":89,"column":20}},"loc":{"start":{"line":89,"column":20},"end":{"line":92,"column":5}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":93,"column":4},"end":{"line":93,"column":22}},"loc":{"start":{"line":93,"column":22},"end":{"line":96,"column":5}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":98,"column":4},"end":{"line":98,"column":19}},"loc":{"start":{"line":98,"column":19},"end":{"line":101,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":48,"column":8},"end":{"line":50,"column":null}},"type":"if","locations":[{"start":{"line":48,"column":8},"end":{"line":50,"column":null}},{"start":{"line":48,"column":8},"end":{"line":50,"column":null}}]},"1":{"loc":{"start":{"line":66,"column":34},"end":{"line":66,"column":53}},"type":"binary-expr","locations":[{"start":{"line":66,"column":34},"end":{"line":66,"column":53}},{"start":{"line":67,"column":16},"end":{"line":67,"column":50}},{"start":{"line":68,"column":16},"end":{"line":68,"column":45}},{"start":{"line":69,"column":15},"end":{"line":69,"column":42}},{"start":{"line":70,"column":15},"end":{"line":70,"column":46}},{"start":{"line":71,"column":15},"end":{"line":71,"column":57}},{"start":{"line":72,"column":15},"end":{"line":72,"column":59}},{"start":{"line":73,"column":15},"end":{"line":73,"column":57}},{"start":{"line":74,"column":15},"end":{"line":74,"column":59}}]},"2":{"loc":{"start":{"line":77,"column":33},"end":{"line":77,"column":56}},"type":"binary-expr","locations":[{"start":{"line":77,"column":33},"end":{"line":77,"column":56}},{"start":{"line":77,"column":60},"end":{"line":77,"column":107}}]},"3":{"loc":{"start":{"line":81,"column":8},"end":{"line":81,"column":null}},"type":"if","locations":[{"start":{"line":81,"column":8},"end":{"line":81,"column":null}},{"start":{"line":81,"column":8},"end":{"line":81,"column":null}}]},"4":{"loc":{"start":{"line":81,"column":12},"end":{"line":81,"column":36}},"type":"binary-expr","locations":[{"start":{"line":81,"column":12},"end":{"line":81,"column":36}},{"start":{"line":81,"column":40},"end":{"line":81,"column":60}}]},"5":{"loc":{"start":{"line":85,"column":8},"end":{"line":85,"column":null}},"type":"if","locations":[{"start":{"line":85,"column":8},"end":{"line":85,"column":null}},{"start":{"line":85,"column":8},"end":{"line":85,"column":null}}]},"6":{"loc":{"start":{"line":85,"column":12},"end":{"line":85,"column":36}},"type":"binary-expr","locations":[{"start":{"line":85,"column":12},"end":{"line":85,"column":36}},{"start":{"line":85,"column":40},"end":{"line":85,"column":60}}]},"7":{"loc":{"start":{"line":90,"column":8},"end":{"line":90,"column":null}},"type":"if","locations":[{"start":{"line":90,"column":8},"end":{"line":90,"column":null}},{"start":{"line":90,"column":8},"end":{"line":90,"column":null}}]},"8":{"loc":{"start":{"line":90,"column":12},"end":{"line":90,"column":36}},"type":"binary-expr","locations":[{"start":{"line":90,"column":12},"end":{"line":90,"column":36}},{"start":{"line":90,"column":40},"end":{"line":90,"column":60}}]},"9":{"loc":{"start":{"line":94,"column":8},"end":{"line":94,"column":null}},"type":"if","locations":[{"start":{"line":94,"column":8},"end":{"line":94,"column":null}},{"start":{"line":94,"column":8},"end":{"line":94,"column":null}}]},"10":{"loc":{"start":{"line":94,"column":12},"end":{"line":94,"column":36}},"type":"binary-expr","locations":[{"start":{"line":94,"column":12},"end":{"line":94,"column":36}},{"start":{"line":94,"column":40},"end":{"line":94,"column":60}}]},"11":{"loc":{"start":{"line":99,"column":8},"end":{"line":99,"column":null}},"type":"if","locations":[{"start":{"line":99,"column":8},"end":{"line":99,"column":null}},{"start":{"line":99,"column":8},"end":{"line":99,"column":null}}]},"12":{"loc":{"start":{"line":99,"column":12},"end":{"line":99,"column":35}},"type":"binary-expr","locations":[{"start":{"line":99,"column":12},"end":{"line":99,"column":35}},{"start":{"line":99,"column":39},"end":{"line":99,"column":59}}]}},"s":{"0":62,"1":62,"2":62,"3":62,"4":62,"5":62,"6":62,"7":62,"8":3,"9":62,"10":62,"11":62,"12":62,"13":992,"14":62,"15":62,"16":62,"17":7,"18":0,"19":7,"20":1,"21":0,"22":1,"23":1,"24":0,"25":1,"26":1,"27":0,"28":1,"29":53,"30":0,"31":53,"32":1},"f":{"0":62,"1":62,"2":992,"3":62,"4":7,"5":1,"6":1,"7":1,"8":53},"b":{"0":[3,59],"1":[62,59,58,12,12,12,12,12,12],"2":[62,59],"3":[0,7],"4":[7,7],"5":[0,1],"6":[1,1],"7":[0,1],"8":[1,1],"9":[0,1],"10":[1,1],"11":[0,53],"12":[53,53]}}
,"/Users/boss/git/mythx/test/mythx-reports-helper/src/Report.ts": {"path":"/Users/boss/git/mythx/test/mythx-reports-helper/src/Report.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}},"1":{"start":{"line":32,"column":4},"end":{"line":32,"column":null}},"2":{"start":{"line":33,"column":4},"end":{"line":33,"column":null}},"3":{"start":{"line":34,"column":4},"end":{"line":34,"column":null}},"4":{"start":{"line":35,"column":4},"end":{"line":35,"column":null}},"5":{"start":{"line":36,"column":4},"end":{"line":36,"column":null}},"6":{"start":{"line":37,"column":4},"end":{"line":37,"column":null}},"7":{"start":{"line":41,"column":4},"end":{"line":43,"column":60}},"8":{"start":{"line":43,"column":54},"end":{"line":43,"column":60}},"9":{"start":{"line":45,"column":22},"end":{"line":45,"column":53}},"10":{"start":{"line":46,"column":4},"end":{"line":46,"column":null}},"11":{"start":{"line":48,"column":4},"end":{"line":58,"column":null}},"12":{"start":{"line":49,"column":25},"end":{"line":49,"column":49}},"13":{"start":{"line":50,"column":17},"end":{"line":50,"column":49}},"14":{"start":{"line":51,"column":6},"end":{"line":54,"column":null}},"15":{"start":{"line":52,"column":8},"end":{"line":52,"column":null}},"16":{"start":{"line":53,"column":8},"end":{"line":53,"column":null}},"17":{"start":{"line":55,"column":27},"end":{"line":55,"column":80}},"18":{"start":{"line":56,"column":6},"end":{"line":56,"column":null}},"19":{"start":{"line":57,"column":6},"end":{"line":57,"column":null}},"20":{"start":{"line":59,"column":4},"end":{"line":59,"column":null}},"21":{"start":{"line":64,"column":4},"end":{"line":67,"column":null}},"22":{"start":{"line":65,"column":12},"end":{"line":65,"column":14}},"23":{"start":{"line":65,"column":37},"end":{"line":65,"column":39}},"24":{"start":{"line":65,"column":39},"end":{"line":65,"column":76}},"25":{"start":{"line":66,"column":6},"end":{"line":66,"column":null}},"26":{"start":{"line":68,"column":4},"end":{"line":68,"column":null}},"27":{"start":{"line":72,"column":4},"end":{"line":72,"column":null}},"28":{"start":{"line":73,"column":4},"end":{"line":73,"column":null}},"29":{"start":{"line":77,"column":35},"end":{"line":77,"column":37}},"30":{"start":{"line":78,"column":28},"end":{"line":78,"column":30}},"31":{"start":{"line":79,"column":4},"end":{"line":84,"column":null}},"32":{"start":{"line":80,"column":21},"end":{"line":82,"column":8}},"33":{"start":{"line":81,"column":8},"end":{"line":81,"column":64}},"34":{"start":{"line":83,"column":6},"end":{"line":83,"column":null}},"35":{"start":{"line":86,"column":21},"end":{"line":86,"column":23}},"36":{"start":{"line":87,"column":4},"end":{"line":91,"column":null}},"37":{"start":{"line":88,"column":6},"end":{"line":90,"column":null}},"38":{"start":{"line":89,"column":8},"end":{"line":89,"column":null}},"39":{"start":{"line":93,"column":4},"end":{"line":122,"column":null}},"40":{"start":{"line":94,"column":37},"end":{"line":94,"column":42}},"41":{"start":{"line":94,"column":25},"end":{"line":94,"column":null}},"42":{"start":{"line":97,"column":6},"end":{"line":102,"column":null}},"43":{"start":{"line":98,"column":25},"end":{"line":98,"column":27}},"44":{"start":{"line":99,"column":32},"end":{"line":99,"column":34}},"45":{"start":{"line":100,"column":31},"end":{"line":100,"column":80}},"46":{"start":{"line":101,"column":8},"end":{"line":101,"column":null}},"47":{"start":{"line":104,"column":6},"end":{"line":121,"column":null}},"48":{"start":{"line":105,"column":32},"end":{"line":111,"column":38}},"49":{"start":{"line":115,"column":8},"end":{"line":117,"column":null}},"50":{"start":{"line":116,"column":10},"end":{"line":116,"column":16}},"51":{"start":{"line":119,"column":31},"end":{"line":119,"column":80}},"52":{"start":{"line":120,"column":8},"end":{"line":120,"column":null}},"53":{"start":{"line":123,"column":4},"end":{"line":123,"column":null}},"54":{"start":{"line":127,"column":4},"end":{"line":133,"column":null}},"55":{"start":{"line":128,"column":6},"end":{"line":131,"column":null}},"56":{"start":{"line":129,"column":26},"end":{"line":129,"column":60}},"57":{"start":{"line":130,"column":8},"end":{"line":130,"column":null}},"58":{"start":{"line":132,"column":6},"end":{"line":132,"column":null}},"59":{"start":{"line":137,"column":63},"end":{"line":137,"column":67}},"60":{"start":{"line":140,"column":4},"end":{"line":173,"column":null}},"61":{"start":{"line":141,"column":46},"end":{"line":141,"column":63}},"62":{"start":{"line":142,"column":6},"end":{"line":144,"column":null}},"63":{"start":{"line":143,"column":8},"end":{"line":143,"column":14}},"64":{"start":{"line":145,"column":26},"end":{"line":145,"column":44}},"65":{"start":{"line":146,"column":42},"end":{"line":146,"column":60}},"66":{"start":{"line":147,"column":34},"end":{"line":150,"column":8}},"67":{"start":{"line":148,"column":21},"end":{"line":148,"column":31}},"68":{"start":{"line":149,"column":8},"end":{"line":149,"column":null}},"69":{"start":{"line":151,"column":32},"end":{"line":151,"column":34}},"70":{"start":{"line":153,"column":6},"end":{"line":155,"column":null}},"71":{"start":{"line":153,"column":19},"end":{"line":153,"column":20}},"72":{"start":{"line":154,"column":8},"end":{"line":154,"column":null}},"73":{"start":{"line":157,"column":28},"end":{"line":161,"column":8}},"74":{"start":{"line":158,"column":8},"end":{"line":160,"column":null}},"75":{"start":{"line":159,"column":10},"end":{"line":159,"column":null}},"76":{"start":{"line":160,"column":17},"end":{"line":160,"column":31}},"77":{"start":{"line":163,"column":6},"end":{"line":171,"column":null}},"78":{"start":{"line":164,"column":21},"end":{"line":164,"column":48}},"79":{"start":{"line":165,"column":8},"end":{"line":169,"column":null}},"80":{"start":{"line":166,"column":10},"end":{"line":166,"column":null}},"81":{"start":{"line":168,"column":10},"end":{"line":168,"column":null}},"82":{"start":{"line":172,"column":6},"end":{"line":172,"column":null}},"83":{"start":{"line":177,"column":4},"end":{"line":179,"column":null}},"84":{"start":{"line":178,"column":6},"end":{"line":178,"column":null}},"85":{"start":{"line":180,"column":4},"end":{"line":180,"column":null}},"86":{"start":{"line":184,"column":18},"end":{"line":184,"column":19}},"87":{"start":{"line":185,"column":4},"end":{"line":189,"column":null}},"88":{"start":{"line":186,"column":6},"end":{"line":188,"column":null}},"89":{"start":{"line":187,"column":8},"end":{"line":187,"column":null}},"90":{"start":{"line":190,"column":4},"end":{"line":190,"column":null}},"91":{"start":{"line":194,"column":18},"end":{"line":194,"column":19}},"92":{"start":{"line":195,"column":4},"end":{"line":203,"column":null}},"93":{"start":{"line":196,"column":6},"end":{"line":202,"column":null}},"94":{"start":{"line":201,"column":8},"end":{"line":201,"column":null}},"95":{"start":{"line":204,"column":4},"end":{"line":204,"column":null}},"96":{"start":{"line":208,"column":4},"end":{"line":208,"column":null}},"97":{"start":{"line":212,"column":4},"end":{"line":218,"column":null}},"98":{"start":{"line":213,"column":6},"end":{"line":217,"column":null}},"99":{"start":{"line":214,"column":8},"end":{"line":216,"column":null}},"100":{"start":{"line":219,"column":4},"end":{"line":219,"column":null}},"101":{"start":{"line":223,"column":4},"end":{"line":225,"column":null}},"102":{"start":{"line":224,"column":6},"end":{"line":224,"column":null}},"103":{"start":{"line":229,"column":9},"end":{"line":229,"column":15}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":31,"column":2},"end":{"line":31,"column":14}},"loc":{"start":{"line":31,"column":49},"end":{"line":38,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":40,"column":10},"end":{"line":40,"column":37}},"loc":{"start":{"line":40,"column":37},"end":{"line":60,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":48,"column":18},"end":{"line":48,"column":19}},"loc":{"start":{"line":48,"column":45},"end":{"line":58,"column":5}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":62,"column":10},"end":{"line":62,"column":30}},"loc":{"start":{"line":62,"column":30},"end":{"line":69,"column":3}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":64,"column":34},"end":{"line":64,"column":35}},"loc":{"start":{"line":64,"column":54},"end":{"line":67,"column":5}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":71,"column":10},"end":{"line":71,"column":26}},"loc":{"start":{"line":71,"column":26},"end":{"line":74,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":76,"column":10},"end":{"line":76,"column":21}},"loc":{"start":{"line":76,"column":21},"end":{"line":124,"column":3}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":79,"column":28},"end":{"line":79,"column":29}},"loc":{"start":{"line":79,"column":42},"end":{"line":84,"column":5}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":80,"column":37},"end":{"line":80,"column":38}},"loc":{"start":{"line":80,"column":52},"end":{"line":82,"column":7}}},"9":{"name":"(anonymous_9)","decl":{"start":{"line":93,"column":19},"end":{"line":93,"column":20}},"loc":{"start":{"line":93,"column":34},"end":{"line":122,"column":5}}},"10":{"name":"(anonymous_10)","decl":{"start":{"line":104,"column":20},"end":{"line":104,"column":21}},"loc":{"start":{"line":104,"column":49},"end":{"line":121,"column":7}}},"11":{"name":"(anonymous_11)","decl":{"start":{"line":126,"column":10},"end":{"line":126,"column":26}},"loc":{"start":{"line":126,"column":26},"end":{"line":134,"column":3}}},"12":{"name":"(anonymous_12)","decl":{"start":{"line":127,"column":52},"end":{"line":127,"column":53}},"loc":{"start":{"line":127,"column":69},"end":{"line":133,"column":5}}},"13":{"name":"(anonymous_13)","decl":{"start":{"line":136,"column":10},"end":{"line":136,"column":42}},"loc":{"start":{"line":136,"column":42},"end":{"line":174,"column":3}}},"14":{"name":"(anonymous_14)","decl":{"start":{"line":140,"column":25},"end":{"line":140,"column":26}},"loc":{"start":{"line":140,"column":42},"end":{"line":173,"column":5}}},"15":{"name":"(anonymous_15)","decl":{"start":{"line":147,"column":50},"end":{"line":147,"column":51}},"loc":{"start":{"line":147,"column":73},"end":{"line":150,"column":7}}},"16":{"name":"(anonymous_16)","decl":{"start":{"line":157,"column":51},"end":{"line":157,"column":52}},"loc":{"start":{"line":157,"column":68},"end":{"line":161,"column":7}}},"17":{"name":"(anonymous_17)","decl":{"start":{"line":163,"column":24},"end":{"line":163,"column":25}},"loc":{"start":{"line":163,"column":41},"end":{"line":171,"column":7}}},"18":{"name":"(anonymous_18)","decl":{"start":{"line":176,"column":2},"end":{"line":176,"column":19}},"loc":{"start":{"line":176,"column":19},"end":{"line":181,"column":3}}},"19":{"name":"(anonymous_19)","decl":{"start":{"line":183,"column":2},"end":{"line":183,"column":29}},"loc":{"start":{"line":183,"column":46},"end":{"line":191,"column":3}}},"20":{"name":"(anonymous_20)","decl":{"start":{"line":185,"column":29},"end":{"line":185,"column":30}},"loc":{"start":{"line":185,"column":46},"end":{"line":189,"column":5}}},"21":{"name":"(anonymous_21)","decl":{"start":{"line":193,"column":2},"end":{"line":193,"column":35}},"loc":{"start":{"line":193,"column":70},"end":{"line":205,"column":3}}},"22":{"name":"(anonymous_22)","decl":{"start":{"line":195,"column":29},"end":{"line":195,"column":30}},"loc":{"start":{"line":195,"column":46},"end":{"line":203,"column":5}}},"23":{"name":"(anonymous_23)","decl":{"start":{"line":207,"column":2},"end":{"line":207,"column":11}},"loc":{"start":{"line":207,"column":11},"end":{"line":209,"column":3}}},"24":{"name":"(anonymous_24)","decl":{"start":{"line":211,"column":2},"end":{"line":211,"column":21}},"loc":{"start":{"line":211,"column":38},"end":{"line":220,"column":3}}},"25":{"name":"(anonymous_25)","decl":{"start":{"line":213,"column":41},"end":{"line":213,"column":42}},"loc":{"start":{"line":213,"column":57},"end":{"line":217,"column":7}}},"26":{"name":"(anonymous_26)","decl":{"start":{"line":222,"column":2},"end":{"line":222,"column":21}},"loc":{"start":{"line":222,"column":38},"end":{"line":226,"column":3}}},"27":{"name":"(anonymous_27)","decl":{"start":{"line":223,"column":39},"end":{"line":223,"column":40}},"loc":{"start":{"line":223,"column":56},"end":{"line":225,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":34,"column":4},"end":{"line":34,"column":14}},"type":"binary-expr","locations":[{"start":{"line":34,"column":4},"end":{"line":34,"column":14}},{"start":{"line":34,"column":18},"end":{"line":34,"column":41}}]},"1":{"loc":{"start":{"line":35,"column":4},"end":{"line":35,"column":23}},"type":"binary-expr","locations":[{"start":{"line":35,"column":4},"end":{"line":35,"column":23}},{"start":{"line":35,"column":27},"end":{"line":35,"column":45}}]},"2":{"loc":{"start":{"line":36,"column":4},"end":{"line":36,"column":23}},"type":"binary-expr","locations":[{"start":{"line":36,"column":4},"end":{"line":36,"column":23}},{"start":{"line":36,"column":27},"end":{"line":36,"column":37}},{"start":{"line":36,"column":41},"end":{"line":36,"column":64}}]},"3":{"loc":{"start":{"line":37,"column":4},"end":{"line":37,"column":23}},"type":"binary-expr","locations":[{"start":{"line":37,"column":4},"end":{"line":37,"column":23}},{"start":{"line":37,"column":27},"end":{"line":37,"column":37}},{"start":{"line":37,"column":41},"end":{"line":37,"column":80}}]},"4":{"loc":{"start":{"line":41,"column":4},"end":{"line":43,"column":60}},"type":"if","locations":[{"start":{"line":41,"column":4},"end":{"line":43,"column":60}},{"start":{"line":41,"column":4},"end":{"line":43,"column":60}}]},"5":{"loc":{"start":{"line":41,"column":8},"end":{"line":41,"column":19}},"type":"binary-expr","locations":[{"start":{"line":41,"column":8},"end":{"line":41,"column":19}},{"start":{"line":42,"column":9},"end":{"line":42,"column":28}},{"start":{"line":43,"column":9},"end":{"line":43,"column":52}}]},"6":{"loc":{"start":{"line":50,"column":17},"end":{"line":50,"column":44}},"type":"binary-expr","locations":[{"start":{"line":50,"column":17},"end":{"line":50,"column":44}},{"start":{"line":50,"column":48},"end":{"line":50,"column":49}}]},"7":{"loc":{"start":{"line":51,"column":6},"end":{"line":54,"column":null}},"type":"if","locations":[{"start":{"line":51,"column":6},"end":{"line":54,"column":null}},{"start":{"line":51,"column":6},"end":{"line":54,"column":null}}]},"8":{"loc":{"start":{"line":51,"column":10},"end":{"line":51,"column":17}},"type":"binary-expr","locations":[{"start":{"line":51,"column":10},"end":{"line":51,"column":17}},{"start":{"line":51,"column":21},"end":{"line":51,"column":35}},{"start":{"line":51,"column":39},"end":{"line":51,"column":57}}]},"9":{"loc":{"start":{"line":97,"column":6},"end":{"line":102,"column":null}},"type":"if","locations":[{"start":{"line":97,"column":6},"end":{"line":102,"column":null}},{"start":{"line":97,"column":6},"end":{"line":102,"column":null}}]},"10":{"loc":{"start":{"line":97,"column":10},"end":{"line":97,"column":27}},"type":"binary-expr","locations":[{"start":{"line":97,"column":10},"end":{"line":97,"column":27}},{"start":{"line":97,"column":31},"end":{"line":97,"column":51}}]},"11":{"loc":{"start":{"line":105,"column":32},"end":{"line":105,"column":54}},"type":"binary-expr","locations":[{"start":{"line":105,"column":32},"end":{"line":105,"column":54}},{"start":{"line":106,"column":13},"end":{"line":106,"column":52}},{"start":{"line":107,"column":13},"end":{"line":107,"column":45}},{"start":{"line":108,"column":13},"end":{"line":108,"column":49}},{"start":{"line":109,"column":13},"end":{"line":109,"column":60}},{"start":{"line":110,"column":13},"end":{"line":110,"column":62}},{"start":{"line":111,"column":13},"end":{"line":111,"column":38}}]},"12":{"loc":{"start":{"line":115,"column":8},"end":{"line":117,"column":null}},"type":"if","locations":[{"start":{"line":115,"column":8},"end":{"line":117,"column":null}},{"start":{"line":115,"column":8},"end":{"line":117,"column":null}}]},"13":{"loc":{"start":{"line":115,"column":12},"end":{"line":115,"column":56}},"type":"binary-expr","locations":[{"start":{"line":115,"column":12},"end":{"line":115,"column":56}},{"start":{"line":115,"column":60},"end":{"line":115,"column":98}}]},"14":{"loc":{"start":{"line":128,"column":6},"end":{"line":131,"column":null}},"type":"if","locations":[{"start":{"line":128,"column":6},"end":{"line":131,"column":null}},{"start":{"line":128,"column":6},"end":{"line":131,"column":null}}]},"15":{"loc":{"start":{"line":142,"column":6},"end":{"line":144,"column":null}},"type":"if","locations":[{"start":{"line":142,"column":6},"end":{"line":144,"column":null}},{"start":{"line":142,"column":6},"end":{"line":144,"column":null}}]},"16":{"loc":{"start":{"line":158,"column":8},"end":{"line":160,"column":null}},"type":"if","locations":[{"start":{"line":158,"column":8},"end":{"line":160,"column":null}},{"start":{"line":158,"column":8},"end":{"line":160,"column":null}}]},"17":{"loc":{"start":{"line":158,"column":12},"end":{"line":158,"column":32}},"type":"binary-expr","locations":[{"start":{"line":158,"column":12},"end":{"line":158,"column":32}},{"start":{"line":158,"column":36},"end":{"line":158,"column":60}}]},"18":{"loc":{"start":{"line":165,"column":8},"end":{"line":169,"column":null}},"type":"if","locations":[{"start":{"line":165,"column":8},"end":{"line":169,"column":null}},{"start":{"line":165,"column":8},"end":{"line":169,"column":null}}]},"19":{"loc":{"start":{"line":177,"column":4},"end":{"line":179,"column":null}},"type":"if","locations":[{"start":{"line":177,"column":4},"end":{"line":179,"column":null}},{"start":{"line":177,"column":4},"end":{"line":179,"column":null}}]},"20":{"loc":{"start":{"line":177,"column":8},"end":{"line":177,"column":28}},"type":"binary-expr","locations":[{"start":{"line":177,"column":8},"end":{"line":177,"column":28}},{"start":{"line":177,"column":32},"end":{"line":177,"column":59}}]},"21":{"loc":{"start":{"line":186,"column":6},"end":{"line":188,"column":null}},"type":"if","locations":[{"start":{"line":186,"column":6},"end":{"line":188,"column":null}},{"start":{"line":186,"column":6},"end":{"line":188,"column":null}}]},"22":{"loc":{"start":{"line":186,"column":10},"end":{"line":186,"column":24}},"type":"binary-expr","locations":[{"start":{"line":186,"column":10},"end":{"line":186,"column":24}},{"start":{"line":186,"column":28},"end":{"line":186,"column":83}}]},"23":{"loc":{"start":{"line":196,"column":6},"end":{"line":202,"column":null}},"type":"if","locations":[{"start":{"line":196,"column":6},"end":{"line":202,"column":null}},{"start":{"line":196,"column":6},"end":{"line":202,"column":null}}]},"24":{"loc":{"start":{"line":196,"column":10},"end":{"line":196,"column":24}},"type":"binary-expr","locations":[{"start":{"line":196,"column":10},"end":{"line":196,"column":24}},{"start":{"line":197,"column":11},"end":{"line":197,"column":66}},{"start":{"line":198,"column":11},"end":{"line":198,"column":27}},{"start":{"line":199,"column":11},"end":{"line":199,"column":32}},{"start":{"line":200,"column":11},"end":{"line":200,"column":45}}]},"25":{"loc":{"start":{"line":208,"column":34},"end":{"line":208,"column":54}},"type":"cond-expr","locations":[{"start":{"line":208,"column":34},"end":{"line":208,"column":54}},{"start":{"line":208,"column":57},"end":{"line":208,"column":59}}]},"26":{"loc":{"start":{"line":212,"column":4},"end":{"line":218,"column":null}},"type":"if","locations":[{"start":{"line":212,"column":4},"end":{"line":218,"column":null}},{"start":{"line":212,"column":4},"end":{"line":218,"column":null}}]},"27":{"loc":{"start":{"line":212,"column":7},"end":{"line":212,"column":27}},"type":"binary-expr","locations":[{"start":{"line":212,"column":7},"end":{"line":212,"column":27}},{"start":{"line":212,"column":31},"end":{"line":212,"column":58}}]},"28":{"loc":{"start":{"line":214,"column":16},"end":{"line":214,"column":32}},"type":"binary-expr","locations":[{"start":{"line":214,"column":16},"end":{"line":214,"column":32}},{"start":{"line":215,"column":13},"end":{"line":215,"column":34}},{"start":{"line":216,"column":13},"end":{"line":216,"column":47}}]},"29":{"loc":{"start":{"line":224,"column":14},"end":{"line":224,"column":28}},"type":"binary-expr","locations":[{"start":{"line":224,"column":14},"end":{"line":224,"column":28}},{"start":{"line":224,"column":32},"end":{"line":224,"column":87}}]}},"s":{"0":1,"1":6,"2":6,"3":6,"4":6,"5":6,"6":6,"7":3,"8":0,"9":3,"10":3,"11":3,"12":42,"13":42,"14":42,"15":36,"16":36,"17":6,"18":6,"19":6,"20":3,"21":3,"22":42,"23":42,"24":42,"25":42,"26":3,"27":3,"28":3,"29":4,"30":4,"31":4,"32":4,"33":62,"34":4,"35":4,"36":4,"37":4,"38":62,"39":4,"40":62,"41":62,"42":62,"43":3,"44":3,"45":3,"46":3,"47":62,"48":73,"49":73,"50":14,"51":59,"52":59,"53":4,"54":2,"55":53,"56":52,"57":52,"58":53,"59":2,"60":2,"61":40,"62":40,"63":36,"64":4,"65":4,"66":4,"67":447,"68":447,"69":4,"70":4,"71":4,"72":447,"73":4,"74":28,"75":24,"76":4,"77":4,"78":6,"79":6,"80":0,"81":6,"82":4,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":1},"f":{"0":6,"1":3,"2":42,"3":3,"4":42,"5":3,"6":4,"7":4,"8":62,"9":62,"10":73,"11":2,"12":53,"13":2,"14":40,"15":447,"16":28,"17":6,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0},"b":{"0":[6,3],"1":[6,4],"2":[6,4,2],"3":[6,4,2],"4":[0,3],"5":[3,3,3],"6":[42,38],"7":[36,6],"8":[42,6,6],"9":[3,59],"10":[62,59],"11":[73,22,22,22,22,22,22],"12":[14,59],"13":[73,72],"14":[52,1],"15":[36,4],"16":[24,4],"17":[28,24],"18":[0,6],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0,0,0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0,0],"29":[0,0]}}
,"/Users/boss/git/mythx/test/mythx-reports-helper/src/index.ts": {"path":"/Users/boss/git/mythx/test/mythx-reports-helper/src/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}},"1":{"start":{"line":4,"column":8},"end":{"line":1,"column":44}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":8}},"3":{"start":{"line":4,"column":16},"end":{"line":2,"column":43}}},"fnMap":{},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":0},"f":{},"b":{}}
{"/Users/boss/git/mythx/mythx-reports-helper/src/Issue.ts": {"path":"/Users/boss/git/mythx/mythx-reports-helper/src/Issue.ts","statementMap":{"0":{"start":{"line":40,"column":8},"end":{"line":40,"column":null}},"1":{"start":{"line":41,"column":8},"end":{"line":41,"column":null}},"2":{"start":{"line":42,"column":8},"end":{"line":42,"column":null}},"3":{"start":{"line":43,"column":8},"end":{"line":43,"column":null}},"4":{"start":{"line":44,"column":8},"end":{"line":44,"column":null}},"5":{"start":{"line":45,"column":8},"end":{"line":45,"column":null}},"6":{"start":{"line":46,"column":8},"end":{"line":46,"column":null}},"7":{"start":{"line":48,"column":8},"end":{"line":50,"column":null}},"8":{"start":{"line":49,"column":12},"end":{"line":49,"column":null}},"9":{"start":{"line":52,"column":8},"end":{"line":52,"column":null}},"10":{"start":{"line":53,"column":8},"end":{"line":53,"column":null}},"11":{"start":{"line":57,"column":26},"end":{"line":57,"column":72}},"12":{"start":{"line":58,"column":8},"end":{"line":61,"column":25}},"13":{"start":{"line":60,"column":12},"end":{"line":60,"column":57}},"14":{"start":{"line":65,"column":8},"end":{"line":65,"column":null}},"15":{"start":{"line":66,"column":8},"end":{"line":74,"column":null}},"16":{"start":{"line":77,"column":8},"end":{"line":77,"column":null}},"17":{"start":{"line":81,"column":8},"end":{"line":81,"column":null}},"18":{"start":{"line":81,"column":63},"end":{"line":81,"column":null}},"19":{"start":{"line":82,"column":8},"end":{"line":82,"column":null}},"20":{"start":{"line":85,"column":8},"end":{"line":85,"column":null}},"21":{"start":{"line":85,"column":63},"end":{"line":85,"column":null}},"22":{"start":{"line":86,"column":8},"end":{"line":86,"column":null}},"23":{"start":{"line":90,"column":8},"end":{"line":90,"column":null}},"24":{"start":{"line":90,"column":63},"end":{"line":90,"column":null}},"25":{"start":{"line":91,"column":8},"end":{"line":91,"column":null}},"26":{"start":{"line":94,"column":8},"end":{"line":94,"column":null}},"27":{"start":{"line":94,"column":63},"end":{"line":94,"column":null}},"28":{"start":{"line":95,"column":8},"end":{"line":95,"column":null}},"29":{"start":{"line":99,"column":8},"end":{"line":99,"column":null}},"30":{"start":{"line":99,"column":62},"end":{"line":99,"column":null}},"31":{"start":{"line":100,"column":8},"end":{"line":100,"column":null}},"32":{"start":{"line":103,"column":8},"end":{"line":103,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":39,"column":4},"end":{"line":39,"column":16}},"loc":{"start":{"line":39,"column":33},"end":{"line":54,"column":5}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":56,"column":4},"end":{"line":56,"column":14}},"loc":{"start":{"line":56,"column":14},"end":{"line":62,"column":5}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":58,"column":62},"end":{"line":58,"column":65}},"loc":{"start":{"line":58,"column":67},"end":{"line":61,"column":9}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":64,"column":4},"end":{"line":64,"column":14}},"loc":{"start":{"line":64,"column":14},"end":{"line":78,"column":5}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":80,"column":4},"end":{"line":80,"column":19}},"loc":{"start":{"line":80,"column":19},"end":{"line":83,"column":5}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":84,"column":4},"end":{"line":84,"column":21}},"loc":{"start":{"line":84,"column":21},"end":{"line":87,"column":5}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":89,"column":4},"end":{"line":89,"column":20}},"loc":{"start":{"line":89,"column":20},"end":{"line":92,"column":5}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":93,"column":4},"end":{"line":93,"column":22}},"loc":{"start":{"line":93,"column":22},"end":{"line":96,"column":5}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":98,"column":4},"end":{"line":98,"column":19}},"loc":{"start":{"line":98,"column":19},"end":{"line":101,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":48,"column":8},"end":{"line":50,"column":null}},"type":"if","locations":[{"start":{"line":48,"column":8},"end":{"line":50,"column":null}},{"start":{"line":48,"column":8},"end":{"line":50,"column":null}}]},"1":{"loc":{"start":{"line":66,"column":34},"end":{"line":66,"column":53}},"type":"binary-expr","locations":[{"start":{"line":66,"column":34},"end":{"line":66,"column":53}},{"start":{"line":67,"column":16},"end":{"line":67,"column":50}},{"start":{"line":68,"column":16},"end":{"line":68,"column":45}},{"start":{"line":69,"column":15},"end":{"line":69,"column":42}},{"start":{"line":70,"column":15},"end":{"line":70,"column":46}},{"start":{"line":71,"column":15},"end":{"line":71,"column":57}},{"start":{"line":72,"column":15},"end":{"line":72,"column":59}},{"start":{"line":73,"column":15},"end":{"line":73,"column":57}},{"start":{"line":74,"column":15},"end":{"line":74,"column":59}}]},"2":{"loc":{"start":{"line":77,"column":33},"end":{"line":77,"column":56}},"type":"binary-expr","locations":[{"start":{"line":77,"column":33},"end":{"line":77,"column":56}},{"start":{"line":77,"column":60},"end":{"line":77,"column":107}}]},"3":{"loc":{"start":{"line":81,"column":8},"end":{"line":81,"column":null}},"type":"if","locations":[{"start":{"line":81,"column":8},"end":{"line":81,"column":null}},{"start":{"line":81,"column":8},"end":{"line":81,"column":null}}]},"4":{"loc":{"start":{"line":81,"column":12},"end":{"line":81,"column":36}},"type":"binary-expr","locations":[{"start":{"line":81,"column":12},"end":{"line":81,"column":36}},{"start":{"line":81,"column":40},"end":{"line":81,"column":60}}]},"5":{"loc":{"start":{"line":85,"column":8},"end":{"line":85,"column":null}},"type":"if","locations":[{"start":{"line":85,"column":8},"end":{"line":85,"column":null}},{"start":{"line":85,"column":8},"end":{"line":85,"column":null}}]},"6":{"loc":{"start":{"line":85,"column":12},"end":{"line":85,"column":36}},"type":"binary-expr","locations":[{"start":{"line":85,"column":12},"end":{"line":85,"column":36}},{"start":{"line":85,"column":40},"end":{"line":85,"column":60}}]},"7":{"loc":{"start":{"line":90,"column":8},"end":{"line":90,"column":null}},"type":"if","locations":[{"start":{"line":90,"column":8},"end":{"line":90,"column":null}},{"start":{"line":90,"column":8},"end":{"line":90,"column":null}}]},"8":{"loc":{"start":{"line":90,"column":12},"end":{"line":90,"column":36}},"type":"binary-expr","locations":[{"start":{"line":90,"column":12},"end":{"line":90,"column":36}},{"start":{"line":90,"column":40},"end":{"line":90,"column":60}}]},"9":{"loc":{"start":{"line":94,"column":8},"end":{"line":94,"column":null}},"type":"if","locations":[{"start":{"line":94,"column":8},"end":{"line":94,"column":null}},{"start":{"line":94,"column":8},"end":{"line":94,"column":null}}]},"10":{"loc":{"start":{"line":94,"column":12},"end":{"line":94,"column":36}},"type":"binary-expr","locations":[{"start":{"line":94,"column":12},"end":{"line":94,"column":36}},{"start":{"line":94,"column":40},"end":{"line":94,"column":60}}]},"11":{"loc":{"start":{"line":99,"column":8},"end":{"line":99,"column":null}},"type":"if","locations":[{"start":{"line":99,"column":8},"end":{"line":99,"column":null}},{"start":{"line":99,"column":8},"end":{"line":99,"column":null}}]},"12":{"loc":{"start":{"line":99,"column":12},"end":{"line":99,"column":35}},"type":"binary-expr","locations":[{"start":{"line":99,"column":12},"end":{"line":99,"column":35}},{"start":{"line":99,"column":39},"end":{"line":99,"column":59}}]}},"s":{"0":62,"1":62,"2":62,"3":62,"4":62,"5":62,"6":62,"7":62,"8":3,"9":62,"10":62,"11":62,"12":62,"13":992,"14":62,"15":62,"16":62,"17":7,"18":0,"19":7,"20":1,"21":0,"22":1,"23":1,"24":0,"25":1,"26":1,"27":0,"28":1,"29":53,"30":0,"31":53,"32":1},"f":{"0":62,"1":62,"2":992,"3":62,"4":7,"5":1,"6":1,"7":1,"8":53},"b":{"0":[3,59],"1":[62,59,58,12,12,12,12,12,12],"2":[62,59],"3":[0,7],"4":[7,7],"5":[0,1],"6":[1,1],"7":[0,1],"8":[1,1],"9":[0,1],"10":[1,1],"11":[0,53],"12":[53,53]}}
,"/Users/boss/git/mythx/mythx-reports-helper/src/Report.ts": {"path":"/Users/boss/git/mythx/mythx-reports-helper/src/Report.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}},"1":{"start":{"line":36,"column":4},"end":{"line":36,"column":null}},"2":{"start":{"line":37,"column":4},"end":{"line":37,"column":null}},"3":{"start":{"line":38,"column":4},"end":{"line":38,"column":null}},"4":{"start":{"line":39,"column":4},"end":{"line":39,"column":null}},"5":{"start":{"line":40,"column":4},"end":{"line":40,"column":null}},"6":{"start":{"line":41,"column":4},"end":{"line":41,"column":null}},"7":{"start":{"line":42,"column":4},"end":{"line":42,"column":null}},"8":{"start":{"line":43,"column":4},"end":{"line":43,"column":null}},"9":{"start":{"line":47,"column":4},"end":{"line":49,"column":null}},"10":{"start":{"line":48,"column":6},"end":{"line":48,"column":null}},"11":{"start":{"line":53,"column":18},"end":{"line":53,"column":20}},"12":{"start":{"line":54,"column":4},"end":{"line":58,"column":null}},"13":{"start":{"line":55,"column":6},"end":{"line":57,"column":null}},"14":{"start":{"line":56,"column":8},"end":{"line":56,"column":null}},"15":{"start":{"line":59,"column":4},"end":{"line":59,"column":null}},"16":{"start":{"line":59,"column":38},"end":{"line":59,"column":52}},"17":{"start":{"line":60,"column":4},"end":{"line":60,"column":null}},"18":{"start":{"line":64,"column":4},"end":{"line":66,"column":60}},"19":{"start":{"line":66,"column":54},"end":{"line":66,"column":60}},"20":{"start":{"line":68,"column":22},"end":{"line":68,"column":53}},"21":{"start":{"line":69,"column":4},"end":{"line":69,"column":null}},"22":{"start":{"line":71,"column":4},"end":{"line":81,"column":null}},"23":{"start":{"line":72,"column":25},"end":{"line":72,"column":49}},"24":{"start":{"line":73,"column":17},"end":{"line":73,"column":49}},"25":{"start":{"line":74,"column":6},"end":{"line":77,"column":null}},"26":{"start":{"line":75,"column":8},"end":{"line":75,"column":null}},"27":{"start":{"line":76,"column":8},"end":{"line":76,"column":null}},"28":{"start":{"line":78,"column":27},"end":{"line":78,"column":80}},"29":{"start":{"line":79,"column":6},"end":{"line":79,"column":null}},"30":{"start":{"line":80,"column":6},"end":{"line":80,"column":null}},"31":{"start":{"line":82,"column":4},"end":{"line":82,"column":null}},"32":{"start":{"line":87,"column":4},"end":{"line":90,"column":null}},"33":{"start":{"line":88,"column":12},"end":{"line":88,"column":14}},"34":{"start":{"line":88,"column":37},"end":{"line":88,"column":39}},"35":{"start":{"line":88,"column":39},"end":{"line":88,"column":76}},"36":{"start":{"line":89,"column":6},"end":{"line":89,"column":null}},"37":{"start":{"line":91,"column":4},"end":{"line":91,"column":null}},"38":{"start":{"line":95,"column":4},"end":{"line":95,"column":null}},"39":{"start":{"line":96,"column":4},"end":{"line":96,"column":null}},"40":{"start":{"line":100,"column":35},"end":{"line":100,"column":37}},"41":{"start":{"line":101,"column":28},"end":{"line":101,"column":30}},"42":{"start":{"line":102,"column":4},"end":{"line":107,"column":null}},"43":{"start":{"line":103,"column":21},"end":{"line":105,"column":8}},"44":{"start":{"line":104,"column":8},"end":{"line":104,"column":64}},"45":{"start":{"line":106,"column":6},"end":{"line":106,"column":null}},"46":{"start":{"line":109,"column":21},"end":{"line":109,"column":23}},"47":{"start":{"line":110,"column":4},"end":{"line":114,"column":null}},"48":{"start":{"line":111,"column":6},"end":{"line":113,"column":null}},"49":{"start":{"line":112,"column":8},"end":{"line":112,"column":null}},"50":{"start":{"line":116,"column":4},"end":{"line":145,"column":null}},"51":{"start":{"line":117,"column":37},"end":{"line":117,"column":42}},"52":{"start":{"line":117,"column":25},"end":{"line":117,"column":null}},"53":{"start":{"line":120,"column":6},"end":{"line":125,"column":null}},"54":{"start":{"line":121,"column":25},"end":{"line":121,"column":27}},"55":{"start":{"line":122,"column":32},"end":{"line":122,"column":34}},"56":{"start":{"line":123,"column":31},"end":{"line":123,"column":80}},"57":{"start":{"line":124,"column":8},"end":{"line":124,"column":null}},"58":{"start":{"line":127,"column":6},"end":{"line":144,"column":null}},"59":{"start":{"line":128,"column":32},"end":{"line":134,"column":38}},"60":{"start":{"line":138,"column":8},"end":{"line":140,"column":null}},"61":{"start":{"line":139,"column":10},"end":{"line":139,"column":16}},"62":{"start":{"line":142,"column":31},"end":{"line":142,"column":80}},"63":{"start":{"line":143,"column":8},"end":{"line":143,"column":null}},"64":{"start":{"line":146,"column":4},"end":{"line":146,"column":null}},"65":{"start":{"line":150,"column":4},"end":{"line":156,"column":null}},"66":{"start":{"line":151,"column":6},"end":{"line":154,"column":null}},"67":{"start":{"line":152,"column":26},"end":{"line":152,"column":60}},"68":{"start":{"line":153,"column":8},"end":{"line":153,"column":null}},"69":{"start":{"line":155,"column":6},"end":{"line":155,"column":null}},"70":{"start":{"line":160,"column":63},"end":{"line":160,"column":67}},"71":{"start":{"line":163,"column":4},"end":{"line":196,"column":null}},"72":{"start":{"line":164,"column":46},"end":{"line":164,"column":63}},"73":{"start":{"line":165,"column":6},"end":{"line":167,"column":null}},"74":{"start":{"line":166,"column":8},"end":{"line":166,"column":14}},"75":{"start":{"line":168,"column":26},"end":{"line":168,"column":44}},"76":{"start":{"line":169,"column":42},"end":{"line":169,"column":60}},"77":{"start":{"line":170,"column":34},"end":{"line":173,"column":8}},"78":{"start":{"line":171,"column":21},"end":{"line":171,"column":31}},"79":{"start":{"line":172,"column":8},"end":{"line":172,"column":null}},"80":{"start":{"line":174,"column":32},"end":{"line":174,"column":34}},"81":{"start":{"line":176,"column":6},"end":{"line":178,"column":null}},"82":{"start":{"line":176,"column":19},"end":{"line":176,"column":20}},"83":{"start":{"line":177,"column":8},"end":{"line":177,"column":null}},"84":{"start":{"line":180,"column":28},"end":{"line":184,"column":8}},"85":{"start":{"line":181,"column":8},"end":{"line":183,"column":null}},"86":{"start":{"line":182,"column":10},"end":{"line":182,"column":null}},"87":{"start":{"line":183,"column":17},"end":{"line":183,"column":31}},"88":{"start":{"line":186,"column":6},"end":{"line":194,"column":null}},"89":{"start":{"line":187,"column":21},"end":{"line":187,"column":48}},"90":{"start":{"line":188,"column":8},"end":{"line":192,"column":null}},"91":{"start":{"line":189,"column":10},"end":{"line":189,"column":null}},"92":{"start":{"line":191,"column":10},"end":{"line":191,"column":null}},"93":{"start":{"line":195,"column":6},"end":{"line":195,"column":null}},"94":{"start":{"line":200,"column":4},"end":{"line":202,"column":null}},"95":{"start":{"line":201,"column":6},"end":{"line":201,"column":null}},"96":{"start":{"line":203,"column":4},"end":{"line":203,"column":null}},"97":{"start":{"line":207,"column":18},"end":{"line":207,"column":19}},"98":{"start":{"line":208,"column":4},"end":{"line":212,"column":null}},"99":{"start":{"line":209,"column":6},"end":{"line":211,"column":null}},"100":{"start":{"line":210,"column":8},"end":{"line":210,"column":null}},"101":{"start":{"line":213,"column":4},"end":{"line":213,"column":null}},"102":{"start":{"line":217,"column":18},"end":{"line":217,"column":19}},"103":{"start":{"line":218,"column":4},"end":{"line":226,"column":null}},"104":{"start":{"line":219,"column":6},"end":{"line":225,"column":null}},"105":{"start":{"line":224,"column":8},"end":{"line":224,"column":null}},"106":{"start":{"line":227,"column":4},"end":{"line":227,"column":null}},"107":{"start":{"line":231,"column":4},"end":{"line":231,"column":null}},"108":{"start":{"line":235,"column":4},"end":{"line":241,"column":null}},"109":{"start":{"line":236,"column":6},"end":{"line":240,"column":null}},"110":{"start":{"line":237,"column":8},"end":{"line":239,"column":null}},"111":{"start":{"line":242,"column":4},"end":{"line":242,"column":null}},"112":{"start":{"line":246,"column":4},"end":{"line":248,"column":null}},"113":{"start":{"line":247,"column":6},"end":{"line":247,"column":null}},"114":{"start":{"line":252,"column":9},"end":{"line":252,"column":15}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":35,"column":2},"end":{"line":35,"column":14}},"loc":{"start":{"line":35,"column":49},"end":{"line":44,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":46,"column":10},"end":{"line":46,"column":19}},"loc":{"start":{"line":46,"column":19},"end":{"line":50,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":47,"column":40},"end":{"line":47,"column":45}},"loc":{"start":{"line":47,"column":48},"end":{"line":49,"column":5}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":52,"column":10},"end":{"line":52,"column":19}},"loc":{"start":{"line":52,"column":19},"end":{"line":61,"column":3}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":59,"column":31},"end":{"line":59,"column":34}},"loc":{"start":{"line":59,"column":38},"end":{"line":59,"column":52}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":63,"column":10},"end":{"line":63,"column":37}},"loc":{"start":{"line":63,"column":37},"end":{"line":83,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":71,"column":18},"end":{"line":71,"column":19}},"loc":{"start":{"line":71,"column":45},"end":{"line":81,"column":5}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":85,"column":10},"end":{"line":85,"column":30}},"loc":{"start":{"line":85,"column":30},"end":{"line":92,"column":3}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":87,"column":34},"end":{"line":87,"column":35}},"loc":{"start":{"line":87,"column":54},"end":{"line":90,"column":5}}},"9":{"name":"(anonymous_9)","decl":{"start":{"line":94,"column":10},"end":{"line":94,"column":26}},"loc":{"start":{"line":94,"column":26},"end":{"line":97,"column":3}}},"10":{"name":"(anonymous_10)","decl":{"start":{"line":99,"column":10},"end":{"line":99,"column":21}},"loc":{"start":{"line":99,"column":21},"end":{"line":147,"column":3}}},"11":{"name":"(anonymous_11)","decl":{"start":{"line":102,"column":28},"end":{"line":102,"column":29}},"loc":{"start":{"line":102,"column":42},"end":{"line":107,"column":5}}},"12":{"name":"(anonymous_12)","decl":{"start":{"line":103,"column":37},"end":{"line":103,"column":38}},"loc":{"start":{"line":103,"column":52},"end":{"line":105,"column":7}}},"13":{"name":"(anonymous_13)","decl":{"start":{"line":116,"column":19},"end":{"line":116,"column":20}},"loc":{"start":{"line":116,"column":34},"end":{"line":145,"column":5}}},"14":{"name":"(anonymous_14)","decl":{"start":{"line":127,"column":20},"end":{"line":127,"column":21}},"loc":{"start":{"line":127,"column":49},"end":{"line":144,"column":7}}},"15":{"name":"(anonymous_15)","decl":{"start":{"line":149,"column":10},"end":{"line":149,"column":26}},"loc":{"start":{"line":149,"column":26},"end":{"line":157,"column":3}}},"16":{"name":"(anonymous_16)","decl":{"start":{"line":150,"column":52},"end":{"line":150,"column":53}},"loc":{"start":{"line":150,"column":69},"end":{"line":156,"column":5}}},"17":{"name":"(anonymous_17)","decl":{"start":{"line":159,"column":10},"end":{"line":159,"column":42}},"loc":{"start":{"line":159,"column":42},"end":{"line":197,"column":3}}},"18":{"name":"(anonymous_18)","decl":{"start":{"line":163,"column":25},"end":{"line":163,"column":26}},"loc":{"start":{"line":163,"column":42},"end":{"line":196,"column":5}}},"19":{"name":"(anonymous_19)","decl":{"start":{"line":170,"column":50},"end":{"line":170,"column":51}},"loc":{"start":{"line":170,"column":73},"end":{"line":173,"column":7}}},"20":{"name":"(anonymous_20)","decl":{"start":{"line":180,"column":51},"end":{"line":180,"column":52}},"loc":{"start":{"line":180,"column":68},"end":{"line":184,"column":7}}},"21":{"name":"(anonymous_21)","decl":{"start":{"line":186,"column":24},"end":{"line":186,"column":25}},"loc":{"start":{"line":186,"column":41},"end":{"line":194,"column":7}}},"22":{"name":"(anonymous_22)","decl":{"start":{"line":199,"column":2},"end":{"line":199,"column":19}},"loc":{"start":{"line":199,"column":19},"end":{"line":204,"column":3}}},"23":{"name":"(anonymous_23)","decl":{"start":{"line":206,"column":2},"end":{"line":206,"column":29}},"loc":{"start":{"line":206,"column":46},"end":{"line":214,"column":3}}},"24":{"name":"(anonymous_24)","decl":{"start":{"line":208,"column":29},"end":{"line":208,"column":30}},"loc":{"start":{"line":208,"column":46},"end":{"line":212,"column":5}}},"25":{"name":"(anonymous_25)","decl":{"start":{"line":216,"column":2},"end":{"line":216,"column":35}},"loc":{"start":{"line":216,"column":70},"end":{"line":228,"column":3}}},"26":{"name":"(anonymous_26)","decl":{"start":{"line":218,"column":29},"end":{"line":218,"column":30}},"loc":{"start":{"line":218,"column":46},"end":{"line":226,"column":5}}},"27":{"name":"(anonymous_27)","decl":{"start":{"line":230,"column":2},"end":{"line":230,"column":11}},"loc":{"start":{"line":230,"column":11},"end":{"line":232,"column":3}}},"28":{"name":"(anonymous_28)","decl":{"start":{"line":234,"column":2},"end":{"line":234,"column":21}},"loc":{"start":{"line":234,"column":38},"end":{"line":243,"column":3}}},"29":{"name":"(anonymous_29)","decl":{"start":{"line":236,"column":41},"end":{"line":236,"column":42}},"loc":{"start":{"line":236,"column":57},"end":{"line":240,"column":7}}},"30":{"name":"(anonymous_30)","decl":{"start":{"line":245,"column":2},"end":{"line":245,"column":21}},"loc":{"start":{"line":245,"column":38},"end":{"line":249,"column":3}}},"31":{"name":"(anonymous_31)","decl":{"start":{"line":246,"column":39},"end":{"line":246,"column":40}},"loc":{"start":{"line":246,"column":56},"end":{"line":248,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":38,"column":4},"end":{"line":38,"column":14}},"type":"binary-expr","locations":[{"start":{"line":38,"column":4},"end":{"line":38,"column":14}},{"start":{"line":38,"column":18},"end":{"line":38,"column":41}}]},"1":{"loc":{"start":{"line":39,"column":4},"end":{"line":39,"column":23}},"type":"binary-expr","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":23}},{"start":{"line":39,"column":27},"end":{"line":39,"column":45}}]},"2":{"loc":{"start":{"line":40,"column":4},"end":{"line":40,"column":23}},"type":"binary-expr","locations":[{"start":{"line":40,"column":4},"end":{"line":40,"column":23}},{"start":{"line":40,"column":27},"end":{"line":40,"column":43}}]},"3":{"loc":{"start":{"line":41,"column":4},"end":{"line":41,"column":23}},"type":"binary-expr","locations":[{"start":{"line":41,"column":4},"end":{"line":41,"column":23}},{"start":{"line":41,"column":27},"end":{"line":41,"column":43}}]},"4":{"loc":{"start":{"line":42,"column":4},"end":{"line":42,"column":23}},"type":"binary-expr","locations":[{"start":{"line":42,"column":4},"end":{"line":42,"column":23}},{"start":{"line":42,"column":27},"end":{"line":42,"column":37}},{"start":{"line":42,"column":41},"end":{"line":42,"column":64}}]},"5":{"loc":{"start":{"line":43,"column":4},"end":{"line":43,"column":23}},"type":"binary-expr","locations":[{"start":{"line":43,"column":4},"end":{"line":43,"column":23}},{"start":{"line":43,"column":27},"end":{"line":43,"column":37}},{"start":{"line":43,"column":41},"end":{"line":43,"column":80}}]},"6":{"loc":{"start":{"line":55,"column":6},"end":{"line":57,"column":null}},"type":"if","locations":[{"start":{"line":55,"column":6},"end":{"line":57,"column":null}},{"start":{"line":55,"column":6},"end":{"line":57,"column":null}}]},"7":{"loc":{"start":{"line":59,"column":11},"end":{"line":59,"column":15}},"type":"binary-expr","locations":[{"start":{"line":59,"column":11},"end":{"line":59,"column":15}},{"start":{"line":59,"column":19},"end":{"line":59,"column":61}}]},"8":{"loc":{"start":{"line":64,"column":4},"end":{"line":66,"column":60}},"type":"if","locations":[{"start":{"line":64,"column":4},"end":{"line":66,"column":60}},{"start":{"line":64,"column":4},"end":{"line":66,"column":60}}]},"9":{"loc":{"start":{"line":64,"column":8},"end":{"line":64,"column":19}},"type":"binary-expr","locations":[{"start":{"line":64,"column":8},"end":{"line":64,"column":19}},{"start":{"line":65,"column":9},"end":{"line":65,"column":28}},{"start":{"line":66,"column":9},"end":{"line":66,"column":52}}]},"10":{"loc":{"start":{"line":73,"column":17},"end":{"line":73,"column":44}},"type":"binary-expr","locations":[{"start":{"line":73,"column":17},"end":{"line":73,"column":44}},{"start":{"line":73,"column":48},"end":{"line":73,"column":49}}]},"11":{"loc":{"start":{"line":74,"column":6},"end":{"line":77,"column":null}},"type":"if","locations":[{"start":{"line":74,"column":6},"end":{"line":77,"column":null}},{"start":{"line":74,"column":6},"end":{"line":77,"column":null}}]},"12":{"loc":{"start":{"line":74,"column":10},"end":{"line":74,"column":17}},"type":"binary-expr","locations":[{"start":{"line":74,"column":10},"end":{"line":74,"column":17}},{"start":{"line":74,"column":21},"end":{"line":74,"column":35}},{"start":{"line":74,"column":39},"end":{"line":74,"column":57}}]},"13":{"loc":{"start":{"line":120,"column":6},"end":{"line":125,"column":null}},"type":"if","locations":[{"start":{"line":120,"column":6},"end":{"line":125,"column":null}},{"start":{"line":120,"column":6},"end":{"line":125,"column":null}}]},"14":{"loc":{"start":{"line":120,"column":10},"end":{"line":120,"column":27}},"type":"binary-expr","locations":[{"start":{"line":120,"column":10},"end":{"line":120,"column":27}},{"start":{"line":120,"column":31},"end":{"line":120,"column":51}}]},"15":{"loc":{"start":{"line":128,"column":32},"end":{"line":128,"column":54}},"type":"binary-expr","locations":[{"start":{"line":128,"column":32},"end":{"line":128,"column":54}},{"start":{"line":129,"column":13},"end":{"line":129,"column":52}},{"start":{"line":130,"column":13},"end":{"line":130,"column":45}},{"start":{"line":131,"column":13},"end":{"line":131,"column":49}},{"start":{"line":132,"column":13},"end":{"line":132,"column":60}},{"start":{"line":133,"column":13},"end":{"line":133,"column":62}},{"start":{"line":134,"column":13},"end":{"line":134,"column":38}}]},"16":{"loc":{"start":{"line":138,"column":8},"end":{"line":140,"column":null}},"type":"if","locations":[{"start":{"line":138,"column":8},"end":{"line":140,"column":null}},{"start":{"line":138,"column":8},"end":{"line":140,"column":null}}]},"17":{"loc":{"start":{"line":138,"column":12},"end":{"line":138,"column":56}},"type":"binary-expr","locations":[{"start":{"line":138,"column":12},"end":{"line":138,"column":56}},{"start":{"line":138,"column":60},"end":{"line":138,"column":98}}]},"18":{"loc":{"start":{"line":151,"column":6},"end":{"line":154,"column":null}},"type":"if","locations":[{"start":{"line":151,"column":6},"end":{"line":154,"column":null}},{"start":{"line":151,"column":6},"end":{"line":154,"column":null}}]},"19":{"loc":{"start":{"line":165,"column":6},"end":{"line":167,"column":null}},"type":"if","locations":[{"start":{"line":165,"column":6},"end":{"line":167,"column":null}},{"start":{"line":165,"column":6},"end":{"line":167,"column":null}}]},"20":{"loc":{"start":{"line":181,"column":8},"end":{"line":183,"column":null}},"type":"if","locations":[{"start":{"line":181,"column":8},"end":{"line":183,"column":null}},{"start":{"line":181,"column":8},"end":{"line":183,"column":null}}]},"21":{"loc":{"start":{"line":181,"column":12},"end":{"line":181,"column":32}},"type":"binary-expr","locations":[{"start":{"line":181,"column":12},"end":{"line":181,"column":32}},{"start":{"line":181,"column":36},"end":{"line":181,"column":60}}]},"22":{"loc":{"start":{"line":188,"column":8},"end":{"line":192,"column":null}},"type":"if","locations":[{"start":{"line":188,"column":8},"end":{"line":192,"column":null}},{"start":{"line":188,"column":8},"end":{"line":192,"column":null}}]},"23":{"loc":{"start":{"line":200,"column":4},"end":{"line":202,"column":null}},"type":"if","locations":[{"start":{"line":200,"column":4},"end":{"line":202,"column":null}},{"start":{"line":200,"column":4},"end":{"line":202,"column":null}}]},"24":{"loc":{"start":{"line":200,"column":8},"end":{"line":200,"column":28}},"type":"binary-expr","locations":[{"start":{"line":200,"column":8},"end":{"line":200,"column":28}},{"start":{"line":200,"column":32},"end":{"line":200,"column":59}}]},"25":{"loc":{"start":{"line":209,"column":6},"end":{"line":211,"column":null}},"type":"if","locations":[{"start":{"line":209,"column":6},"end":{"line":211,"column":null}},{"start":{"line":209,"column":6},"end":{"line":211,"column":null}}]},"26":{"loc":{"start":{"line":209,"column":10},"end":{"line":209,"column":24}},"type":"binary-expr","locations":[{"start":{"line":209,"column":10},"end":{"line":209,"column":24}},{"start":{"line":209,"column":28},"end":{"line":209,"column":83}}]},"27":{"loc":{"start":{"line":219,"column":6},"end":{"line":225,"column":null}},"type":"if","locations":[{"start":{"line":219,"column":6},"end":{"line":225,"column":null}},{"start":{"line":219,"column":6},"end":{"line":225,"column":null}}]},"28":{"loc":{"start":{"line":219,"column":10},"end":{"line":219,"column":24}},"type":"binary-expr","locations":[{"start":{"line":219,"column":10},"end":{"line":219,"column":24}},{"start":{"line":220,"column":11},"end":{"line":220,"column":66}},{"start":{"line":221,"column":11},"end":{"line":221,"column":27}},{"start":{"line":222,"column":11},"end":{"line":222,"column":32}},{"start":{"line":223,"column":11},"end":{"line":223,"column":45}}]},"29":{"loc":{"start":{"line":231,"column":34},"end":{"line":231,"column":54}},"type":"cond-expr","locations":[{"start":{"line":231,"column":34},"end":{"line":231,"column":54}},{"start":{"line":231,"column":57},"end":{"line":231,"column":59}}]},"30":{"loc":{"start":{"line":235,"column":4},"end":{"line":241,"column":null}},"type":"if","locations":[{"start":{"line":235,"column":4},"end":{"line":241,"column":null}},{"start":{"line":235,"column":4},"end":{"line":241,"column":null}}]},"31":{"loc":{"start":{"line":235,"column":7},"end":{"line":235,"column":27}},"type":"binary-expr","locations":[{"start":{"line":235,"column":7},"end":{"line":235,"column":27}},{"start":{"line":235,"column":31},"end":{"line":235,"column":58}}]},"32":{"loc":{"start":{"line":237,"column":16},"end":{"line":237,"column":32}},"type":"binary-expr","locations":[{"start":{"line":237,"column":16},"end":{"line":237,"column":32}},{"start":{"line":238,"column":13},"end":{"line":238,"column":34}},{"start":{"line":239,"column":13},"end":{"line":239,"column":47}}]},"33":{"loc":{"start":{"line":247,"column":14},"end":{"line":247,"column":28}},"type":"binary-expr","locations":[{"start":{"line":247,"column":14},"end":{"line":247,"column":28}},{"start":{"line":247,"column":32},"end":{"line":247,"column":87}}]}},"s":{"0":1,"1":6,"2":6,"3":6,"4":6,"5":6,"6":6,"7":6,"8":6,"9":4,"10":4,"11":4,"12":4,"13":4,"14":3,"15":4,"16":6,"17":4,"18":3,"19":0,"20":3,"21":3,"22":3,"23":42,"24":42,"25":42,"26":36,"27":36,"28":6,"29":6,"30":6,"31":3,"32":3,"33":42,"34":42,"35":42,"36":42,"37":3,"38":3,"39":3,"40":4,"41":4,"42":4,"43":4,"44":62,"45":4,"46":4,"47":4,"48":4,"49":62,"50":4,"51":62,"52":62,"53":62,"54":3,"55":3,"56":3,"57":3,"58":62,"59":73,"60":73,"61":14,"62":59,"63":59,"64":4,"65":2,"66":53,"67":52,"68":52,"69":53,"70":2,"71":2,"72":40,"73":40,"74":36,"75":4,"76":4,"77":4,"78":447,"79":447,"80":4,"81":4,"82":4,"83":447,"84":4,"85":28,"86":24,"87":4,"88":4,"89":6,"90":6,"91":0,"92":6,"93":4,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":1},"f":{"0":6,"1":4,"2":4,"3":4,"4":6,"5":3,"6":42,"7":3,"8":42,"9":3,"10":4,"11":4,"12":62,"13":62,"14":73,"15":2,"16":53,"17":2,"18":40,"19":447,"20":28,"21":6,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0},"b":{"0":[6,3],"1":[6,4],"2":[6,4],"3":[6,4],"4":[6,4,2],"5":[6,4,2],"6":[3,1],"7":[4,4],"8":[0,3],"9":[3,3,3],"10":[42,38],"11":[36,6],"12":[42,6,6],"13":[3,59],"14":[62,59],"15":[73,22,22,22,22,22,22],"16":[14,59],"17":[73,72],"18":[52,1],"19":[36,4],"20":[24,4],"21":[28,24],"22":[0,6],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0,0,0,0],"29":[0,0],"30":[0,0],"31":[0,0],"32":[0,0,0],"33":[0,0]}}
,"/Users/boss/git/mythx/mythx-reports-helper/src/index.ts": {"path":"/Users/boss/git/mythx/mythx-reports-helper/src/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}},"1":{"start":{"line":4,"column":8},"end":{"line":1,"column":44}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":8}},"3":{"start":{"line":4,"column":16},"end":{"line":2,"column":43}}},"fnMap":{},"branchMap":{},"s":{"0":0,"1":0,"2":0,"3":0},"f":{},"b":{}}
}
{
"name": "mythx-report-helper",
"version": "0.0.2",
"version": "0.0.3",
"description": "TS helper to manage mythx reports",

@@ -5,0 +5,0 @@ "engines": {

@@ -1,78 +0,21 @@

[![TypeScript version][ts-badge]][typescript-35]
[![Node.js version][nodejs-badge]][nodejs]
[![APLv2][license-badge]][LICENSE]
[![Build Status][travis-badge]][travis-ci]
MythX Report Helper
[![Donate][donate-badge]][donate]
Usage
# node-typescript-boilerplate
```js
import { Report } from 'mythx-report-helper'
Minimalistic boilerplate to jump-start a [Node.js][nodejs] project in [TypeScript][typescript] [3.5][typescript-35].
const apiIssues = await getReportFromMythxAPI(...)
const apiInput = await getIssuesFromMythxAPI(...)
What's included:
const report = new Report(apiIssues, apiInput)
+ [TypeScript][typescript] [3.5][typescript-35],
+ [TSLint][tslint] with [Microsoft rules][tslint-microsoft-contrib],
+ [Jest][jest] unit testing and code coverage,
+ Type definitions for Node.js and Jest,
+ [Prettier][prettier] to enforce a consistent code style,
+ [NPM scripts for common operations](#available-scripts),
+ a simple example of TypeScript code and unit test,
+ .editorconfig for consistent file format.
// then you can do stuff like
## Quick start
This project is intended to be used with the latest Active LTS release of [Node.js][nodejs]. To start, just clone the repository with following commands:
```sh
git clone https://github.com/jsynowiec/node-typescript-boilerplate
cd node-typescript-boilerplate
npm install
report.getIssuesBySeverity(severity: string)
report.getIssuesByFilename(fileName: string)
report.getIssues()
report.getNumberOfIssuesBySeverityByFile(severity: string, fileName: string)
report.getNumberOfIssuesBySeverity(severity: string)
report.getNumberOfIssues()
```
or download and unzip current `master` branch:
```sh
wget https://github.com/jsynowiec/node-typescript-boilerplate/archive/master.zip -O node-typescript-boilerplate
unzip node-typescript-boilerplate.zip && rm node-typescript-boilerplate.zip
```
Now start adding your code in the `src` and unit tests in the `__tests__` directories. Have fun and build amazing things 🚀
### Unit tests in JavaScript
Writing unit tests in TypeScript can sometimes be troublesome and confusing. Especially when mocking dependencies and using spies.
This is **optional**, but if you want to learn how to write JavaScript tests for TypeScript modules, read the [corresponding wiki page][wiki-js-tests].
## Available scripts
+ `clean` - remove coverage data, Jest cache and transpiled files,
+ `build` - transpile TypeScript to ES6,
+ `build:watch` - interactive watch mode to automatically transpile source files,
+ `lint` - lint source files and tests,
+ `test` - run tests,
+ `test:watch` - interactive watch mode to automatically re-run tests
## License
Licensed under the APLv2. See the [LICENSE](https://github.com/jsynowiec/node-typescript-boilerplate/blob/master/LICENSE) file for details.
[ts-badge]: https://img.shields.io/badge/TypeScript-3.5-blue.svg
[nodejs-badge]: https://img.shields.io/badge/Node.js->=%2010.13-blue.svg
[nodejs]: https://nodejs.org/dist/latest-v10.x/docs/api/
[travis-badge]: https://travis-ci.org/jsynowiec/node-typescript-boilerplate.svg?branch=master
[travis-ci]: https://travis-ci.org/jsynowiec/node-typescript-boilerplate
[typescript]: https://www.typescriptlang.org/
[typescript-35]: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html
[license-badge]: https://img.shields.io/badge/license-APLv2-blue.svg
[license]: https://github.com/jsynowiec/node-typescript-boilerplate/blob/master/LICENSE
[donate-badge]: https://img.shields.io/badge/☕-buy%20me%20a%20coffee-46b798.svg
[donate]: https://paypal.me/jaqb/5eur
[jest]: https://facebook.github.io/jest/
[tslint]: https://palantir.github.io/tslint/
[tslint-microsoft-contrib]: https://github.com/Microsoft/tslint-microsoft-contrib
[wiki-js-tests]: https://github.com/jsynowiec/node-typescript-boilerplate/wiki/Unit-tests-in-plain-JavaScript
[prettier]: https://prettier.io
# mythx-report-helper
import { Issue } from './Issue'
export interface MythXReport {
meta: any,
issues: {

@@ -27,6 +28,9 @@ decodedLocations?: { line: string, column: string }[][] | undefined

processedIssues: Issue[]
issuesBySourceFile: any
issuesBySourceFile: any,
meta: any[],
logs: {msg: string, level: string}[]
}
class Report {
constructor(issues?: MythXReport[], input?: any) {

@@ -37,2 +41,4 @@ this.originalIssues = issues

this.originalIssues && this.setupIssues()
this.originalIssues && this.setupMeta()
this.originalIssues && this.setupLogs()
this.originalIssues && this.input && this.matchSourceFiles()

@@ -42,2 +48,19 @@ this.originalIssues && this.input && this.indexVulnerabilitiesByLineNumber()

private setupMeta(){
this.meta = this.originalIssues.map(issue =>{
return issue.meta
})
}
private setupLogs(){
let logs:any= []
for(let issueMeta of this.meta){
if(issueMeta.logs){
logs = [...logs, ...issueMeta.logs]
}
}
logs = logs && logs.filter(log => log.length!==0).flat(1)
this.logs = logs
}
private createSourceFilesDictionary() {

@@ -44,0 +67,0 @@ if (!this.input

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

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

Sorry, the diff of this file is too big to display

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