json2jsii
Advanced tools
Comparing version
@@ -13,4 +13,3 @@ { | ||
"ecmaVersion": "2018", | ||
"sourceType": "module", | ||
"project": "./tsconfig.json" | ||
"sourceType": "module" | ||
}, | ||
@@ -17,0 +16,0 @@ "extends": [ |
@@ -16,3 +16,4 @@ const { TypeScriptLibraryProject, Semver } = require('projen'); | ||
'@types/json-schema': Semver.caret('7.0.5'), | ||
'jsii-srcmak': Semver.caret('0.1.4') | ||
'jsii-srcmak': Semver.caret('0.1.4'), | ||
'prettier': Semver.caret('2.0.5') | ||
}, | ||
@@ -19,0 +20,0 @@ releaseToNpm: true, |
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.1.2](https://github.com/joe/schmo/compare/v0.1.1...v0.1.2) (2020-06-17) | ||
### Bug Fixes | ||
* empty lines are indented ([5c4928e](https://github.com/joe/schmo/commit/5c4928ef3d154c90978e14692bfd83b1d2e86e68)) | ||
### 0.1.1 (2020-06-17) |
@@ -1,4 +0,4 @@ | ||
{"/home/runner/work/json2jsii/json2jsii/lib/code.ts": {"path":"/home/runner/work/json2jsii/json2jsii/lib/code.ts","statementMap":{"0":{"start":{"line":2,"column":18},"end":{"line":2,"column":46}},"1":{"start":{"line":3,"column":10},"end":{"line":3,"column":21}},"2":{"start":{"line":6,"column":4},"end":{"line":6,"column":20}},"3":{"start":{"line":7,"column":4},"end":{"line":7,"column":21}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":21}},"5":{"start":{"line":12,"column":4},"end":{"line":12,"column":20}},"6":{"start":{"line":16,"column":4},"end":{"line":16,"column":27}},"7":{"start":{"line":20,"column":4},"end":{"line":20,"column":20}},"8":{"start":{"line":24,"column":17},"end":{"line":24,"column":47}},"9":{"start":{"line":25,"column":4},"end":{"line":25,"column":26}},"10":{"start":{"line":29,"column":4},"end":{"line":29,"column":33}},"11":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},"loc":{"start":{"line":1,"column":0},"end":{"line":31,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":13}},"loc":{"start":{"line":5,"column":31},"end":{"line":8,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":14}},"loc":{"start":{"line":10,"column":32},"end":{"line":13,"column":3}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":15,"column":9},"end":{"line":15,"column":18}},"loc":{"start":{"line":15,"column":31},"end":{"line":17,"column":3}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":19,"column":9},"end":{"line":19,"column":19}},"loc":{"start":{"line":19,"column":19},"end":{"line":21,"column":3}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":23,"column":9},"end":{"line":23,"column":13}},"loc":{"start":{"line":23,"column":31},"end":{"line":26,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":28,"column":9},"end":{"line":28,"column":15}},"loc":{"start":{"line":28,"column":15},"end":{"line":30,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":29},"end":{"line":5,"column":31}},"type":"default-arg","locations":[{"start":{"line":5,"column":29},"end":{"line":5,"column":31}}]},"1":{"loc":{"start":{"line":10,"column":30},"end":{"line":10,"column":32}},"type":"default-arg","locations":[{"start":{"line":10,"column":30},"end":{"line":10,"column":32}}]},"2":{"loc":{"start":{"line":23,"column":29},"end":{"line":23,"column":31}},"type":"default-arg","locations":[{"start":{"line":23,"column":29},"end":{"line":23,"column":31}}]}},"s":{"0":15,"1":15,"2":28,"3":28,"4":28,"5":28,"6":28,"7":28,"8":452,"9":452,"10":15,"11":4},"f":{"0":15,"1":28,"2":28,"3":28,"4":28,"5":452,"6":15},"b":{"0":[0],"1":[0],"2":[71]}} | ||
{"/home/runner/work/json2jsii/json2jsii/lib/code.ts": {"path":"/home/runner/work/json2jsii/json2jsii/lib/code.ts","statementMap":{"0":{"start":{"line":2,"column":18},"end":{"line":2,"column":46}},"1":{"start":{"line":3,"column":10},"end":{"line":3,"column":21}},"2":{"start":{"line":6,"column":4},"end":{"line":6,"column":20}},"3":{"start":{"line":7,"column":4},"end":{"line":7,"column":21}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":21}},"5":{"start":{"line":12,"column":4},"end":{"line":12,"column":20}},"6":{"start":{"line":16,"column":4},"end":{"line":16,"column":27}},"7":{"start":{"line":20,"column":4},"end":{"line":20,"column":20}},"8":{"start":{"line":24,"column":17},"end":{"line":26,"column":12}},"9":{"start":{"line":27,"column":4},"end":{"line":27,"column":26}},"10":{"start":{"line":31,"column":4},"end":{"line":31,"column":33}},"11":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},"loc":{"start":{"line":1,"column":0},"end":{"line":33,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":13}},"loc":{"start":{"line":5,"column":31},"end":{"line":8,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":14}},"loc":{"start":{"line":10,"column":32},"end":{"line":13,"column":3}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":15,"column":9},"end":{"line":15,"column":18}},"loc":{"start":{"line":15,"column":31},"end":{"line":17,"column":3}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":19,"column":9},"end":{"line":19,"column":19}},"loc":{"start":{"line":19,"column":19},"end":{"line":21,"column":3}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":23,"column":9},"end":{"line":23,"column":13}},"loc":{"start":{"line":23,"column":31},"end":{"line":28,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":30,"column":9},"end":{"line":30,"column":15}},"loc":{"start":{"line":30,"column":15},"end":{"line":32,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":29},"end":{"line":5,"column":31}},"type":"default-arg","locations":[{"start":{"line":5,"column":29},"end":{"line":5,"column":31}}]},"1":{"loc":{"start":{"line":10,"column":30},"end":{"line":10,"column":32}},"type":"default-arg","locations":[{"start":{"line":10,"column":30},"end":{"line":10,"column":32}}]},"2":{"loc":{"start":{"line":23,"column":29},"end":{"line":23,"column":31}},"type":"default-arg","locations":[{"start":{"line":23,"column":29},"end":{"line":23,"column":31}}]},"3":{"loc":{"start":{"line":25,"column":8},"end":{"line":25,"column":38}},"type":"cond-expr","locations":[{"start":{"line":25,"column":8},"end":{"line":25,"column":38}},{"start":{"line":26,"column":8},"end":{"line":26,"column":12}}]}},"s":{"0":16,"1":16,"2":29,"3":29,"4":29,"5":29,"6":29,"7":29,"8":457,"9":457,"10":16,"11":5},"f":{"0":16,"1":29,"2":29,"3":29,"4":29,"5":457,"6":16},"b":{"0":[0],"1":[0],"2":[72],"3":[385,72]}} | ||
,"/home/runner/work/json2jsii/json2jsii/lib/index.ts": {"path":"/home/runner/work/json2jsii/json2jsii/lib/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"fnMap":{},"branchMap":{},"s":{"0":4},"f":{},"b":{}} | ||
,"/home/runner/work/json2jsii/json2jsii/lib/type-generator.ts": {"path":"/home/runner/work/json2jsii/json2jsii/lib/type-generator.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":30}},"1":{"start":{"line":4,"column":0},"end":{"line":4,"column":39}},"2":{"start":{"line":5,"column":0},"end":{"line":5,"column":39}},"3":{"start":{"line":7,"column":24},"end":{"line":7,"column":68}},"4":{"start":{"line":8,"column":27},"end":{"line":8,"column":43}},"5":{"start":{"line":52,"column":19},"end":{"line":52,"column":79}},"6":{"start":{"line":53,"column":19},"end":{"line":53,"column":52}},"7":{"start":{"line":63,"column":4},"end":{"line":63,"column":41}},"8":{"start":{"line":64,"column":4},"end":{"line":64,"column":50}},"9":{"start":{"line":35,"column":15},"end":{"line":35,"column":38}},"10":{"start":{"line":36,"column":17},"end":{"line":36,"column":25}},"11":{"start":{"line":38,"column":4},"end":{"line":47,"column":16}},"12":{"start":{"line":39,"column":6},"end":{"line":39,"column":28}},"13":{"start":{"line":40,"column":6},"end":{"line":46,"column":null}},"14":{"start":{"line":41,"column":23},"end":{"line":41,"column":47}},"15":{"start":{"line":42,"column":20},"end":{"line":42,"column":24}},"16":{"start":{"line":43,"column":23},"end":{"line":43,"column":58}},"17":{"start":{"line":44,"column":22},"end":{"line":44,"column":59}},"18":{"start":{"line":45,"column":8},"end":{"line":45,"column":41}},"19":{"start":{"line":49,"column":4},"end":{"line":49,"column":18}},"20":{"start":{"line":76,"column":4},"end":{"line":78,"column":null}},"21":{"start":{"line":77,"column":6},"end":{"line":77,"column":80}},"22":{"start":{"line":80,"column":4},"end":{"line":82,"column":null}},"23":{"start":{"line":81,"column":6},"end":{"line":81,"column":65}},"24":{"start":{"line":84,"column":4},"end":{"line":86,"column":null}},"25":{"start":{"line":85,"column":6},"end":{"line":85,"column":106}},"26":{"start":{"line":88,"column":4},"end":{"line":90,"column":null}},"27":{"start":{"line":89,"column":6},"end":{"line":89,"column":34}},"28":{"start":{"line":93,"column":4},"end":{"line":99,"column":null}},"29":{"start":{"line":94,"column":6},"end":{"line":96,"column":null}},"30":{"start":{"line":95,"column":8},"end":{"line":95,"column":24}},"31":{"start":{"line":101,"column":4},"end":{"line":103,"column":null}},"32":{"start":{"line":102,"column":6},"end":{"line":102,"column":20}},"33":{"start":{"line":105,"column":4},"end":{"line":110,"column":null}},"34":{"start":{"line":106,"column":22},"end":{"line":106,"column":39}},"35":{"start":{"line":107,"column":20},"end":{"line":107,"column":67}},"36":{"start":{"line":108,"column":18},"end":{"line":108,"column":31}},"37":{"start":{"line":109,"column":19},"end":{"line":109,"column":32}},"38":{"start":{"line":112,"column":4},"end":{"line":114,"column":null}},"39":{"start":{"line":113,"column":6},"end":{"line":113,"column":22}},"40":{"start":{"line":116,"column":4},"end":{"line":126,"column":null}},"41":{"start":{"line":117,"column":6},"end":{"line":119,"column":null}},"42":{"start":{"line":118,"column":8},"end":{"line":118,"column":22}},"43":{"start":{"line":121,"column":6},"end":{"line":123,"column":null}},"44":{"start":{"line":121,"column":80},"end":{"line":121,"column":102}},"45":{"start":{"line":122,"column":8},"end":{"line":122,"column":55}},"46":{"start":{"line":125,"column":6},"end":{"line":125,"column":22}},"47":{"start":{"line":129,"column":4},"end":{"line":131,"column":null}},"48":{"start":{"line":130,"column":6},"end":{"line":130,"column":94}},"49":{"start":{"line":134,"column":4},"end":{"line":137,"column":null}},"50":{"start":{"line":135,"column":6},"end":{"line":135,"column":null}},"51":{"start":{"line":136,"column":6},"end":{"line":136,"column":22}},"52":{"start":{"line":139,"column":4},"end":{"line":139,"column":17}},"53":{"start":{"line":148,"column":4},"end":{"line":150,"column":null}},"54":{"start":{"line":149,"column":6},"end":{"line":149,"column":13}},"55":{"start":{"line":152,"column":4},"end":{"line":152,"column":45}},"56":{"start":{"line":156,"column":17},"end":{"line":156,"column":27}},"57":{"start":{"line":157,"column":4},"end":{"line":157,"column":24}},"58":{"start":{"line":158,"column":4},"end":{"line":158,"column":25}},"59":{"start":{"line":167,"column":4},"end":{"line":174,"column":null}},"60":{"start":{"line":168,"column":19},"end":{"line":168,"column":51}},"61":{"start":{"line":169,"column":22},"end":{"line":169,"column":44}},"62":{"start":{"line":170,"column":6},"end":{"line":170,"column":20}},"63":{"start":{"line":171,"column":6},"end":{"line":171,"column":18}},"64":{"start":{"line":172,"column":6},"end":{"line":172,"column":36}},"65":{"start":{"line":173,"column":6},"end":{"line":173,"column":34}},"66":{"start":{"line":180,"column":20},"end":{"line":180,"column":39}},"67":{"start":{"line":181,"column":4},"end":{"line":188,"column":null}},"68":{"start":{"line":182,"column":6},"end":{"line":184,"column":null}},"69":{"start":{"line":183,"column":8},"end":{"line":183,"column":21}},"70":{"start":{"line":186,"column":19},"end":{"line":186,"column":69}},"71":{"start":{"line":187,"column":6},"end":{"line":187,"column":25}},"72":{"start":{"line":190,"column":4},"end":{"line":207,"column":7}},"73":{"start":{"line":191,"column":6},"end":{"line":191,"column":55}},"74":{"start":{"line":193,"column":6},"end":{"line":193,"column":49}},"75":{"start":{"line":195,"column":6},"end":{"line":200,"column":null}},"76":{"start":{"line":196,"column":27},"end":{"line":196,"column":74}},"77":{"start":{"line":197,"column":8},"end":{"line":197,"column":83}},"78":{"start":{"line":198,"column":8},"end":{"line":198,"column":52}},"79":{"start":{"line":199,"column":8},"end":{"line":199,"column":26}},"80":{"start":{"line":202,"column":6},"end":{"line":202,"column":56}},"81":{"start":{"line":203,"column":6},"end":{"line":203,"column":85}},"82":{"start":{"line":204,"column":6},"end":{"line":204,"column":24}},"83":{"start":{"line":206,"column":6},"end":{"line":206,"column":24}},"84":{"start":{"line":209,"column":4},"end":{"line":209,"column":16}},"85":{"start":{"line":213,"column":4},"end":{"line":232,"column":7}},"86":{"start":{"line":214,"column":6},"end":{"line":214,"column":67}},"87":{"start":{"line":215,"column":6},"end":{"line":215,"column":53}},"88":{"start":{"line":217,"column":6},"end":{"line":229,"column":null}},"89":{"start":{"line":219,"column":8},"end":{"line":221,"column":null}},"90":{"start":{"line":220,"column":10},"end":{"line":220,"column":19}},"91":{"start":{"line":223,"column":8},"end":{"line":226,"column":null}},"92":{"start":{"line":224,"column":10},"end":{"line":224,"column":110}},"93":{"start":{"line":225,"column":10},"end":{"line":225,"column":19}},"94":{"start":{"line":228,"column":8},"end":{"line":228,"column":74}},"95":{"start":{"line":231,"column":6},"end":{"line":231,"column":24}},"96":{"start":{"line":236,"column":25},"end":{"line":236,"column":29}},"97":{"start":{"line":240,"column":4},"end":{"line":242,"column":null}},"98":{"start":{"line":241,"column":6},"end":{"line":241,"column":29}},"99":{"start":{"line":246,"column":4},"end":{"line":248,"column":null}},"100":{"start":{"line":247,"column":6},"end":{"line":247,"column":31}},"101":{"start":{"line":250,"column":4},"end":{"line":250,"column":84}},"102":{"start":{"line":251,"column":25},"end":{"line":251,"column":78}},"103":{"start":{"line":252,"column":21},"end":{"line":252,"column":61}},"104":{"start":{"line":253,"column":21},"end":{"line":253,"column":40}},"105":{"start":{"line":255,"column":4},"end":{"line":255,"column":63}},"106":{"start":{"line":256,"column":4},"end":{"line":256,"column":16}},"107":{"start":{"line":261,"column":4},"end":{"line":288,"column":7}},"108":{"start":{"line":263,"column":6},"end":{"line":265,"column":null}},"109":{"start":{"line":264,"column":8},"end":{"line":264,"column":77}},"110":{"start":{"line":267,"column":6},"end":{"line":269,"column":null}},"111":{"start":{"line":268,"column":8},"end":{"line":268,"column":58}},"112":{"start":{"line":271,"column":6},"end":{"line":271,"column":61}},"113":{"start":{"line":273,"column":6},"end":{"line":273,"column":48}},"114":{"start":{"line":275,"column":6},"end":{"line":285,"column":null}},"115":{"start":{"line":276,"column":8},"end":{"line":278,"column":null}},"116":{"start":{"line":277,"column":10},"end":{"line":277,"column":71}},"117":{"start":{"line":281,"column":27},"end":{"line":281,"column":121}},"118":{"start":{"line":281,"column":95},"end":{"line":281,"column":96}},"119":{"start":{"line":283,"column":8},"end":{"line":283,"column":37}},"120":{"start":{"line":284,"column":8},"end":{"line":284,"column":49}},"121":{"start":{"line":287,"column":6},"end":{"line":287,"column":24}},"122":{"start":{"line":290,"column":4},"end":{"line":290,"column":20}},"123":{"start":{"line":294,"column":4},"end":{"line":294,"column":21}},"124":{"start":{"line":296,"column":4},"end":{"line":308,"column":null}},"125":{"start":{"line":297,"column":6},"end":{"line":297,"column":55}},"126":{"start":{"line":299,"column":29},"end":{"line":299,"column":76}},"127":{"start":{"line":300,"column":18},"end":{"line":300,"column":53}},"128":{"start":{"line":302,"column":6},"end":{"line":302,"column":37}},"129":{"start":{"line":303,"column":6},"end":{"line":305,"column":null}},"130":{"start":{"line":304,"column":8},"end":{"line":304,"column":37}},"131":{"start":{"line":307,"column":6},"end":{"line":307,"column":22}},"132":{"start":{"line":310,"column":4},"end":{"line":310,"column":32}},"133":{"start":{"line":312,"column":4},"end":{"line":314,"column":null}},"134":{"start":{"line":313,"column":6},"end":{"line":313,"column":40}},"135":{"start":{"line":316,"column":4},"end":{"line":316,"column":null}},"136":{"start":{"line":320,"column":20},"end":{"line":320,"column":108}},"137":{"start":{"line":320,"column":84},"end":{"line":320,"column":97}},"138":{"start":{"line":321,"column":4},"end":{"line":321,"column":47}},"139":{"start":{"line":325,"column":19},"end":{"line":325,"column":35}},"140":{"start":{"line":326,"column":4},"end":{"line":328,"column":null}},"141":{"start":{"line":327,"column":6},"end":{"line":327,"column":61}},"142":{"start":{"line":330,"column":4},"end":{"line":332,"column":null}},"143":{"start":{"line":331,"column":6},"end":{"line":331,"column":19}},"144":{"start":{"line":334,"column":18},"end":{"line":334,"column":62}},"145":{"start":{"line":335,"column":21},"end":{"line":335,"column":77}},"146":{"start":{"line":336,"column":19},"end":{"line":336,"column":45}},"147":{"start":{"line":337,"column":4},"end":{"line":337,"column":52}},"148":{"start":{"line":341,"column":4},"end":{"line":343,"column":null}},"149":{"start":{"line":342,"column":6},"end":{"line":342,"column":61}},"150":{"start":{"line":345,"column":4},"end":{"line":345,"column":56}},"151":{"start":{"line":349,"column":16},"end":{"line":349,"column":24}},"152":{"start":{"line":350,"column":4},"end":{"line":352,"column":null}},"153":{"start":{"line":351,"column":6},"end":{"line":351,"column":53}},"154":{"start":{"line":354,"column":19},"end":{"line":354,"column":56}},"155":{"start":{"line":355,"column":18},"end":{"line":355,"column":42}},"156":{"start":{"line":356,"column":4},"end":{"line":358,"column":null}},"157":{"start":{"line":357,"column":6},"end":{"line":357,"column":78}},"158":{"start":{"line":360,"column":4},"end":{"line":360,"column":17}},"159":{"start":{"line":364,"column":4},"end":{"line":364,"column":86}},"160":{"start":{"line":368,"column":4},"end":{"line":373,"column":null}},"161":{"start":{"line":369,"column":17},"end":{"line":369,"column":36}},"162":{"start":{"line":370,"column":6},"end":{"line":372,"column":null}},"163":{"start":{"line":371,"column":8},"end":{"line":371,"column":20}},"164":{"start":{"line":375,"column":4},"end":{"line":375,"column":17}},"165":{"start":{"line":27,"column":0},"end":{"line":27,"column":13}},"166":{"start":{"line":380,"column":2},"end":{"line":380,"column":79}},"167":{"start":{"line":384,"column":2},"end":{"line":384,"column":44}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":62,"column":2},"end":{"line":62,"column":14}},"loc":{"start":{"line":62,"column":49},"end":{"line":65,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":33,"column":9},"end":{"line":33,"column":15}},"loc":{"start":{"line":33,"column":50},"end":{"line":50,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":73,"column":9},"end":{"line":73,"column":16}},"loc":{"start":{"line":73,"column":81},"end":{"line":140,"column":3}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":121,"column":75},"end":{"line":121,"column":76}},"loc":{"start":{"line":121,"column":80},"end":{"line":121,"column":102}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":147,"column":9},"end":{"line":147,"column":16}},"loc":{"start":{"line":147,"column":68},"end":{"line":153,"column":3}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":155,"column":9},"end":{"line":155,"column":15}},"loc":{"start":{"line":155,"column":15},"end":{"line":159,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":166,"column":9},"end":{"line":166,"column":17}},"loc":{"start":{"line":166,"column":28},"end":{"line":175,"column":3}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":179,"column":10},"end":{"line":179,"column":19}},"loc":{"start":{"line":179,"column":67},"end":{"line":210,"column":3}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":190,"column":27},"end":{"line":190,"column":31}},"loc":{"start":{"line":190,"column":34},"end":{"line":207,"column":5}}},"9":{"name":"(anonymous_9)","decl":{"start":{"line":212,"column":10},"end":{"line":212,"column":20}},"loc":{"start":{"line":212,"column":80},"end":{"line":233,"column":3}}},"10":{"name":"(anonymous_10)","decl":{"start":{"line":213,"column":27},"end":{"line":213,"column":31}},"loc":{"start":{"line":213,"column":34},"end":{"line":232,"column":5}}},"11":{"name":"(anonymous_11)","decl":{"start":{"line":235,"column":10},"end":{"line":235,"column":22}},"loc":{"start":{"line":235,"column":112},"end":{"line":257,"column":3}}},"12":{"name":"(anonymous_12)","decl":{"start":{"line":259,"column":10},"end":{"line":259,"column":18}},"loc":{"start":{"line":259,"column":72},"end":{"line":291,"column":3}}},"13":{"name":"(anonymous_13)","decl":{"start":{"line":261,"column":27},"end":{"line":261,"column":31}},"loc":{"start":{"line":261,"column":34},"end":{"line":288,"column":5}}},"14":{"name":"(anonymous_14)","decl":{"start":{"line":281,"column":90},"end":{"line":281,"column":91}},"loc":{"start":{"line":281,"column":95},"end":{"line":281,"column":96}}},"15":{"name":"(anonymous_15)","decl":{"start":{"line":293,"column":10},"end":{"line":293,"column":25}},"loc":{"start":{"line":293,"column":118},"end":{"line":317,"column":3}}},"16":{"name":"(anonymous_16)","decl":{"start":{"line":319,"column":10},"end":{"line":319,"column":25}},"loc":{"start":{"line":319,"column":63},"end":{"line":322,"column":3}}},"17":{"name":"(anonymous_17)","decl":{"start":{"line":320,"column":79},"end":{"line":320,"column":80}},"loc":{"start":{"line":320,"column":84},"end":{"line":320,"column":97}}},"18":{"name":"(anonymous_18)","decl":{"start":{"line":324,"column":10},"end":{"line":324,"column":20}},"loc":{"start":{"line":324,"column":37},"end":{"line":338,"column":3}}},"19":{"name":"(anonymous_19)","decl":{"start":{"line":340,"column":10},"end":{"line":340,"column":22}},"loc":{"start":{"line":340,"column":60},"end":{"line":346,"column":3}}},"20":{"name":"(anonymous_20)","decl":{"start":{"line":348,"column":10},"end":{"line":348,"column":26}},"loc":{"start":{"line":348,"column":43},"end":{"line":361,"column":3}}},"21":{"name":"(anonymous_21)","decl":{"start":{"line":363,"column":10},"end":{"line":363,"column":28}},"loc":{"start":{"line":363,"column":69},"end":{"line":365,"column":3}}},"22":{"name":"(anonymous_22)","decl":{"start":{"line":367,"column":10},"end":{"line":367,"column":20}},"loc":{"start":{"line":367,"column":32},"end":{"line":376,"column":3}}},"23":{"name":"supportedUnionOptionType","decl":{"start":{"line":379,"column":9},"end":{"line":379,"column":33}},"loc":{"start":{"line":379,"column":43},"end":{"line":381,"column":1}}},"24":{"name":"pascalCase","decl":{"start":{"line":383,"column":9},"end":{"line":383,"column":19}},"loc":{"start":{"line":383,"column":29},"end":{"line":385,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":62,"column":46},"end":{"line":62,"column":49}},"type":"default-arg","locations":[{"start":{"line":62,"column":46},"end":{"line":62,"column":49}}]},"1":{"loc":{"start":{"line":63,"column":34},"end":{"line":63,"column":38}},"type":"cond-expr","locations":[{"start":{"line":63,"column":34},"end":{"line":63,"column":38}},{"start":{"line":63,"column":38},"end":{"line":63,"column":40}}]},"2":{"loc":{"start":{"line":63,"column":16},"end":{"line":63,"column":38}},"type":"binary-expr","locations":[{"start":{"line":63,"column":16},"end":{"line":63,"column":38}},{"start":{"line":63,"column":34},"end":{"line":63,"column":38}}]},"3":{"loc":{"start":{"line":64,"column":42},"end":{"line":64,"column":46}},"type":"cond-expr","locations":[{"start":{"line":64,"column":42},"end":{"line":64,"column":46}},{"start":{"line":64,"column":46},"end":{"line":64,"column":49}}]},"4":{"loc":{"start":{"line":64,"column":20},"end":{"line":64,"column":46}},"type":"binary-expr","locations":[{"start":{"line":64,"column":20},"end":{"line":64,"column":46}},{"start":{"line":64,"column":42},"end":{"line":64,"column":46}}]},"5":{"loc":{"start":{"line":40,"column":6},"end":{"line":46,"column":null}},"type":"if","locations":[{"start":{"line":40,"column":6},"end":{"line":46,"column":null}},{"start":{"line":40,"column":6},"end":{"line":46,"column":null}}]},"6":{"loc":{"start":{"line":73,"column":73},"end":{"line":73,"column":81}},"type":"default-arg","locations":[{"start":{"line":73,"column":73},"end":{"line":73,"column":81}}]},"7":{"loc":{"start":{"line":76,"column":4},"end":{"line":78,"column":null}},"type":"if","locations":[{"start":{"line":76,"column":4},"end":{"line":78,"column":null}},{"start":{"line":76,"column":4},"end":{"line":78,"column":null}}]},"8":{"loc":{"start":{"line":80,"column":4},"end":{"line":82,"column":null}},"type":"if","locations":[{"start":{"line":80,"column":4},"end":{"line":82,"column":null}},{"start":{"line":80,"column":4},"end":{"line":82,"column":null}}]},"9":{"loc":{"start":{"line":84,"column":4},"end":{"line":86,"column":null}},"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":86,"column":null}},{"start":{"line":84,"column":4},"end":{"line":86,"column":null}}]},"10":{"loc":{"start":{"line":88,"column":4},"end":{"line":90,"column":null}},"type":"if","locations":[{"start":{"line":88,"column":4},"end":{"line":90,"column":null}},{"start":{"line":88,"column":4},"end":{"line":90,"column":null}}]},"11":{"loc":{"start":{"line":93,"column":4},"end":{"line":99,"column":null}},"type":"if","locations":[{"start":{"line":93,"column":4},"end":{"line":99,"column":null}},{"start":{"line":93,"column":4},"end":{"line":99,"column":null}}]},"12":{"loc":{"start":{"line":93,"column":8},"end":{"line":93,"column":17}},"type":"binary-expr","locations":[{"start":{"line":93,"column":8},"end":{"line":93,"column":17}},{"start":{"line":93,"column":21},"end":{"line":93,"column":30}}]},"13":{"loc":{"start":{"line":94,"column":6},"end":{"line":96,"column":null}},"type":"if","locations":[{"start":{"line":94,"column":6},"end":{"line":96,"column":null}},{"start":{"line":94,"column":6},"end":{"line":96,"column":null}}]},"14":{"loc":{"start":{"line":101,"column":4},"end":{"line":103,"column":null}},"type":"if","locations":[{"start":{"line":101,"column":4},"end":{"line":103,"column":null}},{"start":{"line":101,"column":4},"end":{"line":103,"column":null}}]},"15":{"loc":{"start":{"line":101,"column":8},"end":{"line":101,"column":29}},"type":"binary-expr","locations":[{"start":{"line":101,"column":8},"end":{"line":101,"column":29}},{"start":{"line":101,"column":33},"end":{"line":101,"column":59}}]},"16":{"loc":{"start":{"line":106,"column":6},"end":{"line":106,"column":39}},"type":"switch","locations":[{"start":{"line":106,"column":6},"end":{"line":106,"column":39}},{"start":{"line":107,"column":6},"end":{"line":107,"column":67}},{"start":{"line":108,"column":6},"end":{"line":108,"column":31}},{"start":{"line":109,"column":6},"end":{"line":109,"column":32}}]},"17":{"loc":{"start":{"line":112,"column":4},"end":{"line":114,"column":null}},"type":"if","locations":[{"start":{"line":112,"column":4},"end":{"line":114,"column":null}},{"start":{"line":112,"column":4},"end":{"line":114,"column":null}}]},"18":{"loc":{"start":{"line":112,"column":8},"end":{"line":112,"column":29}},"type":"binary-expr","locations":[{"start":{"line":112,"column":8},"end":{"line":112,"column":29}},{"start":{"line":112,"column":33},"end":{"line":112,"column":55}}]},"19":{"loc":{"start":{"line":116,"column":4},"end":{"line":126,"column":null}},"type":"if","locations":[{"start":{"line":116,"column":4},"end":{"line":126,"column":null}},{"start":{"line":116,"column":4},"end":{"line":126,"column":null}}]},"20":{"loc":{"start":{"line":117,"column":6},"end":{"line":119,"column":null}},"type":"if","locations":[{"start":{"line":117,"column":6},"end":{"line":119,"column":null}},{"start":{"line":117,"column":6},"end":{"line":119,"column":null}}]},"21":{"loc":{"start":{"line":121,"column":6},"end":{"line":123,"column":null}},"type":"if","locations":[{"start":{"line":121,"column":6},"end":{"line":123,"column":null}},{"start":{"line":121,"column":6},"end":{"line":123,"column":null}}]},"22":{"loc":{"start":{"line":121,"column":10},"end":{"line":121,"column":33}},"type":"binary-expr","locations":[{"start":{"line":121,"column":10},"end":{"line":121,"column":33}},{"start":{"line":121,"column":37},"end":{"line":121,"column":56}},{"start":{"line":121,"column":60},"end":{"line":121,"column":103}}]},"23":{"loc":{"start":{"line":129,"column":4},"end":{"line":131,"column":null}},"type":"if","locations":[{"start":{"line":129,"column":4},"end":{"line":131,"column":null}},{"start":{"line":129,"column":4},"end":{"line":131,"column":null}}]},"24":{"loc":{"start":{"line":129,"column":8},"end":{"line":129,"column":23}},"type":"binary-expr","locations":[{"start":{"line":129,"column":8},"end":{"line":129,"column":23}},{"start":{"line":129,"column":27},"end":{"line":129,"column":51}},{"start":{"line":129,"column":55},"end":{"line":129,"column":100}}]},"25":{"loc":{"start":{"line":134,"column":4},"end":{"line":137,"column":null}},"type":"if","locations":[{"start":{"line":134,"column":4},"end":{"line":137,"column":null}},{"start":{"line":134,"column":4},"end":{"line":137,"column":null}}]},"26":{"loc":{"start":{"line":148,"column":4},"end":{"line":150,"column":null}},"type":"if","locations":[{"start":{"line":148,"column":4},"end":{"line":150,"column":null}},{"start":{"line":148,"column":4},"end":{"line":150,"column":null}}]},"27":{"loc":{"start":{"line":181,"column":25},"end":{"line":181,"column":34}},"type":"binary-expr","locations":[{"start":{"line":181,"column":25},"end":{"line":181,"column":34}},{"start":{"line":181,"column":38},"end":{"line":181,"column":47}},{"start":{"line":181,"column":51},"end":{"line":181,"column":53}}]},"28":{"loc":{"start":{"line":182,"column":6},"end":{"line":184,"column":null}},"type":"if","locations":[{"start":{"line":182,"column":6},"end":{"line":184,"column":null}},{"start":{"line":182,"column":6},"end":{"line":184,"column":null}}]},"29":{"loc":{"start":{"line":186,"column":47},"end":{"line":186,"column":55}},"type":"cond-expr","locations":[{"start":{"line":186,"column":47},"end":{"line":186,"column":55}},{"start":{"line":186,"column":58},"end":{"line":186,"column":69}}]},"30":{"loc":{"start":{"line":217,"column":58},"end":{"line":217,"column":78}},"type":"binary-expr","locations":[{"start":{"line":217,"column":58},"end":{"line":217,"column":78}},{"start":{"line":217,"column":82},"end":{"line":217,"column":84}}]},"31":{"loc":{"start":{"line":219,"column":8},"end":{"line":221,"column":null}},"type":"if","locations":[{"start":{"line":219,"column":8},"end":{"line":221,"column":null}},{"start":{"line":219,"column":8},"end":{"line":221,"column":null}}]},"32":{"loc":{"start":{"line":223,"column":8},"end":{"line":226,"column":null}},"type":"if","locations":[{"start":{"line":223,"column":8},"end":{"line":226,"column":null}},{"start":{"line":223,"column":8},"end":{"line":226,"column":null}}]},"33":{"loc":{"start":{"line":240,"column":4},"end":{"line":242,"column":null}},"type":"if","locations":[{"start":{"line":240,"column":4},"end":{"line":242,"column":null}},{"start":{"line":240,"column":4},"end":{"line":242,"column":null}}]},"34":{"loc":{"start":{"line":246,"column":4},"end":{"line":248,"column":null}},"type":"if","locations":[{"start":{"line":246,"column":4},"end":{"line":248,"column":null}},{"start":{"line":246,"column":4},"end":{"line":248,"column":null}}]},"35":{"loc":{"start":{"line":253,"column":32},"end":{"line":253,"column":34}},"type":"cond-expr","locations":[{"start":{"line":253,"column":32},"end":{"line":253,"column":34}},{"start":{"line":253,"column":37},"end":{"line":253,"column":40}}]},"36":{"loc":{"start":{"line":263,"column":6},"end":{"line":265,"column":null}},"type":"if","locations":[{"start":{"line":263,"column":6},"end":{"line":265,"column":null}},{"start":{"line":263,"column":6},"end":{"line":265,"column":null}}]},"37":{"loc":{"start":{"line":263,"column":10},"end":{"line":263,"column":19}},"type":"binary-expr","locations":[{"start":{"line":263,"column":10},"end":{"line":263,"column":19}},{"start":{"line":263,"column":23},"end":{"line":263,"column":44}}]},"38":{"loc":{"start":{"line":267,"column":6},"end":{"line":269,"column":null}},"type":"if","locations":[{"start":{"line":267,"column":6},"end":{"line":269,"column":null}},{"start":{"line":267,"column":6},"end":{"line":269,"column":null}}]},"39":{"loc":{"start":{"line":276,"column":8},"end":{"line":278,"column":null}},"type":"if","locations":[{"start":{"line":276,"column":8},"end":{"line":278,"column":null}},{"start":{"line":276,"column":8},"end":{"line":278,"column":null}}]},"40":{"loc":{"start":{"line":293,"column":115},"end":{"line":293,"column":118}},"type":"default-arg","locations":[{"start":{"line":293,"column":115},"end":{"line":293,"column":118}}]},"41":{"loc":{"start":{"line":296,"column":4},"end":{"line":308,"column":null}},"type":"if","locations":[{"start":{"line":296,"column":4},"end":{"line":308,"column":null}},{"start":{"line":296,"column":4},"end":{"line":308,"column":null}}]},"42":{"loc":{"start":{"line":300,"column":18},"end":{"line":300,"column":32}},"type":"binary-expr","locations":[{"start":{"line":300,"column":18},"end":{"line":300,"column":32}},{"start":{"line":300,"column":36},"end":{"line":300,"column":53}}]},"43":{"loc":{"start":{"line":303,"column":6},"end":{"line":305,"column":null}},"type":"if","locations":[{"start":{"line":303,"column":6},"end":{"line":305,"column":null}},{"start":{"line":303,"column":6},"end":{"line":305,"column":null}}]},"44":{"loc":{"start":{"line":326,"column":4},"end":{"line":328,"column":null}},"type":"if","locations":[{"start":{"line":326,"column":4},"end":{"line":328,"column":null}},{"start":{"line":326,"column":4},"end":{"line":328,"column":null}}]},"45":{"loc":{"start":{"line":326,"column":8},"end":{"line":326,"column":17}},"type":"binary-expr","locations":[{"start":{"line":326,"column":8},"end":{"line":326,"column":17}},{"start":{"line":326,"column":21},"end":{"line":326,"column":49}}]},"46":{"loc":{"start":{"line":330,"column":4},"end":{"line":332,"column":null}},"type":"if","locations":[{"start":{"line":330,"column":4},"end":{"line":332,"column":null}},{"start":{"line":330,"column":4},"end":{"line":332,"column":null}}]},"47":{"loc":{"start":{"line":341,"column":4},"end":{"line":343,"column":null}},"type":"if","locations":[{"start":{"line":341,"column":4},"end":{"line":343,"column":null}},{"start":{"line":341,"column":4},"end":{"line":343,"column":null}}]},"48":{"loc":{"start":{"line":341,"column":8},"end":{"line":341,"column":18}},"type":"binary-expr","locations":[{"start":{"line":341,"column":8},"end":{"line":341,"column":18}},{"start":{"line":341,"column":22},"end":{"line":341,"column":52}}]},"49":{"loc":{"start":{"line":350,"column":4},"end":{"line":352,"column":null}},"type":"if","locations":[{"start":{"line":350,"column":4},"end":{"line":352,"column":null}},{"start":{"line":350,"column":4},"end":{"line":352,"column":null}}]},"50":{"loc":{"start":{"line":350,"column":8},"end":{"line":350,"column":12}},"type":"binary-expr","locations":[{"start":{"line":350,"column":8},"end":{"line":350,"column":12}},{"start":{"line":350,"column":16},"end":{"line":350,"column":51}}]},"51":{"loc":{"start":{"line":356,"column":4},"end":{"line":358,"column":null}},"type":"if","locations":[{"start":{"line":356,"column":4},"end":{"line":358,"column":null}},{"start":{"line":356,"column":4},"end":{"line":358,"column":null}}]},"52":{"loc":{"start":{"line":364,"column":11},"end":{"line":364,"column":44}},"type":"binary-expr","locations":[{"start":{"line":364,"column":11},"end":{"line":364,"column":44}},{"start":{"line":364,"column":48},"end":{"line":364,"column":85}}]},"53":{"loc":{"start":{"line":370,"column":6},"end":{"line":372,"column":null}},"type":"if","locations":[{"start":{"line":370,"column":6},"end":{"line":372,"column":null}},{"start":{"line":370,"column":6},"end":{"line":372,"column":null}}]},"54":{"loc":{"start":{"line":380,"column":9},"end":{"line":380,"column":13}},"type":"binary-expr","locations":[{"start":{"line":380,"column":9},"end":{"line":380,"column":13}},{"start":{"line":380,"column":18},"end":{"line":380,"column":43}},{"start":{"line":380,"column":47},"end":{"line":380,"column":77}}]}},"s":{"0":4,"1":4,"2":4,"3":4,"4":4,"5":16,"6":16,"7":16,"8":16,"9":142,"10":142,"11":142,"12":152,"13":152,"14":10,"15":10,"16":10,"17":10,"18":10,"19":142,"20":74,"21":0,"22":74,"23":7,"24":74,"25":0,"26":74,"27":9,"28":65,"29":2,"30":1,"31":64,"32":1,"33":63,"34":4,"35":3,"36":1,"37":1,"38":54,"39":10,"40":44,"41":17,"42":0,"43":17,"44":7,"45":2,"46":15,"47":27,"48":1,"49":26,"50":25,"51":25,"52":1,"53":28,"54":0,"55":28,"56":15,"57":15,"58":15,"59":15,"60":25,"61":25,"62":25,"63":25,"64":25,"65":25,"66":2,"67":2,"68":3,"69":1,"70":2,"71":2,"72":1,"73":1,"74":1,"75":1,"76":2,"77":2,"78":2,"79":2,"80":1,"81":1,"82":1,"83":1,"84":1,"85":25,"86":22,"87":22,"88":22,"89":46,"90":0,"91":46,"92":0,"93":0,"94":46,"95":22,"96":46,"97":46,"98":0,"99":46,"100":0,"101":46,"102":46,"103":46,"104":46,"105":46,"106":46,"107":2,"108":2,"109":0,"110":2,"111":0,"112":2,"113":2,"114":2,"115":7,"116":0,"117":7,"118":16,"119":7,"120":7,"121":2,"122":2,"123":71,"124":71,"125":22,"126":22,"127":22,"128":22,"129":22,"130":5,"131":22,"132":71,"133":71,"134":76,"135":71,"136":50,"137":152,"138":50,"139":9,"140":9,"141":1,"142":8,"143":0,"144":8,"145":8,"146":8,"147":7,"148":3,"149":0,"150":3,"151":8,"152":8,"153":0,"154":8,"155":8,"156":8,"157":1,"158":7,"159":46,"160":82,"161":0,"162":0,"163":0,"164":82,"165":4,"166":3,"167":152},"f":{"0":16,"1":142,"2":74,"3":7,"4":28,"5":15,"6":15,"7":2,"8":1,"9":25,"10":22,"11":46,"12":2,"13":2,"14":16,"15":71,"16":50,"17":152,"18":9,"19":3,"20":8,"21":46,"22":82,"23":3,"24":152},"b":{"0":[12],"1":[0,16],"2":[16,16],"3":[4,12],"4":[16,16],"5":[10,142],"6":[4],"7":[0,74],"8":[7,67],"9":[0,74],"10":[9,65],"11":[2,63],"12":[65,63],"13":[1,1],"14":[1,63],"15":[64,18],"16":[4,3,1,1],"17":[10,44],"18":[54,51],"19":[17,27],"20":[0,17],"21":[2,15],"22":[17,2,2],"23":[1,26],"24":[27,2,1],"25":[25,1],"26":[0,28],"27":[2,0,0],"28":[1,2],"29":[0,2],"30":[22,0],"31":[0,46],"32":[0,46],"33":[0,46],"34":[0,46],"35":[10,36],"36":[0,2],"37":[2,2],"38":[0,2],"39":[0,7],"40":[71],"41":[22,49],"42":[22,5],"43":[5,17],"44":[1,8],"45":[9,9],"46":[0,8],"47":[0,3],"48":[3,3],"49":[0,8],"50":[8,8],"51":[1,7],"52":[46,16],"53":[0,0],"54":[3,2,2]}} | ||
} |
@@ -24,3 +24,5 @@ "use strict"; | ||
line(text = '') { | ||
const line = ' '.repeat(this.indent) + text; | ||
const line = text.length > 0 | ||
? ' '.repeat(this.indent) + text // only indent if line has content | ||
: text; | ||
this.lines.push(line); | ||
@@ -33,2 +35,2 @@ } | ||
exports.Code = Code; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImNvZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsTUFBYSxJQUFJO0lBQWpCO1FBQ2tCLFVBQUssR0FBRyxJQUF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AgfVxuXG4gIHB1YmxpYyBjbG9zZSh0ZXh0OiBzdHJpbmcgPSAnJykge1xuICAgIHRoaXMuaW5kZW50IC09IDI7XG4gICAgdGhpcy5saW5lKHRleHQpO1xuICB9XG5cbiAgcHVibGljIG9wZW5CbG9jayh0ZXh0OiBzdHJpbmcpIHtcbiAgICB0aGlzLm9wZW4oYCR7dGV4dH0ge2ApO1xuICB9XG5cbiAgcHVibGljIGNsb3NlQmxvY2soKSB7XG4gICAgdGhpcy5jbG9zZSgnfScpO1xuICB9XG5cbiAgcHVibGljIGxpbmUodGV4dDogc3RyaW5nID0gJycpOiB2b2lkIHtcbiAgICBjb25zdCBsaW5lID0gdGV4dC5sZW5ndGggPiAwXG4gICAgICA/ICcgJy5yZXBlYXQodGhpcy5pbmRlbnQpICsgdGV4dCAvLyBvbmx5IGluZGVudCBpZiBsaW5lIGhhcyBjb250ZW50XG4gICAgICA6IHRleHQ7XG4gICAgdGhpcy5saW5lcy5wdXNoKGxpbmUpO1xuICB9XG5cbiAgcHVibGljIHJlbmRlcigpOiBzdHJpbmcge1xuICAgIHJldHVybiB0aGlzLmxpbmVzLmpvaW4oJ1xcbicpO1xuICB9XG59Il19 |
@@ -14,3 +14,3 @@ { | ||
"projen:upgrade": "yarn upgrade projen && yarn projen", | ||
"test": "jest && yarn eslint", | ||
"test": "jest --passWithNoTests && yarn eslint", | ||
"bump": "standard-version", | ||
@@ -22,2 +22,4 @@ "release": "yarn bump && git push --follow-tags origin master", | ||
"build": "yarn compile && yarn test && yarn run package", | ||
"test:watch": "jest --watch", | ||
"test:update": "jest -u", | ||
"eslint": "eslint . --ext .ts" | ||
@@ -32,6 +34,8 @@ }, | ||
"jsii-srcmak": "^0.1.4", | ||
"projen": "^0.1.32", | ||
"prettier": "^2.0.5", | ||
"projen": "^0.1.36", | ||
"standard-version": "^8.0.0", | ||
"jest": "^26.0.1", | ||
"@types/jest": "^25.2.1", | ||
"ts-jest": "^26.1.0", | ||
"typescript": "^3.9.5", | ||
@@ -58,14 +62,18 @@ "@typescript-eslint/eslint-plugin": "^2.31.0", | ||
"license": "Apache-2.0", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"jest": { | ||
"clearMocks": true, | ||
"collectCoverage": true, | ||
"coverageDirectory": "coverage", | ||
"coveragePathIgnorePatterns": [ | ||
"/node_modules/" | ||
], | ||
"moduleFileExtensions": [ | ||
"js" | ||
"testPathIgnorePatterns": [ | ||
"/node_modules/" | ||
], | ||
"preset": "ts-jest", | ||
"testMatch": [ | ||
"**/__tests__/**/*.ts?(x)", | ||
"**/?(*.)+(spec|test).ts?(x)" | ||
] | ||
} | ||
} |
{ | ||
"version": "0.1.1" | ||
"version": "0.1.2" | ||
} |
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
279850
1.09%43
4.88%1560
1.5%17
13.33%