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

remote.it

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remote.it - npm Package Compare versions

Comparing version 0.39.1 to 0.40.0

lib/remote.it.d.ts

2

coverage/coverage-final.json

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

{"/Users/danawoodman/code/remote.it/remote.it.js/src/remote.it.ts": {"path":"/Users/danawoodman/code/remote.it/remote.it.js/src/remote.it.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":56}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":68}},"2":{"start":{"line":4,"column":17},"end":{"line":7,"column":null}},"3":{"start":{"line":9,"column":30},"end":{"line":9,"column":null}},"4":{"start":{"line":10,"column":15},"end":{"line":10,"column":53}},"5":{"start":{"line":12,"column":19},"end":{"line":22,"column":4}},"6":{"start":{"line":24,"column":10},"end":{"line":748,"column":null}},"7":{"start":{"line":35,"column":8},"end":{"line":37,"column":null}},"8":{"start":{"line":44,"column":8},"end":{"line":44,"column":null}},"9":{"start":{"line":47,"column":8},"end":{"line":50,"column":null}},"10":{"start":{"line":49,"column":24},"end":{"line":49,"column":56}},"11":{"start":{"line":53,"column":8},"end":{"line":56,"column":null}},"12":{"start":{"line":55,"column":24},"end":{"line":55,"column":56}},"13":{"start":{"line":60,"column":10},"end":{"line":62,"column":null}},"14":{"start":{"line":62,"column":38},"end":{"line":62,"column":52}},"15":{"start":{"line":65,"column":10},"end":{"line":65,"column":null}},"16":{"start":{"line":65,"column":69},"end":{"line":65,"column":78}},"17":{"start":{"line":70,"column":8},"end":{"line":72,"column":null}},"18":{"start":{"line":71,"column":10},"end":{"line":71,"column":null}},"19":{"start":{"line":76,"column":8},"end":{"line":76,"column":null}},"20":{"start":{"line":84,"column":8},"end":{"line":88,"column":null}},"21":{"start":{"line":92,"column":8},"end":{"line":92,"column":null}},"22":{"start":{"line":95,"column":24},"end":{"line":95,"column":70}},"23":{"start":{"line":97,"column":22},"end":{"line":97,"column":35}},"24":{"start":{"line":98,"column":27},"end":{"line":100,"column":13}},"25":{"start":{"line":103,"column":24},"end":{"line":107,"column":13}},"26":{"start":{"line":108,"column":26},"end":{"line":114,"column":21}},"27":{"start":{"line":115,"column":21},"end":{"line":115,"column":44}},"28":{"start":{"line":116,"column":8},"end":{"line":138,"column":null}},"29":{"start":{"line":117,"column":10},"end":{"line":117,"column":null}},"30":{"start":{"line":118,"column":10},"end":{"line":118,"column":null}},"31":{"start":{"line":119,"column":10},"end":{"line":119,"column":null}},"32":{"start":{"line":120,"column":10},"end":{"line":129,"column":null}},"33":{"start":{"line":124,"column":12},"end":{"line":124,"column":null}},"34":{"start":{"line":128,"column":12},"end":{"line":128,"column":null}},"35":{"start":{"line":130,"column":15},"end":{"line":138,"column":null}},"36":{"start":{"line":131,"column":10},"end":{"line":131,"column":null}},"37":{"start":{"line":132,"column":15},"end":{"line":138,"column":null}},"38":{"start":{"line":133,"column":10},"end":{"line":133,"column":null}},"39":{"start":{"line":134,"column":15},"end":{"line":138,"column":null}},"40":{"start":{"line":135,"column":10},"end":{"line":135,"column":null}},"41":{"start":{"line":137,"column":10},"end":{"line":137,"column":null}},"42":{"start":{"line":140,"column":36},"end":{"line":145,"column":21}},"43":{"start":{"line":147,"column":8},"end":{"line":166,"column":null}},"44":{"start":{"line":169,"column":8},"end":{"line":169,"column":null}},"45":{"start":{"line":170,"column":8},"end":{"line":170,"column":null}},"46":{"start":{"line":171,"column":8},"end":{"line":171,"column":null}},"47":{"start":{"line":221,"column":22},"end":{"line":221,"column":40}},"48":{"start":{"line":222,"column":24},"end":{"line":222,"column":50}},"49":{"start":{"line":223,"column":19},"end":{"line":223,"column":40}},"50":{"start":{"line":224,"column":8},"end":{"line":229,"column":null}},"51":{"start":{"line":225,"column":44},"end":{"line":225,"column":56}},"52":{"start":{"line":232,"column":39},"end":{"line":237,"column":null}},"53":{"start":{"line":235,"column":21},"end":{"line":235,"column":28}},"54":{"start":{"line":235,"column":62},"end":{"line":235,"column":70}},"55":{"start":{"line":232,"column":14},"end":{"line":232,"column":39}},"56":{"start":{"line":238,"column":8},"end":{"line":238,"column":null}},"57":{"start":{"line":241,"column":8},"end":{"line":241,"column":null}},"58":{"start":{"line":241,"column":58},"end":{"line":241,"column":65}},"59":{"start":{"line":241,"column":72},"end":{"line":241,"column":80}},"60":{"start":{"line":243,"column":34},"end":{"line":243,"column":50}},"61":{"start":{"line":244,"column":39},"end":{"line":252,"column":null}},"62":{"start":{"line":250,"column":21},"end":{"line":250,"column":28}},"63":{"start":{"line":250,"column":62},"end":{"line":250,"column":70}},"64":{"start":{"line":244,"column":14},"end":{"line":244,"column":39}},"65":{"start":{"line":253,"column":8},"end":{"line":253,"column":null}},"66":{"start":{"line":256,"column":8},"end":{"line":336,"column":null}},"67":{"start":{"line":264,"column":14},"end":{"line":264,"column":24}},"68":{"start":{"line":265,"column":14},"end":{"line":265,"column":26}},"69":{"start":{"line":270,"column":29},"end":{"line":270,"column":54}},"70":{"start":{"line":273,"column":27},"end":{"line":273,"column":43}},"71":{"start":{"line":281,"column":29},"end":{"line":281,"column":47}},"72":{"start":{"line":282,"column":14},"end":{"line":282,"column":null}},"73":{"start":{"line":282,"column":39},"end":{"line":282,"column":null}},"74":{"start":{"line":283,"column":14},"end":{"line":283,"column":null}},"75":{"start":{"line":283,"column":40},"end":{"line":283,"column":null}},"76":{"start":{"line":284,"column":14},"end":{"line":284,"column":null}},"77":{"start":{"line":284,"column":41},"end":{"line":284,"column":null}},"78":{"start":{"line":285,"column":14},"end":{"line":285,"column":null}},"79":{"start":{"line":285,"column":42},"end":{"line":285,"column":null}},"80":{"start":{"line":286,"column":14},"end":{"line":286,"column":null}},"81":{"start":{"line":286,"column":40},"end":{"line":286,"column":null}},"82":{"start":{"line":298,"column":31},"end":{"line":298,"column":46}},"83":{"start":{"line":299,"column":25},"end":{"line":299,"column":46}},"84":{"start":{"line":300,"column":14},"end":{"line":302,"column":null}},"85":{"start":{"line":301,"column":16},"end":{"line":301,"column":null}},"86":{"start":{"line":309,"column":27},"end":{"line":309,"column":65}},"87":{"start":{"line":310,"column":14},"end":{"line":310,"column":null}},"88":{"start":{"line":310,"column":24},"end":{"line":310,"column":null}},"89":{"start":{"line":312,"column":14},"end":{"line":334,"column":null}},"90":{"start":{"line":340,"column":8},"end":{"line":343,"column":null}},"91":{"start":{"line":346,"column":8},"end":{"line":354,"column":null}},"92":{"start":{"line":346,"column":73},"end":{"line":354,"column":11}},"93":{"start":{"line":362,"column":8},"end":{"line":375,"column":null}},"94":{"start":{"line":370,"column":24},"end":{"line":370,"column":29}},"95":{"start":{"line":383,"column":8},"end":{"line":397,"column":null}},"96":{"start":{"line":392,"column":24},"end":{"line":392,"column":29}},"97":{"start":{"line":401,"column":35},"end":{"line":406,"column":null}},"98":{"start":{"line":403,"column":12},"end":{"line":403,"column":null}},"99":{"start":{"line":404,"column":12},"end":{"line":404,"column":null}},"100":{"start":{"line":410,"column":53},"end":{"line":410,"column":55}},"101":{"start":{"line":411,"column":8},"end":{"line":418,"column":null}},"102":{"start":{"line":412,"column":21},"end":{"line":412,"column":50}},"103":{"start":{"line":413,"column":10},"end":{"line":413,"column":25}},"104":{"start":{"line":413,"column":19},"end":{"line":413,"column":25}},"105":{"start":{"line":414,"column":10},"end":{"line":416,"column":null}},"106":{"start":{"line":417,"column":10},"end":{"line":417,"column":null}},"107":{"start":{"line":422,"column":36},"end":{"line":424,"column":null}},"108":{"start":{"line":428,"column":24},"end":{"line":479,"column":null}},"109":{"start":{"line":431,"column":27},"end":{"line":431,"column":52}},"110":{"start":{"line":434,"column":12},"end":{"line":439,"column":null}},"111":{"start":{"line":434,"column":34},"end":{"line":434,"column":44}},"112":{"start":{"line":434,"column":42},"end":{"line":434,"column":44}},"113":{"start":{"line":434,"column":30},"end":{"line":434,"column":34}},"114":{"start":{"line":435,"column":14},"end":{"line":438,"column":null}},"115":{"start":{"line":436,"column":32},"end":{"line":436,"column":77}},"116":{"start":{"line":437,"column":16},"end":{"line":437,"column":null}},"117":{"start":{"line":440,"column":12},"end":{"line":440,"column":31}},"118":{"start":{"line":440,"column":25},"end":{"line":440,"column":31}},"119":{"start":{"line":442,"column":12},"end":{"line":442,"column":null}},"120":{"start":{"line":444,"column":12},"end":{"line":478,"column":null}},"121":{"start":{"line":460,"column":50},"end":{"line":474,"column":null}},"122":{"start":{"line":482,"column":8},"end":{"line":482,"column":null}},"123":{"start":{"line":488,"column":8},"end":{"line":488,"column":null}},"124":{"start":{"line":488,"column":52},"end":{"line":488,"column":57}},"125":{"start":{"line":488,"column":64},"end":{"line":488,"column":70}},"126":{"start":{"line":492,"column":8},"end":{"line":492,"column":null}},"127":{"start":{"line":496,"column":8},"end":{"line":496,"column":null}},"128":{"start":{"line":501,"column":8},"end":{"line":501,"column":null}},"129":{"start":{"line":507,"column":8},"end":{"line":507,"column":null}},"130":{"start":{"line":507,"column":49},"end":{"line":507,"column":53}},"131":{"start":{"line":507,"column":60},"end":{"line":507,"column":65}},"132":{"start":{"line":513,"column":8},"end":{"line":513,"column":null}},"133":{"start":{"line":517,"column":8},"end":{"line":517,"column":null}},"134":{"start":{"line":522,"column":8},"end":{"line":526,"column":null}},"135":{"start":{"line":524,"column":19},"end":{"line":524,"column":28}},"136":{"start":{"line":525,"column":12},"end":{"line":525,"column":null}},"137":{"start":{"line":529,"column":8},"end":{"line":537,"column":null}},"138":{"start":{"line":537,"column":19},"end":{"line":537,"column":21}},"139":{"start":{"line":537,"column":28},"end":{"line":537,"column":31}},"140":{"start":{"line":541,"column":8},"end":{"line":547,"column":null}},"141":{"start":{"line":547,"column":22},"end":{"line":547,"column":61}},"142":{"start":{"line":551,"column":8},"end":{"line":551,"column":null}},"143":{"start":{"line":554,"column":8},"end":{"line":564,"column":null}},"144":{"start":{"line":569,"column":8},"end":{"line":571,"column":null}},"145":{"start":{"line":571,"column":19},"end":{"line":571,"column":27}},"146":{"start":{"line":571,"column":34},"end":{"line":571,"column":69}},"147":{"start":{"line":574,"column":8},"end":{"line":576,"column":null}},"148":{"start":{"line":576,"column":19},"end":{"line":576,"column":24}},"149":{"start":{"line":576,"column":71},"end":{"line":576,"column":77}},"150":{"start":{"line":579,"column":8},"end":{"line":583,"column":null}},"151":{"start":{"line":588,"column":8},"end":{"line":596,"column":null}},"152":{"start":{"line":601,"column":8},"end":{"line":605,"column":null}},"153":{"start":{"line":603,"column":19},"end":{"line":603,"column":24}},"154":{"start":{"line":604,"column":12},"end":{"line":604,"column":null}},"155":{"start":{"line":608,"column":8},"end":{"line":608,"column":null}},"156":{"start":{"line":613,"column":8},"end":{"line":629,"column":null}},"157":{"start":{"line":629,"column":36},"end":{"line":629,"column":60}},"158":{"start":{"line":632,"column":8},"end":{"line":639,"column":null}},"159":{"start":{"line":645,"column":8},"end":{"line":645,"column":null}},"160":{"start":{"line":649,"column":8},"end":{"line":652,"column":null}},"161":{"start":{"line":655,"column":8},"end":{"line":671,"column":null}},"162":{"start":{"line":656,"column":13},"end":{"line":656,"column":20}},"163":{"start":{"line":657,"column":12},"end":{"line":670,"column":null}},"164":{"start":{"line":657,"column":31},"end":{"line":670,"column":15}},"165":{"start":{"line":676,"column":14},"end":{"line":676,"column":null}},"166":{"start":{"line":677,"column":8},"end":{"line":679,"column":null}},"167":{"start":{"line":679,"column":24},"end":{"line":679,"column":70}},"168":{"start":{"line":682,"column":8},"end":{"line":682,"column":null}},"169":{"start":{"line":691,"column":47},"end":{"line":691,"column":58}},"170":{"start":{"line":691,"column":58},"end":{"line":691,"column":null}},"171":{"start":{"line":692,"column":6},"end":{"line":707,"column":null}},"172":{"start":{"line":709,"column":27},"end":{"line":709,"column":null}},"173":{"start":{"line":710,"column":6},"end":{"line":710,"column":null}},"174":{"start":{"line":712,"column":28},"end":{"line":712,"column":null}},"175":{"start":{"line":713,"column":6},"end":{"line":713,"column":null}},"176":{"start":{"line":716,"column":6},"end":{"line":718,"column":null}},"177":{"start":{"line":720,"column":30},"end":{"line":720,"column":null}},"178":{"start":{"line":721,"column":6},"end":{"line":721,"column":null}},"179":{"start":{"line":723,"column":29},"end":{"line":723,"column":null}},"180":{"start":{"line":724,"column":6},"end":{"line":724,"column":null}},"181":{"start":{"line":732,"column":16},"end":{"line":732,"column":null}},"182":{"start":{"line":733,"column":6},"end":{"line":740,"column":null}},"183":{"start":{"line":739,"column":8},"end":{"line":739,"column":null}},"184":{"start":{"line":741,"column":6},"end":{"line":741,"column":null}},"185":{"start":{"line":744,"column":6},"end":{"line":746,"column":null}},"186":{"start":{"line":745,"column":8},"end":{"line":745,"column":null}},"187":{"start":{"line":747,"column":6},"end":{"line":747,"column":null}},"188":{"start":{"line":751,"column":2},"end":{"line":751,"column":null}},"189":{"start":{"line":9,"column":0},"end":{"line":9,"column":24}},"190":{"start":{"line":755,"column":2},"end":{"line":755,"column":null}},"191":{"start":{"line":755,"column":21},"end":{"line":755,"column":null}},"192":{"start":{"line":757,"column":4},"end":{"line":757,"column":71}},"193":{"start":{"line":758,"column":15},"end":{"line":758,"column":38}},"194":{"start":{"line":760,"column":4},"end":{"line":761,"column":74}},"195":{"start":{"line":763,"column":2},"end":{"line":763,"column":null}}},"fnMap":{"0":{"name":"setup","decl":{"start":{"line":9,"column":24},"end":{"line":9,"column":29}},"loc":{"start":{"line":9,"column":50},"end":{"line":752,"column":1}}},"1":{"name":"(anonymous_20)","decl":{"start":{"line":34,"column":6},"end":{"line":34,"column":12}},"loc":{"start":{"line":34,"column":32},"end":{"line":38,"column":null}}},"2":{"name":"(anonymous_23)","decl":{"start":{"line":39,"column":6},"end":{"line":39,"column":12}},"loc":{"start":{"line":42,"column":25},"end":{"line":45,"column":null}}},"3":{"name":"(anonymous_26)","decl":{"start":{"line":46,"column":6},"end":{"line":46,"column":12}},"loc":{"start":{"line":46,"column":52},"end":{"line":51,"column":null}}},"4":{"name":"(anonymous_29)","decl":{"start":{"line":49,"column":16},"end":{"line":49,"column":20}},"loc":{"start":{"line":49,"column":20},"end":{"line":49,"column":26}}},"5":{"name":"(anonymous_30)","decl":{"start":{"line":52,"column":6},"end":{"line":52,"column":12}},"loc":{"start":{"line":52,"column":60},"end":{"line":57,"column":null}}},"6":{"name":"(anonymous_33)","decl":{"start":{"line":55,"column":16},"end":{"line":55,"column":20}},"loc":{"start":{"line":55,"column":20},"end":{"line":55,"column":26}}},"7":{"name":"(anonymous_34)","decl":{"start":{"line":59,"column":8},"end":{"line":59,"column":14}},"loc":{"start":{"line":59,"column":8},"end":{"line":63,"column":null}}},"8":{"name":"(anonymous_37)","decl":{"start":{"line":62,"column":18},"end":{"line":62,"column":19}},"loc":{"start":{"line":62,"column":33},"end":{"line":62,"column":42}}},"9":{"name":"(anonymous_38)","decl":{"start":{"line":64,"column":8},"end":{"line":64,"column":14}},"loc":{"start":{"line":64,"column":34},"end":{"line":66,"column":null}}},"10":{"name":"(anonymous_41)","decl":{"start":{"line":65,"column":63},"end":{"line":65,"column":69}},"loc":{"start":{"line":65,"column":63},"end":{"line":65,"column":77}}},"11":{"name":"(anonymous_42)","decl":{"start":{"line":69,"column":18},"end":{"line":69,"column":null}},"loc":{"start":{"line":69,"column":18},"end":{"line":73,"column":null}}},"12":{"name":"(anonymous_45)","decl":{"start":{"line":70,"column":63},"end":{"line":70,"column":null}},"loc":{"start":{"line":70,"column":63},"end":{"line":72,"column":9}}},"13":{"name":"(anonymous_46)","decl":{"start":{"line":75,"column":6},"end":{"line":75,"column":12}},"loc":{"start":{"line":75,"column":48},"end":{"line":77,"column":null}}},"14":{"name":"(anonymous_49)","decl":{"start":{"line":79,"column":6},"end":{"line":79,"column":12}},"loc":{"start":{"line":82,"column":25},"end":{"line":89,"column":null}}},"15":{"name":"(anonymous_52)","decl":{"start":{"line":91,"column":6},"end":{"line":91,"column":12}},"loc":{"start":{"line":91,"column":6},"end":{"line":93,"column":null}}},"16":{"name":"(anonymous_55)","decl":{"start":{"line":94,"column":6},"end":{"line":94,"column":13}},"loc":{"start":{"line":94,"column":46},"end":{"line":167,"column":7}}},"17":{"name":"(anonymous_56)","decl":{"start":{"line":168,"column":6},"end":{"line":168,"column":23}},"loc":{"start":{"line":168,"column":35},"end":{"line":172,"column":7}}},"18":{"name":"(anonymous_57)","decl":{"start":{"line":220,"column":6},"end":{"line":220,"column":22}},"loc":{"start":{"line":220,"column":38},"end":{"line":230,"column":7}}},"19":{"name":"(anonymous_58)","decl":{"start":{"line":225,"column":39},"end":{"line":225,"column":40}},"loc":{"start":{"line":225,"column":40},"end":{"line":225,"column":45}}},"20":{"name":"(anonymous_59)","decl":{"start":{"line":231,"column":6},"end":{"line":231,"column":12}},"loc":{"start":{"line":231,"column":6},"end":{"line":239,"column":null}}},"21":{"name":"(anonymous_62)","decl":{"start":{"line":235,"column":18},"end":{"line":235,"column":19}},"loc":{"start":{"line":235,"column":57},"end":{"line":235,"column":69}}},"22":{"name":"(anonymous_63)","decl":{"start":{"line":240,"column":6},"end":{"line":240,"column":12}},"loc":{"start":{"line":240,"column":6},"end":{"line":242,"column":null}}},"23":{"name":"(anonymous_66)","decl":{"start":{"line":241,"column":55},"end":{"line":241,"column":56}},"loc":{"start":{"line":241,"column":67},"end":{"line":241,"column":79}}},"24":{"name":"(anonymous_67)","decl":{"start":{"line":243,"column":6},"end":{"line":243,"column":12}},"loc":{"start":{"line":243,"column":47},"end":{"line":254,"column":null}}},"25":{"name":"(anonymous_70)","decl":{"start":{"line":250,"column":18},"end":{"line":250,"column":19}},"loc":{"start":{"line":250,"column":57},"end":{"line":250,"column":69}}},"26":{"name":"(anonymous_71)","decl":{"start":{"line":255,"column":6},"end":{"line":255,"column":12}},"loc":{"start":{"line":255,"column":53},"end":{"line":337,"column":null}}},"27":{"name":"(anonymous_74)","decl":{"start":{"line":263,"column":12},"end":{"line":263,"column":13}},"loc":{"start":{"line":269,"column":13},"end":{"line":335,"column":13}}},"28":{"name":"(anonymous_75)","decl":{"start":{"line":339,"column":6},"end":{"line":339,"column":12}},"loc":{"start":{"line":339,"column":48},"end":{"line":344,"column":null}}},"29":{"name":"(anonymous_78)","decl":{"start":{"line":345,"column":6},"end":{"line":345,"column":12}},"loc":{"start":{"line":345,"column":6},"end":{"line":355,"column":null}}},"30":{"name":"(anonymous_81)","decl":{"start":{"line":346,"column":45},"end":{"line":346,"column":46}},"loc":{"start":{"line":346,"column":68},"end":{"line":346,"column":74}}},"31":{"name":"(anonymous_82)","decl":{"start":{"line":357,"column":6},"end":{"line":357,"column":12}},"loc":{"start":{"line":360,"column":24},"end":{"line":376,"column":null}}},"32":{"name":"(anonymous_85)","decl":{"start":{"line":370,"column":19},"end":{"line":370,"column":20}},"loc":{"start":{"line":370,"column":20},"end":{"line":370,"column":25}}},"33":{"name":"(anonymous_86)","decl":{"start":{"line":378,"column":6},"end":{"line":378,"column":12}},"loc":{"start":{"line":381,"column":24},"end":{"line":398,"column":null}}},"34":{"name":"(anonymous_89)","decl":{"start":{"line":392,"column":19},"end":{"line":392,"column":20}},"loc":{"start":{"line":392,"column":20},"end":{"line":392,"column":25}}},"35":{"name":"(anonymous_90)","decl":{"start":{"line":399,"column":6},"end":{"line":399,"column":11}},"loc":{"start":{"line":399,"column":57},"end":{"line":483,"column":7}}},"36":{"name":"(anonymous_91)","decl":{"start":{"line":402,"column":10},"end":{"line":402,"column":11}},"loc":{"start":{"line":402,"column":56},"end":{"line":405,"column":11}}},"37":{"name":"(anonymous_92)","decl":{"start":{"line":411,"column":24},"end":{"line":411,"column":25}},"loc":{"start":{"line":411,"column":25},"end":{"line":418,"column":9}}},"38":{"name":"(anonymous_93)","decl":{"start":{"line":429,"column":10},"end":{"line":429,"column":11}},"loc":{"start":{"line":429,"column":23},"end":{"line":479,"column":11}}},"39":{"name":"(anonymous_94)","decl":{"start":{"line":460,"column":20},"end":{"line":460,"column":21}},"loc":{"start":{"line":460,"column":35},"end":{"line":460,"column":51}}},"40":{"name":"(anonymous_95)","decl":{"start":{"line":487,"column":6},"end":{"line":487,"column":12}},"loc":{"start":{"line":487,"column":6},"end":{"line":489,"column":null}}},"41":{"name":"(anonymous_98)","decl":{"start":{"line":488,"column":49},"end":{"line":488,"column":50}},"loc":{"start":{"line":488,"column":59},"end":{"line":488,"column":69}}},"42":{"name":"(anonymous_99)","decl":{"start":{"line":491,"column":6},"end":{"line":491,"column":12}},"loc":{"start":{"line":491,"column":31},"end":{"line":493,"column":null}}},"43":{"name":"(anonymous_102)","decl":{"start":{"line":495,"column":6},"end":{"line":495,"column":12}},"loc":{"start":{"line":495,"column":31},"end":{"line":497,"column":null}}},"44":{"name":"(anonymous_105)","decl":{"start":{"line":499,"column":6},"end":{"line":499,"column":12}},"loc":{"start":{"line":499,"column":39},"end":{"line":502,"column":null}}},"45":{"name":"(anonymous_108)","decl":{"start":{"line":506,"column":16},"end":{"line":506,"column":null}},"loc":{"start":{"line":506,"column":16},"end":{"line":508,"column":null}}},"46":{"name":"(anonymous_111)","decl":{"start":{"line":507,"column":46},"end":{"line":507,"column":47}},"loc":{"start":{"line":507,"column":55},"end":{"line":507,"column":64}}},"47":{"name":"(anonymous_112)","decl":{"start":{"line":512,"column":6},"end":{"line":512,"column":12}},"loc":{"start":{"line":512,"column":33},"end":{"line":514,"column":null}}},"48":{"name":"(anonymous_115)","decl":{"start":{"line":516,"column":6},"end":{"line":516,"column":12}},"loc":{"start":{"line":516,"column":32},"end":{"line":518,"column":null}}},"49":{"name":"(anonymous_118)","decl":{"start":{"line":521,"column":6},"end":{"line":521,"column":12}},"loc":{"start":{"line":521,"column":6},"end":{"line":527,"column":null}}},"50":{"name":"(anonymous_121)","decl":{"start":{"line":524,"column":16},"end":{"line":524,"column":17}},"loc":{"start":{"line":524,"column":60},"end":{"line":525,"column":21}}},"51":{"name":"(anonymous_122)","decl":{"start":{"line":528,"column":6},"end":{"line":528,"column":12}},"loc":{"start":{"line":528,"column":36},"end":{"line":538,"column":null}}},"52":{"name":"(anonymous_125)","decl":{"start":{"line":537,"column":16},"end":{"line":537,"column":17}},"loc":{"start":{"line":537,"column":23},"end":{"line":537,"column":30}}},"53":{"name":"(anonymous_126)","decl":{"start":{"line":540,"column":6},"end":{"line":540,"column":12}},"loc":{"start":{"line":540,"column":36},"end":{"line":548,"column":null}}},"54":{"name":"(anonymous_129)","decl":{"start":{"line":547,"column":16},"end":{"line":547,"column":22}},"loc":{"start":{"line":547,"column":16},"end":{"line":547,"column":28}}},"55":{"name":"(anonymous_130)","decl":{"start":{"line":550,"column":6},"end":{"line":550,"column":12}},"loc":{"start":{"line":550,"column":37},"end":{"line":552,"column":null}}},"56":{"name":"(anonymous_133)","decl":{"start":{"line":553,"column":6},"end":{"line":553,"column":13}},"loc":{"start":{"line":553,"column":28},"end":{"line":565,"column":7}}},"57":{"name":"(anonymous_134)","decl":{"start":{"line":568,"column":6},"end":{"line":568,"column":12}},"loc":{"start":{"line":568,"column":6},"end":{"line":572,"column":null}}},"58":{"name":"(anonymous_137)","decl":{"start":{"line":571,"column":16},"end":{"line":571,"column":17}},"loc":{"start":{"line":571,"column":29},"end":{"line":571,"column":42}}},"59":{"name":"(anonymous_138)","decl":{"start":{"line":573,"column":6},"end":{"line":573,"column":12}},"loc":{"start":{"line":573,"column":6},"end":{"line":577,"column":null}}},"60":{"name":"(anonymous_141)","decl":{"start":{"line":576,"column":16},"end":{"line":576,"column":17}},"loc":{"start":{"line":576,"column":53},"end":{"line":576,"column":76}}},"61":{"name":"(anonymous_142)","decl":{"start":{"line":578,"column":6},"end":{"line":578,"column":12}},"loc":{"start":{"line":578,"column":36},"end":{"line":584,"column":null}}},"62":{"name":"(anonymous_145)","decl":{"start":{"line":587,"column":6},"end":{"line":587,"column":14}},"loc":{"start":{"line":587,"column":35},"end":{"line":597,"column":7}}},"63":{"name":"(anonymous_146)","decl":{"start":{"line":600,"column":6},"end":{"line":600,"column":12}},"loc":{"start":{"line":600,"column":6},"end":{"line":606,"column":null}}},"64":{"name":"(anonymous_149)","decl":{"start":{"line":603,"column":16},"end":{"line":603,"column":17}},"loc":{"start":{"line":603,"column":49},"end":{"line":604,"column":17}}},"65":{"name":"(anonymous_150)","decl":{"start":{"line":607,"column":6},"end":{"line":607,"column":12}},"loc":{"start":{"line":607,"column":31},"end":{"line":609,"column":null}}},"66":{"name":"(anonymous_153)","decl":{"start":{"line":611,"column":6},"end":{"line":611,"column":12}},"loc":{"start":{"line":611,"column":35},"end":{"line":630,"column":null}}},"67":{"name":"(anonymous_156)","decl":{"start":{"line":629,"column":16},"end":{"line":629,"column":17}},"loc":{"start":{"line":629,"column":31},"end":{"line":629,"column":38}}},"68":{"name":"(anonymous_157)","decl":{"start":{"line":631,"column":6},"end":{"line":631,"column":14}},"loc":{"start":{"line":631,"column":29},"end":{"line":640,"column":7}}},"69":{"name":"(anonymous_158)","decl":{"start":{"line":644,"column":6},"end":{"line":644,"column":12}},"loc":{"start":{"line":644,"column":39},"end":{"line":646,"column":null}}},"70":{"name":"(anonymous_161)","decl":{"start":{"line":648,"column":6},"end":{"line":648,"column":12}},"loc":{"start":{"line":648,"column":34},"end":{"line":653,"column":null}}},"71":{"name":"(anonymous_164)","decl":{"start":{"line":654,"column":6},"end":{"line":654,"column":12}},"loc":{"start":{"line":654,"column":6},"end":{"line":672,"column":null}}},"72":{"name":"(anonymous_167)","decl":{"start":{"line":656,"column":10},"end":{"line":656,"column":11}},"loc":{"start":{"line":656,"column":55},"end":{"line":657,"column":19}}},"73":{"name":"(anonymous_168)","decl":{"start":{"line":657,"column":24},"end":{"line":657,"column":27}},"loc":{"start":{"line":657,"column":27},"end":{"line":657,"column":32}}},"74":{"name":"(anonymous_169)","decl":{"start":{"line":675,"column":6},"end":{"line":675,"column":12}},"loc":{"start":{"line":675,"column":28},"end":{"line":680,"column":null}}},"75":{"name":"(anonymous_172)","decl":{"start":{"line":679,"column":16},"end":{"line":679,"column":20}},"loc":{"start":{"line":679,"column":20},"end":{"line":679,"column":25}}},"76":{"name":"(anonymous_173)","decl":{"start":{"line":681,"column":6},"end":{"line":681,"column":12}},"loc":{"start":{"line":681,"column":6},"end":{"line":683,"column":null}}},"77":{"name":"(anonymous_176)","decl":{"start":{"line":691,"column":4},"end":{"line":691,"column":10}},"loc":{"start":{"line":691,"column":75},"end":{"line":708,"column":null}}},"78":{"name":"(anonymous_179)","decl":{"start":{"line":709,"column":4},"end":{"line":709,"column":10}},"loc":{"start":{"line":709,"column":36},"end":{"line":711,"column":null}}},"79":{"name":"(anonymous_182)","decl":{"start":{"line":712,"column":4},"end":{"line":712,"column":10}},"loc":{"start":{"line":712,"column":37},"end":{"line":714,"column":null}}},"80":{"name":"(anonymous_185)","decl":{"start":{"line":715,"column":4},"end":{"line":715,"column":10}},"loc":{"start":{"line":715,"column":46},"end":{"line":719,"column":null}}},"81":{"name":"(anonymous_188)","decl":{"start":{"line":720,"column":4},"end":{"line":720,"column":10}},"loc":{"start":{"line":720,"column":39},"end":{"line":722,"column":null}}},"82":{"name":"(anonymous_191)","decl":{"start":{"line":723,"column":4},"end":{"line":723,"column":10}},"loc":{"start":{"line":723,"column":38},"end":{"line":725,"column":null}}},"83":{"name":"(anonymous_194)","decl":{"start":{"line":732,"column":4},"end":{"line":732,"column":15}},"loc":{"start":{"line":732,"column":46},"end":{"line":742,"column":5}}},"84":{"name":"(anonymous_195)","decl":{"start":{"line":743,"column":4},"end":{"line":743,"column":16}},"loc":{"start":{"line":743,"column":34},"end":{"line":748,"column":5}}},"85":{"name":"isCommercialPlan","decl":{"start":{"line":754,"column":9},"end":{"line":754,"column":25}},"loc":{"start":{"line":754,"column":40},"end":{"line":764,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":30},"end":{"line":9,"column":null}},"type":"if","locations":[{"start":{"line":9,"column":30},"end":{"line":9,"column":null}},{"start":{"line":9,"column":30},"end":{"line":9,"column":null}}]},"1":{"loc":{"start":{"line":95,"column":32},"end":{"line":95,"column":45}},"type":"binary-expr","locations":[{"start":{"line":95,"column":32},"end":{"line":95,"column":45}},{"start":{"line":95,"column":49},"end":{"line":95,"column":69}}]},"2":{"loc":{"start":{"line":99,"column":12},"end":{"line":99,"column":47}},"type":"cond-expr","locations":[{"start":{"line":99,"column":12},"end":{"line":99,"column":47}},{"start":{"line":100,"column":12},"end":{"line":100,"column":13}}]},"3":{"loc":{"start":{"line":106,"column":12},"end":{"line":106,"column":51}},"type":"cond-expr","locations":[{"start":{"line":106,"column":12},"end":{"line":106,"column":51}},{"start":{"line":107,"column":12},"end":{"line":107,"column":13}}]},"4":{"loc":{"start":{"line":110,"column":12},"end":{"line":112,"column":null}},"type":"cond-expr","locations":[{"start":{"line":110,"column":12},"end":{"line":112,"column":null}},{"start":{"line":114,"column":12},"end":{"line":114,"column":21}}]},"5":{"loc":{"start":{"line":116,"column":8},"end":{"line":138,"column":null}},"type":"if","locations":[{"start":{"line":116,"column":8},"end":{"line":138,"column":null}},{"start":{"line":116,"column":8},"end":{"line":138,"column":null}}]},"6":{"loc":{"start":{"line":120,"column":10},"end":{"line":129,"column":null}},"type":"if","locations":[{"start":{"line":120,"column":10},"end":{"line":129,"column":null}},{"start":{"line":120,"column":10},"end":{"line":129,"column":null}}]},"7":{"loc":{"start":{"line":121,"column":12},"end":{"line":121,"column":58}},"type":"binary-expr","locations":[{"start":{"line":121,"column":12},"end":{"line":121,"column":58}},{"start":{"line":122,"column":12},"end":{"line":122,"column":60}}]},"8":{"loc":{"start":{"line":130,"column":15},"end":{"line":138,"column":null}},"type":"if","locations":[{"start":{"line":130,"column":15},"end":{"line":138,"column":null}},{"start":{"line":130,"column":15},"end":{"line":138,"column":null}}]},"9":{"loc":{"start":{"line":132,"column":15},"end":{"line":138,"column":null}},"type":"if","locations":[{"start":{"line":132,"column":15},"end":{"line":138,"column":null}},{"start":{"line":132,"column":15},"end":{"line":138,"column":null}}]},"10":{"loc":{"start":{"line":134,"column":15},"end":{"line":138,"column":null}},"type":"if","locations":[{"start":{"line":134,"column":15},"end":{"line":138,"column":null}},{"start":{"line":134,"column":15},"end":{"line":138,"column":null}}]},"11":{"loc":{"start":{"line":141,"column":12},"end":{"line":143,"column":null}},"type":"cond-expr","locations":[{"start":{"line":141,"column":12},"end":{"line":143,"column":null}},{"start":{"line":145,"column":12},"end":{"line":145,"column":21}}]},"12":{"loc":{"start":{"line":152,"column":20},"end":{"line":152,"column":33}},"type":"binary-expr","locations":[{"start":{"line":152,"column":20},"end":{"line":152,"column":33}},{"start":{"line":152,"column":37},"end":{"line":152,"column":41}}]},"13":{"loc":{"start":{"line":154,"column":17},"end":{"line":154,"column":27}},"type":"binary-expr","locations":[{"start":{"line":154,"column":17},"end":{"line":154,"column":27}},{"start":{"line":154,"column":31},"end":{"line":154,"column":46}}]},"14":{"loc":{"start":{"line":225,"column":10},"end":{"line":225,"column":56}},"type":"binary-expr","locations":[{"start":{"line":225,"column":10},"end":{"line":225,"column":56}},{"start":{"line":225,"column":60},"end":{"line":228,"column":null}}]},"15":{"loc":{"start":{"line":232,"column":39},"end":{"line":237,"column":null}},"type":"switch","locations":[{"start":{"line":232,"column":39},"end":{"line":237,"column":null}}]},"16":{"loc":{"start":{"line":243,"column":34},"end":{"line":243,"column":50}},"type":"if","locations":[{"start":{"line":243,"column":34},"end":{"line":243,"column":50}},{"start":{"line":243,"column":34},"end":{"line":243,"column":50}}]},"17":{"loc":{"start":{"line":244,"column":39},"end":{"line":252,"column":null}},"type":"switch","locations":[{"start":{"line":244,"column":39},"end":{"line":252,"column":null}}]},"18":{"loc":{"start":{"line":282,"column":14},"end":{"line":282,"column":null}},"type":"if","locations":[{"start":{"line":282,"column":14},"end":{"line":282,"column":null}},{"start":{"line":282,"column":14},"end":{"line":282,"column":null}}]},"19":{"loc":{"start":{"line":283,"column":14},"end":{"line":283,"column":null}},"type":"if","locations":[{"start":{"line":283,"column":14},"end":{"line":283,"column":null}},{"start":{"line":283,"column":14},"end":{"line":283,"column":null}}]},"20":{"loc":{"start":{"line":284,"column":14},"end":{"line":284,"column":null}},"type":"if","locations":[{"start":{"line":284,"column":14},"end":{"line":284,"column":null}},{"start":{"line":284,"column":14},"end":{"line":284,"column":null}}]},"21":{"loc":{"start":{"line":285,"column":14},"end":{"line":285,"column":null}},"type":"if","locations":[{"start":{"line":285,"column":14},"end":{"line":285,"column":null}},{"start":{"line":285,"column":14},"end":{"line":285,"column":null}}]},"22":{"loc":{"start":{"line":286,"column":14},"end":{"line":286,"column":null}},"type":"if","locations":[{"start":{"line":286,"column":14},"end":{"line":286,"column":null}},{"start":{"line":286,"column":14},"end":{"line":286,"column":null}}]},"23":{"loc":{"start":{"line":300,"column":14},"end":{"line":302,"column":null}},"type":"if","locations":[{"start":{"line":300,"column":14},"end":{"line":302,"column":null}},{"start":{"line":300,"column":14},"end":{"line":302,"column":null}}]},"24":{"loc":{"start":{"line":300,"column":18},"end":{"line":300,"column":36}},"type":"binary-expr","locations":[{"start":{"line":300,"column":18},"end":{"line":300,"column":36}},{"start":{"line":300,"column":40},"end":{"line":300,"column":58}}]},"25":{"loc":{"start":{"line":301,"column":32},"end":{"line":301,"column":63}},"type":"binary-expr","locations":[{"start":{"line":301,"column":32},"end":{"line":301,"column":63}},{"start":{"line":301,"column":67},"end":{"line":301,"column":69}}]},"26":{"loc":{"start":{"line":310,"column":14},"end":{"line":310,"column":null}},"type":"if","locations":[{"start":{"line":310,"column":14},"end":{"line":310,"column":null}},{"start":{"line":310,"column":14},"end":{"line":310,"column":null}}]},"27":{"loc":{"start":{"line":318,"column":22},"end":{"line":318,"column":26}},"type":"binary-expr","locations":[{"start":{"line":318,"column":22},"end":{"line":318,"column":26}},{"start":{"line":318,"column":30},"end":{"line":318,"column":34}}]},"28":{"loc":{"start":{"line":413,"column":10},"end":{"line":413,"column":25}},"type":"if","locations":[{"start":{"line":413,"column":10},"end":{"line":413,"column":25}},{"start":{"line":413,"column":10},"end":{"line":413,"column":25}}]},"29":{"loc":{"start":{"line":415,"column":14},"end":{"line":415,"column":33}},"type":"cond-expr","locations":[{"start":{"line":415,"column":14},"end":{"line":415,"column":33}},{"start":{"line":416,"column":14},"end":{"line":416,"column":53}}]},"30":{"loc":{"start":{"line":435,"column":14},"end":{"line":438,"column":null}},"type":"if","locations":[{"start":{"line":435,"column":14},"end":{"line":438,"column":null}},{"start":{"line":435,"column":14},"end":{"line":438,"column":null}}]},"31":{"loc":{"start":{"line":440,"column":12},"end":{"line":440,"column":31}},"type":"if","locations":[{"start":{"line":440,"column":12},"end":{"line":440,"column":31}},{"start":{"line":440,"column":12},"end":{"line":440,"column":31}}]},"32":{"loc":{"start":{"line":472,"column":26},"end":{"line":472,"column":46}},"type":"cond-expr","locations":[{"start":{"line":472,"column":26},"end":{"line":472,"column":46}},{"start":{"line":473,"column":26},"end":{"line":473,"column":45}}]},"33":{"loc":{"start":{"line":556,"column":23},"end":{"line":556,"column":37}},"type":"binary-expr","locations":[{"start":{"line":556,"column":23},"end":{"line":556,"column":37}},{"start":{"line":556,"column":41},"end":{"line":556,"column":43}}]},"34":{"loc":{"start":{"line":561,"column":20},"end":{"line":561,"column":30}},"type":"binary-expr","locations":[{"start":{"line":561,"column":20},"end":{"line":561,"column":30}},{"start":{"line":561,"column":34},"end":{"line":561,"column":38}}]},"35":{"loc":{"start":{"line":676,"column":25},"end":{"line":676,"column":40}},"type":"cond-expr","locations":[{"start":{"line":676,"column":25},"end":{"line":676,"column":40}},{"start":{"line":676,"column":43},"end":{"line":676,"column":53}}]},"36":{"loc":{"start":{"line":679,"column":39},"end":{"line":679,"column":52}},"type":"cond-expr","locations":[{"start":{"line":679,"column":39},"end":{"line":679,"column":52}},{"start":{"line":679,"column":55},"end":{"line":679,"column":68}}]},"37":{"loc":{"start":{"line":691,"column":47},"end":{"line":691,"column":58}},"type":"if","locations":[{"start":{"line":691,"column":47},"end":{"line":691,"column":58}},{"start":{"line":691,"column":47},"end":{"line":691,"column":58}}]},"38":{"loc":{"start":{"line":691,"column":58},"end":{"line":691,"column":null}},"type":"if","locations":[{"start":{"line":691,"column":58},"end":{"line":691,"column":null}},{"start":{"line":691,"column":58},"end":{"line":691,"column":null}}]},"39":{"loc":{"start":{"line":709,"column":27},"end":{"line":709,"column":null}},"type":"if","locations":[{"start":{"line":709,"column":27},"end":{"line":709,"column":null}},{"start":{"line":709,"column":27},"end":{"line":709,"column":null}}]},"40":{"loc":{"start":{"line":712,"column":28},"end":{"line":712,"column":null}},"type":"if","locations":[{"start":{"line":712,"column":28},"end":{"line":712,"column":null}},{"start":{"line":712,"column":28},"end":{"line":712,"column":null}}]},"41":{"loc":{"start":{"line":720,"column":30},"end":{"line":720,"column":null}},"type":"if","locations":[{"start":{"line":720,"column":30},"end":{"line":720,"column":null}},{"start":{"line":720,"column":30},"end":{"line":720,"column":null}}]},"42":{"loc":{"start":{"line":723,"column":29},"end":{"line":723,"column":null}},"type":"if","locations":[{"start":{"line":723,"column":29},"end":{"line":723,"column":null}},{"start":{"line":723,"column":29},"end":{"line":723,"column":null}}]},"43":{"loc":{"start":{"line":732,"column":16},"end":{"line":732,"column":null}},"type":"if","locations":[{"start":{"line":732,"column":16},"end":{"line":732,"column":null}},{"start":{"line":732,"column":16},"end":{"line":732,"column":null}}]},"44":{"loc":{"start":{"line":733,"column":6},"end":{"line":740,"column":null}},"type":"if","locations":[{"start":{"line":733,"column":6},"end":{"line":740,"column":null}},{"start":{"line":733,"column":6},"end":{"line":740,"column":null}}]},"45":{"loc":{"start":{"line":734,"column":8},"end":{"line":734,"column":17}},"type":"binary-expr","locations":[{"start":{"line":734,"column":8},"end":{"line":734,"column":17}},{"start":{"line":735,"column":8},"end":{"line":735,"column":24}},{"start":{"line":736,"column":8},"end":{"line":736,"column":24}},{"start":{"line":737,"column":8},"end":{"line":737,"column":36}}]},"46":{"loc":{"start":{"line":744,"column":6},"end":{"line":746,"column":null}},"type":"if","locations":[{"start":{"line":744,"column":6},"end":{"line":746,"column":null}},{"start":{"line":744,"column":6},"end":{"line":746,"column":null}}]},"47":{"loc":{"start":{"line":744,"column":10},"end":{"line":744,"column":24}},"type":"binary-expr","locations":[{"start":{"line":744,"column":10},"end":{"line":744,"column":24}},{"start":{"line":744,"column":28},"end":{"line":744,"column":47}},{"start":{"line":744,"column":51},"end":{"line":744,"column":77}}]},"48":{"loc":{"start":{"line":755,"column":2},"end":{"line":755,"column":null}},"type":"if","locations":[{"start":{"line":755,"column":2},"end":{"line":755,"column":null}},{"start":{"line":755,"column":2},"end":{"line":755,"column":null}}]},"49":{"loc":{"start":{"line":757,"column":4},"end":{"line":757,"column":27}},"type":"binary-expr","locations":[{"start":{"line":757,"column":4},"end":{"line":757,"column":27}},{"start":{"line":757,"column":31},"end":{"line":757,"column":71}}]},"50":{"loc":{"start":{"line":760,"column":4},"end":{"line":760,"column":8}},"type":"binary-expr","locations":[{"start":{"line":760,"column":4},"end":{"line":760,"column":8}},{"start":{"line":761,"column":5},"end":{"line":761,"column":38}},{"start":{"line":761,"column":42},"end":{"line":761,"column":73}}]},"51":{"loc":{"start":{"line":763,"column":17},"end":{"line":763,"column":32}},"type":"binary-expr","locations":[{"start":{"line":763,"column":17},"end":{"line":763,"column":32}},{"start":{"line":763,"column":36},"end":{"line":763,"column":54}}]}},"s":{"0":1,"1":1,"2":1,"3":63,"4":34,"5":34,"6":34,"7":0,"8":0,"9":3,"10":3,"11":2,"12":2,"13":1,"14":1,"15":1,"16":1,"17":0,"18":0,"19":0,"20":0,"21":0,"22":6,"23":6,"24":6,"25":6,"26":6,"27":6,"28":6,"29":1,"30":1,"31":1,"32":1,"33":1,"34":0,"35":5,"36":2,"37":3,"38":3,"39":0,"40":0,"41":0,"42":6,"43":6,"44":5,"45":5,"46":5,"47":24,"48":24,"49":24,"50":24,"51":528,"52":2,"53":2,"54":2,"55":2,"56":2,"57":1,"58":1,"59":1,"60":2,"61":1,"62":1,"63":1,"64":1,"65":1,"66":2,"67":2,"68":2,"69":2,"70":2,"71":2,"72":2,"73":2,"74":2,"75":0,"76":2,"77":0,"78":2,"79":0,"80":2,"81":0,"82":2,"83":2,"84":2,"85":2,"86":2,"87":2,"88":2,"89":2,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":5,"98":29,"99":29,"100":5,"101":5,"102":33,"103":33,"104":0,"105":33,"106":33,"107":5,"108":5,"109":21,"110":21,"111":21,"112":21,"113":25,"114":25,"115":12,"116":12,"117":21,"118":9,"119":12,"120":12,"121":12,"122":5,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":1,"135":1,"136":1,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":1,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":2,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"169":23,"170":40,"171":20,"172":12,"173":6,"174":11,"175":11,"176":0,"177":0,"178":0,"179":0,"180":0,"181":22,"182":20,"183":1,"184":19,"185":4,"186":3,"187":4,"188":34,"189":1,"190":6,"191":1,"192":5,"193":5,"194":5,"195":5},"f":{"0":34,"1":0,"2":0,"3":3,"4":3,"5":2,"6":2,"7":1,"8":1,"9":1,"10":1,"11":0,"12":0,"13":0,"14":0,"15":0,"16":6,"17":5,"18":24,"19":528,"20":2,"21":2,"22":1,"23":1,"24":1,"25":1,"26":2,"27":2,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":5,"36":29,"37":33,"38":21,"39":12,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":1,"50":1,"51":0,"52":0,"53":0,"54":0,"55":0,"56":1,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":1,"64":1,"65":1,"66":1,"67":1,"68":2,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":20,"78":6,"79":11,"80":0,"81":0,"82":0,"83":20,"84":4,"85":6},"b":{"0":[29,5],"1":[6,1],"2":[4,2],"3":[4,2],"4":[4,2],"5":[1,5],"6":[1,0],"7":[1,1],"8":[2,3],"9":[3,0],"10":[0,0],"11":[3,3],"12":[6,0],"13":[6,2],"14":[24,0],"15":[2],"16":[1,0],"17":[1],"18":[2,0],"19":[0,2],"20":[0,2],"21":[0,2],"22":[0,2],"23":[2,0],"24":[2,2],"25":[2,0],"26":[2,0],"27":[2,0],"28":[0,33],"29":[21,12],"30":[12,13],"31":[9,12],"32":[12,0],"33":[1,0],"34":[1,0],"35":[0,0],"36":[0,0],"37":[3,17],"38":[20,0],"39":[6,0],"40":[0,11],"41":[0,0],"42":[0,0],"43":[2,18],"44":[1,19],"45":[20,18,10,1],"46":[3,1],"47":[4,3,3],"48":[1,5],"49":[5,3],"50":[5,3,0],"51":[5,2]}}
{"/Users/danawoodman/code/remote.it/remote.it.js/packages/remote.it.js/src/utils.ts": {"path":"/Users/danawoodman/code/remote.it/remote.it.js/packages/remote.it.js/src/utils.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"1":{"start":{"line":4,"column":2},"end":{"line":4,"column":null}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":16}},"3":{"start":{"line":7,"column":35},"end":{"line":7,"column":null}},"4":{"start":{"line":8,"column":2},"end":{"line":8,"column":null}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":16}},"6":{"start":{"line":12,"column":2},"end":{"line":15,"column":null}},"7":{"start":{"line":13,"column":17},"end":{"line":13,"column":32}},"8":{"start":{"line":13,"column":32},"end":{"line":13,"column":null}},"9":{"start":{"line":11,"column":0},"end":{"line":11,"column":16}},"10":{"start":{"line":19,"column":38},"end":{"line":19,"column":40}},"11":{"start":{"line":20,"column":2},"end":{"line":28,"column":null}},"12":{"start":{"line":21,"column":4},"end":{"line":27,"column":null}},"13":{"start":{"line":26,"column":6},"end":{"line":26,"column":null}},"14":{"start":{"line":29,"column":2},"end":{"line":29,"column":null}},"15":{"start":{"line":18,"column":0},"end":{"line":18,"column":16}}},"fnMap":{"0":{"name":"parseLegacyDate","decl":{"start":{"line":3,"column":16},"end":{"line":3,"column":31}},"loc":{"start":{"line":3,"column":60},"end":{"line":5,"column":1}}},"1":{"name":"toNumber","decl":{"start":{"line":7,"column":16},"end":{"line":7,"column":24}},"loc":{"start":{"line":7,"column":45},"end":{"line":9,"column":1}}},"2":{"name":"groupBy","decl":{"start":{"line":11,"column":16},"end":{"line":11,"column":23}},"loc":{"start":{"line":11,"column":47},"end":{"line":16,"column":1}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":13,"column":4},"end":{"line":13,"column":5}},"loc":{"start":{"line":13,"column":27},"end":{"line":13,"column":33}}},"4":{"name":"pickBy","decl":{"start":{"line":18,"column":16},"end":{"line":18,"column":22}},"loc":{"start":{"line":18,"column":53},"end":{"line":30,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":35},"end":{"line":7,"column":null}},"type":"if","locations":[{"start":{"line":7,"column":35},"end":{"line":7,"column":null}},{"start":{"line":7,"column":35},"end":{"line":7,"column":null}}]},"1":{"loc":{"start":{"line":13,"column":17},"end":{"line":13,"column":32}},"type":"if","locations":[{"start":{"line":13,"column":17},"end":{"line":13,"column":32}},{"start":{"line":13,"column":17},"end":{"line":13,"column":32}}]},"2":{"loc":{"start":{"line":13,"column":34},"end":{"line":13,"column":38}},"type":"binary-expr","locations":[{"start":{"line":13,"column":34},"end":{"line":13,"column":38}},{"start":{"line":13,"column":43},"end":{"line":13,"column":52}}]},"3":{"loc":{"start":{"line":21,"column":4},"end":{"line":27,"column":null}},"type":"if","locations":[{"start":{"line":21,"column":4},"end":{"line":27,"column":null}},{"start":{"line":21,"column":4},"end":{"line":27,"column":null}}]},"4":{"loc":{"start":{"line":22,"column":6},"end":{"line":22,"column":26}},"type":"binary-expr","locations":[{"start":{"line":22,"column":6},"end":{"line":22,"column":26}},{"start":{"line":23,"column":6},"end":{"line":23,"column":27}},{"start":{"line":24,"column":6},"end":{"line":24,"column":31}}]}},"s":{"0":1,"1":4,"2":1,"3":0,"4":0,"5":1,"6":0,"7":0,"8":0,"9":1,"10":0,"11":0,"12":0,"13":0,"14":0,"15":1},"f":{"0":4,"1":0,"2":0,"3":0,"4":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0,0]}}
}

@@ -1,22 +0,6 @@

// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html
module.exports = {
clearMocks: true,
collectCoverage: true,
coverageDirectory: 'coverage',
coveragePathIgnorePatterns: ['jest.config.js', '/node_modules/'],
globals: {
'ts-jest': {
tsConfigFile: 'tsconfig.json',
},
},
moduleFileExtensions: ['ts', 'tsx', 'js'],
modulePathIgnorePatterns: ['/node_modules/', '/dist'],
resetMocks: true,
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/__tests__/**/*.(ts|tsx|js|jsx)', '**/?(*.)(spec|test).(ts|tsx|js|jsx)'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
},
testPathIgnorePatterns: ['<rootDir>/lib/', '<rootDir>/node_modules/'],
watchPathIgnorePatterns: ['node_modules'],
}
{
"name": "remote.it",
"version": "0.39.1",
"version": "0.40.0",
"description": "remote.it JavaScript/node client library",
"main": "dist/remote.it.js",
"types": "dist/remote.it.d.ts",
"main": "lib/remote.it.js",
"types": "lib/remote.it.d.ts",
"scripts": {
"clean": "rimraf dist/*",
"build": "tsc",
"clean": "rimraf lib/*",
"lint": "tslint --fix --project .",
"prettier": "prettier --write **/*.ts",
"size": "size-limit",
"test": "jest",
"prebuild": "npm run clean",
"build": "tsc",
"postbuild": "npm-run-all -p prettier lint size",
"preversion": "npm run build",
"postpublish": "git push origin --all; git push origin --tags",
"postversion": "npm publish",
"postpublish": "git push origin --all; git push origin --tags",
"prebuild": "npm run clean",
"prepack": "npm run build",
"prettier": "prettier --write **/*.ts",
"preversion": "npm run build",
"size": "size-limit",
"start": "npm-run-all -p watch-*",
"test": "jest",
"watch-build": "tsc -w",

@@ -40,3 +40,3 @@ "watch-tests": "jest --watch"

{
"path": "dist/*.js",
"path": "lib/*.js",
"limit": "30 kB"

@@ -51,5 +51,3 @@ }

"devDependencies": {
"@types/jest": "24.0.15",
"@types/luxon": "1.13.0",
"@types/node": "12.0.2",
"@types/jsdom": "12.2.4",
"eslint": "5.5.0",

@@ -63,2 +61,3 @@ "eslint-config-standard": "12.0.0",

"jest-mock": "24.8.0",
"lerna": "^3.16.4",
"npm-run-all": "^4.1.5",

@@ -69,3 +68,3 @@ "onchange": "5.2.0",

"size-limit": "1.3.2",
"ts-jest": "23.1.4",
"ts-jest": "24.1.0",
"ts-node": "8.1.0",

@@ -72,0 +71,0 @@ "tslint": "5.16.0",

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

import setup, { IRawUser, ServiceState } from '../src/remote.it'
import setup, {
IRawUser,
ServiceState,
DeviceState,
R3FromData,
} from '../src/remote.it'
import * as mockData from './data'
import forceCast from './forceCast'
import { AxiosError } from 'axios'

@@ -41,3 +47,3 @@ describe('setup', () => {

describe('r3', () => {
let r3
let r3: ReturnType<typeof setup>

@@ -47,3 +53,3 @@ beforeEach(() => {

jest.spyOn(r3.axios, 'request')
r3.axios.request = forceCast<any>(r3.axios.request)
r3.axios.request = forceCast<jest.Mock>(r3.axios.request)
jest.spyOn(r3, 'request')

@@ -54,3 +60,3 @@ })

test('should throw if status=false', async () => {
r3.axios.request.mockResolvedValueOnce({
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({
data: { status: 'false', reason: 'crap broke!' },

@@ -64,3 +70,3 @@ })

const data = { stuff: 'things' }
r3.axios.request.mockResolvedValueOnce({ data })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({ data })
jest.spyOn(r3, 'processData')

@@ -73,3 +79,3 @@ await expect(r3.request('get', '/foo')).resolves.toEqual(data)

const data = { response: { data: { reason } } }
r3.axios.request.mockRejectedValueOnce(data)
;(r3.axios.request as jest.Mock).mockRejectedValueOnce(data)
jest.spyOn(r3, 'processError')

@@ -236,3 +242,3 @@ await r3

beforeEach(async () => {
r3.axios.request.mockResolvedValueOnce({ data: user })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({ data: user })

@@ -282,3 +288,3 @@ resp = await r3.user.login(username, password)

const user = { status: 'true', language: 'en' }
r3.axios.request.mockResolvedValueOnce({ data: user })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({ data: user })
const resp = await r3.user.language.get()

@@ -294,3 +300,3 @@ expect(r3.get).toBeCalledWith(`/user/language/`)

const user = { language: 'ja' }
r3.axios.request.mockResolvedValueOnce({ data: 'ok' })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({ data: 'ok' })
const resp = await r3.user.language.set('ja')

@@ -348,3 +354,5 @@ expect(r3.post).toBeCalledWith(`/user/language/`, user)

)
r3.axios.request.mockResolvedValueOnce({ data: mockData.rawDevices })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({
data: mockData.rawDevices,
})
const all = await r3.devices.all()

@@ -362,3 +370,5 @@ expect(r3.get).toBeCalledWith('/device/list/all')

)
r3.axios.request.mockResolvedValueOnce({ data: mockData.rawDevices })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({
data: mockData.rawDevices,
})
const all = await r3.devices.all()

@@ -376,3 +386,3 @@ expect(r3.get).toBeCalledWith('/device/list/all')

)
r3.axios.request.mockResolvedValueOnce({
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({
data: mockData.rawDevices,

@@ -408,3 +418,5 @@ })

jest.spyOn(r3, 'get')
r3.axios.request.mockResolvedValueOnce({ data: rawCount })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({
data: rawCount,
})
const count = await r3.devices.count()

@@ -423,3 +435,5 @@ expect(r3.get).toBeCalledWith('/device/count/')

test('.metadata - should get metadata for devices', async () => {
r3.axios.request.mockResolvedValueOnce({ data: mockData.rawMetadata })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({
data: mockData.rawMetadata,
})
jest.spyOn(r3, 'get')

@@ -452,3 +466,3 @@ const metadata = await r3.devices.metadata()

jest.spyOn(r3, 'post')
r3.axios.request.mockResolvedValueOnce({
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({
status: 'true',

@@ -474,3 +488,3 @@ data: {

deviceaddress: serviceid,
hostip: undefined,
hostip: '255.255.255.255',
wait: 'true',

@@ -509,3 +523,3 @@ })

jest.spyOn(r3, 'post')
r3.axios.request.mockResolvedValueOnce()
;(r3.axios.request as jest.Mock).mockResolvedValueOnce(undefined)

@@ -646,6 +660,20 @@ await r3.devices.rename(address, name)

test('.share - should send share request with proper devices and emails', async () => {
const devices = [{ id: 'some-id' }]
const devices = [
{
id: 'some-id',
name: 'some-name',
owner: 'some@owner.com',
state: 'active' as DeviceState,
lastExternalIP: '123.45.67.89',
lastInternalIP: '44.44.44.44',
region: 'us-east',
createdAt: new Date('jan 1, 2018'),
contactedAt: new Date('mar 10, 2019'),
shared: 'shared-from',
services: [],
},
]
const emails = ['foo@bar.com']
const authhash = 'abc'
r3.axios.request.mockResolvedValueOnce({ data: {} })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({ data: {} })
jest.spyOn(r3, 'post')

@@ -668,6 +696,20 @@ await r3.devices.share(devices, emails, authhash)

test('.transfer - should send transfter request with proper devices and emails', async () => {
const devices = [{ id: 'some-id' }]
const devices = [
{
id: 'some-id',
name: 'some-name',
owner: 'some@owner.com',
state: 'active' as DeviceState,
lastExternalIP: '123.45.67.89',
lastInternalIP: '44.44.44.44',
region: 'us-east',
createdAt: new Date('jan 1, 2018'),
contactedAt: new Date('mar 10, 2019'),
shared: 'shared-from',
services: [],
},
]
const email = 'foo@bar.com'
const authhash = 'abc'
r3.axios.request.mockResolvedValueOnce({ data: {} })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({ data: {} })
jest.spyOn(r3, 'post')

@@ -708,3 +750,3 @@ await r3.devices.transfer(devices, email, authhash)

const files = { items: [file] }
r3.axios.request.mockResolvedValueOnce({ data: files })
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({ data: files })
const resp = await r3.files.list()

@@ -730,3 +772,3 @@ expect(r3.get).toBeCalledWith('/bulk/file/list/')

'279DB3AD-142D-4571-9FD9-15F75F461BA7/file/Screen Shot 2018-09-13 at 2.27.13 PM.png'
r3.axios.request.mockResolvedValueOnce()
;(r3.axios.request as jest.Mock).mockResolvedValueOnce(undefined)
const resp = await r3.files.destroy(key)

@@ -738,5 +780,5 @@ expect(r3.post).toBeCalledWith('/bulk/content/', { key })

describe('.upload', () => {
test('should upload a file and return its info', async () => {
// TODO: We should probably use an actual FormData object?
const data = new Buffer('asdf')
xtest('should upload a file and return its info', async () => {
// TODO: We should probably use an actual object?
const data = new FormData()
const file = {

@@ -751,4 +793,4 @@ key:

}
r3.axios.request.mockResolvedValueOnce({ data: file })
const resp = await r3.files.upload(data)
;(r3.axios.request as jest.Mock).mockResolvedValueOnce({ data: file })
const resp = await r3.files.upload(data as R3FromData)
expect(r3.axios.request).toBeCalledWith({

@@ -782,3 +824,3 @@ url: '/bulk/file/upload',

const error = new Error(reason)
expect(() => r3.processError(error)).toThrow(reason)
expect(() => r3.processError(error as AxiosError)).toThrow(reason)
})

@@ -785,0 +827,0 @@

{
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test", "examples"],
"extends": "../../tsconfig.json",
"compilerOptions": {
"declaration": true,
"outDir": "./lib",
"downlevelIteration": true,
"esModuleInterop": true,
"lib": ["es2018", "dom"],
"module": "commonjs",
"outDir": "dist",
"sourceMap": true,
"strict": true,
"target": "es5"
}
},
"include": ["src"],
"exclude": ["node_modules", "lib", "test", "examples"]
}

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc