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

@picgo/store

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@picgo/store - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

9

CHANGELOG.md

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

# :tada: 2.1.0 (2023-09-10)
### :sparkles: Features
* add updateMany api for DBStore ([0775f19](https://github.com/Molunerfinn/typescript-node-template/commit/0775f19))
## :tada: 2.0.4 (2022-08-21)

@@ -2,0 +11,0 @@

12

coverage/coverage-final.json

@@ -1,7 +0,7 @@

{"/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":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]}}
,"/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]}}
,"/home/runner/work/store/store/src/utils/metaInfoHelper.ts": {"path":"/home/runner/work/store/store/src/utils/metaInfoHelper.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":62}},"1":{"start":{"line":4,"column":2},"end":{"line":19,"column":null}},"2":{"start":{"line":5,"column":19},"end":{"line":5,"column":35}},"3":{"start":{"line":6,"column":4},"end":{"line":18,"column":null}},"4":{"start":{"line":7,"column":6},"end":{"line":15,"column":null}},"5":{"start":{"line":8,"column":8},"end":{"line":8,"column":null}},"6":{"start":{"line":9,"column":8},"end":{"line":9,"column":null}},"7":{"start":{"line":9,"column":47},"end":{"line":9,"column":70}},"8":{"start":{"line":10,"column":8},"end":{"line":10,"column":null}},"9":{"start":{"line":11,"column":13},"end":{"line":15,"column":null}},"10":{"start":{"line":12,"column":8},"end":{"line":12,"column":null}},"11":{"start":{"line":14,"column":8},"end":{"line":14,"column":null}},"12":{"start":{"line":16,"column":21},"end":{"line":16,"column":53}},"13":{"start":{"line":17,"column":6},"end":{"line":17,"column":null}},"14":{"start":{"line":42,"column":2},"end":{"line":42,"column":16}},"15":{"start":{"line":23,"column":51},"end":{"line":23,"column":170}},"16":{"start":{"line":23,"column":170},"end":{"line":23,"column":179}},"17":{"start":{"line":26,"column":2},"end":{"line":28,"column":null}},"18":{"start":{"line":27,"column":4},"end":{"line":27,"column":null}},"19":{"start":{"line":29,"column":2},"end":{"line":32,"column":null}},"20":{"start":{"line":30,"column":4},"end":{"line":30,"column":null}},"21":{"start":{"line":31,"column":4},"end":{"line":31,"column":null}},"22":{"start":{"line":33,"column":2},"end":{"line":33,"column":null}},"23":{"start":{"line":37,"column":2},"end":{"line":37,"column":null}},"24":{"start":{"line":38,"column":2},"end":{"line":38,"column":null}}},"fnMap":{"0":{"name":"metaInfoHelper","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":23}},"loc":{"start":{"line":3,"column":44},"end":{"line":20,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":9},"end":{"line":4,"column":19}},"loc":{"start":{"line":4,"column":82},"end":{"line":19,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":6,"column":23},"end":{"line":6,"column":28}},"loc":{"start":{"line":6,"column":59},"end":{"line":18,"column":5}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":9,"column":39},"end":{"line":9,"column":43}},"loc":{"start":{"line":9,"column":47},"end":{"line":9,"column":70}}},"4":{"name":"uuid","decl":{"start":{"line":23,"column":9},"end":{"line":23,"column":13}},"loc":{"start":{"line":23,"column":39},"end":{"line":23,"column":180}}},"5":{"name":"metaInfoGenerator","decl":{"start":{"line":25,"column":9},"end":{"line":25,"column":26}},"loc":{"start":{"line":25,"column":42},"end":{"line":34,"column":1}}},"6":{"name":"metaInfoUpdater","decl":{"start":{"line":36,"column":9},"end":{"line":36,"column":24}},"loc":{"start":{"line":36,"column":40},"end":{"line":39,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":6},"end":{"line":15,"column":null}},"type":"if","locations":[{"start":{"line":7,"column":6},"end":{"line":15,"column":null}},{"start":{"line":7,"column":6},"end":{"line":15,"column":null}}]},"1":{"loc":{"start":{"line":11,"column":13},"end":{"line":15,"column":null}},"type":"if","locations":[{"start":{"line":11,"column":13},"end":{"line":15,"column":null}},{"start":{"line":11,"column":13},"end":{"line":15,"column":null}}]},"2":{"loc":{"start":{"line":23,"column":24},"end":{"line":23,"column":26}},"type":"default-arg","locations":[{"start":{"line":23,"column":24},"end":{"line":23,"column":26}}]},"3":{"loc":{"start":{"line":23,"column":37},"end":{"line":23,"column":39}},"type":"default-arg","locations":[{"start":{"line":23,"column":37},"end":{"line":23,"column":39}}]},"4":{"loc":{"start":{"line":23,"column":97},"end":{"line":23,"column":162}},"type":"cond-expr","locations":[{"start":{"line":23,"column":97},"end":{"line":23,"column":162}},{"start":{"line":23,"column":165},"end":{"line":23,"column":168}}]},"5":{"loc":{"start":{"line":23,"column":107},"end":{"line":23,"column":144}},"type":"cond-expr","locations":[{"start":{"line":23,"column":107},"end":{"line":23,"column":144}},{"start":{"line":23,"column":147},"end":{"line":23,"column":148}}]},"6":{"loc":{"start":{"line":23,"column":137},"end":{"line":23,"column":139}},"type":"cond-expr","locations":[{"start":{"line":23,"column":137},"end":{"line":23,"column":139}},{"start":{"line":23,"column":142},"end":{"line":23,"column":143}}]},"7":{"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":null}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":28,"column":null}},{"start":{"line":26,"column":2},"end":{"line":28,"column":null}}]},"8":{"loc":{"start":{"line":29,"column":2},"end":{"line":32,"column":null}},"type":"if","locations":[{"start":{"line":29,"column":2},"end":{"line":32,"column":null}},{"start":{"line":29,"column":2},"end":{"line":32,"column":null}}]}},"s":{"0":1,"1":3,"2":3,"3":3,"4":14,"5":2,"6":2,"7":5,"8":2,"9":12,"10":9,"11":3,"12":14,"13":14,"14":1,"15":1,"16":1,"17":14,"18":1,"19":14,"20":8,"21":8,"22":14,"23":3,"24":3},"f":{"0":3,"1":3,"2":14,"3":5,"4":1,"5":14,"6":3},"b":{"0":[2,12],"1":[9,3],"2":[1],"3":[1],"4":[32,4],"5":[31,1],"6":[30,1],"7":[1,13],"8":[8,6]}}
{"/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":66,"column":4},"end":{"line":66,"column":null}},"28":{"start":{"line":75,"column":4},"end":{"line":75,"column":null}},"29":{"start":{"line":76,"column":17},"end":{"line":76,"column":30}},"30":{"start":{"line":77,"column":29},"end":{"line":77,"column":71}},"31":{"start":{"line":78,"column":4},"end":{"line":78,"column":null}},"32":{"start":{"line":83,"column":16},"end":{"line":83,"column":39}},"33":{"start":{"line":84,"column":19},"end":{"line":84,"column":50}},"34":{"start":{"line":86,"column":4},"end":{"line":89,"column":null}},"35":{"start":{"line":87,"column":6},"end":{"line":87,"column":null}},"36":{"start":{"line":88,"column":6},"end":{"line":88,"column":null}},"37":{"start":{"line":90,"column":4},"end":{"line":90,"column":null}},"38":{"start":{"line":91,"column":4},"end":{"line":91,"column":null}},"39":{"start":{"line":92,"column":4},"end":{"line":94,"column":null}},"40":{"start":{"line":93,"column":6},"end":{"line":93,"column":null}},"41":{"start":{"line":95,"column":4},"end":{"line":95,"column":null}},"42":{"start":{"line":100,"column":4},"end":{"line":102,"column":null}},"43":{"start":{"line":101,"column":6},"end":{"line":101,"column":null}},"44":{"start":{"line":103,"column":4},"end":{"line":103,"column":null}},"45":{"start":{"line":104,"column":4},"end":{"line":104,"column":null}},"46":{"start":{"line":109,"column":23},"end":{"line":109,"column":49}},"47":{"start":{"line":110,"column":19},"end":{"line":110,"column":50}},"48":{"start":{"line":111,"column":4},"end":{"line":119,"column":null}},"49":{"start":{"line":114,"column":6},"end":{"line":114,"column":null}},"50":{"start":{"line":115,"column":6},"end":{"line":115,"column":null}},"51":{"start":{"line":116,"column":6},"end":{"line":116,"column":null}},"52":{"start":{"line":118,"column":6},"end":{"line":118,"column":null}},"53":{"start":{"line":124,"column":23},"end":{"line":124,"column":49}},"54":{"start":{"line":125,"column":23},"end":{"line":125,"column":24}},"55":{"start":{"line":126,"column":4},"end":{"line":136,"column":null}},"56":{"start":{"line":127,"column":6},"end":{"line":135,"column":null}},"57":{"start":{"line":128,"column":23},"end":{"line":128,"column":59}},"58":{"start":{"line":129,"column":8},"end":{"line":134,"column":null}},"59":{"start":{"line":130,"column":10},"end":{"line":130,"column":null}},"60":{"start":{"line":133,"column":10},"end":{"line":133,"column":null}},"61":{"start":{"line":137,"column":4},"end":{"line":137,"column":null}},"62":{"start":{"line":138,"column":4},"end":{"line":141,"column":null}},"63":{"start":{"line":145,"column":4},"end":{"line":145,"column":null}},"64":{"start":{"line":145,"column":53},"end":{"line":145,"column":67}},"65":{"start":{"line":149,"column":23},"end":{"line":149,"column":49}},"66":{"start":{"line":150,"column":29},"end":{"line":150,"column":61}},"67":{"start":{"line":151,"column":18},"end":{"line":151,"column":62}},"68":{"start":{"line":151,"column":47},"end":{"line":151,"column":61}},"69":{"start":{"line":152,"column":4},"end":{"line":156,"column":null}},"70":{"start":{"line":153,"column":6},"end":{"line":153,"column":null}},"71":{"start":{"line":154,"column":6},"end":{"line":154,"column":null}},"72":{"start":{"line":155,"column":6},"end":{"line":155,"column":null}},"73":{"start":{"line":160,"column":4},"end":{"line":160,"column":22}},"74":{"start":{"line":161,"column":5},"end":{"line":161,"column":57}},"75":{"start":{"line":162,"column":5},"end":{"line":162,"column":null}},"76":{"start":{"line":163,"column":4},"end":{"line":163,"column":null}},"77":{"start":{"line":82,"column":2},"end":{"line":96,"column":null}},"78":{"start":{"line":99,"column":2},"end":{"line":105,"column":null}},"79":{"start":{"line":108,"column":2},"end":{"line":120,"column":null}},"80":{"start":{"line":123,"column":2},"end":{"line":142,"column":null}},"81":{"start":{"line":168,"column":2},"end":{"line":168,"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":63,"column":3}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":65,"column":10},"end":{"line":65,"column":15}},"loc":{"start":{"line":65,"column":44},"end":{"line":67,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":69,"column":10},"end":{"line":69,"column":15}},"loc":{"start":{"line":69,"column":35},"end":{"line":72,"column":3}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":74,"column":10},"end":{"line":74,"column":15}},"loc":{"start":{"line":74,"column":44},"end":{"line":79,"column":3}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":82,"column":2},"end":{"line":82,"column":7}},"loc":{"start":{"line":82,"column":44},"end":{"line":96,"column":3}}},"9":{"name":"(anonymous_9)","decl":{"start":{"line":99,"column":2},"end":{"line":99,"column":7}},"loc":{"start":{"line":99,"column":33},"end":{"line":105,"column":3}}},"10":{"name":"(anonymous_10)","decl":{"start":{"line":108,"column":2},"end":{"line":108,"column":7}},"loc":{"start":{"line":108,"column":46},"end":{"line":120,"column":3}}},"11":{"name":"(anonymous_11)","decl":{"start":{"line":123,"column":2},"end":{"line":123,"column":7}},"loc":{"start":{"line":123,"column":35},"end":{"line":142,"column":3}}},"12":{"name":"(anonymous_12)","decl":{"start":{"line":144,"column":2},"end":{"line":144,"column":7}},"loc":{"start":{"line":144,"column":30},"end":{"line":146,"column":3}}},"13":{"name":"(anonymous_13)","decl":{"start":{"line":145,"column":45},"end":{"line":145,"column":49}},"loc":{"start":{"line":145,"column":53},"end":{"line":145,"column":67}}},"14":{"name":"(anonymous_14)","decl":{"start":{"line":148,"column":2},"end":{"line":148,"column":7}},"loc":{"start":{"line":148,"column":30},"end":{"line":157,"column":3}}},"15":{"name":"(anonymous_15)","decl":{"start":{"line":151,"column":39},"end":{"line":151,"column":43}},"loc":{"start":{"line":151,"column":47},"end":{"line":151,"column":61}}},"16":{"name":"(anonymous_16)","decl":{"start":{"line":159,"column":2},"end":{"line":159,"column":7}},"loc":{"start":{"line":159,"column":32},"end":{"line":164,"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":82,"column":40},"end":{"line":82,"column":44}},"type":"default-arg","locations":[{"start":{"line":82,"column":40},"end":{"line":82,"column":44}}]},"12":{"loc":{"start":{"line":86,"column":4},"end":{"line":89,"column":null}},"type":"if","locations":[{"start":{"line":86,"column":4},"end":{"line":89,"column":null}},{"start":{"line":86,"column":4},"end":{"line":89,"column":null}}]},"13":{"loc":{"start":{"line":92,"column":4},"end":{"line":94,"column":null}},"type":"if","locations":[{"start":{"line":92,"column":4},"end":{"line":94,"column":null}},{"start":{"line":92,"column":4},"end":{"line":94,"column":null}}]},"14":{"loc":{"start":{"line":111,"column":4},"end":{"line":119,"column":null}},"type":"if","locations":[{"start":{"line":111,"column":4},"end":{"line":119,"column":null}},{"start":{"line":111,"column":4},"end":{"line":119,"column":null}}]},"15":{"loc":{"start":{"line":127,"column":6},"end":{"line":135,"column":null}},"type":"if","locations":[{"start":{"line":127,"column":6},"end":{"line":135,"column":null}},{"start":{"line":127,"column":6},"end":{"line":135,"column":null}}]},"16":{"loc":{"start":{"line":129,"column":8},"end":{"line":134,"column":null}},"type":"if","locations":[{"start":{"line":129,"column":8},"end":{"line":134,"column":null}},{"start":{"line":129,"column":8},"end":{"line":134,"column":null}}]},"17":{"loc":{"start":{"line":152,"column":4},"end":{"line":156,"column":null}},"type":"if","locations":[{"start":{"line":152,"column":4},"end":{"line":156,"column":null}},{"start":{"line":152,"column":4},"end":{"line":156,"column":null}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":19,"5":19,"6":19,"7":2,"8":17,"9":17,"10":17,"11":17,"12":1,"13":73,"14":17,"15":17,"16":73,"17":19,"18":19,"19":19,"20":6,"21":1,"22":6,"23":1,"24":6,"25":1,"26":19,"27":18,"28":11,"29":11,"30":11,"31":11,"32":12,"33":12,"34":12,"35":1,"36":1,"37":11,"38":11,"39":11,"40":3,"41":11,"42":3,"43":8,"44":3,"45":3,"46":3,"47":3,"48":3,"49":2,"50":2,"51":2,"52":1,"53":1,"54":1,"55":1,"56":4,"57":3,"58":3,"59":2,"60":2,"61":1,"62":1,"63":3,"64":4,"65":2,"66":2,"67":2,"68":1,"69":2,"70":1,"71":1,"72":1,"73":2,"74":2,"75":2,"76":2,"77":1,"78":1,"79":1,"80":1,"81":1},"f":{"0":19,"1":1,"2":73,"3":19,"4":39,"5":18,"6":20,"7":11,"8":12,"9":3,"10":3,"11":1,"12":3,"13":4,"14":2,"15":1,"16":2},"b":{"0":[2,17],"1":[19,18],"2":[73],"3":[17,56],"4":[73,73],"5":[6,13],"6":[1,5],"7":[1,5],"8":[6,2],"9":[1,5],"10":[6,2],"11":[4],"12":[1,11],"13":[3,8],"14":[2,1],"15":[3,1],"16":[2,1],"17":[1,1]}}
,"/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":9,"4":10,"5":10,"6":1,"7":9,"8":9,"9":9,"10":14,"11":14,"12":14,"13":14,"14":4,"15":2,"16":2,"17":1,"18":1,"19":1,"20":1,"21":1},"f":{"0":9,"1":10,"2":14,"3":4,"4":2,"5":1,"6":1},"b":{"0":[1,9],"1":[9],"2":[14],"3":[14,9],"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":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}}]}},"s":{"0":1,"1":1,"2":1,"3":9,"4":9,"5":14,"6":14,"7":13,"8":13,"9":9,"10":2,"11":7,"12":4,"13":4,"14":4,"15":4,"16":3,"17":1},"f":{"0":9,"1":14,"2":3},"b":{"0":[13],"1":[13,2],"2":[2,7],"3":[9,7]}}
,"/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":17,"6":17,"7":17,"8":17,"9":17,"10":17,"11":17,"12":17,"13":16,"14":16,"15":16,"16":1,"17":1,"18":1,"19":15,"20":15,"21":15,"22":15,"23":1,"24":1,"25":1,"26":1,"27":10,"28":10,"29":10,"30":10,"31":10,"32":1},"f":{"0":17,"1":17,"2":17,"3":16,"4":1,"5":10,"6":10,"7":10},"b":{"0":[16,1],"1":[1,15]}}
,"/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}},"9":{"start":{"line":29,"column":2},"end":{"line":29,"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":30,"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,"9":1},"f":{"0":1,"1":1},"b":{"0":[1,1],"1":[1,1]}}
,"/home/runner/work/store/store/src/utils/metaInfoHelper.ts": {"path":"/home/runner/work/store/store/src/utils/metaInfoHelper.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":62}},"1":{"start":{"line":4,"column":2},"end":{"line":23,"column":null}},"2":{"start":{"line":5,"column":19},"end":{"line":5,"column":35}},"3":{"start":{"line":6,"column":4},"end":{"line":22,"column":null}},"4":{"start":{"line":7,"column":6},"end":{"line":19,"column":null}},"5":{"start":{"line":8,"column":8},"end":{"line":8,"column":null}},"6":{"start":{"line":9,"column":8},"end":{"line":9,"column":null}},"7":{"start":{"line":9,"column":47},"end":{"line":9,"column":70}},"8":{"start":{"line":10,"column":8},"end":{"line":10,"column":null}},"9":{"start":{"line":11,"column":13},"end":{"line":19,"column":null}},"10":{"start":{"line":12,"column":8},"end":{"line":12,"column":null}},"11":{"start":{"line":13,"column":13},"end":{"line":19,"column":null}},"12":{"start":{"line":14,"column":8},"end":{"line":14,"column":null}},"13":{"start":{"line":15,"column":8},"end":{"line":15,"column":null}},"14":{"start":{"line":15,"column":47},"end":{"line":15,"column":68}},"15":{"start":{"line":16,"column":8},"end":{"line":16,"column":null}},"16":{"start":{"line":18,"column":8},"end":{"line":18,"column":null}},"17":{"start":{"line":20,"column":21},"end":{"line":20,"column":53}},"18":{"start":{"line":21,"column":6},"end":{"line":21,"column":null}},"19":{"start":{"line":46,"column":2},"end":{"line":46,"column":16}},"20":{"start":{"line":27,"column":51},"end":{"line":27,"column":170}},"21":{"start":{"line":27,"column":170},"end":{"line":27,"column":179}},"22":{"start":{"line":30,"column":2},"end":{"line":32,"column":null}},"23":{"start":{"line":31,"column":4},"end":{"line":31,"column":null}},"24":{"start":{"line":33,"column":2},"end":{"line":36,"column":null}},"25":{"start":{"line":34,"column":4},"end":{"line":34,"column":null}},"26":{"start":{"line":35,"column":4},"end":{"line":35,"column":null}},"27":{"start":{"line":37,"column":2},"end":{"line":37,"column":null}},"28":{"start":{"line":41,"column":2},"end":{"line":41,"column":null}},"29":{"start":{"line":42,"column":2},"end":{"line":42,"column":null}}},"fnMap":{"0":{"name":"metaInfoHelper","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":23}},"loc":{"start":{"line":3,"column":44},"end":{"line":24,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":9},"end":{"line":4,"column":19}},"loc":{"start":{"line":4,"column":82},"end":{"line":23,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":6,"column":23},"end":{"line":6,"column":28}},"loc":{"start":{"line":6,"column":59},"end":{"line":22,"column":5}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":9,"column":39},"end":{"line":9,"column":43}},"loc":{"start":{"line":9,"column":47},"end":{"line":9,"column":70}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":15,"column":39},"end":{"line":15,"column":43}},"loc":{"start":{"line":15,"column":47},"end":{"line":15,"column":68}}},"5":{"name":"uuid","decl":{"start":{"line":27,"column":9},"end":{"line":27,"column":13}},"loc":{"start":{"line":27,"column":39},"end":{"line":27,"column":180}}},"6":{"name":"metaInfoGenerator","decl":{"start":{"line":29,"column":9},"end":{"line":29,"column":26}},"loc":{"start":{"line":29,"column":42},"end":{"line":38,"column":1}}},"7":{"name":"metaInfoUpdater","decl":{"start":{"line":40,"column":9},"end":{"line":40,"column":24}},"loc":{"start":{"line":40,"column":40},"end":{"line":43,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":6},"end":{"line":19,"column":null}},"type":"if","locations":[{"start":{"line":7,"column":6},"end":{"line":19,"column":null}},{"start":{"line":7,"column":6},"end":{"line":19,"column":null}}]},"1":{"loc":{"start":{"line":11,"column":13},"end":{"line":19,"column":null}},"type":"if","locations":[{"start":{"line":11,"column":13},"end":{"line":19,"column":null}},{"start":{"line":11,"column":13},"end":{"line":19,"column":null}}]},"2":{"loc":{"start":{"line":13,"column":13},"end":{"line":19,"column":null}},"type":"if","locations":[{"start":{"line":13,"column":13},"end":{"line":19,"column":null}},{"start":{"line":13,"column":13},"end":{"line":19,"column":null}}]},"3":{"loc":{"start":{"line":27,"column":24},"end":{"line":27,"column":26}},"type":"default-arg","locations":[{"start":{"line":27,"column":24},"end":{"line":27,"column":26}}]},"4":{"loc":{"start":{"line":27,"column":37},"end":{"line":27,"column":39}},"type":"default-arg","locations":[{"start":{"line":27,"column":37},"end":{"line":27,"column":39}}]},"5":{"loc":{"start":{"line":27,"column":97},"end":{"line":27,"column":162}},"type":"cond-expr","locations":[{"start":{"line":27,"column":97},"end":{"line":27,"column":162}},{"start":{"line":27,"column":165},"end":{"line":27,"column":168}}]},"6":{"loc":{"start":{"line":27,"column":107},"end":{"line":27,"column":144}},"type":"cond-expr","locations":[{"start":{"line":27,"column":107},"end":{"line":27,"column":144}},{"start":{"line":27,"column":147},"end":{"line":27,"column":148}}]},"7":{"loc":{"start":{"line":27,"column":137},"end":{"line":27,"column":139}},"type":"cond-expr","locations":[{"start":{"line":27,"column":137},"end":{"line":27,"column":139}},{"start":{"line":27,"column":142},"end":{"line":27,"column":143}}]},"8":{"loc":{"start":{"line":30,"column":2},"end":{"line":32,"column":null}},"type":"if","locations":[{"start":{"line":30,"column":2},"end":{"line":32,"column":null}},{"start":{"line":30,"column":2},"end":{"line":32,"column":null}}]},"9":{"loc":{"start":{"line":33,"column":2},"end":{"line":36,"column":null}},"type":"if","locations":[{"start":{"line":33,"column":2},"end":{"line":36,"column":null}},{"start":{"line":33,"column":2},"end":{"line":36,"column":null}}]}},"s":{"0":1,"1":4,"2":4,"3":4,"4":19,"5":3,"6":3,"7":8,"8":3,"9":16,"10":12,"11":4,"12":1,"13":1,"14":4,"15":1,"16":3,"17":19,"18":19,"19":1,"20":1,"21":1,"22":20,"23":1,"24":20,"25":11,"26":11,"27":20,"28":7,"29":7},"f":{"0":4,"1":4,"2":19,"3":8,"4":4,"5":1,"6":20,"7":7},"b":{"0":[3,16],"1":[12,4],"2":[1,3],"3":[1],"4":[1],"5":[32,4],"6":[31,1],"7":[30,1],"8":[1,19],"9":[11,9]}}
}

@@ -21,2 +21,6 @@ import { ZlibAdapter } from './adapters/ZlibAdapter';

updateById(id: string, value: IObject): Promise<boolean>;
updateMany(list: IObject[]): Promise<{
total: number;
success: number;
}>;
getById<T>(id: string): Promise<IResult<T> | undefined>;

@@ -23,0 +27,0 @@ removeById(id: string): Promise<void>;

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

"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}};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@commonify/lowdb"),e=require("fs"),i=require("util"),a=require("fflate"),r=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(r),l=o(s),u=o(n);function h(t,e,i,a){var r,s=arguments.length,n=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(s<3?r(n):s>3?r(e,i,n):r(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);a.gunzip(i,((i,r)=>{if(i)return console.error(i),this.errorList.push(i),e(t);const s=a.strFromU8(r);try{const t=JSON.parse(s);return e(t)}catch(i){return console.error(i),this.errorList.push(i),e(t)}}))}else{const r=Buffer.from(JSON.stringify(t));a.gzip(r,(async(a,r)=>{if(a)return i(a);await d.default(this.dbPath,Buffer.from(r)),e(t)}))}}))}async write(t){return new Promise(((e,i)=>{t=Buffer.from(JSON.stringify(t)),a.gzip(t,(async(t,a)=>{if(t)return i(t);await d.default(this.dbPath,Buffer.from(a)),e()}))}))}}var p,w;function b(t){return function(e,i,a){const r=a.value;a.value=async function(...e){t===w.createMany?e=[e=(e=e[0]).map((t=>g(t)))]:t===w.create?e[0]=g(e[0]):t===w.updateMany?e=[e=(e=e[0]).map((t=>m(t)))]:m(e[1]);return await r.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 m(t){return 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",t[t.updateMany=3]="updateMany"}(w||(w={}));class v{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(){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 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 a=i.find((e=>e.id===t))||{};return Object.assign(a,e),await this.db.write(),!0}return!1}async updateMany(t){const e=await this.getCollection();let i=0;for(const a of t)if(a.id){if(await this.getCollectionKey(a.id)){i++;const t=e.find((t=>t.id===a.id))||{};Object.assign(t,a)}}return await this.db.write(),{success:i,total:t.length}}async getById(t){return(await this.getCollection()).find((e=>e.id===t))}async removeById(t){const e=await this.getCollection(),i=await this.getCollectionKeyMap(),a=e.findIndex((e=>e.id===t));-1!==a&&(e.splice(a,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)}}h([b(w.create)],v.prototype,"insert",null),h([b(w.createMany)],v.prototype,"insertMany",null),h([b(w.update)],v.prototype,"updateById",null),h([b(w.updateMany)],v.prototype,"updateMany",null);class C{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 M extends t.LowSync{constructor(){super(...arguments),this.chain=u.default.chain(this).get("data")}}exports.DBStore=v,exports.JSONStore=class{constructor(t){if(this.hasRead=!1,!t)throw Error("Please provide valid dbPath");const e=new C(t);this.db=new M(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=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=

@@ -24,3 +24,4 @@ export declare enum IDBStatus {

create = 1,
update = 2
update = 2,
updateMany = 3
}

@@ -27,0 +28,0 @@ export declare type IResult<T> = T & {

{
"name": "@picgo/store",
"version": "2.0.4",
"version": "2.1.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -165,3 +165,3 @@ # PicGo/store

#### Overwrite `.overwrite()<T>(value: T[])` (v2.0.0)
#### Overwrite `.overwrite<T>(value: T[])` (v2.0.0)

@@ -198,2 +198,29 @@ - return: `Promise<IResult<T>[]>`

#### UpdateMany `.updateMany(list: IObject[])` (v2.1.0)
- return: `Promise<{ total: number, success: number }>`
- interface: [IObject](/src/types/index.ts)
To update many items by id:
```js
async () => {
const result = await db.updateMany([
{
id: 'xxx', // need to have id
imgUrl: 'https://xxxx.jpg'
},
{
id: 'yyy',
imgUrl: 'https://yyyy.jpg'
},
{
imgUrl: 'https://zzzz.jpg'
}
])
console.log(result)
// { total: 3, success: 2 }
}
```
## License

@@ -200,0 +227,0 @@

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc