effects-as-data
Advanced tools
Comparing version 3.0.10 to 3.0.11
@@ -1,11 +0,11 @@ | ||
{"/Users/frankieorourke/code/effects-as-data/src/cmds.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/cmds.js","statementMap":{"0":{"start":{"line":2,"column":20},"end":{"line":2,"column":46}},"1":{"start":{"line":3,"column":2},"end":{"line":3,"column":36}},"2":{"start":{"line":3,"column":17},"end":{"line":3,"column":36}},"3":{"start":{"line":4,"column":2},"end":{"line":8,"column":4}},"4":{"start":{"line":12,"column":2},"end":{"line":16,"column":4}},"5":{"start":{"line":20,"column":2},"end":{"line":25,"column":4}},"6":{"start":{"line":29,"column":2},"end":{"line":33,"column":4}},"7":{"start":{"line":37,"column":2},"end":{"line":42,"column":4}},"8":{"start":{"line":46,"column":2},"end":{"line":49,"column":4}},"9":{"start":{"line":53,"column":2},"end":{"line":53,"column":46}},"10":{"start":{"line":53,"column":13},"end":{"line":53,"column":46}},"11":{"start":{"line":54,"column":2},"end":{"line":57,"column":4}},"12":{"start":{"line":61,"column":2},"end":{"line":64,"column":4}},"13":{"start":{"line":68,"column":2},"end":{"line":71,"column":4}},"14":{"start":{"line":75,"column":2},"end":{"line":78,"column":4}},"15":{"start":{"line":82,"column":2},"end":{"line":86,"column":4}},"16":{"start":{"line":90,"column":2},"end":{"line":93,"column":4}},"17":{"start":{"line":97,"column":2},"end":{"line":101,"column":4}},"18":{"start":{"line":105,"column":2},"end":{"line":108,"column":4}},"19":{"start":{"line":112,"column":2},"end":{"line":115,"column":4}},"20":{"start":{"line":119,"column":2},"end":{"line":122,"column":4}},"21":{"start":{"line":126,"column":2},"end":{"line":129,"column":4}},"22":{"start":{"line":133,"column":2},"end":{"line":136,"column":4}},"23":{"start":{"line":140,"column":2},"end":{"line":142,"column":4}},"24":{"start":{"line":146,"column":2},"end":{"line":150,"column":4}},"25":{"start":{"line":154,"column":0},"end":{"line":154,"column":17}},"26":{"start":{"line":155,"column":0},"end":{"line":155,"column":27}},"27":{"start":{"line":156,"column":0},"end":{"line":156,"column":29}},"28":{"start":{"line":157,"column":0},"end":{"line":157,"column":39}},"29":{"start":{"line":159,"column":0},"end":{"line":182,"column":2}}},"fnMap":{"0":{"name":"call","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}},"loc":{"start":{"line":1,"column":27},"end":{"line":9,"column":1}},"line":1},"1":{"name":"callFn","decl":{"start":{"line":11,"column":9},"end":{"line":11,"column":15}},"loc":{"start":{"line":11,"column":29},"end":{"line":17,"column":1}},"line":11},"2":{"name":"callFnBound","decl":{"start":{"line":19,"column":9},"end":{"line":19,"column":20}},"loc":{"start":{"line":19,"column":44},"end":{"line":26,"column":1}},"line":19},"3":{"name":"callCallback","decl":{"start":{"line":28,"column":9},"end":{"line":28,"column":21}},"loc":{"start":{"line":28,"column":35},"end":{"line":34,"column":1}},"line":28},"4":{"name":"callCallbackBound","decl":{"start":{"line":36,"column":9},"end":{"line":36,"column":26}},"loc":{"start":{"line":36,"column":50},"end":{"line":43,"column":1}},"line":36},"5":{"name":"echo","decl":{"start":{"line":45,"column":9},"end":{"line":45,"column":13}},"loc":{"start":{"line":45,"column":23},"end":{"line":50,"column":1}},"line":45},"6":{"name":"globalVariable","decl":{"start":{"line":52,"column":9},"end":{"line":52,"column":23}},"loc":{"start":{"line":52,"column":30},"end":{"line":58,"column":1}},"line":52},"7":{"name":"log","decl":{"start":{"line":60,"column":9},"end":{"line":60,"column":12}},"loc":{"start":{"line":60,"column":22},"end":{"line":65,"column":1}},"line":60},"8":{"name":"logError","decl":{"start":{"line":67,"column":9},"end":{"line":67,"column":17}},"loc":{"start":{"line":67,"column":27},"end":{"line":72,"column":1}},"line":67},"9":{"name":"setImmediateCmd","decl":{"start":{"line":74,"column":9},"end":{"line":74,"column":24}},"loc":{"start":{"line":74,"column":30},"end":{"line":79,"column":1}},"line":74},"10":{"name":"setTimeoutCmd","decl":{"start":{"line":81,"column":9},"end":{"line":81,"column":22}},"loc":{"start":{"line":81,"column":34},"end":{"line":87,"column":1}},"line":81},"11":{"name":"clearTimeoutCmd","decl":{"start":{"line":89,"column":9},"end":{"line":89,"column":24}},"loc":{"start":{"line":89,"column":29},"end":{"line":94,"column":1}},"line":89},"12":{"name":"setIntervalCmd","decl":{"start":{"line":96,"column":9},"end":{"line":96,"column":23}},"loc":{"start":{"line":96,"column":35},"end":{"line":102,"column":1}},"line":96},"13":{"name":"clearIntervalCmd","decl":{"start":{"line":104,"column":9},"end":{"line":104,"column":25}},"loc":{"start":{"line":104,"column":30},"end":{"line":109,"column":1}},"line":104},"14":{"name":"sleep","decl":{"start":{"line":111,"column":9},"end":{"line":111,"column":14}},"loc":{"start":{"line":111,"column":21},"end":{"line":116,"column":1}},"line":111},"15":{"name":"series","decl":{"start":{"line":118,"column":9},"end":{"line":118,"column":15}},"loc":{"start":{"line":118,"column":25},"end":{"line":123,"column":1}},"line":118},"16":{"name":"parallel","decl":{"start":{"line":125,"column":9},"end":{"line":125,"column":17}},"loc":{"start":{"line":125,"column":27},"end":{"line":130,"column":1}},"line":125},"17":{"name":"envelope","decl":{"start":{"line":132,"column":9},"end":{"line":132,"column":17}},"loc":{"start":{"line":132,"column":23},"end":{"line":137,"column":1}},"line":132},"18":{"name":"now","decl":{"start":{"line":139,"column":9},"end":{"line":139,"column":12}},"loc":{"start":{"line":139,"column":15},"end":{"line":143,"column":1}},"line":139},"19":{"name":"either","decl":{"start":{"line":145,"column":9},"end":{"line":145,"column":15}},"loc":{"start":{"line":145,"column":35},"end":{"line":151,"column":1}},"line":145}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":21},"end":{"line":2,"column":35}},"type":"binary-expr","locations":[{"start":{"line":2,"column":21},"end":{"line":2,"column":29}},{"start":{"line":2,"column":33},"end":{"line":2,"column":35}}],"line":2},"1":{"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":36}},"type":"if","locations":[{"start":{"line":3,"column":2},"end":{"line":3,"column":36}},{"start":{"line":3,"column":2},"end":{"line":3,"column":36}}],"line":3},"2":{"loc":{"start":{"line":53,"column":2},"end":{"line":53,"column":46}},"type":"if","locations":[{"start":{"line":53,"column":2},"end":{"line":53,"column":46}},{"start":{"line":53,"column":2},"end":{"line":53,"column":46}}],"line":53}},"s":{"0":20,"1":20,"2":5,"3":16,"4":10,"5":5,"6":8,"7":7,"8":9,"9":3,"10":1,"11":2,"12":2,"13":2,"14":2,"15":3,"16":2,"17":3,"18":2,"19":8,"20":3,"21":2,"22":3,"23":7,"24":3,"25":4,"26":4,"27":4,"28":4,"29":4},"f":{"0":20,"1":10,"2":5,"3":8,"4":7,"5":9,"6":3,"7":2,"8":2,"9":2,"10":3,"11":2,"12":3,"13":2,"14":8,"15":3,"16":2,"17":3,"18":7,"19":3},"b":{"0":[20,17],"1":[5,15],"2":[1,2]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c557610806119ca632a6ea1bbd8d3fe1a76095c5"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/core.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/core.js","statementMap":{"0":{"start":{"line":1,"column":38},"end":{"line":1,"column":55}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":69}},"2":{"start":{"line":4,"column":16},"end":{"line":4,"column":69}},"3":{"start":{"line":5,"column":2},"end":{"line":5,"column":65}},"4":{"start":{"line":5,"column":11},"end":{"line":5,"column":65}},"5":{"start":{"line":6,"column":14},"end":{"line":6,"column":34}},"6":{"start":{"line":7,"column":13},"end":{"line":7,"column":30}},"7":{"start":{"line":8,"column":23},"end":{"line":8,"column":49}},"8":{"start":{"line":9,"column":2},"end":{"line":9,"column":48}},"9":{"start":{"line":10,"column":2},"end":{"line":15,"column":5}},"10":{"start":{"line":17,"column":2},"end":{"line":20,"column":5}},"11":{"start":{"line":18,"column":4},"end":{"line":18,"column":67}},"12":{"start":{"line":19,"column":4},"end":{"line":19,"column":13}},"13":{"start":{"line":21,"column":16},"end":{"line":21,"column":26}},"14":{"start":{"line":22,"column":2},"end":{"line":22,"column":46}},"15":{"start":{"line":23,"column":2},"end":{"line":52,"column":7}},"16":{"start":{"line":25,"column":6},"end":{"line":25,"column":54}},"17":{"start":{"line":25,"column":40},"end":{"line":25,"column":54}},"18":{"start":{"line":26,"column":18},"end":{"line":26,"column":28}},"19":{"start":{"line":27,"column":6},"end":{"line":35,"column":9}},"20":{"start":{"line":36,"column":6},"end":{"line":36,"column":20}},"21":{"start":{"line":39,"column":6},"end":{"line":39,"column":31}},"22":{"start":{"line":40,"column":6},"end":{"line":40,"column":65}},"23":{"start":{"line":40,"column":40},"end":{"line":40,"column":65}},"24":{"start":{"line":41,"column":18},"end":{"line":41,"column":28}},"25":{"start":{"line":42,"column":6},"end":{"line":50,"column":9}},"26":{"start":{"line":51,"column":6},"end":{"line":51,"column":31}},"27":{"start":{"line":56,"column":2},"end":{"line":81,"column":3}},"28":{"start":{"line":57,"column":29},"end":{"line":57,"column":68}},"29":{"start":{"line":58,"column":4},"end":{"line":58,"column":39}},"30":{"start":{"line":58,"column":14},"end":{"line":58,"column":39}},"31":{"start":{"line":59,"column":19},"end":{"line":59,"column":40}},"32":{"start":{"line":60,"column":25},"end":{"line":60,"column":40}},"33":{"start":{"line":61,"column":4},"end":{"line":78,"column":9}},"34":{"start":{"line":63,"column":33},"end":{"line":63,"column":63}},"35":{"start":{"line":64,"column":8},"end":{"line":64,"column":18}},"36":{"start":{"line":65,"column":8},"end":{"line":73,"column":10}},"37":{"start":{"line":76,"column":8},"end":{"line":76,"column":18}},"38":{"start":{"line":77,"column":8},"end":{"line":77,"column":67}},"39":{"start":{"line":80,"column":4},"end":{"line":80,"column":29}},"40":{"start":{"line":85,"column":2},"end":{"line":87,"column":4}},"41":{"start":{"line":91,"column":2},"end":{"line":91,"column":39}},"42":{"start":{"line":95,"column":34},"end":{"line":95,"column":47}},"43":{"start":{"line":96,"column":2},"end":{"line":96,"column":26}},"44":{"start":{"line":100,"column":2},"end":{"line":108,"column":3}},"45":{"start":{"line":101,"column":15},"end":{"line":102,"column":61}},"46":{"start":{"line":102,"column":6},"end":{"line":102,"column":61}},"47":{"start":{"line":103,"column":21},"end":{"line":103,"column":37}},"48":{"start":{"line":104,"column":4},"end":{"line":104,"column":33}},"49":{"start":{"line":112,"column":16},"end":{"line":112,"column":26}},"50":{"start":{"line":113,"column":2},"end":{"line":120,"column":5}},"51":{"start":{"line":122,"column":2},"end":{"line":131,"column":3}},"52":{"start":{"line":123,"column":24},"end":{"line":123,"column":50}},"53":{"start":{"line":124,"column":4},"end":{"line":127,"column":8}},"54":{"start":{"line":125,"column":6},"end":{"line":127,"column":8}},"55":{"start":{"line":128,"column":4},"end":{"line":128,"column":67}},"56":{"start":{"line":130,"column":4},"end":{"line":130,"column":31}},"57":{"start":{"line":132,"column":2},"end":{"line":165,"column":7}},"58":{"start":{"line":134,"column":6},"end":{"line":134,"column":47}},"59":{"start":{"line":134,"column":38},"end":{"line":134,"column":47}},"60":{"start":{"line":135,"column":18},"end":{"line":135,"column":28}},"61":{"start":{"line":136,"column":6},"end":{"line":146,"column":9}},"62":{"start":{"line":147,"column":6},"end":{"line":147,"column":15}},"63":{"start":{"line":150,"column":6},"end":{"line":150,"column":26}},"64":{"start":{"line":151,"column":6},"end":{"line":151,"column":63}},"65":{"start":{"line":151,"column":38},"end":{"line":151,"column":63}},"66":{"start":{"line":152,"column":18},"end":{"line":152,"column":28}},"67":{"start":{"line":153,"column":6},"end":{"line":163,"column":9}},"68":{"start":{"line":164,"column":6},"end":{"line":164,"column":31}},"69":{"start":{"line":169,"column":2},"end":{"line":169,"column":76}},"70":{"start":{"line":169,"column":69},"end":{"line":169,"column":76}},"71":{"start":{"line":170,"column":12},"end":{"line":177,"column":3}},"72":{"start":{"line":178,"column":2},"end":{"line":178,"column":36}},"73":{"start":{"line":178,"column":14},"end":{"line":178,"column":34}},"74":{"start":{"line":182,"column":2},"end":{"line":182,"column":31}},"75":{"start":{"line":182,"column":24},"end":{"line":182,"column":31}},"76":{"start":{"line":183,"column":2},"end":{"line":183,"column":32}},"77":{"start":{"line":183,"column":25},"end":{"line":183,"column":32}},"78":{"start":{"line":185,"column":2},"end":{"line":185,"column":27}},"79":{"start":{"line":186,"column":2},"end":{"line":186,"column":26}},"80":{"start":{"line":187,"column":2},"end":{"line":187,"column":38}},"81":{"start":{"line":187,"column":14},"end":{"line":187,"column":36}},"82":{"start":{"line":201,"column":12},"end":{"line":212,"column":3}},"83":{"start":{"line":213,"column":2},"end":{"line":213,"column":44}},"84":{"start":{"line":213,"column":14},"end":{"line":213,"column":42}},"85":{"start":{"line":217,"column":2},"end":{"line":217,"column":70}},"86":{"start":{"line":217,"column":63},"end":{"line":217,"column":70}},"87":{"start":{"line":218,"column":12},"end":{"line":222,"column":3}},"88":{"start":{"line":223,"column":2},"end":{"line":223,"column":33}},"89":{"start":{"line":223,"column":14},"end":{"line":223,"column":31}},"90":{"start":{"line":227,"column":12},"end":{"line":235,"column":3}},"91":{"start":{"line":236,"column":2},"end":{"line":236,"column":41}},"92":{"start":{"line":236,"column":14},"end":{"line":236,"column":39}},"93":{"start":{"line":240,"column":25},"end":{"line":240,"column":27}},"94":{"start":{"line":241,"column":2},"end":{"line":246,"column":3}},"95":{"start":{"line":242,"column":4},"end":{"line":245,"column":6}},"96":{"start":{"line":243,"column":27},"end":{"line":243,"column":62}},"97":{"start":{"line":244,"column":6},"end":{"line":244,"column":69}},"98":{"start":{"line":247,"column":2},"end":{"line":247,"column":26}},"99":{"start":{"line":250,"column":0},"end":{"line":253,"column":2}}},"fnMap":{"0":{"name":"call","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":13}},"loc":{"start":{"line":3,"column":50},"end":{"line":53,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":17,"column":46},"end":{"line":17,"column":47}},"loc":{"start":{"line":17,"column":51},"end":{"line":20,"column":3}},"line":17},"2":{"name":"(anonymous_2)","decl":{"start":{"line":24,"column":10},"end":{"line":24,"column":11}},"loc":{"start":{"line":24,"column":20},"end":{"line":37,"column":5}},"line":24},"3":{"name":"(anonymous_3)","decl":{"start":{"line":38,"column":11},"end":{"line":38,"column":12}},"loc":{"start":{"line":38,"column":16},"end":{"line":52,"column":5}},"line":38},"4":{"name":"run","decl":{"start":{"line":55,"column":9},"end":{"line":55,"column":12}},"loc":{"start":{"line":55,"column":79},"end":{"line":82,"column":1}},"line":55},"5":{"name":"(anonymous_5)","decl":{"start":{"line":62,"column":12},"end":{"line":62,"column":13}},"loc":{"start":{"line":62,"column":23},"end":{"line":74,"column":7}},"line":62},"6":{"name":"(anonymous_6)","decl":{"start":{"line":75,"column":13},"end":{"line":75,"column":14}},"loc":{"start":{"line":75,"column":18},"end":{"line":78,"column":7}},"line":75},"7":{"name":"newExecutionLog","decl":{"start":{"line":84,"column":9},"end":{"line":84,"column":24}},"loc":{"start":{"line":84,"column":27},"end":{"line":88,"column":1}},"line":84},"8":{"name":"unwrapResults","decl":{"start":{"line":90,"column":9},"end":{"line":90,"column":22}},"loc":{"start":{"line":90,"column":40},"end":{"line":92,"column":1}},"line":90},"9":{"name":"getNextOutput","decl":{"start":{"line":94,"column":9},"end":{"line":94,"column":22}},"loc":{"start":{"line":94,"column":38},"end":{"line":97,"column":1}},"line":94},"10":{"name":"processCommands","decl":{"start":{"line":99,"column":9},"end":{"line":99,"column":24}},"loc":{"start":{"line":99,"column":66},"end":{"line":109,"column":1}},"line":99},"11":{"name":"(anonymous_11)","decl":{"start":{"line":101,"column":15},"end":{"line":101,"column":16}},"loc":{"start":{"line":102,"column":6},"end":{"line":102,"column":61}},"line":102},"12":{"name":"processCommand","decl":{"start":{"line":111,"column":9},"end":{"line":111,"column":23}},"loc":{"start":{"line":111,"column":71},"end":{"line":166,"column":1}},"line":111},"13":{"name":"(anonymous_13)","decl":{"start":{"line":133,"column":10},"end":{"line":133,"column":11}},"loc":{"start":{"line":133,"column":15},"end":{"line":148,"column":5}},"line":133},"14":{"name":"(anonymous_14)","decl":{"start":{"line":149,"column":11},"end":{"line":149,"column":12}},"loc":{"start":{"line":149,"column":16},"end":{"line":165,"column":5}},"line":149},"15":{"name":"onCommand","decl":{"start":{"line":168,"column":9},"end":{"line":168,"column":18}},"loc":{"start":{"line":168,"column":65},"end":{"line":179,"column":1}},"line":168},"16":{"name":"(anonymous_16)","decl":{"start":{"line":178,"column":8},"end":{"line":178,"column":9}},"loc":{"start":{"line":178,"column":14},"end":{"line":178,"column":34}},"line":178},"17":{"name":"onError","decl":{"start":{"line":181,"column":9},"end":{"line":181,"column":16}},"loc":{"start":{"line":181,"column":33},"end":{"line":188,"column":1}},"line":181},"18":{"name":"(anonymous_18)","decl":{"start":{"line":187,"column":8},"end":{"line":187,"column":9}},"loc":{"start":{"line":187,"column":14},"end":{"line":187,"column":36}},"line":187},"19":{"name":"onCommandComplete","decl":{"start":{"line":190,"column":9},"end":{"line":190,"column":26}},"loc":{"start":{"line":200,"column":3},"end":{"line":214,"column":1}},"line":200},"20":{"name":"(anonymous_20)","decl":{"start":{"line":213,"column":8},"end":{"line":213,"column":9}},"loc":{"start":{"line":213,"column":14},"end":{"line":213,"column":42}},"line":213},"21":{"name":"onCall","decl":{"start":{"line":216,"column":9},"end":{"line":216,"column":15}},"loc":{"start":{"line":216,"column":39},"end":{"line":224,"column":1}},"line":216},"22":{"name":"(anonymous_22)","decl":{"start":{"line":223,"column":8},"end":{"line":223,"column":9}},"loc":{"start":{"line":223,"column":14},"end":{"line":223,"column":31}},"line":223},"23":{"name":"onCallComplete","decl":{"start":{"line":226,"column":9},"end":{"line":226,"column":23}},"loc":{"start":{"line":226,"column":79},"end":{"line":237,"column":1}},"line":226},"24":{"name":"(anonymous_24)","decl":{"start":{"line":236,"column":8},"end":{"line":236,"column":9}},"loc":{"start":{"line":236,"column":14},"end":{"line":236,"column":39}},"line":236},"25":{"name":"buildFunctions","decl":{"start":{"line":239,"column":9},"end":{"line":239,"column":23}},"loc":{"start":{"line":239,"column":58},"end":{"line":248,"column":1}},"line":239},"26":{"name":"(anonymous_26)","decl":{"start":{"line":242,"column":26},"end":{"line":242,"column":27}},"loc":{"start":{"line":242,"column":44},"end":{"line":245,"column":5}},"line":242}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":69}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":69}},{"start":{"line":4,"column":2},"end":{"line":4,"column":69}}],"line":4},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":65}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":5,"column":65}},{"start":{"line":5,"column":2},"end":{"line":5,"column":65}}],"line":5},"2":{"loc":{"start":{"line":9,"column":23},"end":{"line":9,"column":47}},"type":"binary-expr","locations":[{"start":{"line":9,"column":23},"end":{"line":9,"column":41}},{"start":{"line":9,"column":45},"end":{"line":9,"column":47}}],"line":9},"3":{"loc":{"start":{"line":25,"column":6},"end":{"line":25,"column":54}},"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":54}},{"start":{"line":25,"column":6},"end":{"line":25,"column":54}}],"line":25},"4":{"loc":{"start":{"line":40,"column":6},"end":{"line":40,"column":65}},"type":"if","locations":[{"start":{"line":40,"column":6},"end":{"line":40,"column":65}},{"start":{"line":40,"column":6},"end":{"line":40,"column":65}}],"line":40},"5":{"loc":{"start":{"line":55,"column":56},"end":{"line":55,"column":77}},"type":"default-arg","locations":[{"start":{"line":55,"column":71},"end":{"line":55,"column":77}}],"line":55},"6":{"loc":{"start":{"line":58,"column":4},"end":{"line":58,"column":39}},"type":"if","locations":[{"start":{"line":58,"column":4},"end":{"line":58,"column":39}},{"start":{"line":58,"column":4},"end":{"line":58,"column":39}}],"line":58},"7":{"loc":{"start":{"line":91,"column":9},"end":{"line":91,"column":38}},"type":"cond-expr","locations":[{"start":{"line":91,"column":18},"end":{"line":91,"column":25}},{"start":{"line":91,"column":28},"end":{"line":91,"column":38}}],"line":91},"8":{"loc":{"start":{"line":124,"column":4},"end":{"line":127,"column":8}},"type":"if","locations":[{"start":{"line":124,"column":4},"end":{"line":127,"column":8}},{"start":{"line":124,"column":4},"end":{"line":127,"column":8}}],"line":124},"9":{"loc":{"start":{"line":134,"column":6},"end":{"line":134,"column":47}},"type":"if","locations":[{"start":{"line":134,"column":6},"end":{"line":134,"column":47}},{"start":{"line":134,"column":6},"end":{"line":134,"column":47}}],"line":134},"10":{"loc":{"start":{"line":151,"column":6},"end":{"line":151,"column":63}},"type":"if","locations":[{"start":{"line":151,"column":6},"end":{"line":151,"column":63}},{"start":{"line":151,"column":6},"end":{"line":151,"column":63}}],"line":151},"11":{"loc":{"start":{"line":169,"column":2},"end":{"line":169,"column":76}},"type":"if","locations":[{"start":{"line":169,"column":2},"end":{"line":169,"column":76}},{"start":{"line":169,"column":2},"end":{"line":169,"column":76}}],"line":169},"12":{"loc":{"start":{"line":169,"column":6},"end":{"line":169,"column":67}},"type":"binary-expr","locations":[{"start":{"line":169,"column":6},"end":{"line":169,"column":24}},{"start":{"line":169,"column":28},"end":{"line":169,"column":67}}],"line":169},"13":{"loc":{"start":{"line":182,"column":2},"end":{"line":182,"column":31}},"type":"if","locations":[{"start":{"line":182,"column":2},"end":{"line":182,"column":31}},{"start":{"line":182,"column":2},"end":{"line":182,"column":31}}],"line":182},"14":{"loc":{"start":{"line":183,"column":2},"end":{"line":183,"column":32}},"type":"if","locations":[{"start":{"line":183,"column":2},"end":{"line":183,"column":32}},{"start":{"line":183,"column":2},"end":{"line":183,"column":32}}],"line":183},"15":{"loc":{"start":{"line":217,"column":2},"end":{"line":217,"column":70}},"type":"if","locations":[{"start":{"line":217,"column":2},"end":{"line":217,"column":70}},{"start":{"line":217,"column":2},"end":{"line":217,"column":70}}],"line":217},"16":{"loc":{"start":{"line":217,"column":6},"end":{"line":217,"column":61}},"type":"binary-expr","locations":[{"start":{"line":217,"column":6},"end":{"line":217,"column":21}},{"start":{"line":217,"column":25},"end":{"line":217,"column":61}}],"line":217}},"s":{"0":9,"1":122,"2":1,"3":121,"4":1,"5":120,"6":120,"7":120,"8":120,"9":120,"10":120,"11":181,"12":181,"13":120,"14":120,"15":120,"16":78,"17":77,"18":1,"19":1,"20":1,"21":42,"22":42,"23":39,"24":3,"25":3,"26":3,"27":236,"28":236,"29":192,"30":78,"31":114,"32":114,"33":114,"34":80,"35":80,"36":80,"37":36,"38":36,"39":44,"40":120,"41":80,"42":236,"43":192,"44":114,"45":114,"46":119,"47":114,"48":114,"49":119,"50":119,"51":119,"52":119,"53":119,"54":1,"55":118,"56":17,"57":118,"58":85,"59":83,"60":2,"61":2,"62":2,"63":33,"64":33,"65":32,"66":1,"67":1,"68":1,"69":119,"70":115,"71":4,"72":4,"73":4,"74":75,"75":72,"76":3,"77":1,"78":2,"79":2,"80":2,"81":2,"82":3,"83":3,"84":3,"85":120,"86":119,"87":1,"88":1,"89":1,"90":4,"91":4,"92":4,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":9},"f":{"0":122,"1":181,"2":78,"3":42,"4":236,"5":80,"6":36,"7":120,"8":80,"9":236,"10":114,"11":119,"12":119,"13":85,"14":33,"15":119,"16":4,"17":75,"18":2,"19":3,"20":3,"21":120,"22":1,"23":4,"24":4,"25":1,"26":1},"b":{"0":[1,121],"1":[1,120],"2":[120,89],"3":[77,1],"4":[39,3],"5":[120],"6":[78,114],"7":[6,74],"8":[1,118],"9":[83,2],"10":[32,1],"11":[115,4],"12":[119,4],"13":[72,3],"14":[1,2],"15":[119,1],"16":[120,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"bf974344304df3d821fb04a6aef0ca8a215c88eb"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/index.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/index.js","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":1,"column":30}},"1":{"start":{"line":2,"column":17},"end":{"line":2,"column":34}},"2":{"start":{"line":3,"column":25},"end":{"line":3,"column":50}},"3":{"start":{"line":5,"column":19},"end":{"line":5,"column":54}},"4":{"start":{"line":6,"column":14},"end":{"line":6,"column":16}},"5":{"start":{"line":9,"column":2},"end":{"line":9,"column":35}},"6":{"start":{"line":9,"column":25},"end":{"line":9,"column":35}},"7":{"start":{"line":10,"column":20},"end":{"line":10,"column":32}},"8":{"start":{"line":11,"column":19},"end":{"line":20,"column":3}},"9":{"start":{"line":12,"column":4},"end":{"line":18,"column":5}},"10":{"start":{"line":13,"column":6},"end":{"line":17,"column":7}},"11":{"start":{"line":14,"column":8},"end":{"line":14,"column":27}},"12":{"start":{"line":16,"column":8},"end":{"line":16,"column":33}},"13":{"start":{"line":19,"column":4},"end":{"line":19,"column":57}},"14":{"start":{"line":26,"column":2},"end":{"line":31,"column":16}},"15":{"start":{"line":27,"column":4},"end":{"line":30,"column":7}},"16":{"start":{"line":32,"column":2},"end":{"line":32,"column":22}},"17":{"start":{"line":34,"column":2},"end":{"line":43,"column":4}},"18":{"start":{"line":35,"column":4},"end":{"line":41,"column":5}},"19":{"start":{"line":36,"column":6},"end":{"line":40,"column":7}},"20":{"start":{"line":37,"column":8},"end":{"line":37,"column":27}},"21":{"start":{"line":39,"column":8},"end":{"line":39,"column":33}},"22":{"start":{"line":42,"column":4},"end":{"line":42,"column":79}},"23":{"start":{"line":45,"column":2},"end":{"line":45,"column":33}},"24":{"start":{"line":47,"column":2},"end":{"line":47,"column":18}},"25":{"start":{"line":51,"column":2},"end":{"line":51,"column":14}},"26":{"start":{"line":55,"column":2},"end":{"line":55,"column":17}},"27":{"start":{"line":59,"column":2},"end":{"line":59,"column":42}},"28":{"start":{"line":63,"column":2},"end":{"line":63,"column":19}},"29":{"start":{"line":67,"column":2},"end":{"line":67,"column":22}},"30":{"start":{"line":71,"column":2},"end":{"line":71,"column":52}},"31":{"start":{"line":75,"column":2},"end":{"line":75,"column":20}},"32":{"start":{"line":76,"column":2},"end":{"line":76,"column":15}},"33":{"start":{"line":79,"column":0},"end":{"line":90,"column":3}}},"fnMap":{"0":{"name":"promisify","decl":{"start":{"line":8,"column":9},"end":{"line":8,"column":18}},"loc":{"start":{"line":8,"column":23},"end":{"line":48,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":11,"column":19},"end":{"line":11,"column":20}},"loc":{"start":{"line":11,"column":37},"end":{"line":20,"column":3}},"line":11},"2":{"name":"(anonymous_2)","decl":{"start":{"line":34,"column":29},"end":{"line":34,"column":30}},"loc":{"start":{"line":34,"column":50},"end":{"line":43,"column":3}},"line":34},"3":{"name":"setContext","decl":{"start":{"line":50,"column":9},"end":{"line":50,"column":19}},"loc":{"start":{"line":50,"column":23},"end":{"line":52,"column":1}},"line":50},"4":{"name":"getContext","decl":{"start":{"line":54,"column":9},"end":{"line":54,"column":19}},"loc":{"start":{"line":54,"column":22},"end":{"line":56,"column":1}},"line":54},"5":{"name":"addToContext","decl":{"start":{"line":58,"column":9},"end":{"line":58,"column":21}},"loc":{"start":{"line":58,"column":25},"end":{"line":60,"column":1}},"line":58},"6":{"name":"setInterpreters","decl":{"start":{"line":62,"column":9},"end":{"line":62,"column":24}},"loc":{"start":{"line":62,"column":28},"end":{"line":64,"column":1}},"line":62},"7":{"name":"getInterpreters","decl":{"start":{"line":66,"column":9},"end":{"line":66,"column":24}},"loc":{"start":{"line":66,"column":27},"end":{"line":68,"column":1}},"line":66},"8":{"name":"addInterpreters","decl":{"start":{"line":70,"column":9},"end":{"line":70,"column":24}},"loc":{"start":{"line":70,"column":28},"end":{"line":72,"column":1}},"line":70},"9":{"name":"reset","decl":{"start":{"line":74,"column":9},"end":{"line":74,"column":14}},"loc":{"start":{"line":74,"column":17},"end":{"line":77,"column":1}},"line":74}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":35}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":9,"column":35}},{"start":{"line":9,"column":2},"end":{"line":9,"column":35}}],"line":9},"1":{"loc":{"start":{"line":12,"column":4},"end":{"line":18,"column":5}},"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":18,"column":5}},{"start":{"line":12,"column":4},"end":{"line":18,"column":5}}],"line":12},"2":{"loc":{"start":{"line":35,"column":4},"end":{"line":41,"column":5}},"type":"if","locations":[{"start":{"line":35,"column":4},"end":{"line":41,"column":5}},{"start":{"line":35,"column":4},"end":{"line":41,"column":5}}],"line":35}},"s":{"0":4,"1":4,"2":4,"3":4,"4":4,"5":65,"6":1,"7":64,"8":64,"9":54,"10":1,"11":1,"12":1,"13":53,"14":64,"15":64,"16":64,"17":64,"18":2,"19":1,"20":1,"21":1,"22":1,"23":64,"24":64,"25":3,"26":4,"27":2,"28":1,"29":4,"30":4,"31":2,"32":2,"33":4},"f":{"0":65,"1":54,"2":2,"3":3,"4":4,"5":2,"6":1,"7":4,"8":4,"9":2},"b":{"0":[1,64],"1":[1,53],"2":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"306f07b1be6be334fc3f6a8c5f5571bb12a6e267"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/interpreters.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/interpreters.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":35}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":68}},"2":{"start":{"line":8,"column":2},"end":{"line":12,"column":3}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":33}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":38}},"5":{"start":{"line":16,"column":2},"end":{"line":28,"column":5}},"6":{"start":{"line":17,"column":4},"end":{"line":27,"column":5}},"7":{"start":{"line":18,"column":6},"end":{"line":24,"column":8}},"8":{"start":{"line":21,"column":10},"end":{"line":22,"column":35}},"9":{"start":{"line":21,"column":19},"end":{"line":21,"column":38}},"10":{"start":{"line":22,"column":15},"end":{"line":22,"column":35}},"11":{"start":{"line":26,"column":6},"end":{"line":26,"column":16}},"12":{"start":{"line":32,"column":2},"end":{"line":32,"column":17}},"13":{"start":{"line":38,"column":2},"end":{"line":38,"column":17}},"14":{"start":{"line":42,"column":2},"end":{"line":42,"column":23}},"15":{"start":{"line":46,"column":2},"end":{"line":46,"column":25}},"16":{"start":{"line":50,"column":2},"end":{"line":54,"column":5}},"17":{"start":{"line":51,"column":4},"end":{"line":53,"column":21}},"18":{"start":{"line":52,"column":6},"end":{"line":52,"column":16}},"19":{"start":{"line":53,"column":18},"end":{"line":53,"column":19}},"20":{"start":{"line":58,"column":2},"end":{"line":62,"column":11}},"21":{"start":{"line":59,"column":4},"end":{"line":61,"column":21}},"22":{"start":{"line":60,"column":6},"end":{"line":60,"column":16}},"23":{"start":{"line":61,"column":18},"end":{"line":61,"column":19}},"24":{"start":{"line":66,"column":2},"end":{"line":66,"column":26}},"25":{"start":{"line":73,"column":2},"end":{"line":77,"column":11}},"26":{"start":{"line":74,"column":4},"end":{"line":76,"column":21}},"27":{"start":{"line":75,"column":6},"end":{"line":75,"column":16}},"28":{"start":{"line":76,"column":18},"end":{"line":76,"column":19}},"29":{"start":{"line":81,"column":2},"end":{"line":81,"column":27}},"30":{"start":{"line":85,"column":2},"end":{"line":85,"column":59}},"31":{"start":{"line":85,"column":32},"end":{"line":85,"column":57}},"32":{"start":{"line":89,"column":2},"end":{"line":89,"column":38}},"33":{"start":{"line":89,"column":28},"end":{"line":89,"column":38}},"34":{"start":{"line":90,"column":2},"end":{"line":97,"column":5}},"35":{"start":{"line":91,"column":20},"end":{"line":91,"column":22}},"36":{"start":{"line":92,"column":4},"end":{"line":95,"column":5}},"37":{"start":{"line":93,"column":21},"end":{"line":93,"column":37}},"38":{"start":{"line":94,"column":6},"end":{"line":94,"column":27}},"39":{"start":{"line":96,"column":4},"end":{"line":96,"column":19}},"40":{"start":{"line":101,"column":2},"end":{"line":103,"column":5}},"41":{"start":{"line":102,"column":4},"end":{"line":102,"column":25}},"42":{"start":{"line":107,"column":2},"end":{"line":121,"column":7}},"43":{"start":{"line":108,"column":4},"end":{"line":108,"column":21}},"44":{"start":{"line":111,"column":6},"end":{"line":114,"column":8}},"45":{"start":{"line":117,"column":6},"end":{"line":120,"column":8}},"46":{"start":{"line":125,"column":2},"end":{"line":131,"column":5}},"47":{"start":{"line":126,"column":4},"end":{"line":130,"column":5}},"48":{"start":{"line":127,"column":6},"end":{"line":127,"column":23}},"49":{"start":{"line":129,"column":6},"end":{"line":129,"column":26}},"50":{"start":{"line":135,"column":2},"end":{"line":135,"column":20}},"51":{"start":{"line":138,"column":0},"end":{"line":157,"column":2}}},"fnMap":{"0":{"name":"call","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":13}},"loc":{"start":{"line":3,"column":31},"end":{"line":5,"column":1}},"line":3},"1":{"name":"callFn","decl":{"start":{"line":7,"column":9},"end":{"line":7,"column":15}},"loc":{"start":{"line":7,"column":43},"end":{"line":13,"column":1}},"line":7},"2":{"name":"callCallback","decl":{"start":{"line":15,"column":9},"end":{"line":15,"column":21}},"loc":{"start":{"line":15,"column":49},"end":{"line":29,"column":1}},"line":15},"3":{"name":"(anonymous_3)","decl":{"start":{"line":16,"column":21},"end":{"line":16,"column":22}},"loc":{"start":{"line":16,"column":42},"end":{"line":28,"column":3}},"line":16},"4":{"name":"(anonymous_4)","decl":{"start":{"line":20,"column":20},"end":{"line":20,"column":21}},"loc":{"start":{"line":20,"column":41},"end":{"line":23,"column":9}},"line":20},"5":{"name":"echo","decl":{"start":{"line":31,"column":9},"end":{"line":31,"column":13}},"loc":{"start":{"line":31,"column":27},"end":{"line":33,"column":1}},"line":31},"6":{"name":"globalVariable","decl":{"start":{"line":35,"column":9},"end":{"line":35,"column":23}},"loc":{"start":{"line":35,"column":34},"end":{"line":39,"column":1}},"line":35},"7":{"name":"log","decl":{"start":{"line":41,"column":9},"end":{"line":41,"column":12}},"loc":{"start":{"line":41,"column":23},"end":{"line":43,"column":1}},"line":41},"8":{"name":"logError","decl":{"start":{"line":45,"column":9},"end":{"line":45,"column":17}},"loc":{"start":{"line":45,"column":28},"end":{"line":47,"column":1}},"line":45},"9":{"name":"setImmediateInterpreter","decl":{"start":{"line":49,"column":9},"end":{"line":49,"column":32}},"loc":{"start":{"line":49,"column":75},"end":{"line":55,"column":1}},"line":49},"10":{"name":"(anonymous_10)","decl":{"start":{"line":50,"column":8},"end":{"line":50,"column":9}},"loc":{"start":{"line":50,"column":14},"end":{"line":54,"column":3}},"line":50},"11":{"name":"(anonymous_11)","decl":{"start":{"line":51,"column":32},"end":{"line":51,"column":33}},"loc":{"start":{"line":51,"column":44},"end":{"line":53,"column":5}},"line":51},"12":{"name":"(anonymous_12)","decl":{"start":{"line":53,"column":13},"end":{"line":53,"column":14}},"loc":{"start":{"line":53,"column":18},"end":{"line":53,"column":19}},"line":53},"13":{"name":"setTimeoutInterpreter","decl":{"start":{"line":57,"column":9},"end":{"line":57,"column":30}},"loc":{"start":{"line":57,"column":79},"end":{"line":63,"column":1}},"line":57},"14":{"name":"(anonymous_14)","decl":{"start":{"line":58,"column":20},"end":{"line":58,"column":21}},"loc":{"start":{"line":58,"column":26},"end":{"line":62,"column":3}},"line":58},"15":{"name":"(anonymous_15)","decl":{"start":{"line":59,"column":32},"end":{"line":59,"column":33}},"loc":{"start":{"line":59,"column":44},"end":{"line":61,"column":5}},"line":59},"16":{"name":"(anonymous_16)","decl":{"start":{"line":61,"column":13},"end":{"line":61,"column":14}},"loc":{"start":{"line":61,"column":18},"end":{"line":61,"column":19}},"line":61},"17":{"name":"clearTimeoutInterpreter","decl":{"start":{"line":65,"column":9},"end":{"line":65,"column":32}},"loc":{"start":{"line":65,"column":41},"end":{"line":67,"column":1}},"line":65},"18":{"name":"setIntervalInterpreter","decl":{"start":{"line":69,"column":9},"end":{"line":69,"column":31}},"loc":{"start":{"line":72,"column":2},"end":{"line":78,"column":1}},"line":72},"19":{"name":"(anonymous_19)","decl":{"start":{"line":73,"column":21},"end":{"line":73,"column":22}},"loc":{"start":{"line":73,"column":27},"end":{"line":77,"column":3}},"line":73},"20":{"name":"(anonymous_20)","decl":{"start":{"line":74,"column":32},"end":{"line":74,"column":33}},"loc":{"start":{"line":74,"column":44},"end":{"line":76,"column":5}},"line":74},"21":{"name":"(anonymous_21)","decl":{"start":{"line":76,"column":13},"end":{"line":76,"column":14}},"loc":{"start":{"line":76,"column":18},"end":{"line":76,"column":19}},"line":76},"22":{"name":"clearIntervalInterpreter","decl":{"start":{"line":80,"column":9},"end":{"line":80,"column":33}},"loc":{"start":{"line":80,"column":42},"end":{"line":82,"column":1}},"line":80},"23":{"name":"sleep","decl":{"start":{"line":84,"column":9},"end":{"line":84,"column":14}},"loc":{"start":{"line":84,"column":25},"end":{"line":86,"column":1}},"line":84},"24":{"name":"(anonymous_24)","decl":{"start":{"line":85,"column":21},"end":{"line":85,"column":22}},"loc":{"start":{"line":85,"column":32},"end":{"line":85,"column":57}},"line":85},"25":{"name":"series","decl":{"start":{"line":88,"column":9},"end":{"line":88,"column":15}},"loc":{"start":{"line":88,"column":62},"end":{"line":98,"column":1}},"line":88},"26":{"name":"(anonymous_26)","decl":{"start":{"line":90,"column":37},"end":{"line":90,"column":38}},"loc":{"start":{"line":90,"column":49},"end":{"line":97,"column":3}},"line":90},"27":{"name":"parallel","decl":{"start":{"line":100,"column":9},"end":{"line":100,"column":17}},"loc":{"start":{"line":100,"column":64},"end":{"line":104,"column":1}},"line":100},"28":{"name":"(anonymous_28)","decl":{"start":{"line":101,"column":37},"end":{"line":101,"column":38}},"loc":{"start":{"line":101,"column":49},"end":{"line":103,"column":3}},"line":101},"29":{"name":"envelope","decl":{"start":{"line":106,"column":9},"end":{"line":106,"column":17}},"loc":{"start":{"line":106,"column":60},"end":{"line":122,"column":1}},"line":106},"30":{"name":"(anonymous_30)","decl":{"start":{"line":107,"column":37},"end":{"line":107,"column":38}},"loc":{"start":{"line":107,"column":49},"end":{"line":109,"column":3}},"line":107},"31":{"name":"(anonymous_31)","decl":{"start":{"line":110,"column":10},"end":{"line":110,"column":11}},"loc":{"start":{"line":110,"column":20},"end":{"line":115,"column":5}},"line":110},"32":{"name":"(anonymous_32)","decl":{"start":{"line":116,"column":11},"end":{"line":116,"column":12}},"loc":{"start":{"line":116,"column":16},"end":{"line":121,"column":5}},"line":116},"33":{"name":"either","decl":{"start":{"line":124,"column":9},"end":{"line":124,"column":15}},"loc":{"start":{"line":124,"column":72},"end":{"line":132,"column":1}},"line":124},"34":{"name":"(anonymous_34)","decl":{"start":{"line":125,"column":37},"end":{"line":125,"column":38}},"loc":{"start":{"line":125,"column":49},"end":{"line":131,"column":3}},"line":125},"35":{"name":"now","decl":{"start":{"line":134,"column":9},"end":{"line":134,"column":12}},"loc":{"start":{"line":134,"column":15},"end":{"line":136,"column":1}},"line":134}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":43},"end":{"line":4,"column":57}},"type":"binary-expr","locations":[{"start":{"line":4,"column":43},"end":{"line":4,"column":51}},{"start":{"line":4,"column":55},"end":{"line":4,"column":57}}],"line":4},"1":{"loc":{"start":{"line":8,"column":2},"end":{"line":12,"column":3}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":12,"column":3}},{"start":{"line":8,"column":2},"end":{"line":12,"column":3}}],"line":8},"2":{"loc":{"start":{"line":21,"column":10},"end":{"line":22,"column":35}},"type":"if","locations":[{"start":{"line":21,"column":10},"end":{"line":22,"column":35}},{"start":{"line":21,"column":10},"end":{"line":22,"column":35}}],"line":21},"3":{"loc":{"start":{"line":89,"column":2},"end":{"line":89,"column":38}},"type":"if","locations":[{"start":{"line":89,"column":2},"end":{"line":89,"column":38}},{"start":{"line":89,"column":2},"end":{"line":89,"column":38}}],"line":89}},"s":{"0":5,"1":18,"2":13,"3":2,"4":11,"5":13,"6":13,"7":13,"8":9,"9":4,"10":5,"11":4,"12":8,"13":2,"14":1,"15":1,"16":2,"17":2,"18":2,"19":1,"20":3,"21":2,"22":2,"23":1,"24":1,"25":3,"26":10,"27":10,"28":5,"29":1,"30":7,"31":7,"32":2,"33":1,"34":1,"35":1,"36":1,"37":3,"38":3,"39":1,"40":1,"41":1,"42":2,"43":2,"44":1,"45":1,"46":2,"47":2,"48":2,"49":1,"50":1,"51":5},"f":{"0":18,"1":13,"2":13,"3":13,"4":9,"5":8,"6":2,"7":1,"8":1,"9":2,"10":2,"11":2,"12":1,"13":3,"14":2,"15":2,"16":1,"17":1,"18":3,"19":10,"20":10,"21":5,"22":1,"23":7,"24":7,"25":2,"26":1,"27":1,"28":1,"29":2,"30":2,"31":1,"32":1,"33":2,"34":2,"35":1},"b":{"0":[18,14],"1":[2,11],"2":[4,5],"3":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"90e213bdf190093ae723b5ada5fefaefc9232499"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/util.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/util.js","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":2,"column":36}},"1":{"start":{"line":5,"column":18},"end":{"line":5,"column":34}},"2":{"start":{"line":5,"column":23},"end":{"line":5,"column":34}},"3":{"start":{"line":6,"column":18},"end":{"line":6,"column":62}},"4":{"start":{"line":6,"column":24},"end":{"line":6,"column":61}},"5":{"start":{"line":12,"column":0},"end":{"line":16,"column":2}}},"fnMap":{"0":{"name":"toArray","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}},"loc":{"start":{"line":1,"column":20},"end":{"line":3,"column":1}},"line":1},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":18},"end":{"line":5,"column":19}},"loc":{"start":{"line":5,"column":23},"end":{"line":5,"column":34}},"line":5},"2":{"name":"(anonymous_2)","decl":{"start":{"line":6,"column":18},"end":{"line":6,"column":19}},"loc":{"start":{"line":6,"column":24},"end":{"line":6,"column":61}},"line":6}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":35}},"type":"cond-expr","locations":[{"start":{"line":2,"column":28},"end":{"line":2,"column":29}},{"start":{"line":2,"column":32},"end":{"line":2,"column":35}}],"line":2},"1":{"loc":{"start":{"line":5,"column":23},"end":{"line":5,"column":34}},"type":"binary-expr","locations":[{"start":{"line":5,"column":23},"end":{"line":5,"column":24}},{"start":{"line":5,"column":28},"end":{"line":5,"column":34}}],"line":5},"2":{"loc":{"start":{"line":6,"column":24},"end":{"line":6,"column":61}},"type":"cond-expr","locations":[{"start":{"line":6,"column":39},"end":{"line":6,"column":40}},{"start":{"line":6,"column":43},"end":{"line":6,"column":61}}],"line":6}},"s":{"0":114,"1":9,"2":196,"3":9,"4":196,"5":9},"f":{"0":114,"1":196,"2":196},"b":{"0":[6,108],"1":[196,169],"2":[69,127]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"346315cd9097775599d2814d1bd5e773ce97f543"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/tests/util.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/tests/util.js","statementMap":{"0":{"start":{"line":1,"column":15},"end":{"line":1,"column":32}},"1":{"start":{"line":4,"column":16},"end":{"line":4,"column":60}},"2":{"start":{"line":5,"column":2},"end":{"line":8,"column":9}},"3":{"start":{"line":6,"column":4},"end":{"line":6,"column":16}},"4":{"start":{"line":7,"column":4},"end":{"line":7,"column":13}},"5":{"start":{"line":12,"column":14},"end":{"line":12,"column":43}},"6":{"start":{"line":13,"column":14},"end":{"line":13,"column":43}},"7":{"start":{"line":14,"column":2},"end":{"line":14,"column":27}},"8":{"start":{"line":18,"column":2},"end":{"line":18,"column":19}},"9":{"start":{"line":18,"column":10},"end":{"line":18,"column":19}},"10":{"start":{"line":19,"column":2},"end":{"line":19,"column":73}},"11":{"start":{"line":19,"column":29},"end":{"line":19,"column":73}},"12":{"start":{"line":20,"column":2},"end":{"line":20,"column":35}},"13":{"start":{"line":24,"column":2},"end":{"line":24,"column":17}},"14":{"start":{"line":25,"column":2},"end":{"line":25,"column":11}},"15":{"start":{"line":29,"column":2},"end":{"line":31,"column":5}},"16":{"start":{"line":30,"column":4},"end":{"line":30,"column":28}},"17":{"start":{"line":35,"column":12},"end":{"line":35,"column":34}},"18":{"start":{"line":36,"column":12},"end":{"line":36,"column":36}},"19":{"start":{"line":43,"column":2},"end":{"line":43,"column":28}},"20":{"start":{"line":43,"column":19},"end":{"line":43,"column":28}},"21":{"start":{"line":44,"column":16},"end":{"line":44,"column":60}},"22":{"start":{"line":45,"column":2},"end":{"line":49,"column":9}},"23":{"start":{"line":46,"column":4},"end":{"line":46,"column":32}},"24":{"start":{"line":46,"column":23},"end":{"line":46,"column":32}},"25":{"start":{"line":47,"column":4},"end":{"line":47,"column":16}},"26":{"start":{"line":48,"column":4},"end":{"line":48,"column":13}},"27":{"start":{"line":53,"column":2},"end":{"line":53,"column":23}},"28":{"start":{"line":53,"column":10},"end":{"line":53,"column":23}},"29":{"start":{"line":54,"column":2},"end":{"line":54,"column":58}},"30":{"start":{"line":58,"column":2},"end":{"line":62,"column":4}},"31":{"start":{"line":65,"column":0},"end":{"line":71,"column":2}}},"fnMap":{"0":{"name":"errorToJson","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":20}},"loc":{"start":{"line":3,"column":24},"end":{"line":9,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":22},"end":{"line":5,"column":23}},"loc":{"start":{"line":5,"column":32},"end":{"line":8,"column":3}},"line":5},"2":{"name":"expectErrorEquality","decl":{"start":{"line":11,"column":9},"end":{"line":11,"column":28}},"loc":{"start":{"line":11,"column":37},"end":{"line":15,"column":1}},"line":11},"3":{"name":"normalizeErrorForEquality","decl":{"start":{"line":17,"column":9},"end":{"line":17,"column":34}},"loc":{"start":{"line":17,"column":38},"end":{"line":21,"column":1}},"line":17},"4":{"name":"omitStack","decl":{"start":{"line":23,"column":9},"end":{"line":23,"column":18}},"loc":{"start":{"line":23,"column":22},"end":{"line":26,"column":1}},"line":23},"5":{"name":"sleep","decl":{"start":{"line":28,"column":9},"end":{"line":28,"column":14}},"loc":{"start":{"line":28,"column":19},"end":{"line":32,"column":1}},"line":28},"6":{"name":"(anonymous_6)","decl":{"start":{"line":29,"column":21},"end":{"line":29,"column":22}},"loc":{"start":{"line":29,"column":32},"end":{"line":31,"column":3}},"line":29},"7":{"name":"deepEqual","decl":{"start":{"line":34,"column":9},"end":{"line":34,"column":18}},"loc":{"start":{"line":34,"column":37},"end":{"line":40,"column":1}},"line":34},"8":{"name":"normalizeError","decl":{"start":{"line":42,"column":9},"end":{"line":42,"column":23}},"loc":{"start":{"line":42,"column":27},"end":{"line":50,"column":1}},"line":42},"9":{"name":"(anonymous_9)","decl":{"start":{"line":45,"column":22},"end":{"line":45,"column":23}},"loc":{"start":{"line":45,"column":32},"end":{"line":49,"column":3}},"line":45},"10":{"name":"isError","decl":{"start":{"line":52,"column":9},"end":{"line":52,"column":16}},"loc":{"start":{"line":52,"column":20},"end":{"line":55,"column":1}},"line":52},"11":{"name":"usingJest","decl":{"start":{"line":57,"column":9},"end":{"line":57,"column":18}},"loc":{"start":{"line":57,"column":21},"end":{"line":63,"column":1}},"line":57}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":2},"end":{"line":18,"column":19}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":18,"column":19}},{"start":{"line":18,"column":2},"end":{"line":18,"column":19}}],"line":18},"1":{"loc":{"start":{"line":19,"column":2},"end":{"line":19,"column":73}},"type":"if","locations":[{"start":{"line":19,"column":2},"end":{"line":19,"column":73}},{"start":{"line":19,"column":2},"end":{"line":19,"column":73}}],"line":19},"2":{"loc":{"start":{"line":43,"column":2},"end":{"line":43,"column":28}},"type":"if","locations":[{"start":{"line":43,"column":2},"end":{"line":43,"column":28}},{"start":{"line":43,"column":2},"end":{"line":43,"column":28}}],"line":43},"3":{"loc":{"start":{"line":46,"column":4},"end":{"line":46,"column":32}},"type":"if","locations":[{"start":{"line":46,"column":4},"end":{"line":46,"column":32}},{"start":{"line":46,"column":4},"end":{"line":46,"column":32}}],"line":46},"4":{"loc":{"start":{"line":53,"column":2},"end":{"line":53,"column":23}},"type":"if","locations":[{"start":{"line":53,"column":2},"end":{"line":53,"column":23}},{"start":{"line":53,"column":2},"end":{"line":53,"column":23}}],"line":53},"5":{"loc":{"start":{"line":54,"column":9},"end":{"line":54,"column":57}},"type":"binary-expr","locations":[{"start":{"line":54,"column":9},"end":{"line":54,"column":27}},{"start":{"line":54,"column":31},"end":{"line":54,"column":57}}],"line":54},"6":{"loc":{"start":{"line":59,"column":4},"end":{"line":61,"column":28}},"type":"binary-expr","locations":[{"start":{"line":59,"column":4},"end":{"line":59,"column":33}},{"start":{"line":60,"column":4},"end":{"line":60,"column":26}},{"start":{"line":61,"column":4},"end":{"line":61,"column":28}}],"line":59}},"s":{"0":8,"1":21,"2":21,"3":64,"4":64,"5":11,"6":11,"7":11,"8":22,"9":2,"10":20,"11":6,"12":14,"13":20,"14":20,"15":19,"16":19,"17":80,"18":80,"19":160,"20":139,"21":21,"22":21,"23":63,"24":21,"25":42,"26":42,"27":306,"28":3,"29":303,"30":80,"31":8},"f":{"0":21,"1":64,"2":11,"3":22,"4":20,"5":19,"6":19,"7":80,"8":160,"9":63,"10":306,"11":80},"b":{"0":[2,20],"1":[6,14],"2":[139,21],"3":[21,42],"4":[3,303],"5":[303,265],"6":[80,80,80]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f9bb7f4388e5ced7e037a976d8e64332cb1032e6"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/tests/common/cmds.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/tests/common/cmds.js","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":5,"column":4}},"1":{"start":{"line":9,"column":2},"end":{"line":12,"column":4}},"2":{"start":{"line":16,"column":2},"end":{"line":19,"column":4}},"3":{"start":{"line":23,"column":2},"end":{"line":26,"column":4}},"4":{"start":{"line":30,"column":2},"end":{"line":33,"column":4}},"5":{"start":{"line":36,"column":0},"end":{"line":42,"column":2}}},"fnMap":{"0":{"name":"die","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}},"loc":{"start":{"line":1,"column":27},"end":{"line":6,"column":1}},"line":1},"1":{"name":"dieFromRejection","decl":{"start":{"line":8,"column":9},"end":{"line":8,"column":25}},"loc":{"start":{"line":8,"column":35},"end":{"line":13,"column":1}},"line":8},"2":{"name":"httpGet","decl":{"start":{"line":15,"column":9},"end":{"line":15,"column":16}},"loc":{"start":{"line":15,"column":22},"end":{"line":20,"column":1}},"line":15},"3":{"name":"echo","decl":{"start":{"line":22,"column":9},"end":{"line":22,"column":13}},"loc":{"start":{"line":22,"column":21},"end":{"line":27,"column":1}},"line":22},"4":{"name":"echoPromise","decl":{"start":{"line":29,"column":9},"end":{"line":29,"column":20}},"loc":{"start":{"line":29,"column":28},"end":{"line":34,"column":1}},"line":29}},"branchMap":{"0":{"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":25}},"type":"default-arg","locations":[{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}],"line":1}},"s":{"0":20,"1":1,"2":4,"3":102,"4":1,"5":6},"f":{"0":20,"1":1,"2":4,"3":102,"4":1},"b":{"0":[5]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"af51c1f1408c497a45cb730822abd81984b50a3f"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/tests/common/functions.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/tests/common/functions.js","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":1,"column":30}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":34}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":32}},"3":{"start":{"line":12,"column":13},"end":{"line":12,"column":43}},"4":{"start":{"line":13,"column":13},"end":{"line":13,"column":43}},"5":{"start":{"line":14,"column":2},"end":{"line":14,"column":20}},"6":{"start":{"line":18,"column":19},"end":{"line":18,"column":65}},"7":{"start":{"line":19,"column":2},"end":{"line":22,"column":4}},"8":{"start":{"line":26,"column":19},"end":{"line":26,"column":65}},"9":{"start":{"line":27,"column":19},"end":{"line":27,"column":65}},"10":{"start":{"line":28,"column":2},"end":{"line":33,"column":4}},"11":{"start":{"line":37,"column":2},"end":{"line":37,"column":18}},"12":{"start":{"line":41,"column":2},"end":{"line":41,"column":32}},"13":{"start":{"line":45,"column":2},"end":{"line":45,"column":45}},"14":{"start":{"line":48,"column":0},"end":{"line":57,"column":2}}},"fnMap":{"0":{"name":"basic","decl":{"start":{"line":3,"column":10},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":25},"end":{"line":5,"column":1}},"line":3},"1":{"name":"basicMultiArg","decl":{"start":{"line":7,"column":10},"end":{"line":7,"column":23}},"loc":{"start":{"line":7,"column":30},"end":{"line":9,"column":1}},"line":7},"2":{"name":"basicMultistep","decl":{"start":{"line":11,"column":10},"end":{"line":11,"column":24}},"loc":{"start":{"line":11,"column":34},"end":{"line":15,"column":1}},"line":11},"3":{"name":"basicParallel","decl":{"start":{"line":17,"column":10},"end":{"line":17,"column":23}},"loc":{"start":{"line":17,"column":33},"end":{"line":23,"column":1}},"line":17},"4":{"name":"basicMultistepParallel","decl":{"start":{"line":25,"column":10},"end":{"line":25,"column":32}},"loc":{"start":{"line":25,"column":42},"end":{"line":34,"column":1}},"line":25},"5":{"name":"basicEmpty","decl":{"start":{"line":36,"column":10},"end":{"line":36,"column":20}},"loc":{"start":{"line":36,"column":23},"end":{"line":38,"column":1}},"line":36},"6":{"name":"usesThrowingInterpreter","decl":{"start":{"line":40,"column":10},"end":{"line":40,"column":33}},"loc":{"start":{"line":40,"column":36},"end":{"line":42,"column":1}},"line":40},"7":{"name":"usesRejectingInterpreter","decl":{"start":{"line":44,"column":10},"end":{"line":44,"column":34}},"loc":{"start":{"line":44,"column":37},"end":{"line":46,"column":1}},"line":44}},"branchMap":{},"s":{"0":6,"1":6,"2":5,"3":4,"4":4,"5":4,"6":4,"7":4,"8":4,"9":4,"10":4,"11":4,"12":9,"13":1,"14":6},"f":{"0":6,"1":5,"2":4,"3":4,"4":4,"5":4,"6":9,"7":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"12e321295646d14504304220b888a88112f2abb1"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/tests/common/index.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/tests/common/index.js","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":1,"column":30}},"1":{"start":{"line":2,"column":21},"end":{"line":2,"column":46}},"2":{"start":{"line":3,"column":18},"end":{"line":3,"column":40}},"3":{"start":{"line":5,"column":0},"end":{"line":9,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":6,"1":6,"2":6,"3":6},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"a67a58a5471c9d9004202785d56ccd78ecd7c10f"} | ||
,"/Users/frankieorourke/code/effects-as-data/src/tests/common/interpreters.js": {"path":"/Users/frankieorourke/code/effects-as-data/src/tests/common/interpreters.js","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":2,"column":27}},"1":{"start":{"line":6,"column":2},"end":{"line":6,"column":44}},"2":{"start":{"line":10,"column":2},"end":{"line":10,"column":15}},"3":{"start":{"line":14,"column":2},"end":{"line":14,"column":32}},"4":{"start":{"line":17,"column":0},"end":{"line":22,"column":2}}},"fnMap":{"0":{"name":"die","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}},"loc":{"start":{"line":1,"column":26},"end":{"line":3,"column":1}},"line":1},"1":{"name":"dieFromRejection","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":25}},"loc":{"start":{"line":5,"column":39},"end":{"line":7,"column":1}},"line":5},"2":{"name":"echo","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":13}},"loc":{"start":{"line":9,"column":25},"end":{"line":11,"column":1}},"line":9},"3":{"name":"echoPromise","decl":{"start":{"line":13,"column":9},"end":{"line":13,"column":20}},"loc":{"start":{"line":13,"column":32},"end":{"line":15,"column":1}},"line":13}},"branchMap":{},"s":{"0":13,"1":1,"2":26,"3":1,"4":6},"f":{"0":13,"1":1,"2":26,"3":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d1c8842cff0717269d7472398bb73d46dae948d0"} | ||
{"/Users/frankie/orourkedd/projects/effects-as-data/src/cmds.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/cmds.js","statementMap":{"0":{"start":{"line":2,"column":20},"end":{"line":2,"column":46}},"1":{"start":{"line":3,"column":2},"end":{"line":3,"column":36}},"2":{"start":{"line":3,"column":17},"end":{"line":3,"column":36}},"3":{"start":{"line":4,"column":2},"end":{"line":8,"column":4}},"4":{"start":{"line":12,"column":2},"end":{"line":16,"column":4}},"5":{"start":{"line":20,"column":2},"end":{"line":25,"column":4}},"6":{"start":{"line":29,"column":2},"end":{"line":33,"column":4}},"7":{"start":{"line":37,"column":2},"end":{"line":42,"column":4}},"8":{"start":{"line":46,"column":2},"end":{"line":49,"column":4}},"9":{"start":{"line":53,"column":2},"end":{"line":55,"column":4}},"10":{"start":{"line":59,"column":2},"end":{"line":59,"column":46}},"11":{"start":{"line":59,"column":13},"end":{"line":59,"column":46}},"12":{"start":{"line":60,"column":2},"end":{"line":63,"column":4}},"13":{"start":{"line":67,"column":2},"end":{"line":70,"column":4}},"14":{"start":{"line":74,"column":2},"end":{"line":77,"column":4}},"15":{"start":{"line":81,"column":2},"end":{"line":84,"column":4}},"16":{"start":{"line":88,"column":2},"end":{"line":92,"column":4}},"17":{"start":{"line":96,"column":2},"end":{"line":99,"column":4}},"18":{"start":{"line":103,"column":2},"end":{"line":107,"column":4}},"19":{"start":{"line":111,"column":2},"end":{"line":114,"column":4}},"20":{"start":{"line":118,"column":2},"end":{"line":121,"column":4}},"21":{"start":{"line":125,"column":2},"end":{"line":128,"column":4}},"22":{"start":{"line":132,"column":2},"end":{"line":135,"column":4}},"23":{"start":{"line":139,"column":2},"end":{"line":142,"column":4}},"24":{"start":{"line":146,"column":2},"end":{"line":148,"column":4}},"25":{"start":{"line":152,"column":2},"end":{"line":156,"column":4}},"26":{"start":{"line":160,"column":0},"end":{"line":160,"column":17}},"27":{"start":{"line":161,"column":0},"end":{"line":161,"column":27}},"28":{"start":{"line":162,"column":0},"end":{"line":162,"column":29}},"29":{"start":{"line":163,"column":0},"end":{"line":163,"column":39}},"30":{"start":{"line":165,"column":0},"end":{"line":189,"column":2}}},"fnMap":{"0":{"name":"call","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}},"loc":{"start":{"line":1,"column":27},"end":{"line":9,"column":1}},"line":1},"1":{"name":"callFn","decl":{"start":{"line":11,"column":9},"end":{"line":11,"column":15}},"loc":{"start":{"line":11,"column":29},"end":{"line":17,"column":1}},"line":11},"2":{"name":"callFnBound","decl":{"start":{"line":19,"column":9},"end":{"line":19,"column":20}},"loc":{"start":{"line":19,"column":44},"end":{"line":26,"column":1}},"line":19},"3":{"name":"callCallback","decl":{"start":{"line":28,"column":9},"end":{"line":28,"column":21}},"loc":{"start":{"line":28,"column":35},"end":{"line":34,"column":1}},"line":28},"4":{"name":"callCallbackBound","decl":{"start":{"line":36,"column":9},"end":{"line":36,"column":26}},"loc":{"start":{"line":36,"column":50},"end":{"line":43,"column":1}},"line":36},"5":{"name":"echo","decl":{"start":{"line":45,"column":9},"end":{"line":45,"column":13}},"loc":{"start":{"line":45,"column":23},"end":{"line":50,"column":1}},"line":45},"6":{"name":"noop","decl":{"start":{"line":52,"column":9},"end":{"line":52,"column":13}},"loc":{"start":{"line":52,"column":16},"end":{"line":56,"column":1}},"line":52},"7":{"name":"globalVariable","decl":{"start":{"line":58,"column":9},"end":{"line":58,"column":23}},"loc":{"start":{"line":58,"column":30},"end":{"line":64,"column":1}},"line":58},"8":{"name":"log","decl":{"start":{"line":66,"column":9},"end":{"line":66,"column":12}},"loc":{"start":{"line":66,"column":22},"end":{"line":71,"column":1}},"line":66},"9":{"name":"logError","decl":{"start":{"line":73,"column":9},"end":{"line":73,"column":17}},"loc":{"start":{"line":73,"column":27},"end":{"line":78,"column":1}},"line":73},"10":{"name":"setImmediateCmd","decl":{"start":{"line":80,"column":9},"end":{"line":80,"column":24}},"loc":{"start":{"line":80,"column":30},"end":{"line":85,"column":1}},"line":80},"11":{"name":"setTimeoutCmd","decl":{"start":{"line":87,"column":9},"end":{"line":87,"column":22}},"loc":{"start":{"line":87,"column":34},"end":{"line":93,"column":1}},"line":87},"12":{"name":"clearTimeoutCmd","decl":{"start":{"line":95,"column":9},"end":{"line":95,"column":24}},"loc":{"start":{"line":95,"column":29},"end":{"line":100,"column":1}},"line":95},"13":{"name":"setIntervalCmd","decl":{"start":{"line":102,"column":9},"end":{"line":102,"column":23}},"loc":{"start":{"line":102,"column":35},"end":{"line":108,"column":1}},"line":102},"14":{"name":"clearIntervalCmd","decl":{"start":{"line":110,"column":9},"end":{"line":110,"column":25}},"loc":{"start":{"line":110,"column":30},"end":{"line":115,"column":1}},"line":110},"15":{"name":"sleep","decl":{"start":{"line":117,"column":9},"end":{"line":117,"column":14}},"loc":{"start":{"line":117,"column":21},"end":{"line":122,"column":1}},"line":117},"16":{"name":"series","decl":{"start":{"line":124,"column":9},"end":{"line":124,"column":15}},"loc":{"start":{"line":124,"column":25},"end":{"line":129,"column":1}},"line":124},"17":{"name":"parallel","decl":{"start":{"line":131,"column":9},"end":{"line":131,"column":17}},"loc":{"start":{"line":131,"column":27},"end":{"line":136,"column":1}},"line":131},"18":{"name":"envelope","decl":{"start":{"line":138,"column":9},"end":{"line":138,"column":17}},"loc":{"start":{"line":138,"column":23},"end":{"line":143,"column":1}},"line":138},"19":{"name":"now","decl":{"start":{"line":145,"column":9},"end":{"line":145,"column":12}},"loc":{"start":{"line":145,"column":15},"end":{"line":149,"column":1}},"line":145},"20":{"name":"either","decl":{"start":{"line":151,"column":9},"end":{"line":151,"column":15}},"loc":{"start":{"line":151,"column":35},"end":{"line":157,"column":1}},"line":151}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":21},"end":{"line":2,"column":35}},"type":"binary-expr","locations":[{"start":{"line":2,"column":21},"end":{"line":2,"column":29}},{"start":{"line":2,"column":33},"end":{"line":2,"column":35}}],"line":2},"1":{"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":36}},"type":"if","locations":[{"start":{"line":3,"column":2},"end":{"line":3,"column":36}},{"start":{"line":3,"column":2},"end":{"line":3,"column":36}}],"line":3},"2":{"loc":{"start":{"line":59,"column":2},"end":{"line":59,"column":46}},"type":"if","locations":[{"start":{"line":59,"column":2},"end":{"line":59,"column":46}},{"start":{"line":59,"column":2},"end":{"line":59,"column":46}}],"line":59}},"s":{"0":20,"1":20,"2":5,"3":16,"4":10,"5":5,"6":8,"7":7,"8":9,"9":1,"10":3,"11":1,"12":2,"13":2,"14":2,"15":2,"16":3,"17":2,"18":3,"19":2,"20":8,"21":3,"22":2,"23":3,"24":7,"25":3,"26":5,"27":5,"28":5,"29":5,"30":5},"f":{"0":20,"1":10,"2":5,"3":8,"4":7,"5":9,"6":1,"7":3,"8":2,"9":2,"10":2,"11":3,"12":2,"13":3,"14":2,"15":8,"16":3,"17":2,"18":3,"19":7,"20":3},"b":{"0":[20,17],"1":[5,15],"2":[1,2]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d304b397773a41d33953557a88a2ff7dda10bcb4"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/core.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/core.js","statementMap":{"0":{"start":{"line":1,"column":38},"end":{"line":1,"column":55}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":69}},"2":{"start":{"line":4,"column":16},"end":{"line":4,"column":69}},"3":{"start":{"line":5,"column":2},"end":{"line":5,"column":65}},"4":{"start":{"line":5,"column":11},"end":{"line":5,"column":65}},"5":{"start":{"line":6,"column":14},"end":{"line":6,"column":34}},"6":{"start":{"line":7,"column":13},"end":{"line":7,"column":30}},"7":{"start":{"line":8,"column":23},"end":{"line":8,"column":49}},"8":{"start":{"line":9,"column":2},"end":{"line":9,"column":48}},"9":{"start":{"line":10,"column":2},"end":{"line":15,"column":5}},"10":{"start":{"line":17,"column":2},"end":{"line":20,"column":5}},"11":{"start":{"line":18,"column":4},"end":{"line":18,"column":67}},"12":{"start":{"line":19,"column":4},"end":{"line":19,"column":13}},"13":{"start":{"line":21,"column":16},"end":{"line":21,"column":26}},"14":{"start":{"line":22,"column":2},"end":{"line":22,"column":46}},"15":{"start":{"line":23,"column":2},"end":{"line":52,"column":7}},"16":{"start":{"line":25,"column":6},"end":{"line":25,"column":54}},"17":{"start":{"line":25,"column":40},"end":{"line":25,"column":54}},"18":{"start":{"line":26,"column":18},"end":{"line":26,"column":28}},"19":{"start":{"line":27,"column":6},"end":{"line":35,"column":9}},"20":{"start":{"line":36,"column":6},"end":{"line":36,"column":20}},"21":{"start":{"line":39,"column":6},"end":{"line":39,"column":31}},"22":{"start":{"line":40,"column":6},"end":{"line":40,"column":65}},"23":{"start":{"line":40,"column":40},"end":{"line":40,"column":65}},"24":{"start":{"line":41,"column":18},"end":{"line":41,"column":28}},"25":{"start":{"line":42,"column":6},"end":{"line":50,"column":9}},"26":{"start":{"line":51,"column":6},"end":{"line":51,"column":31}},"27":{"start":{"line":56,"column":2},"end":{"line":81,"column":3}},"28":{"start":{"line":57,"column":29},"end":{"line":57,"column":68}},"29":{"start":{"line":58,"column":4},"end":{"line":58,"column":39}},"30":{"start":{"line":58,"column":14},"end":{"line":58,"column":39}},"31":{"start":{"line":59,"column":19},"end":{"line":59,"column":40}},"32":{"start":{"line":60,"column":25},"end":{"line":60,"column":40}},"33":{"start":{"line":61,"column":4},"end":{"line":78,"column":9}},"34":{"start":{"line":63,"column":33},"end":{"line":63,"column":63}},"35":{"start":{"line":64,"column":8},"end":{"line":64,"column":18}},"36":{"start":{"line":65,"column":8},"end":{"line":73,"column":10}},"37":{"start":{"line":76,"column":8},"end":{"line":76,"column":18}},"38":{"start":{"line":77,"column":8},"end":{"line":77,"column":67}},"39":{"start":{"line":80,"column":4},"end":{"line":80,"column":29}},"40":{"start":{"line":85,"column":2},"end":{"line":87,"column":4}},"41":{"start":{"line":91,"column":2},"end":{"line":91,"column":39}},"42":{"start":{"line":95,"column":34},"end":{"line":95,"column":47}},"43":{"start":{"line":96,"column":2},"end":{"line":96,"column":26}},"44":{"start":{"line":100,"column":2},"end":{"line":108,"column":3}},"45":{"start":{"line":101,"column":15},"end":{"line":102,"column":61}},"46":{"start":{"line":102,"column":6},"end":{"line":102,"column":61}},"47":{"start":{"line":103,"column":21},"end":{"line":103,"column":37}},"48":{"start":{"line":104,"column":4},"end":{"line":104,"column":33}},"49":{"start":{"line":112,"column":16},"end":{"line":112,"column":26}},"50":{"start":{"line":113,"column":2},"end":{"line":120,"column":5}},"51":{"start":{"line":122,"column":2},"end":{"line":131,"column":3}},"52":{"start":{"line":123,"column":24},"end":{"line":123,"column":50}},"53":{"start":{"line":124,"column":4},"end":{"line":127,"column":8}},"54":{"start":{"line":125,"column":6},"end":{"line":127,"column":8}},"55":{"start":{"line":128,"column":4},"end":{"line":128,"column":67}},"56":{"start":{"line":130,"column":4},"end":{"line":130,"column":31}},"57":{"start":{"line":132,"column":2},"end":{"line":165,"column":7}},"58":{"start":{"line":134,"column":6},"end":{"line":134,"column":47}},"59":{"start":{"line":134,"column":38},"end":{"line":134,"column":47}},"60":{"start":{"line":135,"column":18},"end":{"line":135,"column":28}},"61":{"start":{"line":136,"column":6},"end":{"line":146,"column":9}},"62":{"start":{"line":147,"column":6},"end":{"line":147,"column":15}},"63":{"start":{"line":150,"column":6},"end":{"line":150,"column":26}},"64":{"start":{"line":151,"column":6},"end":{"line":151,"column":63}},"65":{"start":{"line":151,"column":38},"end":{"line":151,"column":63}},"66":{"start":{"line":152,"column":18},"end":{"line":152,"column":28}},"67":{"start":{"line":153,"column":6},"end":{"line":163,"column":9}},"68":{"start":{"line":164,"column":6},"end":{"line":164,"column":31}},"69":{"start":{"line":169,"column":2},"end":{"line":169,"column":76}},"70":{"start":{"line":169,"column":69},"end":{"line":169,"column":76}},"71":{"start":{"line":170,"column":12},"end":{"line":177,"column":3}},"72":{"start":{"line":178,"column":2},"end":{"line":178,"column":36}},"73":{"start":{"line":178,"column":14},"end":{"line":178,"column":34}},"74":{"start":{"line":182,"column":2},"end":{"line":182,"column":31}},"75":{"start":{"line":182,"column":24},"end":{"line":182,"column":31}},"76":{"start":{"line":183,"column":2},"end":{"line":183,"column":32}},"77":{"start":{"line":183,"column":25},"end":{"line":183,"column":32}},"78":{"start":{"line":185,"column":2},"end":{"line":185,"column":27}},"79":{"start":{"line":186,"column":2},"end":{"line":186,"column":47}},"80":{"start":{"line":186,"column":14},"end":{"line":186,"column":45}},"81":{"start":{"line":200,"column":12},"end":{"line":211,"column":3}},"82":{"start":{"line":212,"column":2},"end":{"line":212,"column":44}},"83":{"start":{"line":212,"column":14},"end":{"line":212,"column":42}},"84":{"start":{"line":216,"column":2},"end":{"line":216,"column":70}},"85":{"start":{"line":216,"column":63},"end":{"line":216,"column":70}},"86":{"start":{"line":217,"column":12},"end":{"line":221,"column":3}},"87":{"start":{"line":222,"column":2},"end":{"line":222,"column":33}},"88":{"start":{"line":222,"column":14},"end":{"line":222,"column":31}},"89":{"start":{"line":226,"column":12},"end":{"line":234,"column":3}},"90":{"start":{"line":235,"column":2},"end":{"line":235,"column":41}},"91":{"start":{"line":235,"column":14},"end":{"line":235,"column":39}},"92":{"start":{"line":239,"column":25},"end":{"line":239,"column":27}},"93":{"start":{"line":240,"column":2},"end":{"line":245,"column":3}},"94":{"start":{"line":241,"column":4},"end":{"line":244,"column":6}},"95":{"start":{"line":242,"column":27},"end":{"line":242,"column":62}},"96":{"start":{"line":243,"column":6},"end":{"line":243,"column":69}},"97":{"start":{"line":246,"column":2},"end":{"line":246,"column":26}},"98":{"start":{"line":249,"column":0},"end":{"line":252,"column":2}}},"fnMap":{"0":{"name":"call","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":13}},"loc":{"start":{"line":3,"column":50},"end":{"line":53,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":17,"column":46},"end":{"line":17,"column":47}},"loc":{"start":{"line":17,"column":51},"end":{"line":20,"column":3}},"line":17},"2":{"name":"(anonymous_2)","decl":{"start":{"line":24,"column":10},"end":{"line":24,"column":11}},"loc":{"start":{"line":24,"column":20},"end":{"line":37,"column":5}},"line":24},"3":{"name":"(anonymous_3)","decl":{"start":{"line":38,"column":11},"end":{"line":38,"column":12}},"loc":{"start":{"line":38,"column":16},"end":{"line":52,"column":5}},"line":38},"4":{"name":"run","decl":{"start":{"line":55,"column":9},"end":{"line":55,"column":12}},"loc":{"start":{"line":55,"column":79},"end":{"line":82,"column":1}},"line":55},"5":{"name":"(anonymous_5)","decl":{"start":{"line":62,"column":12},"end":{"line":62,"column":13}},"loc":{"start":{"line":62,"column":23},"end":{"line":74,"column":7}},"line":62},"6":{"name":"(anonymous_6)","decl":{"start":{"line":75,"column":13},"end":{"line":75,"column":14}},"loc":{"start":{"line":75,"column":18},"end":{"line":78,"column":7}},"line":75},"7":{"name":"newExecutionLog","decl":{"start":{"line":84,"column":9},"end":{"line":84,"column":24}},"loc":{"start":{"line":84,"column":27},"end":{"line":88,"column":1}},"line":84},"8":{"name":"unwrapResults","decl":{"start":{"line":90,"column":9},"end":{"line":90,"column":22}},"loc":{"start":{"line":90,"column":40},"end":{"line":92,"column":1}},"line":90},"9":{"name":"getNextOutput","decl":{"start":{"line":94,"column":9},"end":{"line":94,"column":22}},"loc":{"start":{"line":94,"column":38},"end":{"line":97,"column":1}},"line":94},"10":{"name":"processCommands","decl":{"start":{"line":99,"column":9},"end":{"line":99,"column":24}},"loc":{"start":{"line":99,"column":66},"end":{"line":109,"column":1}},"line":99},"11":{"name":"(anonymous_11)","decl":{"start":{"line":101,"column":15},"end":{"line":101,"column":16}},"loc":{"start":{"line":102,"column":6},"end":{"line":102,"column":61}},"line":102},"12":{"name":"processCommand","decl":{"start":{"line":111,"column":9},"end":{"line":111,"column":23}},"loc":{"start":{"line":111,"column":71},"end":{"line":166,"column":1}},"line":111},"13":{"name":"(anonymous_13)","decl":{"start":{"line":133,"column":10},"end":{"line":133,"column":11}},"loc":{"start":{"line":133,"column":15},"end":{"line":148,"column":5}},"line":133},"14":{"name":"(anonymous_14)","decl":{"start":{"line":149,"column":11},"end":{"line":149,"column":12}},"loc":{"start":{"line":149,"column":16},"end":{"line":165,"column":5}},"line":149},"15":{"name":"onCommand","decl":{"start":{"line":168,"column":9},"end":{"line":168,"column":18}},"loc":{"start":{"line":168,"column":65},"end":{"line":179,"column":1}},"line":168},"16":{"name":"(anonymous_16)","decl":{"start":{"line":178,"column":8},"end":{"line":178,"column":9}},"loc":{"start":{"line":178,"column":14},"end":{"line":178,"column":34}},"line":178},"17":{"name":"onError","decl":{"start":{"line":181,"column":9},"end":{"line":181,"column":16}},"loc":{"start":{"line":181,"column":33},"end":{"line":187,"column":1}},"line":181},"18":{"name":"(anonymous_18)","decl":{"start":{"line":186,"column":8},"end":{"line":186,"column":9}},"loc":{"start":{"line":186,"column":14},"end":{"line":186,"column":45}},"line":186},"19":{"name":"onCommandComplete","decl":{"start":{"line":189,"column":9},"end":{"line":189,"column":26}},"loc":{"start":{"line":199,"column":3},"end":{"line":213,"column":1}},"line":199},"20":{"name":"(anonymous_20)","decl":{"start":{"line":212,"column":8},"end":{"line":212,"column":9}},"loc":{"start":{"line":212,"column":14},"end":{"line":212,"column":42}},"line":212},"21":{"name":"onCall","decl":{"start":{"line":215,"column":9},"end":{"line":215,"column":15}},"loc":{"start":{"line":215,"column":39},"end":{"line":223,"column":1}},"line":215},"22":{"name":"(anonymous_22)","decl":{"start":{"line":222,"column":8},"end":{"line":222,"column":9}},"loc":{"start":{"line":222,"column":14},"end":{"line":222,"column":31}},"line":222},"23":{"name":"onCallComplete","decl":{"start":{"line":225,"column":9},"end":{"line":225,"column":23}},"loc":{"start":{"line":225,"column":79},"end":{"line":236,"column":1}},"line":225},"24":{"name":"(anonymous_24)","decl":{"start":{"line":235,"column":8},"end":{"line":235,"column":9}},"loc":{"start":{"line":235,"column":14},"end":{"line":235,"column":39}},"line":235},"25":{"name":"buildFunctions","decl":{"start":{"line":238,"column":9},"end":{"line":238,"column":23}},"loc":{"start":{"line":238,"column":58},"end":{"line":247,"column":1}},"line":238},"26":{"name":"(anonymous_26)","decl":{"start":{"line":241,"column":26},"end":{"line":241,"column":27}},"loc":{"start":{"line":241,"column":44},"end":{"line":244,"column":5}},"line":241}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":69}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":69}},{"start":{"line":4,"column":2},"end":{"line":4,"column":69}}],"line":4},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":65}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":5,"column":65}},{"start":{"line":5,"column":2},"end":{"line":5,"column":65}}],"line":5},"2":{"loc":{"start":{"line":9,"column":23},"end":{"line":9,"column":47}},"type":"binary-expr","locations":[{"start":{"line":9,"column":23},"end":{"line":9,"column":41}},{"start":{"line":9,"column":45},"end":{"line":9,"column":47}}],"line":9},"3":{"loc":{"start":{"line":25,"column":6},"end":{"line":25,"column":54}},"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":54}},{"start":{"line":25,"column":6},"end":{"line":25,"column":54}}],"line":25},"4":{"loc":{"start":{"line":40,"column":6},"end":{"line":40,"column":65}},"type":"if","locations":[{"start":{"line":40,"column":6},"end":{"line":40,"column":65}},{"start":{"line":40,"column":6},"end":{"line":40,"column":65}}],"line":40},"5":{"loc":{"start":{"line":55,"column":56},"end":{"line":55,"column":77}},"type":"default-arg","locations":[{"start":{"line":55,"column":71},"end":{"line":55,"column":77}}],"line":55},"6":{"loc":{"start":{"line":58,"column":4},"end":{"line":58,"column":39}},"type":"if","locations":[{"start":{"line":58,"column":4},"end":{"line":58,"column":39}},{"start":{"line":58,"column":4},"end":{"line":58,"column":39}}],"line":58},"7":{"loc":{"start":{"line":91,"column":9},"end":{"line":91,"column":38}},"type":"cond-expr","locations":[{"start":{"line":91,"column":18},"end":{"line":91,"column":25}},{"start":{"line":91,"column":28},"end":{"line":91,"column":38}}],"line":91},"8":{"loc":{"start":{"line":124,"column":4},"end":{"line":127,"column":8}},"type":"if","locations":[{"start":{"line":124,"column":4},"end":{"line":127,"column":8}},{"start":{"line":124,"column":4},"end":{"line":127,"column":8}}],"line":124},"9":{"loc":{"start":{"line":134,"column":6},"end":{"line":134,"column":47}},"type":"if","locations":[{"start":{"line":134,"column":6},"end":{"line":134,"column":47}},{"start":{"line":134,"column":6},"end":{"line":134,"column":47}}],"line":134},"10":{"loc":{"start":{"line":151,"column":6},"end":{"line":151,"column":63}},"type":"if","locations":[{"start":{"line":151,"column":6},"end":{"line":151,"column":63}},{"start":{"line":151,"column":6},"end":{"line":151,"column":63}}],"line":151},"11":{"loc":{"start":{"line":169,"column":2},"end":{"line":169,"column":76}},"type":"if","locations":[{"start":{"line":169,"column":2},"end":{"line":169,"column":76}},{"start":{"line":169,"column":2},"end":{"line":169,"column":76}}],"line":169},"12":{"loc":{"start":{"line":169,"column":6},"end":{"line":169,"column":67}},"type":"binary-expr","locations":[{"start":{"line":169,"column":6},"end":{"line":169,"column":24}},{"start":{"line":169,"column":28},"end":{"line":169,"column":67}}],"line":169},"13":{"loc":{"start":{"line":182,"column":2},"end":{"line":182,"column":31}},"type":"if","locations":[{"start":{"line":182,"column":2},"end":{"line":182,"column":31}},{"start":{"line":182,"column":2},"end":{"line":182,"column":31}}],"line":182},"14":{"loc":{"start":{"line":183,"column":2},"end":{"line":183,"column":32}},"type":"if","locations":[{"start":{"line":183,"column":2},"end":{"line":183,"column":32}},{"start":{"line":183,"column":2},"end":{"line":183,"column":32}}],"line":183},"15":{"loc":{"start":{"line":216,"column":2},"end":{"line":216,"column":70}},"type":"if","locations":[{"start":{"line":216,"column":2},"end":{"line":216,"column":70}},{"start":{"line":216,"column":2},"end":{"line":216,"column":70}}],"line":216},"16":{"loc":{"start":{"line":216,"column":6},"end":{"line":216,"column":61}},"type":"binary-expr","locations":[{"start":{"line":216,"column":6},"end":{"line":216,"column":21}},{"start":{"line":216,"column":25},"end":{"line":216,"column":61}}],"line":216}},"s":{"0":10,"1":123,"2":1,"3":122,"4":1,"5":121,"6":121,"7":121,"8":121,"9":121,"10":121,"11":182,"12":182,"13":121,"14":121,"15":121,"16":79,"17":78,"18":1,"19":1,"20":1,"21":42,"22":42,"23":39,"24":3,"25":3,"26":3,"27":238,"28":238,"29":194,"30":79,"31":115,"32":115,"33":115,"34":81,"35":81,"36":81,"37":36,"38":36,"39":44,"40":121,"41":81,"42":238,"43":194,"44":115,"45":115,"46":120,"47":115,"48":115,"49":120,"50":120,"51":120,"52":120,"53":120,"54":1,"55":119,"56":17,"57":119,"58":86,"59":84,"60":2,"61":2,"62":2,"63":33,"64":33,"65":32,"66":1,"67":1,"68":1,"69":120,"70":116,"71":4,"72":4,"73":4,"74":75,"75":72,"76":3,"77":1,"78":2,"79":2,"80":2,"81":3,"82":3,"83":3,"84":121,"85":120,"86":1,"87":1,"88":1,"89":4,"90":4,"91":4,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":10},"f":{"0":123,"1":182,"2":79,"3":42,"4":238,"5":81,"6":36,"7":121,"8":81,"9":238,"10":115,"11":120,"12":120,"13":86,"14":33,"15":120,"16":4,"17":75,"18":2,"19":3,"20":3,"21":121,"22":1,"23":4,"24":4,"25":1,"26":1},"b":{"0":[1,122],"1":[1,121],"2":[121,90],"3":[78,1],"4":[39,3],"5":[121],"6":[79,115],"7":[6,75],"8":[1,119],"9":[84,2],"10":[32,1],"11":[116,4],"12":[120,4],"13":[72,3],"14":[1,2],"15":[120,1],"16":[121,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"26998bfcc3489d990c963257c583f03f4e89e5d6"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/index.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/index.js","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":1,"column":30}},"1":{"start":{"line":2,"column":17},"end":{"line":2,"column":34}},"2":{"start":{"line":3,"column":25},"end":{"line":3,"column":50}},"3":{"start":{"line":5,"column":19},"end":{"line":5,"column":54}},"4":{"start":{"line":6,"column":14},"end":{"line":6,"column":16}},"5":{"start":{"line":9,"column":2},"end":{"line":9,"column":35}},"6":{"start":{"line":9,"column":25},"end":{"line":9,"column":35}},"7":{"start":{"line":10,"column":20},"end":{"line":10,"column":32}},"8":{"start":{"line":11,"column":19},"end":{"line":20,"column":3}},"9":{"start":{"line":12,"column":4},"end":{"line":18,"column":5}},"10":{"start":{"line":13,"column":6},"end":{"line":17,"column":7}},"11":{"start":{"line":14,"column":8},"end":{"line":14,"column":27}},"12":{"start":{"line":16,"column":8},"end":{"line":16,"column":33}},"13":{"start":{"line":19,"column":4},"end":{"line":19,"column":57}},"14":{"start":{"line":26,"column":2},"end":{"line":31,"column":16}},"15":{"start":{"line":27,"column":4},"end":{"line":30,"column":7}},"16":{"start":{"line":32,"column":2},"end":{"line":32,"column":22}},"17":{"start":{"line":34,"column":2},"end":{"line":43,"column":4}},"18":{"start":{"line":35,"column":4},"end":{"line":41,"column":5}},"19":{"start":{"line":36,"column":6},"end":{"line":40,"column":7}},"20":{"start":{"line":37,"column":8},"end":{"line":37,"column":27}},"21":{"start":{"line":39,"column":8},"end":{"line":39,"column":33}},"22":{"start":{"line":42,"column":4},"end":{"line":42,"column":79}},"23":{"start":{"line":45,"column":2},"end":{"line":45,"column":33}},"24":{"start":{"line":47,"column":2},"end":{"line":47,"column":18}},"25":{"start":{"line":51,"column":2},"end":{"line":51,"column":14}},"26":{"start":{"line":55,"column":2},"end":{"line":55,"column":17}},"27":{"start":{"line":59,"column":2},"end":{"line":59,"column":42}},"28":{"start":{"line":63,"column":2},"end":{"line":63,"column":19}},"29":{"start":{"line":67,"column":2},"end":{"line":67,"column":22}},"30":{"start":{"line":71,"column":2},"end":{"line":71,"column":52}},"31":{"start":{"line":75,"column":2},"end":{"line":75,"column":20}},"32":{"start":{"line":76,"column":2},"end":{"line":76,"column":15}},"33":{"start":{"line":79,"column":0},"end":{"line":90,"column":3}}},"fnMap":{"0":{"name":"promisify","decl":{"start":{"line":8,"column":9},"end":{"line":8,"column":18}},"loc":{"start":{"line":8,"column":23},"end":{"line":48,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":11,"column":19},"end":{"line":11,"column":20}},"loc":{"start":{"line":11,"column":37},"end":{"line":20,"column":3}},"line":11},"2":{"name":"(anonymous_2)","decl":{"start":{"line":34,"column":29},"end":{"line":34,"column":30}},"loc":{"start":{"line":34,"column":50},"end":{"line":43,"column":3}},"line":34},"3":{"name":"setContext","decl":{"start":{"line":50,"column":9},"end":{"line":50,"column":19}},"loc":{"start":{"line":50,"column":23},"end":{"line":52,"column":1}},"line":50},"4":{"name":"getContext","decl":{"start":{"line":54,"column":9},"end":{"line":54,"column":19}},"loc":{"start":{"line":54,"column":22},"end":{"line":56,"column":1}},"line":54},"5":{"name":"addToContext","decl":{"start":{"line":58,"column":9},"end":{"line":58,"column":21}},"loc":{"start":{"line":58,"column":25},"end":{"line":60,"column":1}},"line":58},"6":{"name":"setInterpreters","decl":{"start":{"line":62,"column":9},"end":{"line":62,"column":24}},"loc":{"start":{"line":62,"column":28},"end":{"line":64,"column":1}},"line":62},"7":{"name":"getInterpreters","decl":{"start":{"line":66,"column":9},"end":{"line":66,"column":24}},"loc":{"start":{"line":66,"column":27},"end":{"line":68,"column":1}},"line":66},"8":{"name":"addInterpreters","decl":{"start":{"line":70,"column":9},"end":{"line":70,"column":24}},"loc":{"start":{"line":70,"column":28},"end":{"line":72,"column":1}},"line":70},"9":{"name":"reset","decl":{"start":{"line":74,"column":9},"end":{"line":74,"column":14}},"loc":{"start":{"line":74,"column":17},"end":{"line":77,"column":1}},"line":74}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":35}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":9,"column":35}},{"start":{"line":9,"column":2},"end":{"line":9,"column":35}}],"line":9},"1":{"loc":{"start":{"line":12,"column":4},"end":{"line":18,"column":5}},"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":18,"column":5}},{"start":{"line":12,"column":4},"end":{"line":18,"column":5}}],"line":12},"2":{"loc":{"start":{"line":35,"column":4},"end":{"line":41,"column":5}},"type":"if","locations":[{"start":{"line":35,"column":4},"end":{"line":41,"column":5}},{"start":{"line":35,"column":4},"end":{"line":41,"column":5}}],"line":35}},"s":{"0":5,"1":5,"2":5,"3":5,"4":5,"5":67,"6":1,"7":66,"8":66,"9":55,"10":1,"11":1,"12":1,"13":54,"14":66,"15":66,"16":66,"17":66,"18":2,"19":1,"20":1,"21":1,"22":1,"23":66,"24":66,"25":3,"26":4,"27":2,"28":1,"29":4,"30":4,"31":2,"32":2,"33":5},"f":{"0":67,"1":55,"2":2,"3":3,"4":4,"5":2,"6":1,"7":4,"8":4,"9":2},"b":{"0":[1,66],"1":[1,54],"2":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f8bfb5bb6931123284c7b1ec7194b01b98631aaa"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/interpreters.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/interpreters.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":35}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":68}},"2":{"start":{"line":8,"column":2},"end":{"line":12,"column":3}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":33}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":38}},"5":{"start":{"line":16,"column":2},"end":{"line":28,"column":5}},"6":{"start":{"line":17,"column":4},"end":{"line":27,"column":5}},"7":{"start":{"line":18,"column":6},"end":{"line":24,"column":8}},"8":{"start":{"line":21,"column":10},"end":{"line":22,"column":35}},"9":{"start":{"line":21,"column":19},"end":{"line":21,"column":38}},"10":{"start":{"line":22,"column":15},"end":{"line":22,"column":35}},"11":{"start":{"line":26,"column":6},"end":{"line":26,"column":16}},"12":{"start":{"line":32,"column":2},"end":{"line":32,"column":17}},"13":{"start":{"line":40,"column":2},"end":{"line":40,"column":17}},"14":{"start":{"line":44,"column":2},"end":{"line":44,"column":23}},"15":{"start":{"line":48,"column":2},"end":{"line":48,"column":25}},"16":{"start":{"line":52,"column":2},"end":{"line":56,"column":5}},"17":{"start":{"line":53,"column":4},"end":{"line":55,"column":21}},"18":{"start":{"line":54,"column":6},"end":{"line":54,"column":16}},"19":{"start":{"line":55,"column":18},"end":{"line":55,"column":19}},"20":{"start":{"line":60,"column":2},"end":{"line":64,"column":11}},"21":{"start":{"line":61,"column":4},"end":{"line":63,"column":21}},"22":{"start":{"line":62,"column":6},"end":{"line":62,"column":16}},"23":{"start":{"line":63,"column":18},"end":{"line":63,"column":19}},"24":{"start":{"line":68,"column":2},"end":{"line":68,"column":26}},"25":{"start":{"line":75,"column":2},"end":{"line":79,"column":11}},"26":{"start":{"line":76,"column":4},"end":{"line":78,"column":21}},"27":{"start":{"line":77,"column":6},"end":{"line":77,"column":16}},"28":{"start":{"line":78,"column":18},"end":{"line":78,"column":19}},"29":{"start":{"line":83,"column":2},"end":{"line":83,"column":27}},"30":{"start":{"line":87,"column":2},"end":{"line":87,"column":59}},"31":{"start":{"line":87,"column":32},"end":{"line":87,"column":57}},"32":{"start":{"line":91,"column":2},"end":{"line":91,"column":38}},"33":{"start":{"line":91,"column":28},"end":{"line":91,"column":38}},"34":{"start":{"line":92,"column":2},"end":{"line":99,"column":5}},"35":{"start":{"line":93,"column":20},"end":{"line":93,"column":22}},"36":{"start":{"line":94,"column":4},"end":{"line":97,"column":5}},"37":{"start":{"line":95,"column":21},"end":{"line":95,"column":37}},"38":{"start":{"line":96,"column":6},"end":{"line":96,"column":27}},"39":{"start":{"line":98,"column":4},"end":{"line":98,"column":19}},"40":{"start":{"line":103,"column":2},"end":{"line":105,"column":5}},"41":{"start":{"line":104,"column":4},"end":{"line":104,"column":25}},"42":{"start":{"line":109,"column":2},"end":{"line":123,"column":7}},"43":{"start":{"line":110,"column":4},"end":{"line":110,"column":21}},"44":{"start":{"line":113,"column":6},"end":{"line":116,"column":8}},"45":{"start":{"line":119,"column":6},"end":{"line":122,"column":8}},"46":{"start":{"line":127,"column":2},"end":{"line":133,"column":5}},"47":{"start":{"line":128,"column":4},"end":{"line":132,"column":5}},"48":{"start":{"line":129,"column":6},"end":{"line":129,"column":23}},"49":{"start":{"line":131,"column":6},"end":{"line":131,"column":26}},"50":{"start":{"line":137,"column":2},"end":{"line":137,"column":20}},"51":{"start":{"line":140,"column":0},"end":{"line":160,"column":2}}},"fnMap":{"0":{"name":"call","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":13}},"loc":{"start":{"line":3,"column":31},"end":{"line":5,"column":1}},"line":3},"1":{"name":"callFn","decl":{"start":{"line":7,"column":9},"end":{"line":7,"column":15}},"loc":{"start":{"line":7,"column":43},"end":{"line":13,"column":1}},"line":7},"2":{"name":"callCallback","decl":{"start":{"line":15,"column":9},"end":{"line":15,"column":21}},"loc":{"start":{"line":15,"column":49},"end":{"line":29,"column":1}},"line":15},"3":{"name":"(anonymous_3)","decl":{"start":{"line":16,"column":21},"end":{"line":16,"column":22}},"loc":{"start":{"line":16,"column":42},"end":{"line":28,"column":3}},"line":16},"4":{"name":"(anonymous_4)","decl":{"start":{"line":20,"column":20},"end":{"line":20,"column":21}},"loc":{"start":{"line":20,"column":41},"end":{"line":23,"column":9}},"line":20},"5":{"name":"echo","decl":{"start":{"line":31,"column":9},"end":{"line":31,"column":13}},"loc":{"start":{"line":31,"column":27},"end":{"line":33,"column":1}},"line":31},"6":{"name":"noop","decl":{"start":{"line":35,"column":9},"end":{"line":35,"column":13}},"loc":{"start":{"line":35,"column":16},"end":{"line":35,"column":18}},"line":35},"7":{"name":"globalVariable","decl":{"start":{"line":37,"column":9},"end":{"line":37,"column":23}},"loc":{"start":{"line":37,"column":34},"end":{"line":41,"column":1}},"line":37},"8":{"name":"log","decl":{"start":{"line":43,"column":9},"end":{"line":43,"column":12}},"loc":{"start":{"line":43,"column":23},"end":{"line":45,"column":1}},"line":43},"9":{"name":"logError","decl":{"start":{"line":47,"column":9},"end":{"line":47,"column":17}},"loc":{"start":{"line":47,"column":28},"end":{"line":49,"column":1}},"line":47},"10":{"name":"setImmediateInterpreter","decl":{"start":{"line":51,"column":9},"end":{"line":51,"column":32}},"loc":{"start":{"line":51,"column":75},"end":{"line":57,"column":1}},"line":51},"11":{"name":"(anonymous_11)","decl":{"start":{"line":52,"column":8},"end":{"line":52,"column":9}},"loc":{"start":{"line":52,"column":14},"end":{"line":56,"column":3}},"line":52},"12":{"name":"(anonymous_12)","decl":{"start":{"line":53,"column":32},"end":{"line":53,"column":33}},"loc":{"start":{"line":53,"column":44},"end":{"line":55,"column":5}},"line":53},"13":{"name":"(anonymous_13)","decl":{"start":{"line":55,"column":13},"end":{"line":55,"column":14}},"loc":{"start":{"line":55,"column":18},"end":{"line":55,"column":19}},"line":55},"14":{"name":"setTimeoutInterpreter","decl":{"start":{"line":59,"column":9},"end":{"line":59,"column":30}},"loc":{"start":{"line":59,"column":79},"end":{"line":65,"column":1}},"line":59},"15":{"name":"(anonymous_15)","decl":{"start":{"line":60,"column":20},"end":{"line":60,"column":21}},"loc":{"start":{"line":60,"column":26},"end":{"line":64,"column":3}},"line":60},"16":{"name":"(anonymous_16)","decl":{"start":{"line":61,"column":32},"end":{"line":61,"column":33}},"loc":{"start":{"line":61,"column":44},"end":{"line":63,"column":5}},"line":61},"17":{"name":"(anonymous_17)","decl":{"start":{"line":63,"column":13},"end":{"line":63,"column":14}},"loc":{"start":{"line":63,"column":18},"end":{"line":63,"column":19}},"line":63},"18":{"name":"clearTimeoutInterpreter","decl":{"start":{"line":67,"column":9},"end":{"line":67,"column":32}},"loc":{"start":{"line":67,"column":41},"end":{"line":69,"column":1}},"line":67},"19":{"name":"setIntervalInterpreter","decl":{"start":{"line":71,"column":9},"end":{"line":71,"column":31}},"loc":{"start":{"line":74,"column":2},"end":{"line":80,"column":1}},"line":74},"20":{"name":"(anonymous_20)","decl":{"start":{"line":75,"column":21},"end":{"line":75,"column":22}},"loc":{"start":{"line":75,"column":27},"end":{"line":79,"column":3}},"line":75},"21":{"name":"(anonymous_21)","decl":{"start":{"line":76,"column":32},"end":{"line":76,"column":33}},"loc":{"start":{"line":76,"column":44},"end":{"line":78,"column":5}},"line":76},"22":{"name":"(anonymous_22)","decl":{"start":{"line":78,"column":13},"end":{"line":78,"column":14}},"loc":{"start":{"line":78,"column":18},"end":{"line":78,"column":19}},"line":78},"23":{"name":"clearIntervalInterpreter","decl":{"start":{"line":82,"column":9},"end":{"line":82,"column":33}},"loc":{"start":{"line":82,"column":42},"end":{"line":84,"column":1}},"line":82},"24":{"name":"sleep","decl":{"start":{"line":86,"column":9},"end":{"line":86,"column":14}},"loc":{"start":{"line":86,"column":25},"end":{"line":88,"column":1}},"line":86},"25":{"name":"(anonymous_25)","decl":{"start":{"line":87,"column":21},"end":{"line":87,"column":22}},"loc":{"start":{"line":87,"column":32},"end":{"line":87,"column":57}},"line":87},"26":{"name":"series","decl":{"start":{"line":90,"column":9},"end":{"line":90,"column":15}},"loc":{"start":{"line":90,"column":62},"end":{"line":100,"column":1}},"line":90},"27":{"name":"(anonymous_27)","decl":{"start":{"line":92,"column":37},"end":{"line":92,"column":38}},"loc":{"start":{"line":92,"column":49},"end":{"line":99,"column":3}},"line":92},"28":{"name":"parallel","decl":{"start":{"line":102,"column":9},"end":{"line":102,"column":17}},"loc":{"start":{"line":102,"column":64},"end":{"line":106,"column":1}},"line":102},"29":{"name":"(anonymous_29)","decl":{"start":{"line":103,"column":37},"end":{"line":103,"column":38}},"loc":{"start":{"line":103,"column":49},"end":{"line":105,"column":3}},"line":103},"30":{"name":"envelope","decl":{"start":{"line":108,"column":9},"end":{"line":108,"column":17}},"loc":{"start":{"line":108,"column":60},"end":{"line":124,"column":1}},"line":108},"31":{"name":"(anonymous_31)","decl":{"start":{"line":109,"column":37},"end":{"line":109,"column":38}},"loc":{"start":{"line":109,"column":49},"end":{"line":111,"column":3}},"line":109},"32":{"name":"(anonymous_32)","decl":{"start":{"line":112,"column":10},"end":{"line":112,"column":11}},"loc":{"start":{"line":112,"column":20},"end":{"line":117,"column":5}},"line":112},"33":{"name":"(anonymous_33)","decl":{"start":{"line":118,"column":11},"end":{"line":118,"column":12}},"loc":{"start":{"line":118,"column":16},"end":{"line":123,"column":5}},"line":118},"34":{"name":"either","decl":{"start":{"line":126,"column":9},"end":{"line":126,"column":15}},"loc":{"start":{"line":126,"column":72},"end":{"line":134,"column":1}},"line":126},"35":{"name":"(anonymous_35)","decl":{"start":{"line":127,"column":37},"end":{"line":127,"column":38}},"loc":{"start":{"line":127,"column":49},"end":{"line":133,"column":3}},"line":127},"36":{"name":"now","decl":{"start":{"line":136,"column":9},"end":{"line":136,"column":12}},"loc":{"start":{"line":136,"column":15},"end":{"line":138,"column":1}},"line":136}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":43},"end":{"line":4,"column":57}},"type":"binary-expr","locations":[{"start":{"line":4,"column":43},"end":{"line":4,"column":51}},{"start":{"line":4,"column":55},"end":{"line":4,"column":57}}],"line":4},"1":{"loc":{"start":{"line":8,"column":2},"end":{"line":12,"column":3}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":12,"column":3}},{"start":{"line":8,"column":2},"end":{"line":12,"column":3}}],"line":8},"2":{"loc":{"start":{"line":21,"column":10},"end":{"line":22,"column":35}},"type":"if","locations":[{"start":{"line":21,"column":10},"end":{"line":22,"column":35}},{"start":{"line":21,"column":10},"end":{"line":22,"column":35}}],"line":21},"3":{"loc":{"start":{"line":91,"column":2},"end":{"line":91,"column":38}},"type":"if","locations":[{"start":{"line":91,"column":2},"end":{"line":91,"column":38}},{"start":{"line":91,"column":2},"end":{"line":91,"column":38}}],"line":91}},"s":{"0":6,"1":18,"2":13,"3":2,"4":11,"5":13,"6":13,"7":13,"8":9,"9":4,"10":5,"11":4,"12":8,"13":2,"14":1,"15":1,"16":2,"17":2,"18":2,"19":1,"20":3,"21":2,"22":2,"23":1,"24":1,"25":3,"26":10,"27":10,"28":5,"29":1,"30":7,"31":7,"32":2,"33":1,"34":1,"35":1,"36":1,"37":3,"38":3,"39":1,"40":1,"41":1,"42":2,"43":2,"44":1,"45":1,"46":2,"47":2,"48":2,"49":1,"50":1,"51":6},"f":{"0":18,"1":13,"2":13,"3":13,"4":9,"5":8,"6":1,"7":2,"8":1,"9":1,"10":2,"11":2,"12":2,"13":1,"14":3,"15":2,"16":2,"17":1,"18":1,"19":3,"20":10,"21":10,"22":5,"23":1,"24":7,"25":7,"26":2,"27":1,"28":1,"29":1,"30":2,"31":2,"32":1,"33":1,"34":2,"35":2,"36":1},"b":{"0":[18,14],"1":[2,11],"2":[4,5],"3":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"2f51f33dd34729d4b9c629e93d92f39b6306ccb4"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/util.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/util.js","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":2,"column":36}},"1":{"start":{"line":5,"column":18},"end":{"line":5,"column":34}},"2":{"start":{"line":5,"column":23},"end":{"line":5,"column":34}},"3":{"start":{"line":6,"column":18},"end":{"line":6,"column":62}},"4":{"start":{"line":6,"column":24},"end":{"line":6,"column":61}},"5":{"start":{"line":12,"column":0},"end":{"line":16,"column":2}}},"fnMap":{"0":{"name":"toArray","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}},"loc":{"start":{"line":1,"column":20},"end":{"line":3,"column":1}},"line":1},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":18},"end":{"line":5,"column":19}},"loc":{"start":{"line":5,"column":23},"end":{"line":5,"column":34}},"line":5},"2":{"name":"(anonymous_2)","decl":{"start":{"line":6,"column":18},"end":{"line":6,"column":19}},"loc":{"start":{"line":6,"column":24},"end":{"line":6,"column":61}},"line":6}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":35}},"type":"cond-expr","locations":[{"start":{"line":2,"column":28},"end":{"line":2,"column":29}},{"start":{"line":2,"column":32},"end":{"line":2,"column":35}}],"line":2},"1":{"loc":{"start":{"line":5,"column":23},"end":{"line":5,"column":34}},"type":"binary-expr","locations":[{"start":{"line":5,"column":23},"end":{"line":5,"column":24}},{"start":{"line":5,"column":28},"end":{"line":5,"column":34}}],"line":5},"2":{"loc":{"start":{"line":6,"column":24},"end":{"line":6,"column":61}},"type":"cond-expr","locations":[{"start":{"line":6,"column":39},"end":{"line":6,"column":40}},{"start":{"line":6,"column":43},"end":{"line":6,"column":61}}],"line":6}},"s":{"0":115,"1":10,"2":198,"3":10,"4":198,"5":10},"f":{"0":115,"1":198,"2":198},"b":{"0":[6,109],"1":[198,169],"2":[69,129]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"3296b618ab1d70e5f29b1e73353ca16d1cf3dcc5"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/test-util.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/test-util.js","statementMap":{"0":{"start":{"line":1,"column":15},"end":{"line":1,"column":32}},"1":{"start":{"line":4,"column":16},"end":{"line":4,"column":60}},"2":{"start":{"line":5,"column":2},"end":{"line":8,"column":9}},"3":{"start":{"line":6,"column":4},"end":{"line":6,"column":16}},"4":{"start":{"line":7,"column":4},"end":{"line":7,"column":13}},"5":{"start":{"line":12,"column":14},"end":{"line":12,"column":43}},"6":{"start":{"line":13,"column":14},"end":{"line":13,"column":43}},"7":{"start":{"line":14,"column":2},"end":{"line":14,"column":27}},"8":{"start":{"line":18,"column":2},"end":{"line":18,"column":19}},"9":{"start":{"line":18,"column":10},"end":{"line":18,"column":19}},"10":{"start":{"line":19,"column":2},"end":{"line":19,"column":73}},"11":{"start":{"line":19,"column":29},"end":{"line":19,"column":73}},"12":{"start":{"line":20,"column":2},"end":{"line":20,"column":35}},"13":{"start":{"line":24,"column":2},"end":{"line":24,"column":17}},"14":{"start":{"line":25,"column":2},"end":{"line":25,"column":11}},"15":{"start":{"line":29,"column":2},"end":{"line":31,"column":5}},"16":{"start":{"line":30,"column":4},"end":{"line":30,"column":28}},"17":{"start":{"line":35,"column":12},"end":{"line":35,"column":34}},"18":{"start":{"line":36,"column":12},"end":{"line":36,"column":36}},"19":{"start":{"line":43,"column":2},"end":{"line":43,"column":28}},"20":{"start":{"line":43,"column":19},"end":{"line":43,"column":28}},"21":{"start":{"line":44,"column":16},"end":{"line":44,"column":60}},"22":{"start":{"line":45,"column":2},"end":{"line":49,"column":9}},"23":{"start":{"line":46,"column":4},"end":{"line":46,"column":32}},"24":{"start":{"line":46,"column":23},"end":{"line":46,"column":32}},"25":{"start":{"line":47,"column":4},"end":{"line":47,"column":16}},"26":{"start":{"line":48,"column":4},"end":{"line":48,"column":13}},"27":{"start":{"line":53,"column":2},"end":{"line":53,"column":23}},"28":{"start":{"line":53,"column":10},"end":{"line":53,"column":23}},"29":{"start":{"line":54,"column":2},"end":{"line":54,"column":58}},"30":{"start":{"line":58,"column":2},"end":{"line":62,"column":4}},"31":{"start":{"line":65,"column":0},"end":{"line":71,"column":2}}},"fnMap":{"0":{"name":"errorToJson","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":20}},"loc":{"start":{"line":3,"column":24},"end":{"line":9,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":22},"end":{"line":5,"column":23}},"loc":{"start":{"line":5,"column":32},"end":{"line":8,"column":3}},"line":5},"2":{"name":"expectErrorEquality","decl":{"start":{"line":11,"column":9},"end":{"line":11,"column":28}},"loc":{"start":{"line":11,"column":37},"end":{"line":15,"column":1}},"line":11},"3":{"name":"normalizeErrorForEquality","decl":{"start":{"line":17,"column":9},"end":{"line":17,"column":34}},"loc":{"start":{"line":17,"column":38},"end":{"line":21,"column":1}},"line":17},"4":{"name":"omitStack","decl":{"start":{"line":23,"column":9},"end":{"line":23,"column":18}},"loc":{"start":{"line":23,"column":22},"end":{"line":26,"column":1}},"line":23},"5":{"name":"sleep","decl":{"start":{"line":28,"column":9},"end":{"line":28,"column":14}},"loc":{"start":{"line":28,"column":19},"end":{"line":32,"column":1}},"line":28},"6":{"name":"(anonymous_6)","decl":{"start":{"line":29,"column":21},"end":{"line":29,"column":22}},"loc":{"start":{"line":29,"column":32},"end":{"line":31,"column":3}},"line":29},"7":{"name":"deepEqual","decl":{"start":{"line":34,"column":9},"end":{"line":34,"column":18}},"loc":{"start":{"line":34,"column":37},"end":{"line":40,"column":1}},"line":34},"8":{"name":"normalizeError","decl":{"start":{"line":42,"column":9},"end":{"line":42,"column":23}},"loc":{"start":{"line":42,"column":27},"end":{"line":50,"column":1}},"line":42},"9":{"name":"(anonymous_9)","decl":{"start":{"line":45,"column":22},"end":{"line":45,"column":23}},"loc":{"start":{"line":45,"column":32},"end":{"line":49,"column":3}},"line":45},"10":{"name":"isError","decl":{"start":{"line":52,"column":9},"end":{"line":52,"column":16}},"loc":{"start":{"line":52,"column":20},"end":{"line":55,"column":1}},"line":52},"11":{"name":"usingJest","decl":{"start":{"line":57,"column":9},"end":{"line":57,"column":18}},"loc":{"start":{"line":57,"column":21},"end":{"line":63,"column":1}},"line":57}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":2},"end":{"line":18,"column":19}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":18,"column":19}},{"start":{"line":18,"column":2},"end":{"line":18,"column":19}}],"line":18},"1":{"loc":{"start":{"line":19,"column":2},"end":{"line":19,"column":73}},"type":"if","locations":[{"start":{"line":19,"column":2},"end":{"line":19,"column":73}},{"start":{"line":19,"column":2},"end":{"line":19,"column":73}}],"line":19},"2":{"loc":{"start":{"line":43,"column":2},"end":{"line":43,"column":28}},"type":"if","locations":[{"start":{"line":43,"column":2},"end":{"line":43,"column":28}},{"start":{"line":43,"column":2},"end":{"line":43,"column":28}}],"line":43},"3":{"loc":{"start":{"line":46,"column":4},"end":{"line":46,"column":32}},"type":"if","locations":[{"start":{"line":46,"column":4},"end":{"line":46,"column":32}},{"start":{"line":46,"column":4},"end":{"line":46,"column":32}}],"line":46},"4":{"loc":{"start":{"line":53,"column":2},"end":{"line":53,"column":23}},"type":"if","locations":[{"start":{"line":53,"column":2},"end":{"line":53,"column":23}},{"start":{"line":53,"column":2},"end":{"line":53,"column":23}}],"line":53},"5":{"loc":{"start":{"line":54,"column":9},"end":{"line":54,"column":57}},"type":"binary-expr","locations":[{"start":{"line":54,"column":9},"end":{"line":54,"column":27}},{"start":{"line":54,"column":31},"end":{"line":54,"column":57}}],"line":54},"6":{"loc":{"start":{"line":59,"column":4},"end":{"line":61,"column":28}},"type":"binary-expr","locations":[{"start":{"line":59,"column":4},"end":{"line":59,"column":33}},{"start":{"line":60,"column":4},"end":{"line":60,"column":26}},{"start":{"line":61,"column":4},"end":{"line":61,"column":28}}],"line":59}},"s":{"0":8,"1":21,"2":21,"3":64,"4":64,"5":11,"6":11,"7":11,"8":22,"9":2,"10":20,"11":6,"12":14,"13":20,"14":20,"15":19,"16":19,"17":82,"18":82,"19":164,"20":143,"21":21,"22":21,"23":63,"24":21,"25":42,"26":42,"27":314,"28":3,"29":311,"30":82,"31":8},"f":{"0":21,"1":64,"2":11,"3":22,"4":20,"5":19,"6":19,"7":82,"8":164,"9":63,"10":314,"11":82},"b":{"0":[2,20],"1":[6,14],"2":[143,21],"3":[21,42],"4":[3,311],"5":[311,273],"6":[82,82,82]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"e1f8a9b23f5cdf29498dd39e317893de2a61e600"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/common/cmds.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/common/cmds.js","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":5,"column":4}},"1":{"start":{"line":9,"column":2},"end":{"line":12,"column":4}},"2":{"start":{"line":16,"column":2},"end":{"line":19,"column":4}},"3":{"start":{"line":23,"column":2},"end":{"line":26,"column":4}},"4":{"start":{"line":30,"column":2},"end":{"line":33,"column":4}},"5":{"start":{"line":36,"column":0},"end":{"line":42,"column":2}}},"fnMap":{"0":{"name":"die","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}},"loc":{"start":{"line":1,"column":27},"end":{"line":6,"column":1}},"line":1},"1":{"name":"dieFromRejection","decl":{"start":{"line":8,"column":9},"end":{"line":8,"column":25}},"loc":{"start":{"line":8,"column":35},"end":{"line":13,"column":1}},"line":8},"2":{"name":"httpGet","decl":{"start":{"line":15,"column":9},"end":{"line":15,"column":16}},"loc":{"start":{"line":15,"column":22},"end":{"line":20,"column":1}},"line":15},"3":{"name":"echo","decl":{"start":{"line":22,"column":9},"end":{"line":22,"column":13}},"loc":{"start":{"line":22,"column":21},"end":{"line":27,"column":1}},"line":22},"4":{"name":"echoPromise","decl":{"start":{"line":29,"column":9},"end":{"line":29,"column":20}},"loc":{"start":{"line":29,"column":28},"end":{"line":34,"column":1}},"line":29}},"branchMap":{"0":{"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":25}},"type":"default-arg","locations":[{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}],"line":1}},"s":{"0":20,"1":1,"2":4,"3":104,"4":1,"5":6},"f":{"0":20,"1":1,"2":4,"3":104,"4":1},"b":{"0":[5]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"19db5697b25edb161a60f9d142558465f863a2de"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/common/functions.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/common/functions.js","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":1,"column":30}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":34}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":32}},"3":{"start":{"line":12,"column":13},"end":{"line":12,"column":43}},"4":{"start":{"line":13,"column":13},"end":{"line":13,"column":43}},"5":{"start":{"line":14,"column":2},"end":{"line":14,"column":20}},"6":{"start":{"line":18,"column":19},"end":{"line":18,"column":65}},"7":{"start":{"line":19,"column":2},"end":{"line":22,"column":4}},"8":{"start":{"line":26,"column":19},"end":{"line":26,"column":65}},"9":{"start":{"line":27,"column":19},"end":{"line":27,"column":65}},"10":{"start":{"line":28,"column":2},"end":{"line":33,"column":4}},"11":{"start":{"line":37,"column":2},"end":{"line":37,"column":18}},"12":{"start":{"line":41,"column":2},"end":{"line":41,"column":32}},"13":{"start":{"line":45,"column":2},"end":{"line":45,"column":45}},"14":{"start":{"line":48,"column":0},"end":{"line":57,"column":2}}},"fnMap":{"0":{"name":"basic","decl":{"start":{"line":3,"column":10},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":25},"end":{"line":5,"column":1}},"line":3},"1":{"name":"basicMultiArg","decl":{"start":{"line":7,"column":10},"end":{"line":7,"column":23}},"loc":{"start":{"line":7,"column":30},"end":{"line":9,"column":1}},"line":7},"2":{"name":"basicMultistep","decl":{"start":{"line":11,"column":10},"end":{"line":11,"column":24}},"loc":{"start":{"line":11,"column":34},"end":{"line":15,"column":1}},"line":11},"3":{"name":"basicParallel","decl":{"start":{"line":17,"column":10},"end":{"line":17,"column":23}},"loc":{"start":{"line":17,"column":33},"end":{"line":23,"column":1}},"line":17},"4":{"name":"basicMultistepParallel","decl":{"start":{"line":25,"column":10},"end":{"line":25,"column":32}},"loc":{"start":{"line":25,"column":42},"end":{"line":34,"column":1}},"line":25},"5":{"name":"basicEmpty","decl":{"start":{"line":36,"column":10},"end":{"line":36,"column":20}},"loc":{"start":{"line":36,"column":23},"end":{"line":38,"column":1}},"line":36},"6":{"name":"usesThrowingInterpreter","decl":{"start":{"line":40,"column":10},"end":{"line":40,"column":33}},"loc":{"start":{"line":40,"column":36},"end":{"line":42,"column":1}},"line":40},"7":{"name":"usesRejectingInterpreter","decl":{"start":{"line":44,"column":10},"end":{"line":44,"column":34}},"loc":{"start":{"line":44,"column":37},"end":{"line":46,"column":1}},"line":44}},"branchMap":{},"s":{"0":6,"1":7,"2":5,"3":4,"4":4,"5":4,"6":4,"7":4,"8":4,"9":4,"10":4,"11":4,"12":9,"13":1,"14":6},"f":{"0":7,"1":5,"2":4,"3":4,"4":4,"5":4,"6":9,"7":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c2db0cb9b1a4655a98c51a58319183807aca38f2"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/common/index.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/common/index.js","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":1,"column":30}},"1":{"start":{"line":2,"column":21},"end":{"line":2,"column":46}},"2":{"start":{"line":3,"column":18},"end":{"line":3,"column":40}},"3":{"start":{"line":5,"column":0},"end":{"line":9,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":6,"1":6,"2":6,"3":6},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"02403017d38a8597e68416eb190500bc766d30d0"} | ||
,"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/common/interpreters.js": {"path":"/Users/frankie/orourkedd/projects/effects-as-data/src/tests/common/interpreters.js","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":2,"column":27}},"1":{"start":{"line":6,"column":2},"end":{"line":6,"column":44}},"2":{"start":{"line":10,"column":2},"end":{"line":10,"column":15}},"3":{"start":{"line":14,"column":2},"end":{"line":14,"column":32}},"4":{"start":{"line":17,"column":0},"end":{"line":22,"column":2}}},"fnMap":{"0":{"name":"die","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}},"loc":{"start":{"line":1,"column":26},"end":{"line":3,"column":1}},"line":1},"1":{"name":"dieFromRejection","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":25}},"loc":{"start":{"line":5,"column":39},"end":{"line":7,"column":1}},"line":5},"2":{"name":"echo","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":13}},"loc":{"start":{"line":9,"column":25},"end":{"line":11,"column":1}},"line":9},"3":{"name":"echoPromise","decl":{"start":{"line":13,"column":9},"end":{"line":13,"column":20}},"loc":{"start":{"line":13,"column":32},"end":{"line":15,"column":1}},"line":13}},"branchMap":{},"s":{"0":13,"1":1,"2":26,"3":1,"4":6},"f":{"0":13,"1":1,"2":26,"3":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0a97726446e521b80eee3fd4ad5c35187028af28"} | ||
} |
@@ -110,14 +110,16 @@ "use strict"; | ||
function setImmediateCmd(cmd) { | ||
function setImmediateCmd(cmd, resetStack) { | ||
return { | ||
type: "setImmediate", | ||
cmd: cmd | ||
cmd: cmd, | ||
resetStack: resetStack | ||
}; | ||
} | ||
function setTimeoutCmd(cmd, time) { | ||
function setTimeoutCmd(cmd, time, resetStack) { | ||
return { | ||
type: "setTimeout", | ||
cmd: cmd, | ||
time: time | ||
time: time, | ||
resetStack: resetStack | ||
}; | ||
@@ -133,7 +135,8 @@ } | ||
function setIntervalCmd(cmd, time) { | ||
function setIntervalCmd(cmd, time, resetStack) { | ||
return { | ||
type: "setInterval", | ||
cmd: cmd, | ||
time: time | ||
time: time, | ||
resetStack: resetStack | ||
}; | ||
@@ -140,0 +143,0 @@ } |
@@ -18,4 +18,3 @@ "use strict"; | ||
var childContext = Object.assign({}, context); | ||
childContext.stack = childContext.stack || []; | ||
childContext.stack.push({ | ||
childContext.stack = (childContext.stack || []).concat({ | ||
context: childContext, | ||
@@ -26,2 +25,3 @@ interpreters: interpreters, | ||
}); | ||
// clean up circular references to allow for serialization | ||
@@ -28,0 +28,0 @@ childContext.stack = childContext.stack.map(function (s) { |
@@ -81,4 +81,9 @@ "use strict"; | ||
function getSubStack(context, resetStack) { | ||
return resetStack ? Object.assign({}, context, { stack: [] }) : context; | ||
} | ||
function setImmediateInterpreter(_ref8, _ref9) { | ||
var cmd = _ref8.cmd; | ||
var cmd = _ref8.cmd, | ||
resetStack = _ref8.resetStack; | ||
var call = _ref9.call, | ||
@@ -89,3 +94,4 @@ context = _ref9.context, | ||
delay(function () { | ||
call(context, interpreters, /*#__PURE__*/regeneratorRuntime.mark(function _callee() { | ||
var subcontext = getSubStack(context, resetStack); | ||
call(subcontext, interpreters, /*#__PURE__*/regeneratorRuntime.mark(function _callee() { | ||
return regeneratorRuntime.wrap(function _callee$(_context) { | ||
@@ -112,3 +118,4 @@ while (1) { | ||
var cmd = _ref10.cmd, | ||
time = _ref10.time; | ||
time = _ref10.time, | ||
resetStack = _ref10.resetStack; | ||
var call = _ref11.call, | ||
@@ -119,3 +126,4 @@ context = _ref11.context, | ||
return setTimeout(function () { | ||
call(context, interpreters, /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { | ||
var subcontext = getSubStack(context, resetStack); | ||
call(subcontext, interpreters, /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { | ||
return regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
@@ -148,3 +156,4 @@ while (1) { | ||
var cmd = _ref13.cmd, | ||
time = _ref13.time; | ||
time = _ref13.time, | ||
resetStack = _ref13.resetStack; | ||
var call = _ref14.call, | ||
@@ -155,3 +164,4 @@ context = _ref14.context, | ||
return setInterval(function () { | ||
call(context, interpreters, /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { | ||
var subcontext = getSubStack(context, resetStack); | ||
call(subcontext, interpreters, /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { | ||
return regeneratorRuntime.wrap(function _callee3$(_context3) { | ||
@@ -158,0 +168,0 @@ while (1) { |
@@ -179,2 +179,11 @@ "use strict"; | ||
test("setImmediate() should clear stack, if set", function () { | ||
var cmd = cmds.now(); | ||
expect(cmds.setImmediate(cmd, true)).toEqual({ | ||
type: "setImmediate", | ||
cmd: cmd, | ||
resetStack: true | ||
}); | ||
}); | ||
test("setTimeout()", function () { | ||
@@ -189,2 +198,12 @@ var cmd = cmds.now(); | ||
test("setTimeout() should clear stack, if set", function () { | ||
var cmd = cmds.now(); | ||
expect(cmds.setTimeout(cmd, 1000, true)).toEqual({ | ||
type: "setTimeout", | ||
cmd: cmd, | ||
time: 1000, | ||
resetStack: true | ||
}); | ||
}); | ||
test("clearTimeout()", function () { | ||
@@ -207,2 +226,12 @@ var id = 123; | ||
test("setInterval() should clear stack, if set", function () { | ||
var cmd = cmds.now(); | ||
expect(cmds.setInterval(cmd, 1000, true)).toEqual({ | ||
type: "setInterval", | ||
cmd: cmd, | ||
time: 1000, | ||
resetStack: true | ||
}); | ||
}); | ||
test("clearInterval()", function () { | ||
@@ -209,0 +238,0 @@ var id = 123; |
@@ -22,2 +22,5 @@ "use strict"; | ||
var coreInterpreters = require("../interpreters"); | ||
var coreCmds = require("../cmds"); | ||
test("setImmediate() should swallow errors to prevent node uncaught rejection errors", async function () { | ||
@@ -31,2 +34,45 @@ var context = {}; | ||
test("setImmediate() should reset stack, if resetStack is truthy", async function () { | ||
var _marked = /*#__PURE__*/regeneratorRuntime.mark(nestedCall); | ||
var count = 0; | ||
var stack = void 0; | ||
var onCommand = function onCommand(t) { | ||
if (t.command.type !== "call") return; | ||
count++; | ||
if (count >= 10) { | ||
stack = t.context.stack; | ||
} | ||
}; | ||
function nestedCall() { | ||
return regeneratorRuntime.wrap(function nestedCall$(_context) { | ||
while (1) { | ||
switch (_context.prev = _context.next) { | ||
case 0: | ||
if (!(count >= 10)) { | ||
_context.next = 2; | ||
break; | ||
} | ||
return _context.abrupt("return"); | ||
case 2: | ||
_context.next = 4; | ||
return coreCmds.setImmediate(coreCmds.call(nestedCall), true); | ||
case 4: | ||
case "end": | ||
return _context.stop(); | ||
} | ||
} | ||
}, _marked, this); | ||
} | ||
var context = { onCommand: onCommand, name: "telemetry" }; | ||
var now = Date.now(); | ||
await call(context, coreInterpreters, nestedCall, "foo"); | ||
await sleep(20); | ||
expect(stack).toBeTruthy(); | ||
expect(stack.length).toEqual(1); | ||
}); | ||
test("setTimeout() should swallow errors to prevent node uncaught rejection errors", async function () { | ||
@@ -40,2 +86,45 @@ var context = {}; | ||
test("setTimeout() should reset stack, if resetStack is truthy", async function () { | ||
var _marked2 = /*#__PURE__*/regeneratorRuntime.mark(nestedCall); | ||
var count = 0; | ||
var stack = void 0; | ||
var onCommand = function onCommand(t) { | ||
if (t.command.type !== "call") return; | ||
count++; | ||
if (count >= 10) { | ||
stack = t.context.stack; | ||
} | ||
}; | ||
function nestedCall() { | ||
return regeneratorRuntime.wrap(function nestedCall$(_context2) { | ||
while (1) { | ||
switch (_context2.prev = _context2.next) { | ||
case 0: | ||
if (!(count >= 10)) { | ||
_context2.next = 2; | ||
break; | ||
} | ||
return _context2.abrupt("return"); | ||
case 2: | ||
_context2.next = 4; | ||
return coreCmds.setTimeout(coreCmds.call(nestedCall), 0, true); | ||
case 4: | ||
case "end": | ||
return _context2.stop(); | ||
} | ||
} | ||
}, _marked2, this); | ||
} | ||
var context = { onCommand: onCommand, name: "telemetry" }; | ||
var now = Date.now(); | ||
await call(context, coreInterpreters, nestedCall, "foo"); | ||
await sleep(20); | ||
expect(stack).toBeTruthy(); | ||
expect(stack.length).toEqual(1); | ||
}); | ||
test("setInterval() should swallow errors to prevent node uncaught rejection errors", async function () { | ||
@@ -50,2 +139,45 @@ var context = {}; | ||
test("setInterval() should reset stack, if resetStack is truthy", async function () { | ||
var _marked3 = /*#__PURE__*/regeneratorRuntime.mark(nestedCall); | ||
var count = 0; | ||
var stack = void 0; | ||
var onCommand = function onCommand(t) { | ||
if (t.command.type !== "now") return; | ||
count++; | ||
if (count >= 10) { | ||
stack = t.context.stack; | ||
} | ||
}; | ||
function nestedCall() { | ||
return regeneratorRuntime.wrap(function nestedCall$(_context3) { | ||
while (1) { | ||
switch (_context3.prev = _context3.next) { | ||
case 0: | ||
if (!(count >= 10)) { | ||
_context3.next = 2; | ||
break; | ||
} | ||
return _context3.abrupt("return"); | ||
case 2: | ||
_context3.next = 4; | ||
return coreCmds.setInterval(coreCmds.now(), 0, true); | ||
case 4: | ||
case "end": | ||
return _context3.stop(); | ||
} | ||
} | ||
}, _marked3, this); | ||
} | ||
var context = { onCommand: onCommand, name: "telemetry" }; | ||
var now = Date.now(); | ||
await call(context, coreInterpreters, nestedCall, "foo"); | ||
await sleep(20); | ||
expect(stack).toBeTruthy(); | ||
expect(stack.length).toEqual(1); | ||
}); | ||
test("globalVariable() should use window if available", function () { | ||
@@ -52,0 +184,0 @@ window.foo = "bar"; |
@@ -22,2 +22,5 @@ "use strict"; | ||
var coreInterpreters = require("../interpreters"); | ||
var coreCmds = require("../cmds"); | ||
function basic(message) { | ||
@@ -372,2 +375,49 @@ return regeneratorRuntime.wrap(function basic$(_context) { | ||
}); | ||
test("should not mutate stack", async function () { | ||
var _marked6 = /*#__PURE__*/regeneratorRuntime.mark(nestedCall); | ||
var stack1 = void 0; | ||
var stack2 = void 0; | ||
var onCommand = function onCommand(t) { | ||
if (!stack1) { | ||
stack1 = t.context.stack; | ||
return; | ||
} | ||
if (!stack2) { | ||
stack2 = t.context.stack; | ||
return; | ||
} | ||
}; | ||
function nestedCall() { | ||
return regeneratorRuntime.wrap(function nestedCall$(_context6) { | ||
while (1) { | ||
switch (_context6.prev = _context6.next) { | ||
case 0: | ||
if (!stack2) { | ||
_context6.next = 2; | ||
break; | ||
} | ||
return _context6.abrupt("return"); | ||
case 2: | ||
_context6.next = 4; | ||
return coreCmds.setImmediate(nestedCall); | ||
case 4: | ||
case "end": | ||
return _context6.stop(); | ||
} | ||
} | ||
}, _marked6, this); | ||
} | ||
var context = { onCommand: onCommand, name: "telemetry" }; | ||
var now = Date.now(); | ||
await call(context, coreInterpreters, nestedCall, "foo"); | ||
await sleep(10); | ||
expect(stack1).toBeTruthy(); | ||
expect(stack2).toBeTruthy(); | ||
expect(stack1).not.toBe(stack2); | ||
}); | ||
//# sourceMappingURL=telemetry.spec.js.map |
{ | ||
"name": "effects-as-data", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"description": | ||
@@ -5,0 +5,0 @@ "A micro abstraction layer for Javascript that makes writing, testing, and monitoring side-effects easy.", |
@@ -80,14 +80,16 @@ function call(fn, ...args) { | ||
function setImmediateCmd(cmd) { | ||
function setImmediateCmd(cmd, resetStack) { | ||
return { | ||
type: "setImmediate", | ||
cmd | ||
cmd, | ||
resetStack | ||
}; | ||
} | ||
function setTimeoutCmd(cmd, time) { | ||
function setTimeoutCmd(cmd, time, resetStack) { | ||
return { | ||
type: "setTimeout", | ||
cmd, | ||
time | ||
time, | ||
resetStack | ||
}; | ||
@@ -103,7 +105,8 @@ } | ||
function setIntervalCmd(cmd, time) { | ||
function setIntervalCmd(cmd, time, resetStack) { | ||
return { | ||
type: "setInterval", | ||
cmd, | ||
time | ||
time, | ||
resetStack | ||
}; | ||
@@ -110,0 +113,0 @@ } |
@@ -9,4 +9,3 @@ const { toArray, toPromise, delay } = require("./util"); | ||
const childContext = Object.assign({}, context); | ||
childContext.stack = childContext.stack || []; | ||
childContext.stack.push({ | ||
childContext.stack = (childContext.stack || []).concat({ | ||
context: childContext, | ||
@@ -17,2 +16,3 @@ interpreters, | ||
}); | ||
// clean up circular references to allow for serialization | ||
@@ -19,0 +19,0 @@ childContext.stack = childContext.stack.map(s => { |
@@ -51,5 +51,13 @@ const { delay } = require("./util"); | ||
function setImmediateInterpreter({ cmd }, { call, context, interpreters }) { | ||
function getSubStack(context, resetStack) { | ||
return resetStack ? Object.assign({}, context, { stack: [] }) : context; | ||
} | ||
function setImmediateInterpreter( | ||
{ cmd, resetStack }, | ||
{ call, context, interpreters } | ||
) { | ||
delay(() => { | ||
call(context, interpreters, function*() { | ||
const subcontext = getSubStack(context, resetStack); | ||
call(subcontext, interpreters, function*() { | ||
yield cmd; | ||
@@ -60,5 +68,9 @@ }).catch(e => e); | ||
function setTimeoutInterpreter({ cmd, time }, { call, context, interpreters }) { | ||
function setTimeoutInterpreter( | ||
{ cmd, time, resetStack }, | ||
{ call, context, interpreters } | ||
) { | ||
return setTimeout(() => { | ||
call(context, interpreters, function*() { | ||
const subcontext = getSubStack(context, resetStack); | ||
call(subcontext, interpreters, function*() { | ||
yield cmd; | ||
@@ -74,7 +86,8 @@ }).catch(e => e); | ||
function setIntervalInterpreter( | ||
{ cmd, time }, | ||
{ cmd, time, resetStack }, | ||
{ call, context, interpreters } | ||
) { | ||
return setInterval(() => { | ||
call(context, interpreters, function*() { | ||
const subcontext = getSubStack(context, resetStack); | ||
call(subcontext, interpreters, function*() { | ||
yield cmd; | ||
@@ -81,0 +94,0 @@ }).catch(e => e); |
@@ -143,2 +143,11 @@ const cmds = require("../cmds"); | ||
test("setImmediate() should clear stack, if set", () => { | ||
const cmd = cmds.now(); | ||
expect(cmds.setImmediate(cmd, true)).toEqual({ | ||
type: "setImmediate", | ||
cmd, | ||
resetStack: true | ||
}); | ||
}); | ||
test("setTimeout()", () => { | ||
@@ -153,2 +162,12 @@ const cmd = cmds.now(); | ||
test("setTimeout() should clear stack, if set", () => { | ||
const cmd = cmds.now(); | ||
expect(cmds.setTimeout(cmd, 1000, true)).toEqual({ | ||
type: "setTimeout", | ||
cmd, | ||
time: 1000, | ||
resetStack: true | ||
}); | ||
}); | ||
test("clearTimeout()", () => { | ||
@@ -171,2 +190,12 @@ const id = 123; | ||
test("setInterval() should clear stack, if set", () => { | ||
const cmd = cmds.now(); | ||
expect(cmds.setInterval(cmd, 1000, true)).toEqual({ | ||
type: "setInterval", | ||
cmd, | ||
time: 1000, | ||
resetStack: true | ||
}); | ||
}); | ||
test("clearInterval()", () => { | ||
@@ -173,0 +202,0 @@ const id = 123; |
@@ -11,2 +11,4 @@ const assert = require("assert"); | ||
const { sleep } = require("./test-util"); | ||
const coreInterpreters = require("../interpreters"); | ||
const coreCmds = require("../cmds"); | ||
@@ -21,2 +23,24 @@ test("setImmediate() should swallow errors to prevent node uncaught rejection errors", async () => { | ||
test("setImmediate() should reset stack, if resetStack is truthy", async () => { | ||
let count = 0; | ||
let stack; | ||
const onCommand = t => { | ||
if (t.command.type !== "call") return; | ||
count++; | ||
if (count >= 10) { | ||
stack = t.context.stack; | ||
} | ||
}; | ||
function* nestedCall() { | ||
if (count >= 10) return; | ||
yield coreCmds.setImmediate(coreCmds.call(nestedCall), true); | ||
} | ||
const context = { onCommand, name: "telemetry" }; | ||
const now = Date.now(); | ||
await call(context, coreInterpreters, nestedCall, "foo"); | ||
await sleep(20); | ||
expect(stack).toBeTruthy(); | ||
expect(stack.length).toEqual(1); | ||
}); | ||
test("setTimeout() should swallow errors to prevent node uncaught rejection errors", async () => { | ||
@@ -33,2 +57,24 @@ const context = {}; | ||
test("setTimeout() should reset stack, if resetStack is truthy", async () => { | ||
let count = 0; | ||
let stack; | ||
const onCommand = t => { | ||
if (t.command.type !== "call") return; | ||
count++; | ||
if (count >= 10) { | ||
stack = t.context.stack; | ||
} | ||
}; | ||
function* nestedCall() { | ||
if (count >= 10) return; | ||
yield coreCmds.setTimeout(coreCmds.call(nestedCall), 0, true); | ||
} | ||
const context = { onCommand, name: "telemetry" }; | ||
const now = Date.now(); | ||
await call(context, coreInterpreters, nestedCall, "foo"); | ||
await sleep(20); | ||
expect(stack).toBeTruthy(); | ||
expect(stack.length).toEqual(1); | ||
}); | ||
test("setInterval() should swallow errors to prevent node uncaught rejection errors", async () => { | ||
@@ -46,2 +92,24 @@ const context = {}; | ||
test("setInterval() should reset stack, if resetStack is truthy", async () => { | ||
let count = 0; | ||
let stack; | ||
const onCommand = t => { | ||
if (t.command.type !== "now") return; | ||
count++; | ||
if (count >= 10) { | ||
stack = t.context.stack; | ||
} | ||
}; | ||
function* nestedCall() { | ||
if (count >= 10) return; | ||
yield coreCmds.setInterval(coreCmds.now(), 0, true); | ||
} | ||
const context = { onCommand, name: "telemetry" }; | ||
const now = Date.now(); | ||
await call(context, coreInterpreters, nestedCall, "foo"); | ||
await sleep(20); | ||
expect(stack).toBeTruthy(); | ||
expect(stack.length).toEqual(1); | ||
}); | ||
test("globalVariable() should use window if available", () => { | ||
@@ -48,0 +116,0 @@ window.foo = "bar"; |
@@ -5,2 +5,4 @@ const { call, buildFunctions } = require("../core"); | ||
const { sleep } = require("./test-util"); | ||
const coreInterpreters = require("../interpreters"); | ||
const coreCmds = require("../cmds"); | ||
@@ -270,1 +272,27 @@ function* basic(message) { | ||
}); | ||
test("should not mutate stack", async () => { | ||
let stack1; | ||
let stack2; | ||
const onCommand = t => { | ||
if (!stack1) { | ||
stack1 = t.context.stack; | ||
return; | ||
} | ||
if (!stack2) { | ||
stack2 = t.context.stack; | ||
return; | ||
} | ||
}; | ||
function* nestedCall() { | ||
if (stack2) return; | ||
yield coreCmds.setImmediate(nestedCall); | ||
} | ||
const context = { onCommand, name: "telemetry" }; | ||
const now = Date.now(); | ||
await call(context, coreInterpreters, nestedCall, "foo"); | ||
await sleep(10); | ||
expect(stack1).toBeTruthy(); | ||
expect(stack2).toBeTruthy(); | ||
expect(stack1).not.toBe(stack2); | ||
}); |
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 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 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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8557
688219
95