Comparing version 2.8.1 to 2.8.2
# Awilix Changelog | ||
## 2.8.2 | ||
* Fix typing for `loadModules` — it didn't allow the shortcut version of `['glob.js', Lifetime.SCOPED]` | ||
* Added Prettier formatting as well as `lint-staged` to keep the tests passing and the code fresh before committing. | ||
## 2.8.1 | ||
@@ -4,0 +9,0 @@ |
@@ -1,1 +0,1 @@ | ||
{"/Users/jeff/Projects/awilix/lib/awilix.js":{"path":"/Users/jeff/Projects/awilix/lib/awilix.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":8,"column":1}},"2":{"start":{"line":11,"column":0},"end":{"line":11,"column":57}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/createContainer.js":{"path":"/Users/jeff/Projects/awilix/lib/createContainer.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":82,"13":82,"14":82,"15":82,"16":82,"17":78,"18":2,"19":82,"20":82,"21":82,"22":82,"23":8,"24":82,"25":82,"26":1,"27":82,"28":82,"29":164,"30":82,"31":17,"32":82,"33":82,"34":107,"35":107,"36":117,"37":117,"38":107,"39":82,"40":82,"41":246,"42":41,"43":4,"44":1,"45":3,"46":3,"47":3,"48":40,"49":40,"50":59,"51":59,"52":59,"53":14,"54":14,"55":4,"56":14,"57":14,"58":59,"59":40,"60":82,"61":82,"62":82,"63":82,"64":130,"65":86,"66":130,"67":130,"68":130,"69":130,"70":1,"71":129,"72":8,"73":121,"74":121,"75":121,"76":87,"77":70,"78":6,"79":6,"80":2,"81":2,"82":4,"83":6,"84":27,"85":40,"86":40,"87":14,"88":14,"89":27,"90":13,"91":13,"92":27,"93":1,"94":103,"95":103,"96":27,"97":27,"98":130,"99":103,"100":82,"101":82,"102":3,"103":3,"104":82,"105":82},"b":{"1":[1,1],"2":[17,65],"3":[82,82],"4":[164,37],"5":[4,37],"6":[41,4],"7":[1,3],"8":[14,45],"9":[59,48],"10":[4,10],"11":[86,44],"12":[1,129],"13":[8,121],"14":[87,6,27,1],"15":[2,4],"16":[14,26],"17":[13,14],"18":[103,27]},"f":{"1":82,"2":78,"3":8,"4":41},"fnMap":{"1":{"name":"createContainer","line":29,"loc":{"start":{"line":29,"column":17},"end":{"line":29,"column":71}}},"2":{"name":"(anonymous_2)","line":58,"loc":{"start":{"line":58,"column":22},"end":{"line":58,"column":25}}},"3":{"name":"(anonymous_3)","line":92,"loc":{"start":{"line":92,"column":32},"end":{"line":92,"column":47}}},"4":{"name":"registerShortcut","line":187,"loc":{"start":{"line":187,"column":46},"end":{"line":187,"column":92}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":44}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":67}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":50}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":64}},"6":{"start":{"line":6,"column":0},"end":{"line":6,"column":44}},"7":{"start":{"line":7,"column":0},"end":{"line":7,"column":56}},"8":{"start":{"line":8,"column":0},"end":{"line":8,"column":38}},"9":{"start":{"line":9,"column":0},"end":{"line":9,"column":30}},"10":{"start":{"line":15,"column":0},"end":{"line":15,"column":40}},"11":{"start":{"line":29,"column":0},"end":{"line":381,"column":1}},"12":{"start":{"line":30,"column":2},"end":{"line":32,"column":13}},"13":{"start":{"line":38,"column":2},"end":{"line":38,"column":26}},"14":{"start":{"line":42,"column":2},"end":{"line":42,"column":32}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":26}},"16":{"start":{"line":48,"column":2},"end":{"line":68,"column":3}},"17":{"start":{"line":59,"column":6},"end":{"line":59,"column":34}},"18":{"start":{"line":66,"column":6},"end":{"line":66,"column":134}},"19":{"start":{"line":71,"column":2},"end":{"line":73,"column":17}},"20":{"start":{"line":81,"column":2},"end":{"line":81,"column":37}},"21":{"start":{"line":88,"column":2},"end":{"line":88,"column":22}},"22":{"start":{"line":91,"column":2},"end":{"line":95,"column":3}},"23":{"start":{"line":92,"column":49},"end":{"line":92,"column":69}},"24":{"start":{"line":102,"column":2},"end":{"line":126,"column":4}},"25":{"start":{"line":115,"column":27},"end":{"line":115,"column":40}},"26":{"start":{"line":124,"column":6},"end":{"line":124,"column":104}},"27":{"start":{"line":128,"column":2},"end":{"line":128,"column":27}},"28":{"start":{"line":136,"column":2},"end":{"line":142,"column":3}},"29":{"start":{"line":137,"column":4},"end":{"line":141,"column":5}},"30":{"start":{"line":150,"column":2},"end":{"line":152,"column":3}},"31":{"start":{"line":151,"column":4},"end":{"line":151,"column":46}},"32":{"start":{"line":154,"column":2},"end":{"line":154,"column":37}},"33":{"start":{"line":165,"column":2},"end":{"line":173,"column":3}},"34":{"start":{"line":166,"column":4},"end":{"line":166,"column":53}},"35":{"start":{"line":167,"column":4},"end":{"line":170,"column":5}},"36":{"start":{"line":168,"column":6},"end":{"line":168,"column":28}},"37":{"start":{"line":169,"column":6},"end":{"line":169,"column":32}},"38":{"start":{"line":172,"column":4},"end":{"line":172,"column":20}},"39":{"start":{"line":175,"column":2},"end":{"line":175,"column":31}},"40":{"start":{"line":187,"column":2},"end":{"line":222,"column":3}},"41":{"start":{"line":187,"column":46},"end":{"line":222,"column":3}},"42":{"start":{"line":189,"column":4},"end":{"line":196,"column":5}},"43":{"start":{"line":190,"column":6},"end":{"line":192,"column":7}},"44":{"start":{"line":191,"column":8},"end":{"line":191,"column":118}},"45":{"start":{"line":193,"column":6},"end":{"line":193,"column":18}},"46":{"start":{"line":194,"column":6},"end":{"line":194,"column":18}},"47":{"start":{"line":195,"column":6},"end":{"line":195,"column":22}},"48":{"start":{"line":198,"column":4},"end":{"line":198,"column":46}},"49":{"start":{"line":199,"column":4},"end":{"line":218,"column":5}},"50":{"start":{"line":200,"column":6},"end":{"line":200,"column":36}},"51":{"start":{"line":203,"column":6},"end":{"line":203,"column":43}},"52":{"start":{"line":205,"column":6},"end":{"line":215,"column":7}},"53":{"start":{"line":206,"column":8},"end":{"line":206,"column":42}},"54":{"start":{"line":208,"column":8},"end":{"line":211,"column":9}},"55":{"start":{"line":210,"column":10},"end":{"line":210,"column":45}},"56":{"start":{"line":213,"column":8},"end":{"line":213,"column":55}},"57":{"start":{"line":214,"column":8},"end":{"line":214,"column":44}},"58":{"start":{"line":217,"column":6},"end":{"line":217,"column":49}},"59":{"start":{"line":221,"column":4},"end":{"line":221,"column":20}},"60":{"start":{"line":236,"column":2},"end":{"line":236,"column":55}},"61":{"start":{"line":250,"column":2},"end":{"line":250,"column":49}},"62":{"start":{"line":264,"column":2},"end":{"line":264,"column":76}},"63":{"start":{"line":275,"column":2},"end":{"line":354,"column":3}},"64":{"start":{"line":276,"column":4},"end":{"line":278,"column":5}},"65":{"start":{"line":277,"column":6},"end":{"line":277,"column":49}},"66":{"start":{"line":282,"column":4},"end":{"line":282,"column":33}},"67":{"start":{"line":284,"column":4},"end":{"line":353,"column":5}},"68":{"start":{"line":286,"column":6},"end":{"line":286,"column":52}},"69":{"start":{"line":287,"column":6},"end":{"line":289,"column":7}},"70":{"start":{"line":288,"column":8},"end":{"line":288,"column":95}},"71":{"start":{"line":291,"column":6},"end":{"line":293,"column":7}},"72":{"start":{"line":292,"column":8},"end":{"line":292,"column":62}},"73":{"start":{"line":296,"column":6},"end":{"line":296,"column":32}},"74":{"start":{"line":299,"column":6},"end":{"line":299,"column":26}},"75":{"start":{"line":300,"column":6},"end":{"line":339,"column":7}},"76":{"start":{"line":303,"column":10},"end":{"line":303,"column":52}},"77":{"start":{"line":304,"column":10},"end":{"line":304,"column":15}},"78":{"start":{"line":307,"column":10},"end":{"line":307,"column":35}},"79":{"start":{"line":308,"column":10},"end":{"line":313,"column":11}},"80":{"start":{"line":309,"column":12},"end":{"line":309,"column":54}},"81":{"start":{"line":310,"column":12},"end":{"line":310,"column":39}},"82":{"start":{"line":312,"column":12},"end":{"line":312,"column":29}},"83":{"start":{"line":314,"column":10},"end":{"line":314,"column":15}},"84":{"start":{"line":322,"column":10},"end":{"line":329,"column":11}},"85":{"start":{"line":323,"column":12},"end":{"line":323,"column":34}},"86":{"start":{"line":324,"column":12},"end":{"line":328,"column":13}},"87":{"start":{"line":326,"column":14},"end":{"line":326,"column":31}},"88":{"start":{"line":327,"column":14},"end":{"line":327,"column":19}},"89":{"start":{"line":332,"column":10},"end":{"line":335,"column":11}},"90":{"start":{"line":333,"column":12},"end":{"line":333,"column":54}},"91":{"start":{"line":334,"column":12},"end":{"line":334,"column":44}},"92":{"start":{"line":336,"column":10},"end":{"line":336,"column":15}},"93":{"start":{"line":338,"column":10},"end":{"line":338,"column":111}},"94":{"start":{"line":341,"column":6},"end":{"line":341,"column":27}},"95":{"start":{"line":342,"column":6},"end":{"line":342,"column":21}},"96":{"start":{"line":345,"column":6},"end":{"line":345,"column":26}},"97":{"start":{"line":346,"column":6},"end":{"line":346,"column":15}},"98":{"start":{"line":350,"column":6},"end":{"line":352,"column":7}},"99":{"start":{"line":351,"column":8},"end":{"line":351,"column":34}},"100":{"start":{"line":356,"column":2},"end":{"line":356,"column":29}},"101":{"start":{"line":367,"column":2},"end":{"line":370,"column":3}},"102":{"start":{"line":368,"column":4},"end":{"line":368,"column":53}},"103":{"start":{"line":369,"column":4},"end":{"line":369,"column":20}},"104":{"start":{"line":377,"column":2},"end":{"line":377,"column":37}},"105":{"start":{"line":380,"column":2},"end":{"line":380,"column":18}}},"branchMap":{"1":{"line":66,"type":"cond-expr","locations":[{"start":{"line":66,"column":54},"end":{"line":66,"column":64}},{"start":{"line":66,"column":67},"end":{"line":66,"column":69}}]},"2":{"line":71,"type":"cond-expr","locations":[{"start":{"line":72,"column":6},"end":{"line":72,"column":56}},{"start":{"line":73,"column":6},"end":{"line":73,"column":17}}]},"3":{"line":92,"type":"binary-expr","locations":[{"start":{"line":92,"column":13},"end":{"line":92,"column":28}},{"start":{"line":92,"column":32},"end":{"line":92,"column":70}}]},"4":{"line":139,"type":"binary-expr","locations":[{"start":{"line":139,"column":6},"end":{"line":139,"column":23}},{"start":{"line":139,"column":27},"end":{"line":139,"column":58}}]},"5":{"line":189,"type":"if","locations":[{"start":{"line":189,"column":4},"end":{"line":189,"column":4}},{"start":{"line":189,"column":4},"end":{"line":189,"column":4}}]},"6":{"line":189,"type":"binary-expr","locations":[{"start":{"line":189,"column":8},"end":{"line":189,"column":34}},{"start":{"line":189,"column":38},"end":{"line":189,"column":52}}]},"7":{"line":190,"type":"if","locations":[{"start":{"line":190,"column":6},"end":{"line":190,"column":6}},{"start":{"line":190,"column":6},"end":{"line":190,"column":6}}]},"8":{"line":205,"type":"if","locations":[{"start":{"line":205,"column":6},"end":{"line":205,"column":6}},{"start":{"line":205,"column":6},"end":{"line":205,"column":6}}]},"9":{"line":205,"type":"binary-expr","locations":[{"start":{"line":205,"column":10},"end":{"line":205,"column":24}},{"start":{"line":205,"column":28},"end":{"line":205,"column":58}}]},"10":{"line":208,"type":"if","locations":[{"start":{"line":208,"column":8},"end":{"line":208,"column":8}},{"start":{"line":208,"column":8},"end":{"line":208,"column":8}}]},"11":{"line":276,"type":"if","locations":[{"start":{"line":276,"column":4},"end":{"line":276,"column":4}},{"start":{"line":276,"column":4},"end":{"line":276,"column":4}}]},"12":{"line":287,"type":"if","locations":[{"start":{"line":287,"column":6},"end":{"line":287,"column":6}},{"start":{"line":287,"column":6},"end":{"line":287,"column":6}}]},"13":{"line":291,"type":"if","locations":[{"start":{"line":291,"column":6},"end":{"line":291,"column":6}},{"start":{"line":291,"column":6},"end":{"line":291,"column":6}}]},"14":{"line":300,"type":"switch","locations":[{"start":{"line":301,"column":8},"end":{"line":304,"column":15}},{"start":{"line":305,"column":8},"end":{"line":314,"column":15}},{"start":{"line":315,"column":8},"end":{"line":336,"column":15}},{"start":{"line":337,"column":8},"end":{"line":338,"column":111}}]},"15":{"line":308,"type":"if","locations":[{"start":{"line":308,"column":10},"end":{"line":308,"column":10}},{"start":{"line":308,"column":10},"end":{"line":308,"column":10}}]},"16":{"line":324,"type":"if","locations":[{"start":{"line":324,"column":12},"end":{"line":324,"column":12}},{"start":{"line":324,"column":12},"end":{"line":324,"column":12}}]},"17":{"line":332,"type":"if","locations":[{"start":{"line":332,"column":10},"end":{"line":332,"column":10}},{"start":{"line":332,"column":10},"end":{"line":332,"column":10}}]},"18":{"line":350,"type":"if","locations":[{"start":{"line":350,"column":6},"end":{"line":350,"column":6}},{"start":{"line":350,"column":6},"end":{"line":350,"column":6}}]}}},"/Users/jeff/Projects/awilix/lib/loadModules.js":{"path":"/Users/jeff/Projects/awilix/lib/loadModules.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":14,"9":14,"10":14,"11":14,"12":27,"13":27,"14":1,"15":26,"16":5,"17":3,"18":2,"19":21,"20":14,"21":27,"22":14,"23":1,"24":14,"25":1,"26":24,"27":24,"28":24,"29":23,"30":23,"31":23,"32":4,"33":2,"34":4,"35":3,"36":24,"37":24,"38":5,"39":24,"40":24,"41":24},"b":{"1":[1,26],"2":[5,21],"3":[3,2],"4":[5,3],"5":[14,12],"6":[24,3],"7":[23,1],"8":[4,19],"9":[2,2],"10":[3,1],"11":[5,19],"12":[1,23],"13":[2,21]},"f":{"1":14,"2":14,"3":24},"fnMap":{"1":{"name":"loadModules","line":37,"loc":{"start":{"line":37,"column":17},"end":{"line":37,"column":73}}},"2":{"name":"optsWithDefaults","line":81,"loc":{"start":{"line":81,"column":0},"end":{"line":81,"column":44}}},"3":{"name":"registerDescriptor","line":98,"loc":{"start":{"line":98,"column":0},"end":{"line":98,"column":64}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":36}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":42}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":38}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":48}},"6":{"start":{"line":7,"column":0},"end":{"line":9,"column":1}},"7":{"start":{"line":37,"column":0},"end":{"line":76,"column":1}},"8":{"start":{"line":38,"column":2},"end":{"line":38,"column":42}},"9":{"start":{"line":39,"column":2},"end":{"line":39,"column":42}},"10":{"start":{"line":40,"column":2},"end":{"line":40,"column":62}},"11":{"start":{"line":42,"column":2},"end":{"line":70,"column":4}},"12":{"start":{"line":43,"column":4},"end":{"line":43,"column":47}},"13":{"start":{"line":46,"column":4},"end":{"line":48,"column":5}},"14":{"start":{"line":47,"column":6},"end":{"line":47,"column":22}},"15":{"start":{"line":50,"column":4},"end":{"line":62,"column":5}},"16":{"start":{"line":51,"column":6},"end":{"line":59,"column":7}},"17":{"start":{"line":53,"column":8},"end":{"line":58,"column":9}},"18":{"start":{"line":61,"column":6},"end":{"line":61,"column":22}},"19":{"start":{"line":64,"column":4},"end":{"line":69,"column":5}},"20":{"start":{"line":71,"column":2},"end":{"line":72,"column":60}},"21":{"start":{"line":71,"column":21},"end":{"line":71,"column":22}},"22":{"start":{"line":73,"column":2},"end":{"line":75,"column":3}},"23":{"start":{"line":81,"column":0},"end":{"line":89,"column":1}},"24":{"start":{"line":82,"column":2},"end":{"line":88,"column":10}},"25":{"start":{"line":98,"column":0},"end":{"line":135,"column":1}},"26":{"start":{"line":99,"column":2},"end":{"line":99,"column":73}},"27":{"start":{"line":100,"column":2},"end":{"line":100,"column":46}},"28":{"start":{"line":101,"column":2},"end":{"line":113,"column":3}},"29":{"start":{"line":102,"column":4},"end":{"line":102,"column":32}},"30":{"start":{"line":103,"column":4},"end":{"line":103,"column":35}},"31":{"start":{"line":104,"column":4},"end":{"line":112,"column":5}},"32":{"start":{"line":105,"column":6},"end":{"line":107,"column":7}},"33":{"start":{"line":106,"column":8},"end":{"line":106,"column":45}},"34":{"start":{"line":109,"column":6},"end":{"line":111,"column":7}},"35":{"start":{"line":110,"column":8},"end":{"line":110,"column":48}},"36":{"start":{"line":115,"column":2},"end":{"line":115,"column":50}},"37":{"start":{"line":117,"column":2},"end":{"line":119,"column":3}},"38":{"start":{"line":118,"column":4},"end":{"line":118,"column":61}},"39":{"start":{"line":121,"column":2},"end":{"line":125,"column":3}},"40":{"start":{"line":127,"column":2},"end":{"line":129,"column":88}},"41":{"start":{"line":131,"column":2},"end":{"line":134,"column":3}}},"branchMap":{"1":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":4},"end":{"line":46,"column":4}},{"start":{"line":46,"column":4},"end":{"line":46,"column":4}}]},"2":{"line":50,"type":"if","locations":[{"start":{"line":50,"column":4},"end":{"line":50,"column":4}},{"start":{"line":50,"column":4},"end":{"line":50,"column":4}}]},"3":{"line":51,"type":"if","locations":[{"start":{"line":51,"column":6},"end":{"line":51,"column":6}},{"start":{"line":51,"column":6},"end":{"line":51,"column":6}}]},"4":{"line":51,"type":"binary-expr","locations":[{"start":{"line":51,"column":10},"end":{"line":51,"column":24}},{"start":{"line":51,"column":28},"end":{"line":51,"column":54}}]},"5":{"line":87,"type":"binary-expr","locations":[{"start":{"line":87,"column":7},"end":{"line":87,"column":11}},{"start":{"line":87,"column":15},"end":{"line":87,"column":39}}]},"6":{"line":100,"type":"binary-expr","locations":[{"start":{"line":100,"column":13},"end":{"line":100,"column":25}},{"start":{"line":100,"column":29},"end":{"line":100,"column":46}}]},"7":{"line":101,"type":"if","locations":[{"start":{"line":101,"column":2},"end":{"line":101,"column":2}},{"start":{"line":101,"column":2},"end":{"line":101,"column":2}}]},"8":{"line":104,"type":"if","locations":[{"start":{"line":104,"column":4},"end":{"line":104,"column":4}},{"start":{"line":104,"column":4},"end":{"line":104,"column":4}}]},"9":{"line":105,"type":"if","locations":[{"start":{"line":105,"column":6},"end":{"line":105,"column":6}},{"start":{"line":105,"column":6},"end":{"line":105,"column":6}}]},"10":{"line":109,"type":"if","locations":[{"start":{"line":109,"column":6},"end":{"line":109,"column":6}},{"start":{"line":109,"column":6},"end":{"line":109,"column":6}}]},"11":{"line":117,"type":"if","locations":[{"start":{"line":117,"column":2},"end":{"line":117,"column":2}},{"start":{"line":117,"column":2},"end":{"line":117,"column":2}}]},"12":{"line":127,"type":"cond-expr","locations":[{"start":{"line":128,"column":6},"end":{"line":128,"column":22}},{"start":{"line":129,"column":6},"end":{"line":129,"column":88}}]},"13":{"line":129,"type":"cond-expr","locations":[{"start":{"line":129,"column":40},"end":{"line":129,"column":61}},{"start":{"line":129,"column":64},"end":{"line":129,"column":88}}]}}},"/Users/jeff/Projects/awilix/lib/isClass.js":{"path":"/Users/jeff/Projects/awilix/lib/isClass.js","s":{"1":1,"2":1,"3":29,"4":2,"5":27,"6":27,"7":27,"8":4,"9":23,"10":23,"11":2,"12":1,"13":22},"b":{"1":[2,27],"2":[4,23],"3":[2,21],"4":[23,8],"5":[1,1]},"f":{"1":29},"fnMap":{"1":{"name":"isClass","line":9,"loc":{"start":{"line":9,"column":17},"end":{"line":9,"column":39}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"2":{"start":{"line":9,"column":0},"end":{"line":29,"column":1}},"3":{"start":{"line":10,"column":2},"end":{"line":12,"column":3}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":16}},"5":{"start":{"line":15,"column":2},"end":{"line":15,"column":51}},"6":{"start":{"line":16,"column":2},"end":{"line":16,"column":25}},"7":{"start":{"line":17,"column":2},"end":{"line":19,"column":3}},"8":{"start":{"line":18,"column":4},"end":{"line":18,"column":15}},"9":{"start":{"line":21,"column":2},"end":{"line":21,"column":26}},"10":{"start":{"line":22,"column":2},"end":{"line":26,"column":3}},"11":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"12":{"start":{"line":24,"column":6},"end":{"line":24,"column":17}},"13":{"start":{"line":28,"column":2},"end":{"line":28,"column":14}}},"branchMap":{"1":{"line":10,"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":10,"column":2}},{"start":{"line":10,"column":2},"end":{"line":10,"column":2}}]},"2":{"line":17,"type":"if","locations":[{"start":{"line":17,"column":2},"end":{"line":17,"column":2}},{"start":{"line":17,"column":2},"end":{"line":17,"column":2}}]},"3":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":2},"end":{"line":22,"column":2}},{"start":{"line":22,"column":2},"end":{"line":22,"column":2}}]},"4":{"line":22,"type":"binary-expr","locations":[{"start":{"line":22,"column":6},"end":{"line":22,"column":32}},{"start":{"line":22,"column":36},"end":{"line":22,"column":48}}]},"5":{"line":23,"type":"if","locations":[{"start":{"line":23,"column":4},"end":{"line":23,"column":4}},{"start":{"line":23,"column":4},"end":{"line":23,"column":4}}]}}},"/Users/jeff/Projects/awilix/lib/tokenizeFunction.js":{"path":"/Users/jeff/Projects/awilix/lib/tokenizeFunction.js","s":{"1":1,"2":157,"3":157,"4":157,"5":157,"6":1793,"7":11,"8":1782,"9":1782,"10":1,"11":1,"12":1781,"13":889,"14":889,"15":892,"16":123,"17":123,"18":123,"19":769,"20":109,"21":109,"22":109,"23":660,"24":17,"25":17,"26":17,"27":643,"28":97,"29":62,"30":62,"31":35,"32":35,"33":810,"34":810,"35":12,"36":12,"37":798,"38":4,"39":798,"40":581,"41":581,"42":3228,"43":3228,"44":83,"45":83,"46":3145,"47":498,"48":2647,"49":2647,"50":498,"51":477,"52":63,"53":1,"54":4818,"55":1279,"56":3539,"57":1,"58":798,"59":4,"60":794},"b":{"1":[11,1782],"2":[1793,62],"3":[1,1781],"4":[889,892],"5":[123,769],"6":[109,660],"7":[17,643],"8":[97,546],"9":[62,35],"10":[12,798],"11":[4,794],"12":[798,794,24],"13":[83,3145],"14":[498,2647],"15":[3145,3121,3105,3037],"16":[477,21],"17":[5,231,1279],"18":[4,4,4]},"f":{"1":157,"2":4818,"3":798},"fnMap":{"1":{"name":"tokenizeFunction","line":8,"loc":{"start":{"line":8,"column":17},"end":{"line":8,"column":63}}},"2":{"name":"isWhiteSpace","line":95,"loc":{"start":{"line":95,"column":0},"end":{"line":95,"column":27}}},"3":{"name":"isStringQuote","line":110,"loc":{"start":{"line":110,"column":0},"end":{"line":110,"column":28}}}},"statementMap":{"1":{"start":{"line":8,"column":0},"end":{"line":87,"column":1}},"2":{"start":{"line":9,"column":2},"end":{"line":9,"column":13}},"3":{"start":{"line":10,"column":2},"end":{"line":10,"column":8}},"4":{"start":{"line":11,"column":2},"end":{"line":11,"column":19}},"5":{"start":{"line":12,"column":2},"end":{"line":84,"column":3}},"6":{"start":{"line":13,"column":4},"end":{"line":15,"column":5}},"7":{"start":{"line":14,"column":6},"end":{"line":14,"column":19}},"8":{"start":{"line":16,"column":4},"end":{"line":16,"column":20}},"9":{"start":{"line":17,"column":4},"end":{"line":20,"column":5}},"10":{"start":{"line":18,"column":6},"end":{"line":18,"column":34}},"11":{"start":{"line":19,"column":6},"end":{"line":19,"column":11}},"12":{"start":{"line":22,"column":4},"end":{"line":25,"column":5}},"13":{"start":{"line":23,"column":6},"end":{"line":23,"column":11}},"14":{"start":{"line":24,"column":6},"end":{"line":24,"column":14}},"15":{"start":{"line":27,"column":4},"end":{"line":31,"column":5}},"16":{"start":{"line":28,"column":6},"end":{"line":28,"column":32}},"17":{"start":{"line":29,"column":6},"end":{"line":29,"column":11}},"18":{"start":{"line":30,"column":6},"end":{"line":30,"column":14}},"19":{"start":{"line":33,"column":4},"end":{"line":37,"column":5}},"20":{"start":{"line":34,"column":6},"end":{"line":34,"column":32}},"21":{"start":{"line":35,"column":6},"end":{"line":35,"column":11}},"22":{"start":{"line":36,"column":6},"end":{"line":36,"column":14}},"23":{"start":{"line":39,"column":4},"end":{"line":43,"column":5}},"24":{"start":{"line":40,"column":6},"end":{"line":40,"column":32}},"25":{"start":{"line":41,"column":6},"end":{"line":41,"column":11}},"26":{"start":{"line":42,"column":6},"end":{"line":42,"column":14}},"27":{"start":{"line":47,"column":4},"end":{"line":66,"column":5}},"28":{"start":{"line":48,"column":6},"end":{"line":52,"column":7}},"29":{"start":{"line":50,"column":8},"end":{"line":50,"column":36}},"30":{"start":{"line":51,"column":8},"end":{"line":51,"column":13}},"31":{"start":{"line":53,"column":6},"end":{"line":53,"column":28}},"32":{"start":{"line":54,"column":6},"end":{"line":65,"column":56}},"33":{"start":{"line":55,"column":8},"end":{"line":55,"column":24}},"34":{"start":{"line":56,"column":8},"end":{"line":59,"column":9}},"35":{"start":{"line":57,"column":10},"end":{"line":57,"column":38}},"36":{"start":{"line":58,"column":10},"end":{"line":58,"column":15}},"37":{"start":{"line":61,"column":8},"end":{"line":63,"column":9}},"38":{"start":{"line":62,"column":10},"end":{"line":62,"column":34}},"39":{"start":{"line":64,"column":8},"end":{"line":64,"column":13}},"40":{"start":{"line":68,"column":4},"end":{"line":68,"column":23}},"41":{"start":{"line":69,"column":4},"end":{"line":80,"column":5}},"42":{"start":{"line":70,"column":6},"end":{"line":70,"column":22}},"43":{"start":{"line":71,"column":6},"end":{"line":74,"column":7}},"44":{"start":{"line":72,"column":8},"end":{"line":72,"column":36}},"45":{"start":{"line":73,"column":8},"end":{"line":73,"column":21}},"46":{"start":{"line":75,"column":6},"end":{"line":77,"column":7}},"47":{"start":{"line":76,"column":8},"end":{"line":76,"column":13}},"48":{"start":{"line":78,"column":6},"end":{"line":78,"column":23}},"49":{"start":{"line":79,"column":6},"end":{"line":79,"column":11}},"50":{"start":{"line":81,"column":4},"end":{"line":83,"column":5}},"51":{"start":{"line":82,"column":6},"end":{"line":82,"column":62}},"52":{"start":{"line":86,"column":2},"end":{"line":86,"column":15}},"53":{"start":{"line":95,"column":0},"end":{"line":103,"column":1}},"54":{"start":{"line":96,"column":2},"end":{"line":101,"column":3}},"55":{"start":{"line":100,"column":6},"end":{"line":100,"column":17}},"56":{"start":{"line":102,"column":2},"end":{"line":102,"column":14}},"57":{"start":{"line":110,"column":0},"end":{"line":118,"column":1}},"58":{"start":{"line":111,"column":2},"end":{"line":116,"column":3}},"59":{"start":{"line":115,"column":6},"end":{"line":115,"column":17}},"60":{"start":{"line":117,"column":2},"end":{"line":117,"column":14}}},"branchMap":{"1":{"line":13,"type":"if","locations":[{"start":{"line":13,"column":4},"end":{"line":13,"column":4}},{"start":{"line":13,"column":4},"end":{"line":13,"column":4}}]},"2":{"line":13,"type":"binary-expr","locations":[{"start":{"line":13,"column":8},"end":{"line":13,"column":17}},{"start":{"line":13,"column":21},"end":{"line":13,"column":47}}]},"3":{"line":17,"type":"if","locations":[{"start":{"line":17,"column":4},"end":{"line":17,"column":4}},{"start":{"line":17,"column":4},"end":{"line":17,"column":4}}]},"4":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":22,"column":4}},{"start":{"line":22,"column":4},"end":{"line":22,"column":4}}]},"5":{"line":27,"type":"if","locations":[{"start":{"line":27,"column":4},"end":{"line":27,"column":4}},{"start":{"line":27,"column":4},"end":{"line":27,"column":4}}]},"6":{"line":33,"type":"if","locations":[{"start":{"line":33,"column":4},"end":{"line":33,"column":4}},{"start":{"line":33,"column":4},"end":{"line":33,"column":4}}]},"7":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":4}},{"start":{"line":39,"column":4},"end":{"line":39,"column":4}}]},"8":{"line":47,"type":"if","locations":[{"start":{"line":47,"column":4},"end":{"line":47,"column":4}},{"start":{"line":47,"column":4},"end":{"line":47,"column":4}}]},"9":{"line":48,"type":"if","locations":[{"start":{"line":48,"column":6},"end":{"line":48,"column":6}},{"start":{"line":48,"column":6},"end":{"line":48,"column":6}}]},"10":{"line":56,"type":"if","locations":[{"start":{"line":56,"column":8},"end":{"line":56,"column":8}},{"start":{"line":56,"column":8},"end":{"line":56,"column":8}}]},"11":{"line":61,"type":"if","locations":[{"start":{"line":61,"column":8},"end":{"line":61,"column":8}},{"start":{"line":61,"column":8},"end":{"line":61,"column":8}}]},"12":{"line":65,"type":"binary-expr","locations":[{"start":{"line":65,"column":16},"end":{"line":65,"column":26}},{"start":{"line":65,"column":30},"end":{"line":65,"column":40}},{"start":{"line":65,"column":45},"end":{"line":65,"column":55}}]},"13":{"line":71,"type":"if","locations":[{"start":{"line":71,"column":6},"end":{"line":71,"column":6}},{"start":{"line":71,"column":6},"end":{"line":71,"column":6}}]},"14":{"line":75,"type":"if","locations":[{"start":{"line":75,"column":6},"end":{"line":75,"column":6}},{"start":{"line":75,"column":6},"end":{"line":75,"column":6}}]},"15":{"line":75,"type":"binary-expr","locations":[{"start":{"line":75,"column":10},"end":{"line":75,"column":20}},{"start":{"line":75,"column":24},"end":{"line":75,"column":34}},{"start":{"line":75,"column":38},"end":{"line":75,"column":48}},{"start":{"line":75,"column":52},"end":{"line":75,"column":68}}]},"16":{"line":81,"type":"if","locations":[{"start":{"line":81,"column":4},"end":{"line":81,"column":4}},{"start":{"line":81,"column":4},"end":{"line":81,"column":4}}]},"17":{"line":96,"type":"switch","locations":[{"start":{"line":97,"column":4},"end":{"line":97,"column":14}},{"start":{"line":98,"column":4},"end":{"line":98,"column":14}},{"start":{"line":99,"column":4},"end":{"line":100,"column":17}}]},"18":{"line":111,"type":"switch","locations":[{"start":{"line":112,"column":4},"end":{"line":112,"column":14}},{"start":{"line":113,"column":4},"end":{"line":113,"column":13}},{"start":{"line":114,"column":4},"end":{"line":115,"column":17}}]}}},"/Users/jeff/Projects/awilix/lib/isFunction.js":{"path":"/Users/jeff/Projects/awilix/lib/isFunction.js","s":{"1":1,"2":149},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":10,"column":0},"end":{"line":10,"column":49}},"2":{"start":{"line":10,"column":24},"end":{"line":10,"column":49}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/Lifetime.js":{"path":"/Users/jeff/Projects/awilix/lib/Lifetime.js","s":{"1":1,"2":1,"3":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":5,"column":0},"end":{"line":5,"column":38}},"2":{"start":{"line":11,"column":0},"end":{"line":11,"column":38}},"3":{"start":{"line":17,"column":0},"end":{"line":17,"column":32}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/registrations.js":{"path":"/Users/jeff/Projects/awilix/lib/registrations.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":110,"10":1,"11":110,"12":15,"13":15,"14":110,"15":8,"16":8,"17":110,"18":4,"19":4,"20":110,"21":4,"22":5,"23":4,"24":2,"25":6,"26":1,"27":21,"28":14,"29":21,"30":1,"31":1,"32":74,"33":1,"34":73,"35":73,"36":73,"37":73,"38":73,"39":73,"40":73,"41":1,"42":1,"43":38,"44":1,"45":37,"46":37,"47":37,"48":32,"49":37,"50":37,"51":37,"52":37,"53":37,"54":1,"55":20,"56":26,"57":26,"58":20,"59":6,"60":1,"61":14,"62":14,"63":14,"64":1,"65":110,"66":73,"67":110,"68":110,"69":96,"70":96,"71":79,"72":79,"73":17,"74":13,"75":13,"76":13,"77":4,"78":1},"b":{"1":[1,73],"2":[1,37],"3":[20,6],"4":[73,37],"5":[96,66,1],"6":[79,17],"7":[14,65],"8":[13,4],"9":[6,7]},"f":{"1":32,"2":20,"3":26,"4":14,"5":14,"6":110,"7":96},"fnMap":{"1":{"name":"newClass","line":163,"loc":{"start":{"line":163,"column":19},"end":{"line":163,"column":40}}},"2":{"name":"wrapWithInjector","line":187,"loc":{"start":{"line":187,"column":0},"end":{"line":187,"column":48}}},"3":{"name":"wrappedResolve","line":188,"loc":{"start":{"line":188,"column":9},"end":{"line":188,"column":40}}},"4":{"name":"createInjectorProxy","line":206,"loc":{"start":{"line":206,"column":0},"end":{"line":206,"column":51}}},"5":{"name":"(anonymous_5)","line":209,"loc":{"start":{"line":209,"column":8},"end":{"line":209,"column":27}}},"6":{"name":"generateResolve","line":233,"loc":{"start":{"line":233,"column":0},"end":{"line":233,"column":53}}},"7":{"name":"resolve","line":243,"loc":{"start":{"line":243,"column":9},"end":{"line":243,"column":38}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":50}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":42}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":58}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":68}},"6":{"start":{"line":11,"column":0},"end":{"line":11,"column":57}},"7":{"start":{"line":12,"column":0},"end":{"line":12,"column":42}},"8":{"start":{"line":25,"column":0},"end":{"line":27,"column":1}},"9":{"start":{"line":26,"column":2},"end":{"line":26,"column":45}},"10":{"start":{"line":42,"column":0},"end":{"line":68,"column":1}},"11":{"start":{"line":43,"column":2},"end":{"line":46,"column":3}},"12":{"start":{"line":44,"column":4},"end":{"line":44,"column":24}},"13":{"start":{"line":45,"column":4},"end":{"line":45,"column":14}},"14":{"start":{"line":48,"column":2},"end":{"line":51,"column":3}},"15":{"start":{"line":49,"column":4},"end":{"line":49,"column":30}},"16":{"start":{"line":50,"column":4},"end":{"line":50,"column":14}},"17":{"start":{"line":53,"column":2},"end":{"line":56,"column":3}},"18":{"start":{"line":54,"column":4},"end":{"line":54,"column":27}},"19":{"start":{"line":55,"column":4},"end":{"line":55,"column":14}},"20":{"start":{"line":58,"column":2},"end":{"line":67,"column":3}},"21":{"start":{"line":61,"column":21},"end":{"line":61,"column":52}},"22":{"start":{"line":62,"column":18},"end":{"line":62,"column":46}},"23":{"start":{"line":63,"column":21},"end":{"line":63,"column":52}},"24":{"start":{"line":65,"column":17},"end":{"line":65,"column":56}},"25":{"start":{"line":66,"column":19},"end":{"line":66,"column":60}},"26":{"start":{"line":82,"column":0},"end":{"line":91,"column":1}},"27":{"start":{"line":83,"column":2},"end":{"line":85,"column":3}},"28":{"start":{"line":84,"column":4},"end":{"line":84,"column":16}},"29":{"start":{"line":87,"column":2},"end":{"line":90,"column":3}},"30":{"start":{"line":93,"column":0},"end":{"line":93,"column":32}},"31":{"start":{"line":111,"column":0},"end":{"line":132,"column":1}},"32":{"start":{"line":112,"column":2},"end":{"line":114,"column":3}},"33":{"start":{"line":113,"column":4},"end":{"line":113,"column":74}},"34":{"start":{"line":116,"column":2},"end":{"line":118,"column":3}},"35":{"start":{"line":120,"column":2},"end":{"line":120,"column":54}},"36":{"start":{"line":122,"column":2},"end":{"line":122,"column":37}},"37":{"start":{"line":123,"column":2},"end":{"line":128,"column":3}},"38":{"start":{"line":129,"column":2},"end":{"line":129,"column":39}},"39":{"start":{"line":130,"column":2},"end":{"line":130,"column":51}},"40":{"start":{"line":131,"column":2},"end":{"line":131,"column":15}},"41":{"start":{"line":134,"column":0},"end":{"line":134,"column":38}},"42":{"start":{"line":151,"column":0},"end":{"line":177,"column":1}},"43":{"start":{"line":152,"column":2},"end":{"line":154,"column":3}},"44":{"start":{"line":153,"column":4},"end":{"line":153,"column":70}},"45":{"start":{"line":156,"column":2},"end":{"line":158,"column":3}},"46":{"start":{"line":160,"column":2},"end":{"line":160,"column":56}},"47":{"start":{"line":163,"column":2},"end":{"line":165,"column":3}},"48":{"start":{"line":164,"column":4},"end":{"line":164,"column":33}},"49":{"start":{"line":167,"column":2},"end":{"line":167,"column":71}},"50":{"start":{"line":168,"column":2},"end":{"line":172,"column":3}},"51":{"start":{"line":173,"column":2},"end":{"line":173,"column":39}},"52":{"start":{"line":174,"column":2},"end":{"line":174,"column":51}},"53":{"start":{"line":176,"column":2},"end":{"line":176,"column":15}},"54":{"start":{"line":187,"column":0},"end":{"line":196,"column":1}},"55":{"start":{"line":188,"column":2},"end":{"line":195,"column":3}},"56":{"start":{"line":189,"column":4},"end":{"line":189,"column":38}},"57":{"start":{"line":190,"column":4},"end":{"line":192,"column":5}},"58":{"start":{"line":191,"column":6},"end":{"line":191,"column":25}},"59":{"start":{"line":194,"column":4},"end":{"line":194,"column":34}},"60":{"start":{"line":206,"column":0},"end":{"line":213,"column":1}},"61":{"start":{"line":207,"column":2},"end":{"line":207,"column":62}},"62":{"start":{"line":208,"column":2},"end":{"line":212,"column":4}},"63":{"start":{"line":210,"column":6},"end":{"line":210,"column":37}},"64":{"start":{"line":233,"column":0},"end":{"line":269,"column":1}},"65":{"start":{"line":235,"column":2},"end":{"line":237,"column":3}},"66":{"start":{"line":236,"column":4},"end":{"line":236,"column":30}},"67":{"start":{"line":240,"column":2},"end":{"line":240,"column":75}},"68":{"start":{"line":243,"column":2},"end":{"line":268,"column":3}},"69":{"start":{"line":246,"column":4},"end":{"line":246,"column":108}},"70":{"start":{"line":247,"column":4},"end":{"line":255,"column":5}},"71":{"start":{"line":249,"column":6},"end":{"line":251,"column":26}},"72":{"start":{"line":254,"column":6},"end":{"line":254,"column":23}},"73":{"start":{"line":258,"column":4},"end":{"line":265,"column":5}},"74":{"start":{"line":259,"column":6},"end":{"line":261,"column":27}},"75":{"start":{"line":263,"column":6},"end":{"line":263,"column":48}},"76":{"start":{"line":264,"column":6},"end":{"line":264,"column":28}},"77":{"start":{"line":267,"column":4},"end":{"line":267,"column":15}},"78":{"start":{"line":271,"column":0},"end":{"line":271,"column":32}}},"branchMap":{"1":{"line":112,"type":"if","locations":[{"start":{"line":112,"column":2},"end":{"line":112,"column":2}},{"start":{"line":112,"column":2},"end":{"line":112,"column":2}}]},"2":{"line":152,"type":"if","locations":[{"start":{"line":152,"column":2},"end":{"line":152,"column":2}},{"start":{"line":152,"column":2},"end":{"line":152,"column":2}}]},"3":{"line":190,"type":"if","locations":[{"start":{"line":190,"column":4},"end":{"line":190,"column":4}},{"start":{"line":190,"column":4},"end":{"line":190,"column":4}}]},"4":{"line":235,"type":"if","locations":[{"start":{"line":235,"column":2},"end":{"line":235,"column":2}},{"start":{"line":235,"column":2},"end":{"line":235,"column":2}}]},"5":{"line":246,"type":"binary-expr","locations":[{"start":{"line":246,"column":28},"end":{"line":246,"column":47}},{"start":{"line":246,"column":51},"end":{"line":246,"column":83}},{"start":{"line":246,"column":87},"end":{"line":246,"column":107}}]},"6":{"line":247,"type":"if","locations":[{"start":{"line":247,"column":4},"end":{"line":247,"column":4}},{"start":{"line":247,"column":4},"end":{"line":247,"column":4}}]},"7":{"line":249,"type":"cond-expr","locations":[{"start":{"line":250,"column":10},"end":{"line":250,"column":55}},{"start":{"line":251,"column":10},"end":{"line":251,"column":26}}]},"8":{"line":258,"type":"if","locations":[{"start":{"line":258,"column":4},"end":{"line":258,"column":4}},{"start":{"line":258,"column":4},"end":{"line":258,"column":4}}]},"9":{"line":259,"type":"cond-expr","locations":[{"start":{"line":260,"column":10},"end":{"line":260,"column":52}},{"start":{"line":261,"column":10},"end":{"line":261,"column":27}}]}}},"/Users/jeff/Projects/awilix/lib/ResolutionMode.js":{"path":"/Users/jeff/Projects/awilix/lib/ResolutionMode.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":6,"column":30}},"2":{"start":{"line":13,"column":0},"end":{"line":13,"column":34}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/parseParameterList.js":{"path":"/Users/jeff/Projects/awilix/lib/parseParameterList.js","s":{"1":1,"2":1,"3":130,"4":130,"5":130,"6":280,"7":280,"8":66,"9":214,"10":122,"11":17,"12":17,"13":5,"14":17,"15":17,"16":3,"17":105,"18":38,"19":131,"20":131,"21":16,"22":115,"23":8,"24":107,"25":22,"26":22,"27":78,"28":78,"29":52,"30":22,"31":81,"32":92},"b":{"1":[66,214],"2":[122,92],"3":[17,105],"4":[5,12],"5":[3,14],"6":[38,67],"7":[16,115],"8":[8,107],"9":[22,85],"10":[52,26]},"f":{"1":130},"fnMap":{"1":{"name":"parseParameterList","line":15,"loc":{"start":{"line":15,"column":17},"end":{"line":15,"column":54}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"2":{"start":{"line":15,"column":0},"end":{"line":60,"column":1}},"3":{"start":{"line":16,"column":2},"end":{"line":16,"column":41}},"4":{"start":{"line":17,"column":2},"end":{"line":17,"column":19}},"5":{"start":{"line":18,"column":2},"end":{"line":58,"column":3}},"6":{"start":{"line":19,"column":4},"end":{"line":19,"column":21}},"7":{"start":{"line":20,"column":4},"end":{"line":22,"column":5}},"8":{"start":{"line":21,"column":6},"end":{"line":21,"column":11}},"9":{"start":{"line":23,"column":4},"end":{"line":57,"column":5}},"10":{"start":{"line":24,"column":6},"end":{"line":55,"column":7}},"11":{"start":{"line":25,"column":8},"end":{"line":25,"column":23}},"12":{"start":{"line":26,"column":8},"end":{"line":28,"column":9}},"13":{"start":{"line":27,"column":10},"end":{"line":27,"column":25}},"14":{"start":{"line":30,"column":8},"end":{"line":30,"column":23}},"15":{"start":{"line":31,"column":8},"end":{"line":33,"column":9}},"16":{"start":{"line":32,"column":10},"end":{"line":32,"column":15}},"17":{"start":{"line":34,"column":13},"end":{"line":55,"column":7}},"18":{"start":{"line":36,"column":8},"end":{"line":54,"column":22}},"19":{"start":{"line":37,"column":10},"end":{"line":37,"column":25}},"20":{"start":{"line":38,"column":10},"end":{"line":40,"column":11}},"21":{"start":{"line":39,"column":12},"end":{"line":39,"column":25}},"22":{"start":{"line":41,"column":10},"end":{"line":43,"column":11}},"23":{"start":{"line":42,"column":12},"end":{"line":42,"column":20}},"24":{"start":{"line":44,"column":10},"end":{"line":53,"column":11}},"25":{"start":{"line":45,"column":12},"end":{"line":45,"column":27}},"26":{"start":{"line":46,"column":12},"end":{"line":51,"column":13}},"27":{"start":{"line":47,"column":14},"end":{"line":47,"column":29}},"28":{"start":{"line":48,"column":14},"end":{"line":50,"column":15}},"29":{"start":{"line":49,"column":16},"end":{"line":49,"column":36}},"30":{"start":{"line":52,"column":12},"end":{"line":52,"column":25}},"31":{"start":{"line":56,"column":6},"end":{"line":56,"column":26}},"32":{"start":{"line":59,"column":2},"end":{"line":59,"column":15}}},"branchMap":{"1":{"line":20,"type":"if","locations":[{"start":{"line":20,"column":4},"end":{"line":20,"column":4}},{"start":{"line":20,"column":4},"end":{"line":20,"column":4}}]},"2":{"line":23,"type":"if","locations":[{"start":{"line":23,"column":4},"end":{"line":23,"column":4}},{"start":{"line":23,"column":4},"end":{"line":23,"column":4}}]},"3":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":6},"end":{"line":24,"column":6}},{"start":{"line":24,"column":6},"end":{"line":24,"column":6}}]},"4":{"line":26,"type":"if","locations":[{"start":{"line":26,"column":8},"end":{"line":26,"column":8}},{"start":{"line":26,"column":8},"end":{"line":26,"column":8}}]},"5":{"line":31,"type":"if","locations":[{"start":{"line":31,"column":8},"end":{"line":31,"column":8}},{"start":{"line":31,"column":8},"end":{"line":31,"column":8}}]},"6":{"line":34,"type":"if","locations":[{"start":{"line":34,"column":13},"end":{"line":34,"column":13}},{"start":{"line":34,"column":13},"end":{"line":34,"column":13}}]},"7":{"line":38,"type":"if","locations":[{"start":{"line":38,"column":10},"end":{"line":38,"column":10}},{"start":{"line":38,"column":10},"end":{"line":38,"column":10}}]},"8":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":10},"end":{"line":41,"column":10}},{"start":{"line":41,"column":10},"end":{"line":41,"column":10}}]},"9":{"line":44,"type":"if","locations":[{"start":{"line":44,"column":10},"end":{"line":44,"column":10}},{"start":{"line":44,"column":10},"end":{"line":44,"column":10}}]},"10":{"line":48,"type":"if","locations":[{"start":{"line":48,"column":14},"end":{"line":48,"column":14}},{"start":{"line":48,"column":14},"end":{"line":48,"column":14}}]}}},"/Users/jeff/Projects/awilix/lib/AwilixNotAFunctionError.js":{"path":"/Users/jeff/Projects/awilix/lib/AwilixNotAFunctionError.js","s":{"1":1,"2":2,"3":1},"b":{},"f":{"1":2},"fnMap":{"1":{"name":"(anonymous_1)","line":20,"loc":{"start":{"line":20,"column":14},"end":{"line":20,"column":54}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},"2":{"start":{"line":21,"column":4},"end":{"line":21,"column":76}},"3":{"start":{"line":25,"column":0},"end":{"line":25,"column":40}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/AwilixError.js":{"path":"/Users/jeff/Projects/awilix/lib/AwilixError.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":52}},"2":{"start":{"line":9,"column":0},"end":{"line":9,"column":28}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/ExtendableError.js":{"path":"/Users/jeff/Projects/awilix/lib/ExtendableError.js","s":{"1":13,"2":13,"3":13,"4":13,"5":1},"b":{},"f":{"1":13},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":14},"end":{"line":12,"column":24}}}},"statementMap":{"1":{"start":{"line":13,"column":4},"end":{"line":13,"column":18}},"2":{"start":{"line":16,"column":4},"end":{"line":19,"column":6}},"3":{"start":{"line":21,"column":4},"end":{"line":24,"column":6}},"4":{"start":{"line":26,"column":4},"end":{"line":26,"column":51}},"5":{"start":{"line":30,"column":0},"end":{"line":30,"column":32}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/listModules.js":{"path":"/Users/jeff/Projects/awilix/lib/listModules.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":12,"7":12,"8":12,"9":5,"10":5,"11":12,"12":12,"13":112,"14":12,"15":1,"16":9,"17":5,"18":8,"19":4},"b":{"1":[5,7],"2":[5,4]},"f":{"1":12,"2":9},"fnMap":{"1":{"name":"_listModules","line":23,"loc":{"start":{"line":23,"column":0},"end":{"line":23,"column":42}}},"2":{"name":"listModules","line":55,"loc":{"start":{"line":55,"column":17},"end":{"line":55,"column":59}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":28}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":28}},"5":{"start":{"line":23,"column":0},"end":{"line":38,"column":1}},"6":{"start":{"line":24,"column":2},"end":{"line":24,"column":69}},"7":{"start":{"line":25,"column":2},"end":{"line":25,"column":24}},"8":{"start":{"line":26,"column":2},"end":{"line":29,"column":3}},"9":{"start":{"line":27,"column":4},"end":{"line":27,"column":32}},"10":{"start":{"line":28,"column":4},"end":{"line":28,"column":32}},"11":{"start":{"line":31,"column":2},"end":{"line":31,"column":58}},"12":{"start":{"line":32,"column":2},"end":{"line":36,"column":5}},"13":{"start":{"line":32,"column":34},"end":{"line":36,"column":3}},"14":{"start":{"line":37,"column":2},"end":{"line":37,"column":15}},"15":{"start":{"line":55,"column":0},"end":{"line":65,"column":1}},"16":{"start":{"line":56,"column":2},"end":{"line":62,"column":3}},"17":{"start":{"line":57,"column":4},"end":{"line":61,"column":5}},"18":{"start":{"line":59,"column":13},"end":{"line":59,"column":34}},"19":{"start":{"line":64,"column":2},"end":{"line":64,"column":41}}},"branchMap":{"1":{"line":26,"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":26,"column":2}},{"start":{"line":26,"column":2},"end":{"line":26,"column":2}}]},"2":{"line":56,"type":"if","locations":[{"start":{"line":56,"column":2},"end":{"line":56,"column":2}},{"start":{"line":56,"column":2},"end":{"line":56,"column":2}}]}}},"/Users/jeff/Projects/awilix/lib/flatten.js":{"path":"/Users/jeff/Projects/awilix/lib/flatten.js","s":{"1":1,"2":6,"3":6,"4":10,"5":49,"6":6},"b":{},"f":{"1":6},"fnMap":{"1":{"name":"flatten","line":10,"loc":{"start":{"line":10,"column":17},"end":{"line":10,"column":42}}}},"statementMap":{"1":{"start":{"line":10,"column":0},"end":{"line":19,"column":1}},"2":{"start":{"line":11,"column":2},"end":{"line":11,"column":19}},"3":{"start":{"line":12,"column":2},"end":{"line":16,"column":4}},"4":{"start":{"line":13,"column":4},"end":{"line":15,"column":6}},"5":{"start":{"line":14,"column":6},"end":{"line":14,"column":23}},"6":{"start":{"line":18,"column":2},"end":{"line":18,"column":15}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/AwilixResolutionError.js":{"path":"/Users/jeff/Projects/awilix/lib/AwilixResolutionError.js","s":{"1":1,"2":1,"3":1,"4":10,"5":10,"6":10,"7":10,"8":10,"9":2,"10":10,"11":10,"12":10,"13":10,"14":1},"b":{"1":[2,8]},"f":{"1":10},"fnMap":{"1":{"name":"(anonymous_1)","line":45,"loc":{"start":{"line":45,"column":14},"end":{"line":45,"column":47}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":44}},"3":{"start":{"line":16,"column":0},"end":{"line":29,"column":1}},"4":{"start":{"line":17,"column":2},"end":{"line":17,"column":43}},"5":{"start":{"line":18,"column":2},"end":{"line":18,"column":28}},"6":{"start":{"line":19,"column":2},"end":{"line":19,"column":59}},"7":{"start":{"line":20,"column":2},"end":{"line":20,"column":42}},"8":{"start":{"line":21,"column":2},"end":{"line":23,"column":3}},"9":{"start":{"line":22,"column":4},"end":{"line":22,"column":24}},"10":{"start":{"line":25,"column":2},"end":{"line":25,"column":18}},"11":{"start":{"line":26,"column":2},"end":{"line":26,"column":51}},"12":{"start":{"line":28,"column":2},"end":{"line":28,"column":12}},"13":{"start":{"line":46,"column":4},"end":{"line":46,"column":61}},"14":{"start":{"line":50,"column":0},"end":{"line":50,"column":38}}},"branchMap":{"1":{"line":21,"type":"if","locations":[{"start":{"line":21,"column":2},"end":{"line":21,"column":2}},{"start":{"line":21,"column":2},"end":{"line":21,"column":2}}]}}},"/Users/jeff/Projects/awilix/lib/nameValueToObject.js":{"path":"/Users/jeff/Projects/awilix/lib/nameValueToObject.js","s":{"1":1,"2":149,"3":149,"4":103,"5":149},"b":{"1":[103,46]},"f":{"1":149},"fnMap":{"1":{"name":"nameValueToObject","line":12,"loc":{"start":{"line":12,"column":17},"end":{"line":12,"column":58}}}},"statementMap":{"1":{"start":{"line":12,"column":0},"end":{"line":19,"column":1}},"2":{"start":{"line":13,"column":2},"end":{"line":13,"column":16}},"3":{"start":{"line":14,"column":2},"end":{"line":16,"column":3}},"4":{"start":{"line":15,"column":4},"end":{"line":15,"column":42}},"5":{"start":{"line":18,"column":2},"end":{"line":18,"column":12}}},"branchMap":{"1":{"line":14,"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":14,"column":2}},{"start":{"line":14,"column":2},"end":{"line":14,"column":2}}]}}},"/Users/jeff/Projects/awilix/lib/last.js":{"path":"/Users/jeff/Projects/awilix/lib/last.js","s":{"1":1,"2":131},"b":{},"f":{"1":131},"fnMap":{"1":{"name":"last","line":10,"loc":{"start":{"line":10,"column":17},"end":{"line":10,"column":37}}}},"statementMap":{"1":{"start":{"line":10,"column":0},"end":{"line":12,"column":1}},"2":{"start":{"line":11,"column":2},"end":{"line":11,"column":28}}},"branchMap":{}}} | ||
{"/Users/jeff/Projects/awilix/lib/awilix.js":{"path":"/Users/jeff/Projects/awilix/lib/awilix.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":8,"column":1}},"2":{"start":{"line":11,"column":0},"end":{"line":11,"column":57}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/createContainer.js":{"path":"/Users/jeff/Projects/awilix/lib/createContainer.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":82,"13":82,"14":82,"15":82,"16":82,"17":78,"18":2,"19":82,"20":82,"21":82,"22":82,"23":8,"24":82,"25":82,"26":1,"27":82,"28":82,"29":164,"30":82,"31":17,"32":82,"33":82,"34":107,"35":107,"36":117,"37":117,"38":107,"39":82,"40":82,"41":246,"42":41,"43":4,"44":1,"45":3,"46":3,"47":3,"48":40,"49":40,"50":59,"51":59,"52":59,"53":14,"54":14,"55":4,"56":14,"57":14,"58":59,"59":40,"60":82,"61":82,"62":82,"63":82,"64":130,"65":86,"66":130,"67":130,"68":130,"69":130,"70":1,"71":129,"72":8,"73":121,"74":121,"75":121,"76":87,"77":70,"78":6,"79":6,"80":2,"81":2,"82":4,"83":6,"84":27,"85":40,"86":40,"87":14,"88":14,"89":27,"90":13,"91":13,"92":27,"93":1,"94":103,"95":103,"96":27,"97":27,"98":130,"99":103,"100":82,"101":82,"102":3,"103":3,"104":82,"105":82},"b":{"1":[1,1],"2":[17,65],"3":[82,82],"4":[164,37],"5":[4,37],"6":[41,4],"7":[1,3],"8":[14,45],"9":[59,48],"10":[4,10],"11":[86,44],"12":[1,129],"13":[8,121],"14":[87,6,27,1],"15":[2,4],"16":[14,26],"17":[13,14],"18":[103,27]},"f":{"1":82,"2":78,"3":8,"4":41},"fnMap":{"1":{"name":"createContainer","line":29,"loc":{"start":{"line":29,"column":17},"end":{"line":29,"column":71}}},"2":{"name":"(anonymous_2)","line":58,"loc":{"start":{"line":58,"column":22},"end":{"line":58,"column":25}}},"3":{"name":"(anonymous_3)","line":92,"loc":{"start":{"line":92,"column":32},"end":{"line":92,"column":47}}},"4":{"name":"registerShortcut","line":187,"loc":{"start":{"line":187,"column":46},"end":{"line":187,"column":92}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":44}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":67}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":50}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":64}},"6":{"start":{"line":6,"column":0},"end":{"line":6,"column":44}},"7":{"start":{"line":7,"column":0},"end":{"line":7,"column":56}},"8":{"start":{"line":8,"column":0},"end":{"line":8,"column":38}},"9":{"start":{"line":9,"column":0},"end":{"line":9,"column":30}},"10":{"start":{"line":15,"column":0},"end":{"line":15,"column":40}},"11":{"start":{"line":29,"column":0},"end":{"line":381,"column":1}},"12":{"start":{"line":30,"column":2},"end":{"line":32,"column":13}},"13":{"start":{"line":38,"column":2},"end":{"line":38,"column":26}},"14":{"start":{"line":42,"column":2},"end":{"line":42,"column":32}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":26}},"16":{"start":{"line":48,"column":2},"end":{"line":68,"column":3}},"17":{"start":{"line":59,"column":6},"end":{"line":59,"column":34}},"18":{"start":{"line":66,"column":6},"end":{"line":66,"column":134}},"19":{"start":{"line":71,"column":2},"end":{"line":73,"column":17}},"20":{"start":{"line":81,"column":2},"end":{"line":81,"column":37}},"21":{"start":{"line":88,"column":2},"end":{"line":88,"column":22}},"22":{"start":{"line":91,"column":2},"end":{"line":95,"column":3}},"23":{"start":{"line":92,"column":49},"end":{"line":92,"column":69}},"24":{"start":{"line":102,"column":2},"end":{"line":126,"column":4}},"25":{"start":{"line":115,"column":27},"end":{"line":115,"column":40}},"26":{"start":{"line":124,"column":6},"end":{"line":124,"column":104}},"27":{"start":{"line":128,"column":2},"end":{"line":128,"column":27}},"28":{"start":{"line":136,"column":2},"end":{"line":142,"column":3}},"29":{"start":{"line":137,"column":4},"end":{"line":141,"column":5}},"30":{"start":{"line":150,"column":2},"end":{"line":152,"column":3}},"31":{"start":{"line":151,"column":4},"end":{"line":151,"column":46}},"32":{"start":{"line":154,"column":2},"end":{"line":154,"column":37}},"33":{"start":{"line":165,"column":2},"end":{"line":173,"column":3}},"34":{"start":{"line":166,"column":4},"end":{"line":166,"column":53}},"35":{"start":{"line":167,"column":4},"end":{"line":170,"column":5}},"36":{"start":{"line":168,"column":6},"end":{"line":168,"column":28}},"37":{"start":{"line":169,"column":6},"end":{"line":169,"column":32}},"38":{"start":{"line":172,"column":4},"end":{"line":172,"column":20}},"39":{"start":{"line":175,"column":2},"end":{"line":175,"column":31}},"40":{"start":{"line":187,"column":2},"end":{"line":222,"column":3}},"41":{"start":{"line":187,"column":46},"end":{"line":222,"column":3}},"42":{"start":{"line":189,"column":4},"end":{"line":196,"column":5}},"43":{"start":{"line":190,"column":6},"end":{"line":192,"column":7}},"44":{"start":{"line":191,"column":8},"end":{"line":191,"column":118}},"45":{"start":{"line":193,"column":6},"end":{"line":193,"column":18}},"46":{"start":{"line":194,"column":6},"end":{"line":194,"column":18}},"47":{"start":{"line":195,"column":6},"end":{"line":195,"column":22}},"48":{"start":{"line":198,"column":4},"end":{"line":198,"column":46}},"49":{"start":{"line":199,"column":4},"end":{"line":218,"column":5}},"50":{"start":{"line":200,"column":6},"end":{"line":200,"column":36}},"51":{"start":{"line":203,"column":6},"end":{"line":203,"column":43}},"52":{"start":{"line":205,"column":6},"end":{"line":215,"column":7}},"53":{"start":{"line":206,"column":8},"end":{"line":206,"column":42}},"54":{"start":{"line":208,"column":8},"end":{"line":211,"column":9}},"55":{"start":{"line":210,"column":10},"end":{"line":210,"column":45}},"56":{"start":{"line":213,"column":8},"end":{"line":213,"column":55}},"57":{"start":{"line":214,"column":8},"end":{"line":214,"column":44}},"58":{"start":{"line":217,"column":6},"end":{"line":217,"column":49}},"59":{"start":{"line":221,"column":4},"end":{"line":221,"column":20}},"60":{"start":{"line":236,"column":2},"end":{"line":236,"column":55}},"61":{"start":{"line":250,"column":2},"end":{"line":250,"column":49}},"62":{"start":{"line":264,"column":2},"end":{"line":264,"column":76}},"63":{"start":{"line":275,"column":2},"end":{"line":354,"column":3}},"64":{"start":{"line":276,"column":4},"end":{"line":278,"column":5}},"65":{"start":{"line":277,"column":6},"end":{"line":277,"column":49}},"66":{"start":{"line":282,"column":4},"end":{"line":282,"column":33}},"67":{"start":{"line":284,"column":4},"end":{"line":353,"column":5}},"68":{"start":{"line":286,"column":6},"end":{"line":286,"column":52}},"69":{"start":{"line":287,"column":6},"end":{"line":289,"column":7}},"70":{"start":{"line":288,"column":8},"end":{"line":288,"column":95}},"71":{"start":{"line":291,"column":6},"end":{"line":293,"column":7}},"72":{"start":{"line":292,"column":8},"end":{"line":292,"column":62}},"73":{"start":{"line":296,"column":6},"end":{"line":296,"column":32}},"74":{"start":{"line":299,"column":6},"end":{"line":299,"column":26}},"75":{"start":{"line":300,"column":6},"end":{"line":339,"column":7}},"76":{"start":{"line":303,"column":10},"end":{"line":303,"column":52}},"77":{"start":{"line":304,"column":10},"end":{"line":304,"column":15}},"78":{"start":{"line":307,"column":10},"end":{"line":307,"column":35}},"79":{"start":{"line":308,"column":10},"end":{"line":313,"column":11}},"80":{"start":{"line":309,"column":12},"end":{"line":309,"column":54}},"81":{"start":{"line":310,"column":12},"end":{"line":310,"column":39}},"82":{"start":{"line":312,"column":12},"end":{"line":312,"column":29}},"83":{"start":{"line":314,"column":10},"end":{"line":314,"column":15}},"84":{"start":{"line":322,"column":10},"end":{"line":329,"column":11}},"85":{"start":{"line":323,"column":12},"end":{"line":323,"column":34}},"86":{"start":{"line":324,"column":12},"end":{"line":328,"column":13}},"87":{"start":{"line":326,"column":14},"end":{"line":326,"column":31}},"88":{"start":{"line":327,"column":14},"end":{"line":327,"column":19}},"89":{"start":{"line":332,"column":10},"end":{"line":335,"column":11}},"90":{"start":{"line":333,"column":12},"end":{"line":333,"column":54}},"91":{"start":{"line":334,"column":12},"end":{"line":334,"column":44}},"92":{"start":{"line":336,"column":10},"end":{"line":336,"column":15}},"93":{"start":{"line":338,"column":10},"end":{"line":338,"column":111}},"94":{"start":{"line":341,"column":6},"end":{"line":341,"column":27}},"95":{"start":{"line":342,"column":6},"end":{"line":342,"column":21}},"96":{"start":{"line":345,"column":6},"end":{"line":345,"column":26}},"97":{"start":{"line":346,"column":6},"end":{"line":346,"column":15}},"98":{"start":{"line":350,"column":6},"end":{"line":352,"column":7}},"99":{"start":{"line":351,"column":8},"end":{"line":351,"column":34}},"100":{"start":{"line":356,"column":2},"end":{"line":356,"column":29}},"101":{"start":{"line":367,"column":2},"end":{"line":370,"column":3}},"102":{"start":{"line":368,"column":4},"end":{"line":368,"column":53}},"103":{"start":{"line":369,"column":4},"end":{"line":369,"column":20}},"104":{"start":{"line":377,"column":2},"end":{"line":377,"column":37}},"105":{"start":{"line":380,"column":2},"end":{"line":380,"column":18}}},"branchMap":{"1":{"line":66,"type":"cond-expr","locations":[{"start":{"line":66,"column":54},"end":{"line":66,"column":64}},{"start":{"line":66,"column":67},"end":{"line":66,"column":69}}]},"2":{"line":71,"type":"cond-expr","locations":[{"start":{"line":72,"column":6},"end":{"line":72,"column":56}},{"start":{"line":73,"column":6},"end":{"line":73,"column":17}}]},"3":{"line":92,"type":"binary-expr","locations":[{"start":{"line":92,"column":13},"end":{"line":92,"column":28}},{"start":{"line":92,"column":32},"end":{"line":92,"column":70}}]},"4":{"line":139,"type":"binary-expr","locations":[{"start":{"line":139,"column":6},"end":{"line":139,"column":23}},{"start":{"line":139,"column":27},"end":{"line":139,"column":58}}]},"5":{"line":189,"type":"if","locations":[{"start":{"line":189,"column":4},"end":{"line":189,"column":4}},{"start":{"line":189,"column":4},"end":{"line":189,"column":4}}]},"6":{"line":189,"type":"binary-expr","locations":[{"start":{"line":189,"column":8},"end":{"line":189,"column":34}},{"start":{"line":189,"column":38},"end":{"line":189,"column":52}}]},"7":{"line":190,"type":"if","locations":[{"start":{"line":190,"column":6},"end":{"line":190,"column":6}},{"start":{"line":190,"column":6},"end":{"line":190,"column":6}}]},"8":{"line":205,"type":"if","locations":[{"start":{"line":205,"column":6},"end":{"line":205,"column":6}},{"start":{"line":205,"column":6},"end":{"line":205,"column":6}}]},"9":{"line":205,"type":"binary-expr","locations":[{"start":{"line":205,"column":10},"end":{"line":205,"column":24}},{"start":{"line":205,"column":28},"end":{"line":205,"column":58}}]},"10":{"line":208,"type":"if","locations":[{"start":{"line":208,"column":8},"end":{"line":208,"column":8}},{"start":{"line":208,"column":8},"end":{"line":208,"column":8}}]},"11":{"line":276,"type":"if","locations":[{"start":{"line":276,"column":4},"end":{"line":276,"column":4}},{"start":{"line":276,"column":4},"end":{"line":276,"column":4}}]},"12":{"line":287,"type":"if","locations":[{"start":{"line":287,"column":6},"end":{"line":287,"column":6}},{"start":{"line":287,"column":6},"end":{"line":287,"column":6}}]},"13":{"line":291,"type":"if","locations":[{"start":{"line":291,"column":6},"end":{"line":291,"column":6}},{"start":{"line":291,"column":6},"end":{"line":291,"column":6}}]},"14":{"line":300,"type":"switch","locations":[{"start":{"line":301,"column":8},"end":{"line":304,"column":15}},{"start":{"line":305,"column":8},"end":{"line":314,"column":15}},{"start":{"line":315,"column":8},"end":{"line":336,"column":15}},{"start":{"line":337,"column":8},"end":{"line":338,"column":111}}]},"15":{"line":308,"type":"if","locations":[{"start":{"line":308,"column":10},"end":{"line":308,"column":10}},{"start":{"line":308,"column":10},"end":{"line":308,"column":10}}]},"16":{"line":324,"type":"if","locations":[{"start":{"line":324,"column":12},"end":{"line":324,"column":12}},{"start":{"line":324,"column":12},"end":{"line":324,"column":12}}]},"17":{"line":332,"type":"if","locations":[{"start":{"line":332,"column":10},"end":{"line":332,"column":10}},{"start":{"line":332,"column":10},"end":{"line":332,"column":10}}]},"18":{"line":350,"type":"if","locations":[{"start":{"line":350,"column":6},"end":{"line":350,"column":6}},{"start":{"line":350,"column":6},"end":{"line":350,"column":6}}]}}},"/Users/jeff/Projects/awilix/lib/loadModules.js":{"path":"/Users/jeff/Projects/awilix/lib/loadModules.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":14,"9":14,"10":14,"11":14,"12":27,"13":27,"14":1,"15":26,"16":5,"17":3,"18":2,"19":21,"20":14,"21":27,"22":14,"23":1,"24":14,"25":1,"26":24,"27":24,"28":24,"29":23,"30":23,"31":23,"32":4,"33":2,"34":4,"35":3,"36":24,"37":24,"38":5,"39":24,"40":24,"41":24},"b":{"1":[1,26],"2":[5,21],"3":[3,2],"4":[5,3],"5":[14,12],"6":[24,3],"7":[23,1],"8":[4,19],"9":[2,2],"10":[3,1],"11":[5,19],"12":[1,23],"13":[2,21]},"f":{"1":14,"2":14,"3":24},"fnMap":{"1":{"name":"loadModules","line":37,"loc":{"start":{"line":37,"column":17},"end":{"line":37,"column":73}}},"2":{"name":"optsWithDefaults","line":81,"loc":{"start":{"line":81,"column":0},"end":{"line":81,"column":44}}},"3":{"name":"registerDescriptor","line":98,"loc":{"start":{"line":98,"column":0},"end":{"line":98,"column":64}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":36}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":42}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":38}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":48}},"6":{"start":{"line":7,"column":0},"end":{"line":9,"column":1}},"7":{"start":{"line":37,"column":0},"end":{"line":76,"column":1}},"8":{"start":{"line":38,"column":2},"end":{"line":38,"column":42}},"9":{"start":{"line":39,"column":2},"end":{"line":39,"column":42}},"10":{"start":{"line":40,"column":2},"end":{"line":40,"column":62}},"11":{"start":{"line":42,"column":2},"end":{"line":70,"column":4}},"12":{"start":{"line":43,"column":4},"end":{"line":43,"column":47}},"13":{"start":{"line":46,"column":4},"end":{"line":48,"column":5}},"14":{"start":{"line":47,"column":6},"end":{"line":47,"column":22}},"15":{"start":{"line":50,"column":4},"end":{"line":62,"column":5}},"16":{"start":{"line":51,"column":6},"end":{"line":59,"column":7}},"17":{"start":{"line":53,"column":8},"end":{"line":58,"column":9}},"18":{"start":{"line":61,"column":6},"end":{"line":61,"column":22}},"19":{"start":{"line":64,"column":4},"end":{"line":69,"column":5}},"20":{"start":{"line":71,"column":2},"end":{"line":72,"column":60}},"21":{"start":{"line":71,"column":21},"end":{"line":71,"column":22}},"22":{"start":{"line":73,"column":2},"end":{"line":75,"column":3}},"23":{"start":{"line":81,"column":0},"end":{"line":89,"column":1}},"24":{"start":{"line":82,"column":2},"end":{"line":88,"column":10}},"25":{"start":{"line":98,"column":0},"end":{"line":135,"column":1}},"26":{"start":{"line":99,"column":2},"end":{"line":99,"column":73}},"27":{"start":{"line":100,"column":2},"end":{"line":100,"column":46}},"28":{"start":{"line":101,"column":2},"end":{"line":113,"column":3}},"29":{"start":{"line":102,"column":4},"end":{"line":102,"column":32}},"30":{"start":{"line":103,"column":4},"end":{"line":103,"column":35}},"31":{"start":{"line":104,"column":4},"end":{"line":112,"column":5}},"32":{"start":{"line":105,"column":6},"end":{"line":107,"column":7}},"33":{"start":{"line":106,"column":8},"end":{"line":106,"column":45}},"34":{"start":{"line":109,"column":6},"end":{"line":111,"column":7}},"35":{"start":{"line":110,"column":8},"end":{"line":110,"column":48}},"36":{"start":{"line":115,"column":2},"end":{"line":115,"column":50}},"37":{"start":{"line":117,"column":2},"end":{"line":119,"column":3}},"38":{"start":{"line":118,"column":4},"end":{"line":118,"column":61}},"39":{"start":{"line":121,"column":2},"end":{"line":125,"column":3}},"40":{"start":{"line":127,"column":2},"end":{"line":129,"column":88}},"41":{"start":{"line":131,"column":2},"end":{"line":134,"column":3}}},"branchMap":{"1":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":4},"end":{"line":46,"column":4}},{"start":{"line":46,"column":4},"end":{"line":46,"column":4}}]},"2":{"line":50,"type":"if","locations":[{"start":{"line":50,"column":4},"end":{"line":50,"column":4}},{"start":{"line":50,"column":4},"end":{"line":50,"column":4}}]},"3":{"line":51,"type":"if","locations":[{"start":{"line":51,"column":6},"end":{"line":51,"column":6}},{"start":{"line":51,"column":6},"end":{"line":51,"column":6}}]},"4":{"line":51,"type":"binary-expr","locations":[{"start":{"line":51,"column":10},"end":{"line":51,"column":24}},{"start":{"line":51,"column":28},"end":{"line":51,"column":54}}]},"5":{"line":87,"type":"binary-expr","locations":[{"start":{"line":87,"column":7},"end":{"line":87,"column":11}},{"start":{"line":87,"column":15},"end":{"line":87,"column":39}}]},"6":{"line":100,"type":"binary-expr","locations":[{"start":{"line":100,"column":13},"end":{"line":100,"column":25}},{"start":{"line":100,"column":29},"end":{"line":100,"column":46}}]},"7":{"line":101,"type":"if","locations":[{"start":{"line":101,"column":2},"end":{"line":101,"column":2}},{"start":{"line":101,"column":2},"end":{"line":101,"column":2}}]},"8":{"line":104,"type":"if","locations":[{"start":{"line":104,"column":4},"end":{"line":104,"column":4}},{"start":{"line":104,"column":4},"end":{"line":104,"column":4}}]},"9":{"line":105,"type":"if","locations":[{"start":{"line":105,"column":6},"end":{"line":105,"column":6}},{"start":{"line":105,"column":6},"end":{"line":105,"column":6}}]},"10":{"line":109,"type":"if","locations":[{"start":{"line":109,"column":6},"end":{"line":109,"column":6}},{"start":{"line":109,"column":6},"end":{"line":109,"column":6}}]},"11":{"line":117,"type":"if","locations":[{"start":{"line":117,"column":2},"end":{"line":117,"column":2}},{"start":{"line":117,"column":2},"end":{"line":117,"column":2}}]},"12":{"line":127,"type":"cond-expr","locations":[{"start":{"line":128,"column":6},"end":{"line":128,"column":22}},{"start":{"line":129,"column":6},"end":{"line":129,"column":88}}]},"13":{"line":129,"type":"cond-expr","locations":[{"start":{"line":129,"column":40},"end":{"line":129,"column":61}},{"start":{"line":129,"column":64},"end":{"line":129,"column":88}}]}}},"/Users/jeff/Projects/awilix/lib/isClass.js":{"path":"/Users/jeff/Projects/awilix/lib/isClass.js","s":{"1":1,"2":1,"3":29,"4":2,"5":27,"6":27,"7":27,"8":4,"9":23,"10":23,"11":2,"12":1,"13":22},"b":{"1":[2,27],"2":[4,23],"3":[2,21],"4":[23,8],"5":[1,1]},"f":{"1":29},"fnMap":{"1":{"name":"isClass","line":9,"loc":{"start":{"line":9,"column":17},"end":{"line":9,"column":39}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"2":{"start":{"line":9,"column":0},"end":{"line":29,"column":1}},"3":{"start":{"line":10,"column":2},"end":{"line":12,"column":3}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":16}},"5":{"start":{"line":15,"column":2},"end":{"line":15,"column":51}},"6":{"start":{"line":16,"column":2},"end":{"line":16,"column":25}},"7":{"start":{"line":17,"column":2},"end":{"line":19,"column":3}},"8":{"start":{"line":18,"column":4},"end":{"line":18,"column":15}},"9":{"start":{"line":21,"column":2},"end":{"line":21,"column":26}},"10":{"start":{"line":22,"column":2},"end":{"line":26,"column":3}},"11":{"start":{"line":23,"column":4},"end":{"line":25,"column":5}},"12":{"start":{"line":24,"column":6},"end":{"line":24,"column":17}},"13":{"start":{"line":28,"column":2},"end":{"line":28,"column":14}}},"branchMap":{"1":{"line":10,"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":10,"column":2}},{"start":{"line":10,"column":2},"end":{"line":10,"column":2}}]},"2":{"line":17,"type":"if","locations":[{"start":{"line":17,"column":2},"end":{"line":17,"column":2}},{"start":{"line":17,"column":2},"end":{"line":17,"column":2}}]},"3":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":2},"end":{"line":22,"column":2}},{"start":{"line":22,"column":2},"end":{"line":22,"column":2}}]},"4":{"line":22,"type":"binary-expr","locations":[{"start":{"line":22,"column":6},"end":{"line":22,"column":32}},{"start":{"line":22,"column":36},"end":{"line":22,"column":48}}]},"5":{"line":23,"type":"if","locations":[{"start":{"line":23,"column":4},"end":{"line":23,"column":4}},{"start":{"line":23,"column":4},"end":{"line":23,"column":4}}]}}},"/Users/jeff/Projects/awilix/lib/tokenizeFunction.js":{"path":"/Users/jeff/Projects/awilix/lib/tokenizeFunction.js","s":{"1":1,"2":157,"3":157,"4":157,"5":157,"6":1733,"7":11,"8":1722,"9":1722,"10":1,"11":1,"12":1721,"13":869,"14":869,"15":852,"16":104,"17":104,"18":104,"19":748,"20":90,"21":90,"22":90,"23":658,"24":17,"25":17,"26":17,"27":641,"28":97,"29":62,"30":62,"31":35,"32":35,"33":797,"34":797,"35":12,"36":12,"37":785,"38":4,"39":785,"40":579,"41":579,"42":3226,"43":3226,"44":83,"45":83,"46":3143,"47":496,"48":2647,"49":2647,"50":496,"51":475,"52":63,"53":1,"54":4749,"55":1250,"56":3499,"57":1,"58":785,"59":4,"60":781},"b":{"1":[11,1722],"2":[1733,62],"3":[1,1721],"4":[869,852],"5":[104,748],"6":[90,658],"7":[17,641],"8":[97,544],"9":[62,35],"10":[12,785],"11":[4,781],"12":[785,781,24],"13":[83,3143],"14":[496,2647],"15":[3143,3093,3077,3028],"16":[475,21],"17":[5,229,1250],"18":[4,4,4]},"f":{"1":157,"2":4749,"3":785},"fnMap":{"1":{"name":"tokenizeFunction","line":8,"loc":{"start":{"line":8,"column":17},"end":{"line":8,"column":63}}},"2":{"name":"isWhiteSpace","line":95,"loc":{"start":{"line":95,"column":0},"end":{"line":95,"column":27}}},"3":{"name":"isStringQuote","line":110,"loc":{"start":{"line":110,"column":0},"end":{"line":110,"column":28}}}},"statementMap":{"1":{"start":{"line":8,"column":0},"end":{"line":87,"column":1}},"2":{"start":{"line":9,"column":2},"end":{"line":9,"column":13}},"3":{"start":{"line":10,"column":2},"end":{"line":10,"column":8}},"4":{"start":{"line":11,"column":2},"end":{"line":11,"column":19}},"5":{"start":{"line":12,"column":2},"end":{"line":84,"column":3}},"6":{"start":{"line":13,"column":4},"end":{"line":15,"column":5}},"7":{"start":{"line":14,"column":6},"end":{"line":14,"column":19}},"8":{"start":{"line":16,"column":4},"end":{"line":16,"column":20}},"9":{"start":{"line":17,"column":4},"end":{"line":20,"column":5}},"10":{"start":{"line":18,"column":6},"end":{"line":18,"column":34}},"11":{"start":{"line":19,"column":6},"end":{"line":19,"column":11}},"12":{"start":{"line":22,"column":4},"end":{"line":25,"column":5}},"13":{"start":{"line":23,"column":6},"end":{"line":23,"column":11}},"14":{"start":{"line":24,"column":6},"end":{"line":24,"column":14}},"15":{"start":{"line":27,"column":4},"end":{"line":31,"column":5}},"16":{"start":{"line":28,"column":6},"end":{"line":28,"column":32}},"17":{"start":{"line":29,"column":6},"end":{"line":29,"column":11}},"18":{"start":{"line":30,"column":6},"end":{"line":30,"column":14}},"19":{"start":{"line":33,"column":4},"end":{"line":37,"column":5}},"20":{"start":{"line":34,"column":6},"end":{"line":34,"column":32}},"21":{"start":{"line":35,"column":6},"end":{"line":35,"column":11}},"22":{"start":{"line":36,"column":6},"end":{"line":36,"column":14}},"23":{"start":{"line":39,"column":4},"end":{"line":43,"column":5}},"24":{"start":{"line":40,"column":6},"end":{"line":40,"column":32}},"25":{"start":{"line":41,"column":6},"end":{"line":41,"column":11}},"26":{"start":{"line":42,"column":6},"end":{"line":42,"column":14}},"27":{"start":{"line":47,"column":4},"end":{"line":66,"column":5}},"28":{"start":{"line":48,"column":6},"end":{"line":52,"column":7}},"29":{"start":{"line":50,"column":8},"end":{"line":50,"column":36}},"30":{"start":{"line":51,"column":8},"end":{"line":51,"column":13}},"31":{"start":{"line":53,"column":6},"end":{"line":53,"column":28}},"32":{"start":{"line":54,"column":6},"end":{"line":65,"column":56}},"33":{"start":{"line":55,"column":8},"end":{"line":55,"column":24}},"34":{"start":{"line":56,"column":8},"end":{"line":59,"column":9}},"35":{"start":{"line":57,"column":10},"end":{"line":57,"column":38}},"36":{"start":{"line":58,"column":10},"end":{"line":58,"column":15}},"37":{"start":{"line":61,"column":8},"end":{"line":63,"column":9}},"38":{"start":{"line":62,"column":10},"end":{"line":62,"column":34}},"39":{"start":{"line":64,"column":8},"end":{"line":64,"column":13}},"40":{"start":{"line":68,"column":4},"end":{"line":68,"column":23}},"41":{"start":{"line":69,"column":4},"end":{"line":80,"column":5}},"42":{"start":{"line":70,"column":6},"end":{"line":70,"column":22}},"43":{"start":{"line":71,"column":6},"end":{"line":74,"column":7}},"44":{"start":{"line":72,"column":8},"end":{"line":72,"column":36}},"45":{"start":{"line":73,"column":8},"end":{"line":73,"column":21}},"46":{"start":{"line":75,"column":6},"end":{"line":77,"column":7}},"47":{"start":{"line":76,"column":8},"end":{"line":76,"column":13}},"48":{"start":{"line":78,"column":6},"end":{"line":78,"column":23}},"49":{"start":{"line":79,"column":6},"end":{"line":79,"column":11}},"50":{"start":{"line":81,"column":4},"end":{"line":83,"column":5}},"51":{"start":{"line":82,"column":6},"end":{"line":82,"column":62}},"52":{"start":{"line":86,"column":2},"end":{"line":86,"column":15}},"53":{"start":{"line":95,"column":0},"end":{"line":103,"column":1}},"54":{"start":{"line":96,"column":2},"end":{"line":101,"column":3}},"55":{"start":{"line":100,"column":6},"end":{"line":100,"column":17}},"56":{"start":{"line":102,"column":2},"end":{"line":102,"column":14}},"57":{"start":{"line":110,"column":0},"end":{"line":118,"column":1}},"58":{"start":{"line":111,"column":2},"end":{"line":116,"column":3}},"59":{"start":{"line":115,"column":6},"end":{"line":115,"column":17}},"60":{"start":{"line":117,"column":2},"end":{"line":117,"column":14}}},"branchMap":{"1":{"line":13,"type":"if","locations":[{"start":{"line":13,"column":4},"end":{"line":13,"column":4}},{"start":{"line":13,"column":4},"end":{"line":13,"column":4}}]},"2":{"line":13,"type":"binary-expr","locations":[{"start":{"line":13,"column":8},"end":{"line":13,"column":17}},{"start":{"line":13,"column":21},"end":{"line":13,"column":47}}]},"3":{"line":17,"type":"if","locations":[{"start":{"line":17,"column":4},"end":{"line":17,"column":4}},{"start":{"line":17,"column":4},"end":{"line":17,"column":4}}]},"4":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":22,"column":4}},{"start":{"line":22,"column":4},"end":{"line":22,"column":4}}]},"5":{"line":27,"type":"if","locations":[{"start":{"line":27,"column":4},"end":{"line":27,"column":4}},{"start":{"line":27,"column":4},"end":{"line":27,"column":4}}]},"6":{"line":33,"type":"if","locations":[{"start":{"line":33,"column":4},"end":{"line":33,"column":4}},{"start":{"line":33,"column":4},"end":{"line":33,"column":4}}]},"7":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":4}},{"start":{"line":39,"column":4},"end":{"line":39,"column":4}}]},"8":{"line":47,"type":"if","locations":[{"start":{"line":47,"column":4},"end":{"line":47,"column":4}},{"start":{"line":47,"column":4},"end":{"line":47,"column":4}}]},"9":{"line":48,"type":"if","locations":[{"start":{"line":48,"column":6},"end":{"line":48,"column":6}},{"start":{"line":48,"column":6},"end":{"line":48,"column":6}}]},"10":{"line":56,"type":"if","locations":[{"start":{"line":56,"column":8},"end":{"line":56,"column":8}},{"start":{"line":56,"column":8},"end":{"line":56,"column":8}}]},"11":{"line":61,"type":"if","locations":[{"start":{"line":61,"column":8},"end":{"line":61,"column":8}},{"start":{"line":61,"column":8},"end":{"line":61,"column":8}}]},"12":{"line":65,"type":"binary-expr","locations":[{"start":{"line":65,"column":16},"end":{"line":65,"column":26}},{"start":{"line":65,"column":30},"end":{"line":65,"column":40}},{"start":{"line":65,"column":45},"end":{"line":65,"column":55}}]},"13":{"line":71,"type":"if","locations":[{"start":{"line":71,"column":6},"end":{"line":71,"column":6}},{"start":{"line":71,"column":6},"end":{"line":71,"column":6}}]},"14":{"line":75,"type":"if","locations":[{"start":{"line":75,"column":6},"end":{"line":75,"column":6}},{"start":{"line":75,"column":6},"end":{"line":75,"column":6}}]},"15":{"line":75,"type":"binary-expr","locations":[{"start":{"line":75,"column":10},"end":{"line":75,"column":20}},{"start":{"line":75,"column":24},"end":{"line":75,"column":34}},{"start":{"line":75,"column":38},"end":{"line":75,"column":48}},{"start":{"line":75,"column":52},"end":{"line":75,"column":68}}]},"16":{"line":81,"type":"if","locations":[{"start":{"line":81,"column":4},"end":{"line":81,"column":4}},{"start":{"line":81,"column":4},"end":{"line":81,"column":4}}]},"17":{"line":96,"type":"switch","locations":[{"start":{"line":97,"column":4},"end":{"line":97,"column":14}},{"start":{"line":98,"column":4},"end":{"line":98,"column":14}},{"start":{"line":99,"column":4},"end":{"line":100,"column":17}}]},"18":{"line":111,"type":"switch","locations":[{"start":{"line":112,"column":4},"end":{"line":112,"column":14}},{"start":{"line":113,"column":4},"end":{"line":113,"column":13}},{"start":{"line":114,"column":4},"end":{"line":115,"column":17}}]}}},"/Users/jeff/Projects/awilix/lib/isFunction.js":{"path":"/Users/jeff/Projects/awilix/lib/isFunction.js","s":{"1":1,"2":149},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":10,"column":0},"end":{"line":10,"column":49}},"2":{"start":{"line":10,"column":24},"end":{"line":10,"column":49}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/Lifetime.js":{"path":"/Users/jeff/Projects/awilix/lib/Lifetime.js","s":{"1":1,"2":1,"3":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":5,"column":0},"end":{"line":5,"column":38}},"2":{"start":{"line":11,"column":0},"end":{"line":11,"column":38}},"3":{"start":{"line":17,"column":0},"end":{"line":17,"column":32}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/registrations.js":{"path":"/Users/jeff/Projects/awilix/lib/registrations.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":110,"10":1,"11":110,"12":15,"13":15,"14":110,"15":8,"16":8,"17":110,"18":4,"19":4,"20":110,"21":4,"22":5,"23":4,"24":2,"25":6,"26":1,"27":21,"28":14,"29":21,"30":1,"31":1,"32":74,"33":1,"34":73,"35":73,"36":73,"37":73,"38":73,"39":73,"40":73,"41":1,"42":1,"43":38,"44":1,"45":37,"46":37,"47":37,"48":32,"49":37,"50":37,"51":37,"52":37,"53":37,"54":1,"55":20,"56":26,"57":26,"58":20,"59":6,"60":1,"61":14,"62":14,"63":14,"64":1,"65":110,"66":73,"67":110,"68":110,"69":96,"70":96,"71":79,"72":79,"73":17,"74":13,"75":13,"76":13,"77":4,"78":1},"b":{"1":[1,73],"2":[1,37],"3":[20,6],"4":[73,37],"5":[96,66,1],"6":[79,17],"7":[14,65],"8":[13,4],"9":[6,7]},"f":{"1":32,"2":20,"3":26,"4":14,"5":14,"6":110,"7":96},"fnMap":{"1":{"name":"newClass","line":163,"loc":{"start":{"line":163,"column":19},"end":{"line":163,"column":40}}},"2":{"name":"wrapWithInjector","line":187,"loc":{"start":{"line":187,"column":0},"end":{"line":187,"column":48}}},"3":{"name":"wrappedResolve","line":188,"loc":{"start":{"line":188,"column":9},"end":{"line":188,"column":40}}},"4":{"name":"createInjectorProxy","line":206,"loc":{"start":{"line":206,"column":0},"end":{"line":206,"column":51}}},"5":{"name":"(anonymous_5)","line":209,"loc":{"start":{"line":209,"column":8},"end":{"line":209,"column":27}}},"6":{"name":"generateResolve","line":233,"loc":{"start":{"line":233,"column":0},"end":{"line":233,"column":53}}},"7":{"name":"resolve","line":243,"loc":{"start":{"line":243,"column":9},"end":{"line":243,"column":38}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":50}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":42}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":58}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":68}},"6":{"start":{"line":11,"column":0},"end":{"line":11,"column":57}},"7":{"start":{"line":12,"column":0},"end":{"line":12,"column":42}},"8":{"start":{"line":25,"column":0},"end":{"line":27,"column":1}},"9":{"start":{"line":26,"column":2},"end":{"line":26,"column":45}},"10":{"start":{"line":42,"column":0},"end":{"line":68,"column":1}},"11":{"start":{"line":43,"column":2},"end":{"line":46,"column":3}},"12":{"start":{"line":44,"column":4},"end":{"line":44,"column":24}},"13":{"start":{"line":45,"column":4},"end":{"line":45,"column":14}},"14":{"start":{"line":48,"column":2},"end":{"line":51,"column":3}},"15":{"start":{"line":49,"column":4},"end":{"line":49,"column":30}},"16":{"start":{"line":50,"column":4},"end":{"line":50,"column":14}},"17":{"start":{"line":53,"column":2},"end":{"line":56,"column":3}},"18":{"start":{"line":54,"column":4},"end":{"line":54,"column":27}},"19":{"start":{"line":55,"column":4},"end":{"line":55,"column":14}},"20":{"start":{"line":58,"column":2},"end":{"line":67,"column":3}},"21":{"start":{"line":61,"column":21},"end":{"line":61,"column":52}},"22":{"start":{"line":62,"column":18},"end":{"line":62,"column":46}},"23":{"start":{"line":63,"column":21},"end":{"line":63,"column":52}},"24":{"start":{"line":65,"column":17},"end":{"line":65,"column":56}},"25":{"start":{"line":66,"column":19},"end":{"line":66,"column":60}},"26":{"start":{"line":82,"column":0},"end":{"line":91,"column":1}},"27":{"start":{"line":83,"column":2},"end":{"line":85,"column":3}},"28":{"start":{"line":84,"column":4},"end":{"line":84,"column":16}},"29":{"start":{"line":87,"column":2},"end":{"line":90,"column":3}},"30":{"start":{"line":93,"column":0},"end":{"line":93,"column":32}},"31":{"start":{"line":111,"column":0},"end":{"line":132,"column":1}},"32":{"start":{"line":112,"column":2},"end":{"line":114,"column":3}},"33":{"start":{"line":113,"column":4},"end":{"line":113,"column":74}},"34":{"start":{"line":116,"column":2},"end":{"line":118,"column":3}},"35":{"start":{"line":120,"column":2},"end":{"line":120,"column":54}},"36":{"start":{"line":122,"column":2},"end":{"line":122,"column":37}},"37":{"start":{"line":123,"column":2},"end":{"line":128,"column":3}},"38":{"start":{"line":129,"column":2},"end":{"line":129,"column":39}},"39":{"start":{"line":130,"column":2},"end":{"line":130,"column":51}},"40":{"start":{"line":131,"column":2},"end":{"line":131,"column":15}},"41":{"start":{"line":134,"column":0},"end":{"line":134,"column":38}},"42":{"start":{"line":151,"column":0},"end":{"line":177,"column":1}},"43":{"start":{"line":152,"column":2},"end":{"line":154,"column":3}},"44":{"start":{"line":153,"column":4},"end":{"line":153,"column":70}},"45":{"start":{"line":156,"column":2},"end":{"line":158,"column":3}},"46":{"start":{"line":160,"column":2},"end":{"line":160,"column":56}},"47":{"start":{"line":163,"column":2},"end":{"line":165,"column":3}},"48":{"start":{"line":164,"column":4},"end":{"line":164,"column":33}},"49":{"start":{"line":167,"column":2},"end":{"line":167,"column":71}},"50":{"start":{"line":168,"column":2},"end":{"line":172,"column":3}},"51":{"start":{"line":173,"column":2},"end":{"line":173,"column":39}},"52":{"start":{"line":174,"column":2},"end":{"line":174,"column":51}},"53":{"start":{"line":176,"column":2},"end":{"line":176,"column":15}},"54":{"start":{"line":187,"column":0},"end":{"line":196,"column":1}},"55":{"start":{"line":188,"column":2},"end":{"line":195,"column":3}},"56":{"start":{"line":189,"column":4},"end":{"line":189,"column":38}},"57":{"start":{"line":190,"column":4},"end":{"line":192,"column":5}},"58":{"start":{"line":191,"column":6},"end":{"line":191,"column":25}},"59":{"start":{"line":194,"column":4},"end":{"line":194,"column":34}},"60":{"start":{"line":206,"column":0},"end":{"line":213,"column":1}},"61":{"start":{"line":207,"column":2},"end":{"line":207,"column":62}},"62":{"start":{"line":208,"column":2},"end":{"line":212,"column":4}},"63":{"start":{"line":210,"column":6},"end":{"line":210,"column":37}},"64":{"start":{"line":233,"column":0},"end":{"line":269,"column":1}},"65":{"start":{"line":235,"column":2},"end":{"line":237,"column":3}},"66":{"start":{"line":236,"column":4},"end":{"line":236,"column":30}},"67":{"start":{"line":240,"column":2},"end":{"line":240,"column":75}},"68":{"start":{"line":243,"column":2},"end":{"line":268,"column":3}},"69":{"start":{"line":246,"column":4},"end":{"line":246,"column":108}},"70":{"start":{"line":247,"column":4},"end":{"line":255,"column":5}},"71":{"start":{"line":249,"column":6},"end":{"line":251,"column":26}},"72":{"start":{"line":254,"column":6},"end":{"line":254,"column":23}},"73":{"start":{"line":258,"column":4},"end":{"line":265,"column":5}},"74":{"start":{"line":259,"column":6},"end":{"line":261,"column":27}},"75":{"start":{"line":263,"column":6},"end":{"line":263,"column":48}},"76":{"start":{"line":264,"column":6},"end":{"line":264,"column":28}},"77":{"start":{"line":267,"column":4},"end":{"line":267,"column":15}},"78":{"start":{"line":271,"column":0},"end":{"line":271,"column":32}}},"branchMap":{"1":{"line":112,"type":"if","locations":[{"start":{"line":112,"column":2},"end":{"line":112,"column":2}},{"start":{"line":112,"column":2},"end":{"line":112,"column":2}}]},"2":{"line":152,"type":"if","locations":[{"start":{"line":152,"column":2},"end":{"line":152,"column":2}},{"start":{"line":152,"column":2},"end":{"line":152,"column":2}}]},"3":{"line":190,"type":"if","locations":[{"start":{"line":190,"column":4},"end":{"line":190,"column":4}},{"start":{"line":190,"column":4},"end":{"line":190,"column":4}}]},"4":{"line":235,"type":"if","locations":[{"start":{"line":235,"column":2},"end":{"line":235,"column":2}},{"start":{"line":235,"column":2},"end":{"line":235,"column":2}}]},"5":{"line":246,"type":"binary-expr","locations":[{"start":{"line":246,"column":28},"end":{"line":246,"column":47}},{"start":{"line":246,"column":51},"end":{"line":246,"column":83}},{"start":{"line":246,"column":87},"end":{"line":246,"column":107}}]},"6":{"line":247,"type":"if","locations":[{"start":{"line":247,"column":4},"end":{"line":247,"column":4}},{"start":{"line":247,"column":4},"end":{"line":247,"column":4}}]},"7":{"line":249,"type":"cond-expr","locations":[{"start":{"line":250,"column":10},"end":{"line":250,"column":55}},{"start":{"line":251,"column":10},"end":{"line":251,"column":26}}]},"8":{"line":258,"type":"if","locations":[{"start":{"line":258,"column":4},"end":{"line":258,"column":4}},{"start":{"line":258,"column":4},"end":{"line":258,"column":4}}]},"9":{"line":259,"type":"cond-expr","locations":[{"start":{"line":260,"column":10},"end":{"line":260,"column":52}},{"start":{"line":261,"column":10},"end":{"line":261,"column":27}}]}}},"/Users/jeff/Projects/awilix/lib/ResolutionMode.js":{"path":"/Users/jeff/Projects/awilix/lib/ResolutionMode.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":6,"column":30}},"2":{"start":{"line":13,"column":0},"end":{"line":13,"column":34}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/parseParameterList.js":{"path":"/Users/jeff/Projects/awilix/lib/parseParameterList.js","s":{"1":1,"2":1,"3":130,"4":130,"5":130,"6":261,"7":261,"8":47,"9":214,"10":122,"11":17,"12":17,"13":5,"14":17,"15":17,"16":3,"17":105,"18":38,"19":130,"20":130,"21":16,"22":114,"23":8,"24":106,"25":22,"26":22,"27":78,"28":78,"29":52,"30":22,"31":81,"32":92},"b":{"1":[47,214],"2":[122,92],"3":[17,105],"4":[5,12],"5":[3,14],"6":[38,67],"7":[16,114],"8":[8,106],"9":[22,84],"10":[52,26]},"f":{"1":130},"fnMap":{"1":{"name":"parseParameterList","line":15,"loc":{"start":{"line":15,"column":17},"end":{"line":15,"column":54}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"2":{"start":{"line":15,"column":0},"end":{"line":60,"column":1}},"3":{"start":{"line":16,"column":2},"end":{"line":16,"column":41}},"4":{"start":{"line":17,"column":2},"end":{"line":17,"column":19}},"5":{"start":{"line":18,"column":2},"end":{"line":58,"column":3}},"6":{"start":{"line":19,"column":4},"end":{"line":19,"column":21}},"7":{"start":{"line":20,"column":4},"end":{"line":22,"column":5}},"8":{"start":{"line":21,"column":6},"end":{"line":21,"column":11}},"9":{"start":{"line":23,"column":4},"end":{"line":57,"column":5}},"10":{"start":{"line":24,"column":6},"end":{"line":55,"column":7}},"11":{"start":{"line":25,"column":8},"end":{"line":25,"column":23}},"12":{"start":{"line":26,"column":8},"end":{"line":28,"column":9}},"13":{"start":{"line":27,"column":10},"end":{"line":27,"column":25}},"14":{"start":{"line":30,"column":8},"end":{"line":30,"column":23}},"15":{"start":{"line":31,"column":8},"end":{"line":33,"column":9}},"16":{"start":{"line":32,"column":10},"end":{"line":32,"column":15}},"17":{"start":{"line":34,"column":13},"end":{"line":55,"column":7}},"18":{"start":{"line":36,"column":8},"end":{"line":54,"column":22}},"19":{"start":{"line":37,"column":10},"end":{"line":37,"column":25}},"20":{"start":{"line":38,"column":10},"end":{"line":40,"column":11}},"21":{"start":{"line":39,"column":12},"end":{"line":39,"column":25}},"22":{"start":{"line":41,"column":10},"end":{"line":43,"column":11}},"23":{"start":{"line":42,"column":12},"end":{"line":42,"column":20}},"24":{"start":{"line":44,"column":10},"end":{"line":53,"column":11}},"25":{"start":{"line":45,"column":12},"end":{"line":45,"column":27}},"26":{"start":{"line":46,"column":12},"end":{"line":51,"column":13}},"27":{"start":{"line":47,"column":14},"end":{"line":47,"column":29}},"28":{"start":{"line":48,"column":14},"end":{"line":50,"column":15}},"29":{"start":{"line":49,"column":16},"end":{"line":49,"column":36}},"30":{"start":{"line":52,"column":12},"end":{"line":52,"column":25}},"31":{"start":{"line":56,"column":6},"end":{"line":56,"column":26}},"32":{"start":{"line":59,"column":2},"end":{"line":59,"column":15}}},"branchMap":{"1":{"line":20,"type":"if","locations":[{"start":{"line":20,"column":4},"end":{"line":20,"column":4}},{"start":{"line":20,"column":4},"end":{"line":20,"column":4}}]},"2":{"line":23,"type":"if","locations":[{"start":{"line":23,"column":4},"end":{"line":23,"column":4}},{"start":{"line":23,"column":4},"end":{"line":23,"column":4}}]},"3":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":6},"end":{"line":24,"column":6}},{"start":{"line":24,"column":6},"end":{"line":24,"column":6}}]},"4":{"line":26,"type":"if","locations":[{"start":{"line":26,"column":8},"end":{"line":26,"column":8}},{"start":{"line":26,"column":8},"end":{"line":26,"column":8}}]},"5":{"line":31,"type":"if","locations":[{"start":{"line":31,"column":8},"end":{"line":31,"column":8}},{"start":{"line":31,"column":8},"end":{"line":31,"column":8}}]},"6":{"line":34,"type":"if","locations":[{"start":{"line":34,"column":13},"end":{"line":34,"column":13}},{"start":{"line":34,"column":13},"end":{"line":34,"column":13}}]},"7":{"line":38,"type":"if","locations":[{"start":{"line":38,"column":10},"end":{"line":38,"column":10}},{"start":{"line":38,"column":10},"end":{"line":38,"column":10}}]},"8":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":10},"end":{"line":41,"column":10}},{"start":{"line":41,"column":10},"end":{"line":41,"column":10}}]},"9":{"line":44,"type":"if","locations":[{"start":{"line":44,"column":10},"end":{"line":44,"column":10}},{"start":{"line":44,"column":10},"end":{"line":44,"column":10}}]},"10":{"line":48,"type":"if","locations":[{"start":{"line":48,"column":14},"end":{"line":48,"column":14}},{"start":{"line":48,"column":14},"end":{"line":48,"column":14}}]}}},"/Users/jeff/Projects/awilix/lib/AwilixNotAFunctionError.js":{"path":"/Users/jeff/Projects/awilix/lib/AwilixNotAFunctionError.js","s":{"1":1,"2":2,"3":1},"b":{},"f":{"1":2},"fnMap":{"1":{"name":"(anonymous_1)","line":20,"loc":{"start":{"line":20,"column":14},"end":{"line":20,"column":54}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},"2":{"start":{"line":21,"column":4},"end":{"line":21,"column":76}},"3":{"start":{"line":25,"column":0},"end":{"line":25,"column":40}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/AwilixError.js":{"path":"/Users/jeff/Projects/awilix/lib/AwilixError.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":52}},"2":{"start":{"line":9,"column":0},"end":{"line":9,"column":28}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/ExtendableError.js":{"path":"/Users/jeff/Projects/awilix/lib/ExtendableError.js","s":{"1":13,"2":13,"3":13,"4":13,"5":1},"b":{},"f":{"1":13},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":14},"end":{"line":12,"column":24}}}},"statementMap":{"1":{"start":{"line":13,"column":4},"end":{"line":13,"column":18}},"2":{"start":{"line":16,"column":4},"end":{"line":19,"column":6}},"3":{"start":{"line":21,"column":4},"end":{"line":24,"column":6}},"4":{"start":{"line":26,"column":4},"end":{"line":26,"column":51}},"5":{"start":{"line":30,"column":0},"end":{"line":30,"column":32}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/listModules.js":{"path":"/Users/jeff/Projects/awilix/lib/listModules.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":12,"7":12,"8":12,"9":5,"10":5,"11":12,"12":12,"13":112,"14":12,"15":1,"16":9,"17":5,"18":8,"19":4},"b":{"1":[5,7],"2":[5,4]},"f":{"1":12,"2":9},"fnMap":{"1":{"name":"_listModules","line":23,"loc":{"start":{"line":23,"column":0},"end":{"line":23,"column":42}}},"2":{"name":"listModules","line":55,"loc":{"start":{"line":55,"column":17},"end":{"line":55,"column":59}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":28}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":28}},"5":{"start":{"line":23,"column":0},"end":{"line":38,"column":1}},"6":{"start":{"line":24,"column":2},"end":{"line":24,"column":69}},"7":{"start":{"line":25,"column":2},"end":{"line":25,"column":24}},"8":{"start":{"line":26,"column":2},"end":{"line":29,"column":3}},"9":{"start":{"line":27,"column":4},"end":{"line":27,"column":32}},"10":{"start":{"line":28,"column":4},"end":{"line":28,"column":32}},"11":{"start":{"line":31,"column":2},"end":{"line":31,"column":58}},"12":{"start":{"line":32,"column":2},"end":{"line":36,"column":5}},"13":{"start":{"line":32,"column":34},"end":{"line":36,"column":3}},"14":{"start":{"line":37,"column":2},"end":{"line":37,"column":15}},"15":{"start":{"line":55,"column":0},"end":{"line":65,"column":1}},"16":{"start":{"line":56,"column":2},"end":{"line":62,"column":3}},"17":{"start":{"line":57,"column":4},"end":{"line":61,"column":5}},"18":{"start":{"line":59,"column":13},"end":{"line":59,"column":34}},"19":{"start":{"line":64,"column":2},"end":{"line":64,"column":41}}},"branchMap":{"1":{"line":26,"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":26,"column":2}},{"start":{"line":26,"column":2},"end":{"line":26,"column":2}}]},"2":{"line":56,"type":"if","locations":[{"start":{"line":56,"column":2},"end":{"line":56,"column":2}},{"start":{"line":56,"column":2},"end":{"line":56,"column":2}}]}}},"/Users/jeff/Projects/awilix/lib/flatten.js":{"path":"/Users/jeff/Projects/awilix/lib/flatten.js","s":{"1":1,"2":6,"3":6,"4":10,"5":49,"6":6},"b":{},"f":{"1":6},"fnMap":{"1":{"name":"flatten","line":10,"loc":{"start":{"line":10,"column":17},"end":{"line":10,"column":42}}}},"statementMap":{"1":{"start":{"line":10,"column":0},"end":{"line":19,"column":1}},"2":{"start":{"line":11,"column":2},"end":{"line":11,"column":19}},"3":{"start":{"line":12,"column":2},"end":{"line":16,"column":4}},"4":{"start":{"line":13,"column":4},"end":{"line":15,"column":6}},"5":{"start":{"line":14,"column":6},"end":{"line":14,"column":23}},"6":{"start":{"line":18,"column":2},"end":{"line":18,"column":15}}},"branchMap":{}},"/Users/jeff/Projects/awilix/lib/AwilixResolutionError.js":{"path":"/Users/jeff/Projects/awilix/lib/AwilixResolutionError.js","s":{"1":1,"2":1,"3":1,"4":10,"5":10,"6":10,"7":10,"8":10,"9":2,"10":10,"11":10,"12":10,"13":10,"14":1},"b":{"1":[2,8]},"f":{"1":10},"fnMap":{"1":{"name":"(anonymous_1)","line":45,"loc":{"start":{"line":45,"column":14},"end":{"line":45,"column":47}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":44}},"3":{"start":{"line":16,"column":0},"end":{"line":29,"column":1}},"4":{"start":{"line":17,"column":2},"end":{"line":17,"column":43}},"5":{"start":{"line":18,"column":2},"end":{"line":18,"column":28}},"6":{"start":{"line":19,"column":2},"end":{"line":19,"column":59}},"7":{"start":{"line":20,"column":2},"end":{"line":20,"column":42}},"8":{"start":{"line":21,"column":2},"end":{"line":23,"column":3}},"9":{"start":{"line":22,"column":4},"end":{"line":22,"column":24}},"10":{"start":{"line":25,"column":2},"end":{"line":25,"column":18}},"11":{"start":{"line":26,"column":2},"end":{"line":26,"column":51}},"12":{"start":{"line":28,"column":2},"end":{"line":28,"column":12}},"13":{"start":{"line":46,"column":4},"end":{"line":46,"column":61}},"14":{"start":{"line":50,"column":0},"end":{"line":50,"column":38}}},"branchMap":{"1":{"line":21,"type":"if","locations":[{"start":{"line":21,"column":2},"end":{"line":21,"column":2}},{"start":{"line":21,"column":2},"end":{"line":21,"column":2}}]}}},"/Users/jeff/Projects/awilix/lib/nameValueToObject.js":{"path":"/Users/jeff/Projects/awilix/lib/nameValueToObject.js","s":{"1":1,"2":149,"3":149,"4":103,"5":149},"b":{"1":[103,46]},"f":{"1":149},"fnMap":{"1":{"name":"nameValueToObject","line":12,"loc":{"start":{"line":12,"column":17},"end":{"line":12,"column":58}}}},"statementMap":{"1":{"start":{"line":12,"column":0},"end":{"line":19,"column":1}},"2":{"start":{"line":13,"column":2},"end":{"line":13,"column":16}},"3":{"start":{"line":14,"column":2},"end":{"line":16,"column":3}},"4":{"start":{"line":15,"column":4},"end":{"line":15,"column":42}},"5":{"start":{"line":18,"column":2},"end":{"line":18,"column":12}}},"branchMap":{"1":{"line":14,"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":14,"column":2}},{"start":{"line":14,"column":2},"end":{"line":14,"column":2}}]}}},"/Users/jeff/Projects/awilix/lib/last.js":{"path":"/Users/jeff/Projects/awilix/lib/last.js","s":{"1":1,"2":131},"b":{},"f":{"1":131},"fnMap":{"1":{"name":"last","line":10,"loc":{"start":{"line":10,"column":17},"end":{"line":10,"column":37}}}},"statementMap":{"1":{"start":{"line":10,"column":0},"end":{"line":12,"column":1}},"2":{"start":{"line":11,"column":2},"end":{"line":11,"column":28}}},"branchMap":{}}} |
@@ -38,7 +38,7 @@ "use strict"; | ||
const testClass = container.resolve('_testClass'); | ||
testClass.stuff("Hello"); | ||
testClass.stuff('Hello'); | ||
const testFunc = container.resolve('_testFunction'); | ||
testFunc(""); | ||
testFunc(''); | ||
const testFunc2 = container.resolve('_testFunction'); | ||
testFunc2(""); | ||
testFunc2(''); | ||
container.register('_testValue', index_1.asValue(VALUE)); | ||
@@ -49,3 +49,6 @@ container.registerClass(TestClass); | ||
container.registerClass('__testClass', TestClass, { lifetime: index_1.Lifetime.SCOPED }); | ||
container.registerClass('__testClass', [TestClass, { lifetime: index_1.Lifetime.SCOPED }]); | ||
container.registerClass('__testClass', [ | ||
TestClass, | ||
{ lifetime: index_1.Lifetime.SCOPED } | ||
]); | ||
container.registerClass({ | ||
@@ -57,7 +60,12 @@ __testClass: TestClass, | ||
container.registerFunction('__testClass', testFunction); | ||
container.registerFunction('__testClass', testFunction, { resolutionMode: index_1.ResolutionMode.CLASSIC }); | ||
container.registerFunction('__testClass', [testFunction, { resolutionMode: index_1.ResolutionMode.CLASSIC }]); | ||
container.registerFunction('__testClass', testFunction, { | ||
resolutionMode: index_1.ResolutionMode.CLASSIC | ||
}); | ||
container.registerFunction('__testClass', [ | ||
testFunction, | ||
{ resolutionMode: index_1.ResolutionMode.CLASSIC } | ||
]); | ||
container.registerFunction({ | ||
__testFunction: testFunction, | ||
__testFunction2: [testFunction, { injector: (c) => ({ hehe: 42 }) }] | ||
__testFunction2: [testFunction, { injector: c => ({ hehe: 42 }) }] | ||
}); | ||
@@ -72,3 +80,5 @@ container.registerValue({ | ||
['hello.js', { lifetime: index_1.Lifetime.SCOPED, register: index_1.asClass }], | ||
['world.js', { injector: (c) => ({ hah: 123 }) }] | ||
['world.js', { injector: c => ({ hah: 123 }) }], | ||
['shorthand.js', index_1.Lifetime.SCOPED], | ||
['noopts.js'] | ||
], { | ||
@@ -82,4 +92,2 @@ registrationOptions: { | ||
index_1.listModules(['']); | ||
index_1.listModules([ | ||
['hello.js', { lifetime: index_1.Lifetime.SCOPED }] | ||
]); | ||
index_1.listModules([['hello.js', { lifetime: index_1.Lifetime.SCOPED }]]); |
@@ -12,3 +12,6 @@ // Type definitions for Awilix v2.2.6 | ||
createScope(): AwilixContainer | ||
loadModules(globPatterns: string[] | Array<[string, RegistrationOptions]>, options?: LoadModulesOptions): this | ||
loadModules( | ||
globPatterns: string[] | Array<LoadModulesTuple>, | ||
options?: LoadModulesOptions | ||
): this | ||
registrations: Registration[] | ||
@@ -18,8 +21,18 @@ register(name: string, registration: Registration): this | ||
registerClass<T>(ctor: Constructor<T>, opts?: RegistrationOptions): this | ||
registerClass<T>(name: string, ctor: Constructor<T>, opts?: RegistrationOptions): this | ||
registerClass<T>(name: string, ctorAndOptionsPair: [Constructor<T>, RegistrationOptions]): this | ||
registerClass<T>( | ||
name: string, | ||
ctor: Constructor<T>, | ||
opts?: RegistrationOptions | ||
): this | ||
registerClass<T>( | ||
name: string, | ||
ctorAndOptionsPair: [Constructor<T>, RegistrationOptions] | ||
): this | ||
registerClass(nameAndClassPair: RegisterNameAndClassPair): this | ||
registerFunction(fn: Function, opts?: RegistrationOptions): this | ||
registerFunction(name: string, fn: Function, opts?: RegistrationOptions): this | ||
registerFunction(name: string, funcAndOptionsPair: [Function, RegistrationOptions]): this | ||
registerFunction( | ||
name: string, | ||
funcAndOptionsPair: [Function, RegistrationOptions] | ||
): this | ||
registerFunction(nameAndFunctionPair: RegisterNameAndFunctionPair): this | ||
@@ -32,2 +45,9 @@ registerValue(name: string, value: any): this | ||
/** | ||
* Describes a glob pattern for modules as well as registration options to use. | ||
*/ | ||
export declare type LoadModulesTuple = | ||
| [string] | ||
| [string, RegistrationOptions | string] | ||
/** | ||
* A class constructor. For example: | ||
@@ -50,4 +70,3 @@ * | ||
*/ | ||
export declare class AwilixResolutionError extends Error { | ||
} | ||
export declare class AwilixResolutionError extends Error {} | ||
@@ -93,3 +112,3 @@ /** | ||
export interface ContainerOptions { | ||
require?: (id: string) => any, | ||
require?: (id: string) => any | ||
resolutionMode?: ResolutionMode | ||
@@ -103,3 +122,5 @@ } | ||
*/ | ||
export declare function createContainer(options?: ContainerOptions): AwilixContainer | ||
export declare function createContainer( | ||
options?: ContainerOptions | ||
): AwilixContainer | ||
@@ -186,3 +207,6 @@ /** | ||
*/ | ||
export type NameFormatter = (name: string, descriptor: ModuleDescriptor) => string | ||
export type NameFormatter = ( | ||
name: string, | ||
descriptor: ModuleDescriptor | ||
) => string | ||
@@ -189,0 +213,0 @@ /** |
{ | ||
"name": "awilix", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"description": "Simple dependency injection container + helper utilities to facilitate wiring of modules", | ||
@@ -11,8 +11,10 @@ "main": "lib/awilix.js", | ||
"scripts": { | ||
"test": "tsc && mocha test/**/*.js --require test/index.js", | ||
"test": "tsc --noEmit && mocha test/**/*.js --require test/index.js", | ||
"test-watch": "npm run test -- --watch --reporter nyan", | ||
"lint": "esw lib/ test/", | ||
"lint": "esw --fix lib test examples", | ||
"format": "prettier --write \"src/**/*.{js,ts}\" \"test/**/*.{js,ts}\" \"examples/**/*.{js,ts}\"", | ||
"lint-watch": "npm run lint -- --watch", | ||
"cover": "tsc && istanbul cover -x \"**example/**\" ./node_modules/mocha/bin/_mocha -- test/**/*.js --require test/index.js", | ||
"coveralls": "tsc && istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- test/**/*.js --require test/index.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", | ||
"precommit": "lint-staged && npm test", | ||
"cover": "tsc --noEmit && istanbul cover -x \"**example/**\" ./node_modules/mocha/bin/_mocha -- test/**/*.js --require test/index.js", | ||
"coveralls": "tsc --noEmit && istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- test/**/*.js --require test/index.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", | ||
"do-publish": "npm run lint && npm run cover && npm publish" | ||
@@ -39,6 +41,7 @@ }, | ||
"@types/chai": "^4.0.1", | ||
"@types/node": "^8.0.31", | ||
"@types/node": "^8.0.34", | ||
"chai": "^4.1.0", | ||
"coveralls": "^3.0.0", | ||
"eslint": "^4.8.0", | ||
"eslint-config-prettier": "^2.6.0", | ||
"eslint-config-standard": "^10.2.1", | ||
@@ -50,5 +53,8 @@ "eslint-plugin-import": "^2.7.0", | ||
"eslint-watch": "^3.1.2", | ||
"husky": "^0.14.3", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.5.0", | ||
"sinon": "^4.0.0", | ||
"lint-staged": "^4.2.3", | ||
"mocha": "^4.0.1", | ||
"prettier": "^1.7.4", | ||
"sinon": "^4.0.1", | ||
"sinon-chai": "^2.14.0", | ||
@@ -60,3 +66,18 @@ "typescript": "^2.5.3" | ||
"glob": "^7.1.2" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"esw --fix", | ||
"prettier --write", | ||
"git add" | ||
], | ||
"*.ts": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"singleQuote": true | ||
} | ||
} |
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
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
423209
58
1956
20