@picgo/store
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -0,1 +1,15 @@ | ||
## :tada: 2.0.4 (2022-08-21) | ||
### :bug: Bug Fixes | ||
* build error ([e18c9a5](https://github.com/Molunerfinn/typescript-node-template/commit/e18c9a5)) | ||
### :package: Chore | ||
* upgrade rollup build options ([b92a3e8](https://github.com/Molunerfinn/typescript-node-template/commit/b92a3e8)) | ||
## :tada: 2.0.3 (2022-08-20) | ||
@@ -2,0 +16,0 @@ |
{"/home/runner/work/store/store/src/DBStore.ts": {"path":"/home/runner/work/store/store/src/DBStore.ts","statementMap":{"0":{"start":{"line":5,"column":0},"end":{"line":5,"column":38}},"1":{"start":{"line":6,"column":0},"end":{"line":6,"column":52}},"2":{"start":{"line":7,"column":0},"end":{"line":7,"column":55}},"3":{"start":{"line":8,"column":0},"end":{"line":8,"column":104}},"4":{"start":{"line":14,"column":10},"end":{"line":14,"column":null}},"5":{"start":{"line":15,"column":9},"end":{"line":15,"column":null}},"6":{"start":{"line":19,"column":4},"end":{"line":21,"column":null}},"7":{"start":{"line":20,"column":6},"end":{"line":20,"column":null}},"8":{"start":{"line":22,"column":4},"end":{"line":22,"column":null}},"9":{"start":{"line":23,"column":4},"end":{"line":23,"column":null}},"10":{"start":{"line":24,"column":4},"end":{"line":24,"column":null}},"11":{"start":{"line":25,"column":4},"end":{"line":25,"column":null}},"12":{"start":{"line":29,"column":4},"end":{"line":29,"column":null}},"13":{"start":{"line":33,"column":4},"end":{"line":36,"column":null}},"14":{"start":{"line":34,"column":6},"end":{"line":34,"column":null}},"15":{"start":{"line":35,"column":6},"end":{"line":35,"column":null}},"16":{"start":{"line":37,"column":4},"end":{"line":37,"column":null}},"17":{"start":{"line":41,"column":40},"end":{"line":41,"column":76}},"18":{"start":{"line":42,"column":18},"end":{"line":42,"column":29}},"19":{"start":{"line":43,"column":4},"end":{"line":53,"column":null}},"20":{"start":{"line":44,"column":6},"end":{"line":46,"column":null}},"21":{"start":{"line":45,"column":8},"end":{"line":45,"column":null}},"22":{"start":{"line":47,"column":6},"end":{"line":49,"column":null}},"23":{"start":{"line":48,"column":8},"end":{"line":48,"column":null}},"24":{"start":{"line":50,"column":6},"end":{"line":52,"column":null}},"25":{"start":{"line":51,"column":8},"end":{"line":51,"column":null}},"26":{"start":{"line":54,"column":4},"end":{"line":57,"column":null}},"27":{"start":{"line":61,"column":4},"end":{"line":61,"column":null}},"28":{"start":{"line":65,"column":4},"end":{"line":65,"column":null}},"29":{"start":{"line":69,"column":4},"end":{"line":69,"column":null}},"30":{"start":{"line":73,"column":4},"end":{"line":73,"column":null}},"31":{"start":{"line":74,"column":17},"end":{"line":74,"column":30}},"32":{"start":{"line":75,"column":29},"end":{"line":75,"column":71}},"33":{"start":{"line":76,"column":4},"end":{"line":76,"column":null}},"34":{"start":{"line":81,"column":16},"end":{"line":81,"column":39}},"35":{"start":{"line":82,"column":19},"end":{"line":82,"column":50}},"36":{"start":{"line":84,"column":4},"end":{"line":87,"column":null}},"37":{"start":{"line":85,"column":6},"end":{"line":85,"column":null}},"38":{"start":{"line":86,"column":6},"end":{"line":86,"column":null}},"39":{"start":{"line":88,"column":4},"end":{"line":88,"column":null}},"40":{"start":{"line":89,"column":4},"end":{"line":89,"column":null}},"41":{"start":{"line":90,"column":4},"end":{"line":92,"column":null}},"42":{"start":{"line":91,"column":6},"end":{"line":91,"column":null}},"43":{"start":{"line":93,"column":4},"end":{"line":93,"column":null}},"44":{"start":{"line":98,"column":4},"end":{"line":100,"column":null}},"45":{"start":{"line":99,"column":6},"end":{"line":99,"column":null}},"46":{"start":{"line":101,"column":4},"end":{"line":101,"column":null}},"47":{"start":{"line":102,"column":4},"end":{"line":102,"column":null}},"48":{"start":{"line":107,"column":23},"end":{"line":107,"column":49}},"49":{"start":{"line":108,"column":19},"end":{"line":108,"column":50}},"50":{"start":{"line":109,"column":4},"end":{"line":116,"column":null}},"51":{"start":{"line":110,"column":19},"end":{"line":110,"column":64}},"52":{"start":{"line":110,"column":43},"end":{"line":110,"column":57}},"53":{"start":{"line":111,"column":6},"end":{"line":111,"column":null}},"54":{"start":{"line":112,"column":6},"end":{"line":112,"column":null}},"55":{"start":{"line":113,"column":6},"end":{"line":113,"column":null}},"56":{"start":{"line":115,"column":6},"end":{"line":115,"column":null}},"57":{"start":{"line":120,"column":4},"end":{"line":120,"column":null}},"58":{"start":{"line":120,"column":53},"end":{"line":120,"column":67}},"59":{"start":{"line":124,"column":23},"end":{"line":124,"column":49}},"60":{"start":{"line":125,"column":29},"end":{"line":125,"column":61}},"61":{"start":{"line":126,"column":18},"end":{"line":126,"column":62}},"62":{"start":{"line":126,"column":47},"end":{"line":126,"column":61}},"63":{"start":{"line":127,"column":4},"end":{"line":131,"column":null}},"64":{"start":{"line":128,"column":6},"end":{"line":128,"column":null}},"65":{"start":{"line":129,"column":6},"end":{"line":129,"column":null}},"66":{"start":{"line":130,"column":6},"end":{"line":130,"column":null}},"67":{"start":{"line":135,"column":4},"end":{"line":135,"column":22}},"68":{"start":{"line":136,"column":5},"end":{"line":136,"column":57}},"69":{"start":{"line":137,"column":5},"end":{"line":137,"column":null}},"70":{"start":{"line":138,"column":4},"end":{"line":138,"column":null}},"71":{"start":{"line":80,"column":2},"end":{"line":94,"column":null}},"72":{"start":{"line":97,"column":2},"end":{"line":103,"column":null}},"73":{"start":{"line":106,"column":2},"end":{"line":117,"column":null}},"74":{"start":{"line":143,"column":2},"end":{"line":143,"column":9}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":17,"column":2},"end":{"line":17,"column":15}},"loc":{"start":{"line":17,"column":53},"end":{"line":26,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":28,"column":2},"end":{"line":28,"column":12}},"loc":{"start":{"line":28,"column":12},"end":{"line":30,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":32,"column":2},"end":{"line":32,"column":7}},"loc":{"start":{"line":32,"column":27},"end":{"line":38,"column":3}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":40,"column":2},"end":{"line":40,"column":7}},"loc":{"start":{"line":40,"column":29},"end":{"line":58,"column":3}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":60,"column":10},"end":{"line":60,"column":15}},"loc":{"start":{"line":60,"column":29},"end":{"line":62,"column":3}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":64,"column":10},"end":{"line":64,"column":15}},"loc":{"start":{"line":64,"column":44},"end":{"line":66,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":68,"column":10},"end":{"line":68,"column":15}},"loc":{"start":{"line":68,"column":35},"end":{"line":70,"column":3}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":72,"column":10},"end":{"line":72,"column":15}},"loc":{"start":{"line":72,"column":44},"end":{"line":77,"column":3}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":80,"column":2},"end":{"line":80,"column":7}},"loc":{"start":{"line":80,"column":44},"end":{"line":94,"column":3}}},"9":{"name":"(anonymous_9)","decl":{"start":{"line":97,"column":2},"end":{"line":97,"column":7}},"loc":{"start":{"line":97,"column":33},"end":{"line":103,"column":3}}},"10":{"name":"(anonymous_10)","decl":{"start":{"line":106,"column":2},"end":{"line":106,"column":7}},"loc":{"start":{"line":106,"column":46},"end":{"line":117,"column":3}}},"11":{"name":"(anonymous_11)","decl":{"start":{"line":110,"column":35},"end":{"line":110,"column":39}},"loc":{"start":{"line":110,"column":43},"end":{"line":110,"column":57}}},"12":{"name":"(anonymous_12)","decl":{"start":{"line":119,"column":2},"end":{"line":119,"column":7}},"loc":{"start":{"line":119,"column":30},"end":{"line":121,"column":3}}},"13":{"name":"(anonymous_13)","decl":{"start":{"line":120,"column":45},"end":{"line":120,"column":49}},"loc":{"start":{"line":120,"column":53},"end":{"line":120,"column":67}}},"14":{"name":"(anonymous_14)","decl":{"start":{"line":123,"column":2},"end":{"line":123,"column":7}},"loc":{"start":{"line":123,"column":30},"end":{"line":132,"column":3}}},"15":{"name":"(anonymous_15)","decl":{"start":{"line":126,"column":39},"end":{"line":126,"column":43}},"loc":{"start":{"line":126,"column":47},"end":{"line":126,"column":61}}},"16":{"name":"(anonymous_16)","decl":{"start":{"line":134,"column":2},"end":{"line":134,"column":7}},"loc":{"start":{"line":134,"column":32},"end":{"line":139,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":19,"column":4},"end":{"line":21,"column":null}},"type":"if","locations":[{"start":{"line":19,"column":4},"end":{"line":21,"column":null}},{"start":{"line":19,"column":4},"end":{"line":21,"column":null}}]},"1":{"loc":{"start":{"line":19,"column":8},"end":{"line":19,"column":15}},"type":"binary-expr","locations":[{"start":{"line":19,"column":8},"end":{"line":19,"column":15}},{"start":{"line":19,"column":19},"end":{"line":19,"column":34}}]},"2":{"loc":{"start":{"line":32,"column":22},"end":{"line":32,"column":27}},"type":"default-arg","locations":[{"start":{"line":32,"column":22},"end":{"line":32,"column":27}}]},"3":{"loc":{"start":{"line":33,"column":4},"end":{"line":36,"column":null}},"type":"if","locations":[{"start":{"line":33,"column":4},"end":{"line":36,"column":null}},{"start":{"line":33,"column":4},"end":{"line":36,"column":null}}]},"4":{"loc":{"start":{"line":33,"column":8},"end":{"line":33,"column":13}},"type":"binary-expr","locations":[{"start":{"line":33,"column":8},"end":{"line":33,"column":13}},{"start":{"line":33,"column":17},"end":{"line":33,"column":30}}]},"5":{"loc":{"start":{"line":43,"column":4},"end":{"line":53,"column":null}},"type":"if","locations":[{"start":{"line":43,"column":4},"end":{"line":53,"column":null}},{"start":{"line":43,"column":4},"end":{"line":53,"column":null}}]},"6":{"loc":{"start":{"line":44,"column":6},"end":{"line":46,"column":null}},"type":"if","locations":[{"start":{"line":44,"column":6},"end":{"line":46,"column":null}},{"start":{"line":44,"column":6},"end":{"line":46,"column":null}}]},"7":{"loc":{"start":{"line":47,"column":6},"end":{"line":49,"column":null}},"type":"if","locations":[{"start":{"line":47,"column":6},"end":{"line":49,"column":null}},{"start":{"line":47,"column":6},"end":{"line":49,"column":null}}]},"8":{"loc":{"start":{"line":47,"column":10},"end":{"line":47,"column":43}},"type":"binary-expr","locations":[{"start":{"line":47,"column":10},"end":{"line":47,"column":43}},{"start":{"line":47,"column":47},"end":{"line":47,"column":65}}]},"9":{"loc":{"start":{"line":50,"column":6},"end":{"line":52,"column":null}},"type":"if","locations":[{"start":{"line":50,"column":6},"end":{"line":52,"column":null}},{"start":{"line":50,"column":6},"end":{"line":52,"column":null}}]},"10":{"loc":{"start":{"line":50,"column":10},"end":{"line":50,"column":42}},"type":"binary-expr","locations":[{"start":{"line":50,"column":10},"end":{"line":50,"column":42}},{"start":{"line":50,"column":46},"end":{"line":50,"column":62}}]},"11":{"loc":{"start":{"line":80,"column":40},"end":{"line":80,"column":44}},"type":"default-arg","locations":[{"start":{"line":80,"column":40},"end":{"line":80,"column":44}}]},"12":{"loc":{"start":{"line":84,"column":4},"end":{"line":87,"column":null}},"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":87,"column":null}},{"start":{"line":84,"column":4},"end":{"line":87,"column":null}}]},"13":{"loc":{"start":{"line":90,"column":4},"end":{"line":92,"column":null}},"type":"if","locations":[{"start":{"line":90,"column":4},"end":{"line":92,"column":null}},{"start":{"line":90,"column":4},"end":{"line":92,"column":null}}]},"14":{"loc":{"start":{"line":109,"column":4},"end":{"line":116,"column":null}},"type":"if","locations":[{"start":{"line":109,"column":4},"end":{"line":116,"column":null}},{"start":{"line":109,"column":4},"end":{"line":116,"column":null}}]},"15":{"loc":{"start":{"line":110,"column":19},"end":{"line":110,"column":58}},"type":"binary-expr","locations":[{"start":{"line":110,"column":19},"end":{"line":110,"column":58}},{"start":{"line":110,"column":62},"end":{"line":110,"column":64}}]},"16":{"loc":{"start":{"line":127,"column":4},"end":{"line":131,"column":null}},"type":"if","locations":[{"start":{"line":127,"column":4},"end":{"line":131,"column":null}},{"start":{"line":127,"column":4},"end":{"line":131,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":18,"5":18,"6":18,"7":2,"8":16,"9":16,"10":16,"11":16,"12":1,"13":56,"14":16,"15":16,"16":56,"17":18,"18":18,"19":18,"20":6,"21":1,"22":6,"23":1,"24":6,"25":1,"26":18,"27":33,"28":12,"29":13,"30":8,"31":8,"32":8,"33":8,"34":9,"35":9,"36":9,"37":1,"38":1,"39":8,"40":8,"41":8,"42":3,"43":8,"44":2,"45":5,"46":2,"47":2,"48":3,"49":3,"50":3,"51":2,"52":5,"53":2,"54":2,"55":2,"56":1,"57":3,"58":4,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1},"f":{"0":18,"1":1,"2":56,"3":18,"4":33,"5":12,"6":13,"7":8,"8":9,"9":2,"10":3,"11":5,"12":3,"13":4,"14":1,"15":1,"16":1},"b":{"0":[2,16],"1":[18,17],"2":[56],"3":[16,40],"4":[56,56],"5":[6,12],"6":[1,5],"7":[1,5],"8":[6,2],"9":[1,5],"10":[6,2],"11":[4],"12":[1,8],"13":[3,5],"14":[2,1],"15":[2,0],"16":[1,0]}} | ||
,"/home/runner/work/store/store/src/JSONStore.ts": {"path":"/home/runner/work/store/store/src/JSONStore.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":52}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":27}},"3":{"start":{"line":7,"column":2},"end":{"line":7,"column":null}},"4":{"start":{"line":11,"column":10},"end":{"line":11,"column":null}},"5":{"start":{"line":13,"column":4},"end":{"line":15,"column":null}},"6":{"start":{"line":14,"column":6},"end":{"line":14,"column":null}},"7":{"start":{"line":16,"column":20},"end":{"line":16,"column":43}},"8":{"start":{"line":17,"column":4},"end":{"line":17,"column":null}},"9":{"start":{"line":18,"column":4},"end":{"line":18,"column":null}},"10":{"start":{"line":23,"column":4},"end":{"line":26,"column":null}},"11":{"start":{"line":24,"column":6},"end":{"line":24,"column":null}},"12":{"start":{"line":25,"column":6},"end":{"line":25,"column":null}},"13":{"start":{"line":27,"column":4},"end":{"line":27,"column":null}},"14":{"start":{"line":31,"column":4},"end":{"line":31,"column":null}},"15":{"start":{"line":35,"column":4},"end":{"line":35,"column":null}},"16":{"start":{"line":36,"column":4},"end":{"line":36,"column":null}},"17":{"start":{"line":40,"column":4},"end":{"line":40,"column":null}},"18":{"start":{"line":44,"column":16},"end":{"line":44,"column":59}},"19":{"start":{"line":45,"column":4},"end":{"line":45,"column":null}},"20":{"start":{"line":46,"column":4},"end":{"line":46,"column":null}},"21":{"start":{"line":51,"column":2},"end":{"line":51,"column":11}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":0},"end":{"line":6,"column":6}},"loc":{"start":{"line":6,"column":0},"end":{"line":8,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":2},"end":{"line":12,"column":15}},"loc":{"start":{"line":12,"column":29},"end":{"line":19,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":21,"column":2},"end":{"line":21,"column":6}},"loc":{"start":{"line":21,"column":21},"end":{"line":28,"column":3}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":30,"column":2},"end":{"line":30,"column":5}},"loc":{"start":{"line":30,"column":15},"end":{"line":32,"column":3}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":34,"column":2},"end":{"line":34,"column":5}},"loc":{"start":{"line":34,"column":30},"end":{"line":37,"column":3}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":39,"column":2},"end":{"line":39,"column":5}},"loc":{"start":{"line":39,"column":18},"end":{"line":41,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":43,"column":2},"end":{"line":43,"column":7}},"loc":{"start":{"line":43,"column":32},"end":{"line":47,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":13,"column":4},"end":{"line":15,"column":null}},"type":"if","locations":[{"start":{"line":13,"column":4},"end":{"line":15,"column":null}},{"start":{"line":13,"column":4},"end":{"line":15,"column":null}}]},"1":{"loc":{"start":{"line":21,"column":16},"end":{"line":21,"column":21}},"type":"default-arg","locations":[{"start":{"line":21,"column":16},"end":{"line":21,"column":21}}]},"2":{"loc":{"start":{"line":23,"column":4},"end":{"line":26,"column":null}},"type":"if","locations":[{"start":{"line":23,"column":4},"end":{"line":26,"column":null}}]},"3":{"loc":{"start":{"line":23,"column":8},"end":{"line":23,"column":13}},"type":"binary-expr","locations":[{"start":{"line":23,"column":8},"end":{"line":23,"column":13}},{"start":{"line":23,"column":17},"end":{"line":23,"column":30}}]},"4":{"loc":{"start":{"line":30,"column":13},"end":{"line":30,"column":15}},"type":"default-arg","locations":[{"start":{"line":30,"column":13},"end":{"line":30,"column":15}}]}},"s":{"0":1,"1":1,"2":1,"3":7,"4":8,"5":8,"6":1,"7":7,"8":7,"9":7,"10":10,"11":10,"12":10,"13":10,"14":4,"15":2,"16":2,"17":1,"18":1,"19":1,"20":1,"21":1},"f":{"0":7,"1":8,"2":10,"3":4,"4":2,"5":1,"6":1},"b":{"0":[1,7],"1":[7],"2":[10],"3":[10,7],"4":[1]}} | ||
,"/home/runner/work/store/store/src/adapters/JSONAdapter.ts": {"path":"/home/runner/work/store/store/src/adapters/JSONAdapter.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":47}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":31}},"2":{"start":{"line":4,"column":0},"end":{"line":4,"column":41}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":null}},"4":{"start":{"line":10,"column":4},"end":{"line":10,"column":null}},"5":{"start":{"line":14,"column":17},"end":{"line":14,"column":36}},"6":{"start":{"line":16,"column":4},"end":{"line":29,"column":null}},"7":{"start":{"line":19,"column":6},"end":{"line":28,"column":null}},"8":{"start":{"line":21,"column":8},"end":{"line":21,"column":null}},"9":{"start":{"line":23,"column":8},"end":{"line":27,"column":null}},"10":{"start":{"line":24,"column":10},"end":{"line":24,"column":null}},"11":{"start":{"line":26,"column":10},"end":{"line":26,"column":null}},"12":{"start":{"line":33,"column":4},"end":{"line":33,"column":null}},"13":{"start":{"line":5,"column":0},"end":{"line":5,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":2},"end":{"line":8,"column":15}},"loc":{"start":{"line":8,"column":29},"end":{"line":11,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":13,"column":2},"end":{"line":13,"column":6}},"loc":{"start":{"line":13,"column":6},"end":{"line":30,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":32,"column":2},"end":{"line":32,"column":7}},"loc":{"start":{"line":32,"column":17},"end":{"line":34,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":16,"column":4},"end":{"line":29,"column":null}},"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":29,"column":null}}]},"1":{"loc":{"start":{"line":21,"column":26},"end":{"line":21,"column":30}},"type":"binary-expr","locations":[{"start":{"line":21,"column":26},"end":{"line":21,"column":30}},{"start":{"line":21,"column":34},"end":{"line":21,"column":38}}]},"2":{"loc":{"start":{"line":24,"column":28},"end":{"line":24,"column":32}},"type":"binary-expr","locations":[{"start":{"line":24,"column":28},"end":{"line":24,"column":32}},{"start":{"line":24,"column":36},"end":{"line":24,"column":40}}]}},"s":{"0":1,"1":1,"2":1,"3":7,"4":7,"5":10,"6":10,"7":9,"8":9,"9":4,"10":4,"11":4,"12":3,"13":1},"f":{"0":7,"1":10,"2":3},"b":{"0":[9],"1":[9,0],"2":[4,0]}} | ||
,"/home/runner/work/store/store/src/adapters/JSONAdapter.ts": {"path":"/home/runner/work/store/store/src/adapters/JSONAdapter.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":47}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":31}},"2":{"start":{"line":4,"column":0},"end":{"line":4,"column":41}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":null}},"4":{"start":{"line":10,"column":4},"end":{"line":10,"column":null}},"5":{"start":{"line":14,"column":17},"end":{"line":14,"column":36}},"6":{"start":{"line":16,"column":4},"end":{"line":34,"column":null}},"7":{"start":{"line":19,"column":6},"end":{"line":33,"column":null}},"8":{"start":{"line":21,"column":20},"end":{"line":21,"column":44}},"9":{"start":{"line":22,"column":8},"end":{"line":24,"column":null}},"10":{"start":{"line":23,"column":10},"end":{"line":23,"column":null}},"11":{"start":{"line":25,"column":8},"end":{"line":25,"column":null}},"12":{"start":{"line":27,"column":8},"end":{"line":32,"column":null}},"13":{"start":{"line":28,"column":10},"end":{"line":28,"column":null}},"14":{"start":{"line":30,"column":10},"end":{"line":30,"column":null}},"15":{"start":{"line":31,"column":10},"end":{"line":31,"column":null}},"16":{"start":{"line":38,"column":4},"end":{"line":38,"column":null}},"17":{"start":{"line":5,"column":0},"end":{"line":5,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":2},"end":{"line":8,"column":15}},"loc":{"start":{"line":8,"column":29},"end":{"line":11,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":13,"column":2},"end":{"line":13,"column":6}},"loc":{"start":{"line":13,"column":6},"end":{"line":35,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":37,"column":2},"end":{"line":37,"column":7}},"loc":{"start":{"line":37,"column":17},"end":{"line":39,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":16,"column":4},"end":{"line":34,"column":null}},"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":34,"column":null}}]},"1":{"loc":{"start":{"line":21,"column":31},"end":{"line":21,"column":35}},"type":"binary-expr","locations":[{"start":{"line":21,"column":31},"end":{"line":21,"column":35}},{"start":{"line":21,"column":39},"end":{"line":21,"column":43}}]},"2":{"loc":{"start":{"line":22,"column":8},"end":{"line":24,"column":null}},"type":"if","locations":[{"start":{"line":22,"column":8},"end":{"line":24,"column":null}},{"start":{"line":22,"column":8},"end":{"line":24,"column":null}}]},"3":{"loc":{"start":{"line":22,"column":12},"end":{"line":22,"column":24}},"type":"binary-expr","locations":[{"start":{"line":22,"column":12},"end":{"line":22,"column":24}},{"start":{"line":22,"column":28},"end":{"line":22,"column":51}}]},"4":{"loc":{"start":{"line":28,"column":28},"end":{"line":28,"column":32}},"type":"binary-expr","locations":[{"start":{"line":28,"column":28},"end":{"line":28,"column":32}},{"start":{"line":28,"column":36},"end":{"line":28,"column":40}}]}},"s":{"0":1,"1":1,"2":1,"3":7,"4":7,"5":10,"6":10,"7":9,"8":9,"9":5,"10":0,"11":5,"12":4,"13":4,"14":4,"15":4,"16":3,"17":1},"f":{"0":7,"1":10,"2":3},"b":{"0":[9],"1":[9,0],"2":[0,5],"3":[5,5],"4":[4,0]}} | ||
,"/home/runner/work/store/store/src/adapters/ZlibAdapter.ts": {"path":"/home/runner/work/store/store/src/adapters/ZlibAdapter.ts","statementMap":{"0":{"start":{"line":4,"column":0},"end":{"line":4,"column":19}},"1":{"start":{"line":5,"column":0},"end":{"line":5,"column":32}},"2":{"start":{"line":6,"column":0},"end":{"line":6,"column":48}},"3":{"start":{"line":7,"column":0},"end":{"line":7,"column":41}},"4":{"start":{"line":9,"column":17},"end":{"line":9,"column":39}},"5":{"start":{"line":15,"column":9},"end":{"line":15,"column":null}},"6":{"start":{"line":18,"column":4},"end":{"line":18,"column":null}},"7":{"start":{"line":19,"column":4},"end":{"line":19,"column":null}},"8":{"start":{"line":20,"column":4},"end":{"line":20,"column":null}},"9":{"start":{"line":24,"column":4},"end":{"line":24,"column":null}},"10":{"start":{"line":25,"column":24},"end":{"line":28,"column":null}},"11":{"start":{"line":29,"column":4},"end":{"line":60,"column":null}},"12":{"start":{"line":30,"column":6},"end":{"line":59,"column":null}},"13":{"start":{"line":31,"column":24},"end":{"line":31,"column":51}},"14":{"start":{"line":32,"column":8},"end":{"line":50,"column":null}},"15":{"start":{"line":33,"column":10},"end":{"line":37,"column":null}},"16":{"start":{"line":34,"column":12},"end":{"line":34,"column":null}},"17":{"start":{"line":35,"column":12},"end":{"line":35,"column":null}},"18":{"start":{"line":36,"column":12},"end":{"line":36,"column":null}},"19":{"start":{"line":38,"column":22},"end":{"line":38,"column":37}},"20":{"start":{"line":39,"column":10},"end":{"line":49,"column":null}},"21":{"start":{"line":40,"column":25},"end":{"line":40,"column":40}},"22":{"start":{"line":41,"column":12},"end":{"line":41,"column":null}},"23":{"start":{"line":52,"column":21},"end":{"line":52,"column":61}},"24":{"start":{"line":53,"column":8},"end":{"line":58,"column":null}},"25":{"start":{"line":56,"column":10},"end":{"line":56,"column":null}},"26":{"start":{"line":57,"column":10},"end":{"line":57,"column":null}},"27":{"start":{"line":64,"column":4},"end":{"line":72,"column":null}},"28":{"start":{"line":65,"column":6},"end":{"line":65,"column":null}},"29":{"start":{"line":66,"column":6},"end":{"line":71,"column":null}},"30":{"start":{"line":69,"column":8},"end":{"line":69,"column":null}},"31":{"start":{"line":70,"column":8},"end":{"line":70,"column":null}},"32":{"start":{"line":77,"column":2},"end":{"line":77,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":17,"column":2},"end":{"line":17,"column":15}},"loc":{"start":{"line":17,"column":87},"end":{"line":21,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":23,"column":2},"end":{"line":23,"column":7}},"loc":{"start":{"line":23,"column":12},"end":{"line":61,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":29,"column":23},"end":{"line":29,"column":28}},"loc":{"start":{"line":29,"column":49},"end":{"line":60,"column":5}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":32,"column":23},"end":{"line":32,"column":24}},"loc":{"start":{"line":32,"column":37},"end":{"line":50,"column":9}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":53,"column":19},"end":{"line":53,"column":24}},"loc":{"start":{"line":53,"column":56},"end":{"line":58,"column":9}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":63,"column":2},"end":{"line":63,"column":7}},"loc":{"start":{"line":63,"column":24},"end":{"line":73,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":64,"column":23},"end":{"line":64,"column":24}},"loc":{"start":{"line":64,"column":43},"end":{"line":72,"column":5}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":66,"column":17},"end":{"line":66,"column":22}},"loc":{"start":{"line":66,"column":54},"end":{"line":71,"column":7}}}},"branchMap":{"0":{"loc":{"start":{"line":30,"column":6},"end":{"line":59,"column":null}},"type":"if","locations":[{"start":{"line":30,"column":6},"end":{"line":59,"column":null}},{"start":{"line":30,"column":6},"end":{"line":59,"column":null}}]},"1":{"loc":{"start":{"line":33,"column":10},"end":{"line":37,"column":null}},"type":"if","locations":[{"start":{"line":33,"column":10},"end":{"line":37,"column":null}},{"start":{"line":33,"column":10},"end":{"line":37,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":16,"6":16,"7":16,"8":16,"9":16,"10":16,"11":16,"12":16,"13":15,"14":15,"15":15,"16":1,"17":1,"18":1,"19":14,"20":14,"21":14,"22":14,"23":1,"24":1,"25":1,"26":1,"27":8,"28":8,"29":8,"30":8,"31":8,"32":1},"f":{"0":16,"1":16,"2":16,"3":15,"4":1,"5":8,"6":8,"7":8},"b":{"0":[15,1],"1":[1,14]}} | ||
@@ -5,0 +5,0 @@ ,"/home/runner/work/store/store/src/types/index.ts": {"path":"/home/runner/work/store/store/src/types/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":null}},"1":{"start":{"line":2,"column":2},"end":{"line":2,"column":null}},"2":{"start":{"line":3,"column":2},"end":{"line":3,"column":null}},"3":{"start":{"line":4,"column":2},"end":{"line":4,"column":null}},"4":{"start":{"line":5,"column":2},"end":{"line":5,"column":null}},"5":{"start":{"line":25,"column":0},"end":{"line":25,"column":null}},"6":{"start":{"line":26,"column":2},"end":{"line":26,"column":null}},"7":{"start":{"line":27,"column":2},"end":{"line":27,"column":null}},"8":{"start":{"line":28,"column":2},"end":{"line":28,"column":null}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}},"loc":{"start":{"line":1,"column":21},"end":{"line":6,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":25,"column":0},"end":{"line":25,"column":12}},"loc":{"start":{"line":25,"column":25},"end":{"line":29,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":21}},"type":"binary-expr","locations":[{"start":{"line":1,"column":12},"end":{"line":1,"column":21}},{"start":{"line":1,"column":12},"end":{"line":1,"column":null}}]},"1":{"loc":{"start":{"line":25,"column":12},"end":{"line":25,"column":25}},"type":"binary-expr","locations":[{"start":{"line":25,"column":12},"end":{"line":25,"column":25}},{"start":{"line":25,"column":12},"end":{"line":25,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1},"f":{"0":1,"1":1},"b":{"0":[1,1],"1":[1,1]}} |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@commonify/lowdb"),e=require("fs"),i=require("util"),r=require("fflate"),a=require("write-file-atomic"),s=require("comment-json"),n=require("lodash");function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=o(e),d=o(a),l=o(s),h=o(n);function u(t,e,i,r){var a,s=arguments.length,n=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(n=(s<3?a(n):s>3?a(e,i,n):a(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}const f=i.promisify(c.default.readFile);class y{constructor(t,e,i){this.readCount=0,this.dbPath=t,this.collectionName=e,this.errorList=i}async read(){this.readCount++;const t={[this.collectionName]:[],[`__${this.collectionName}_KEY__`]:{}};return new Promise((async(e,i)=>{if(c.default.existsSync(this.dbPath)){const i=await f(this.dbPath);r.gunzip(i,((i,a)=>{if(i)return console.error(i),this.errorList.push(i),e(t);const s=r.strFromU8(a);try{const t=JSON.parse(s);return e(t)}catch(i){return console.error(i),this.errorList.push(i),e(t)}}))}else{const a=Buffer.from(JSON.stringify(t));r.gzip(a,(async(r,a)=>{if(r)return i(r);await d.default(this.dbPath,Buffer.from(a)),e(t)}))}}))}async write(t){return new Promise(((e,i)=>{t=Buffer.from(JSON.stringify(t)),r.gzip(t,(async(t,r)=>{if(t)return i(t);await d.default(this.dbPath,Buffer.from(r)),e()}))}))}}var p,w;function b(t){return function(e,i,r){const a=r.value;r.value=async function(...e){t===w.createMany?e=[e=(e=e[0]).map((t=>g(t)))]:t===w.create?e[0]=g(e[0]):e[1].updatedAt=Date.now();return await a.call(this,...e)}}}function g(t){return t.id||(t.id=function(t="",e=""){for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e}()),t.createdAt||(t.createdAt=Date.now(),t.updatedAt=Date.now()),t}!function(t){t.inited="inited",t.loaded="loaded",t.started="started",t.stopped="stopped"}(p||(p={})),function(t){t[t.createMany=0]="createMany",t[t.create=1]="create",t[t.update=2]="update"}(w||(w={}));class m{constructor(e,i){if(this.hasRead=!1,this.errorList=[],!e||!i)throw Error("Please provide valid dbPath or collectionName");this.collectionName=i,this.collectionKey=`__${i}_KEY__`,this.adapter=new y(e,i,this.errorList),this.db=new t.Low(this.adapter)}getAdapter(){return this.adapter}async read(t=!1){return!t&&this.hasRead||(this.hasRead=!0,await this.db.read()),this.db.data}async get(t){let e=(await this.getCollection()).slice();const i=e.length;return void 0!==t&&("desc"===t.orderBy&&(e=e.reverse()),"number"==typeof t.offset&&t.offset>=0&&(e=e.slice(t.offset)),"number"==typeof t.limit&&t.limit>0&&(e=e.slice(0,t.limit))),{total:i,data:e}}async getCollection(){return(await this.read())?.[this.collectionName]}async getCollectionKey(t){return(await this.getCollectionKeyMap())[t]}async getCollectionKeyMap(){return(await this.read())?.[this.collectionKey]}async setCollectionKey(t){await this.read();this.db.data[this.collectionKey][t]=1}async insert(t,e=!0){const i=t.id;return await this.getCollectionKey(i)?(await this.updateById(i,t),t):((await this.getCollection()).push(t),await this.setCollectionKey(i),e&&await this.db.write(),t)}async insertMany(t){for(const e of t)await this.insert(e,!1);return await this.db.write(),t}async updateById(t,e){const i=await this.getCollection();if(await this.getCollectionKey(t)){const r=i.find((e=>e.id===t))||{};return Object.assign(r,e),await this.db.write(),!0}return!1}async getById(t){return(await this.getCollection()).find((e=>e.id===t))}async removeById(t){const e=await this.getCollection(),i=await this.getCollectionKeyMap(),r=e.findIndex((e=>e.id===t));-1!==r&&(e.splice(r,1),delete i[t],await this.db.write())}async overwrite(t){return await this.read(),this.db.data[this.collectionName]=[],this.db.data[this.collectionKey]={},await this.insertMany(t)}}u([b(w.create)],m.prototype,"insert",null),u([b(w.createMany)],m.prototype,"insertMany",null),u([b(w.update)],m.prototype,"updateById",null);class v{constructor(e){this.dbPath=e,this.adapter=new t.TextFileSync(e)}read(){const t=this.adapter.read();if(null===t)return{};try{return l.default.parse(t||"{}")}catch(e){try{return JSON.parse(t||"{}")}catch(t){return{}}}}write(t){d.default.sync(this.dbPath,l.default.stringify(t,null,2))}}class C extends t.LowSync{constructor(){super(...arguments),this.chain=h.default.chain(this).get("data")}}exports.DBStore=m,exports.JSONStore=class{constructor(t){if(this.hasRead=!1,!t)throw Error("Please provide valid dbPath");const e=new v(t);this.db=new C(e),this.read()}read(t=!1){return!t&&this.hasRead||(this.hasRead=!0,this.db.read()),this.db.data}get(t=""){return this.db.chain.get(t).value()}set(t,e){this.db.chain.set(t,e).value(),this.db.write()}has(t){return this.db.chain.has(t).value()}unset(t,e){const i=this.db.chain.get(t).unset(e).value();return this.db.write(),i}}; | ||
//# sourceMappingURL=index.js.map | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@commonify/lowdb"),e=require("fs"),r=require("util"),i=require("fflate"),a=require("write-file-atomic"),s=require("comment-json"),n=require("lodash");function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=o(e),d=o(a),l=o(s),h=o(n);function u(t,e,r,i){var a,s=arguments.length,n=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(n=(s<3?a(n):s>3?a(e,r,n):a(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n}const f=r.promisify(c.default.readFile);class y{constructor(t,e,r){this.readCount=0,this.dbPath=t,this.collectionName=e,this.errorList=r}async read(){this.readCount++;const t={[this.collectionName]:[],[`__${this.collectionName}_KEY__`]:{}};return new Promise((async(e,r)=>{if(c.default.existsSync(this.dbPath)){const r=await f(this.dbPath);i.gunzip(r,((r,a)=>{if(r)return console.error(r),this.errorList.push(r),e(t);const s=i.strFromU8(a);try{const t=JSON.parse(s);return e(t)}catch(r){return console.error(r),this.errorList.push(r),e(t)}}))}else{const a=Buffer.from(JSON.stringify(t));i.gzip(a,(async(i,a)=>{if(i)return r(i);await d.default(this.dbPath,Buffer.from(a)),e(t)}))}}))}async write(t){return new Promise(((e,r)=>{t=Buffer.from(JSON.stringify(t)),i.gzip(t,(async(t,i)=>{if(t)return r(t);await d.default(this.dbPath,Buffer.from(i)),e()}))}))}}var p,w;function b(t){return function(e,r,i){const a=i.value;i.value=async function(...e){t===w.createMany?e=[e=(e=e[0]).map((t=>g(t)))]:t===w.create?e[0]=g(e[0]):e[1].updatedAt=Date.now();return await a.call(this,...e)}}}function g(t){return t.id||(t.id=function(t="",e=""){for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e}()),t.createdAt||(t.createdAt=Date.now(),t.updatedAt=Date.now()),t}!function(t){t.inited="inited",t.loaded="loaded",t.started="started",t.stopped="stopped"}(p||(p={})),function(t){t[t.createMany=0]="createMany",t[t.create=1]="create",t[t.update=2]="update"}(w||(w={}));class m{constructor(e,r){if(this.hasRead=!1,this.errorList=[],!e||!r)throw Error("Please provide valid dbPath or collectionName");this.collectionName=r,this.collectionKey=`__${r}_KEY__`,this.adapter=new y(e,r,this.errorList),this.db=new t.Low(this.adapter)}getAdapter(){return this.adapter}async read(t=!1){return!t&&this.hasRead||(this.hasRead=!0,await this.db.read()),this.db.data}async get(t){let e=(await this.getCollection()).slice();const r=e.length;return void 0!==t&&("desc"===t.orderBy&&(e=e.reverse()),"number"==typeof t.offset&&t.offset>=0&&(e=e.slice(t.offset)),"number"==typeof t.limit&&t.limit>0&&(e=e.slice(0,t.limit))),{total:r,data:e}}async getCollection(){var t;return null===(t=await this.read())||void 0===t?void 0:t[this.collectionName]}async getCollectionKey(t){return(await this.getCollectionKeyMap())[t]}async getCollectionKeyMap(){var t;return null===(t=await this.read())||void 0===t?void 0:t[this.collectionKey]}async setCollectionKey(t){await this.read();this.db.data[this.collectionKey][t]=1}async insert(t,e=!0){const r=t.id;return await this.getCollectionKey(r)?(await this.updateById(r,t),t):((await this.getCollection()).push(t),await this.setCollectionKey(r),e&&await this.db.write(),t)}async insertMany(t){for(const e of t)await this.insert(e,!1);return await this.db.write(),t}async updateById(t,e){const r=await this.getCollection();if(await this.getCollectionKey(t)){const i=r.find((e=>e.id===t))||{};return Object.assign(i,e),await this.db.write(),!0}return!1}async getById(t){return(await this.getCollection()).find((e=>e.id===t))}async removeById(t){const e=await this.getCollection(),r=await this.getCollectionKeyMap(),i=e.findIndex((e=>e.id===t));-1!==i&&(e.splice(i,1),delete r[t],await this.db.write())}async overwrite(t){return await this.read(),this.db.data[this.collectionName]=[],this.db.data[this.collectionKey]={},await this.insertMany(t)}}u([b(w.create)],m.prototype,"insert",null),u([b(w.createMany)],m.prototype,"insertMany",null),u([b(w.update)],m.prototype,"updateById",null);class v{constructor(e){this.dbPath=e,this.adapter=new t.TextFileSync(e)}read(){const t=this.adapter.read();if(null===t)return{};try{const e=l.default.parse(t||"{}");return null===e||"object"!=typeof e?{}:e}catch(e){try{return JSON.parse(t||"{}")}catch(t){return console.error("[PicGo store] JSON parse error",t),{}}}}write(t){d.default.sync(this.dbPath,l.default.stringify(t,null,2))}}class P extends t.LowSync{constructor(){super(...arguments),this.chain=h.default.chain(this).get("data")}}exports.DBStore=m,exports.JSONStore=class{constructor(t){if(this.hasRead=!1,!t)throw Error("Please provide valid dbPath");const e=new v(t);this.db=new P(e),this.read()}read(t=!1){return!t&&this.hasRead||(this.hasRead=!0,this.db.read()),this.db.data}get(t=""){return this.db.chain.get(t).value()}set(t,e){this.db.chain.set(t,e).value(),this.db.write()}has(t){return this.db.chain.has(t).value()}unset(t,e){const r=this.db.chain.get(t).unset(e).value();return this.db.write(),r}}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0= |
{ | ||
"name": "@picgo/store", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "", | ||
@@ -48,6 +48,7 @@ "main": "dist/index.js", | ||
"@picgo/bump-version": "^1.0.3", | ||
"@rollup/plugin-commonjs": "^22.0.2", | ||
"@types/jest": "^24.9.0", | ||
"@types/node": "^13.1.7", | ||
"@types/write-file-atomic": "^4.0.0", | ||
"@typescript-eslint/eslint-plugin": "2", | ||
"@typescript-eslint/eslint-plugin": "5.33.1", | ||
"commitizen": "^4.2.4", | ||
@@ -57,8 +58,9 @@ "conventional-changelog": "^3.1.18", | ||
"cz-customizable": "^6.2.0", | ||
"eslint": "6", | ||
"eslint-config-standard-with-typescript": "^11.0.1", | ||
"eslint-plugin-import": "2", | ||
"eslint-plugin-node": "9", | ||
"eslint-plugin-promise": "4", | ||
"eslint-plugin-standard": "4", | ||
"eslint": "8.22.0", | ||
"eslint-config-standard-with-typescript": "^22.0.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-n": "^15.2.4", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-promise": "6.0.0", | ||
"eslint-plugin-standard": "5.0.0", | ||
"husky": "^4.0.10", | ||
@@ -80,3 +82,3 @@ "jest": "^24.9.0", | ||
"@types/lodash": "^4.14.182", | ||
"comment-json": "^4.1.0", | ||
"comment-json": "^4.2.3", | ||
"fflate": "^0.7.3", | ||
@@ -83,0 +85,0 @@ "lodash": "^4.17.21", |
import { terser } from 'rollup-plugin-terser' | ||
import typescript from 'rollup-plugin-typescript2' | ||
import commonjs from '@rollup/plugin-commonjs' | ||
// import resolve from 'rollup-plugin-node-resolve' | ||
@@ -10,3 +11,4 @@ export default { | ||
compilerOptions: { | ||
module: 'ESNext' | ||
target: 'ES2017', | ||
module: 'ES2020' | ||
}, | ||
@@ -20,2 +22,3 @@ exclude: [ | ||
}), | ||
commonjs(), | ||
terser() | ||
@@ -26,3 +29,3 @@ ], | ||
file: 'dist/index.js', | ||
sourcemap: true | ||
sourcemap: 'inline' | ||
}], | ||
@@ -35,4 +38,6 @@ external: [ | ||
'util', | ||
'fs' | ||
'fs', | ||
'lodash', | ||
'comment-json' | ||
] | ||
} |
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
191230
815
27
36
Updatedcomment-json@^4.2.3