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

@bufferapp/analyze-png-export

Package Overview
Dependencies
Maintainers
14
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bufferapp/analyze-png-export - npm Package Compare versions

Comparing version 0.43.7 to 0.50.1

14

coverage/coverage-final.json

@@ -1,8 +0,8 @@

{"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/index.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/index.js","statementMap":{"0":{"start":{"line":7,"column":12},"end":{"line":9,"column":3}},"1":{"start":{"line":10,"column":24},"end":{"line":12,"column":3}},"2":{"start":{"line":11,"column":23},"end":{"line":11,"column":68}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":2},"end":{"line":7,"column":3}},"loc":{"start":{"line":7,"column":12},"end":{"line":9,"column":3}},"line":7},"1":{"name":"(anonymous_1)","decl":{"start":{"line":10,"column":2},"end":{"line":10,"column":3}},"loc":{"start":{"line":10,"column":24},"end":{"line":12,"column":3}},"line":10},"2":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":17},"end":{"line":11,"column":18}},"loc":{"start":{"line":11,"column":23},"end":{"line":11,"column":68}},"line":11}},"branchMap":{},"s":{"0":4,"1":2,"2":1},"f":{"0":4,"1":2,"2":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c2e953adbf34fb1c1046433ae2ff3e1c1bc7666b"}
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/middleware.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/middleware.js","statementMap":{"0":{"start":{"line":5,"column":24},"end":{"line":18,"column":1}},"1":{"start":{"line":5,"column":32},"end":{"line":18,"column":1}},"2":{"start":{"line":6,"column":32},"end":{"line":6,"column":48}},"3":{"start":{"line":7,"column":2},"end":{"line":17,"column":3}},"4":{"start":{"line":9,"column":6},"end":{"line":14,"column":11}},"5":{"start":{"line":11,"column":10},"end":{"line":11,"column":47}},"6":{"start":{"line":12,"column":10},"end":{"line":12,"column":51}},"7":{"start":{"line":13,"column":10},"end":{"line":13,"column":23}},"8":{"start":{"line":16,"column":6},"end":{"line":16,"column":26}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":15},"end":{"line":5,"column":16}},"loc":{"start":{"line":5,"column":24},"end":{"line":18,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":24},"end":{"line":5,"column":25}},"loc":{"start":{"line":5,"column":32},"end":{"line":18,"column":1}},"line":5},"2":{"name":"(anonymous_2)","decl":{"start":{"line":5,"column":32},"end":{"line":5,"column":33}},"loc":{"start":{"line":5,"column":44},"end":{"line":18,"column":1}},"line":5},"3":{"name":"(anonymous_3)","decl":{"start":{"line":10,"column":14},"end":{"line":10,"column":15}},"loc":{"start":{"line":10,"column":24},"end":{"line":14,"column":9}},"line":10}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":2},"end":{"line":17,"column":3}},"type":"switch","locations":[{"start":{"line":8,"column":4},"end":{"line":14,"column":11}},{"start":{"line":15,"column":4},"end":{"line":16,"column":26}}],"line":7}},"s":{"0":4,"1":4,"2":4,"3":4,"4":3,"5":3,"6":3,"7":3,"8":1},"f":{"0":4,"1":4,"2":4,"3":3},"b":{"0":[3,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"7259d26843fe48f4c3a53605acabfd92f628eeb4"}
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/reducer.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/reducer.js","statementMap":{"0":{"start":{"line":3,"column":27},"end":{"line":7,"column":2}},"1":{"start":{"line":9,"column":21},"end":{"line":12,"column":1}},"2":{"start":{"line":15,"column":2},"end":{"line":29,"column":3}},"3":{"start":{"line":17,"column":6},"end":{"line":24,"column":8}},"4":{"start":{"line":26,"column":6},"end":{"line":26,"column":26}},"5":{"start":{"line":28,"column":6},"end":{"line":28,"column":19}},"6":{"start":{"line":32,"column":23},"end":{"line":45,"column":1}},"7":{"start":{"line":33,"column":25},"end":{"line":35,"column":3}},"8":{"start":{"line":36,"column":28},"end":{"line":39,"column":3}},"9":{"start":{"line":40,"column":34},"end":{"line":44,"column":3}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":14,"column":15},"end":{"line":14,"column":16}},"loc":{"start":{"line":14,"column":49},"end":{"line":30,"column":1}},"line":14},"1":{"name":"(anonymous_1)","decl":{"start":{"line":33,"column":18},"end":{"line":33,"column":19}},"loc":{"start":{"line":33,"column":25},"end":{"line":35,"column":3}},"line":33},"2":{"name":"(anonymous_2)","decl":{"start":{"line":36,"column":15},"end":{"line":36,"column":16}},"loc":{"start":{"line":36,"column":28},"end":{"line":39,"column":3}},"line":36},"3":{"name":"(anonymous_3)","decl":{"start":{"line":40,"column":15},"end":{"line":40,"column":16}},"loc":{"start":{"line":40,"column":34},"end":{"line":44,"column":3}},"line":40}},"branchMap":{"0":{"loc":{"start":{"line":14,"column":16},"end":{"line":14,"column":36}},"type":"default-arg","locations":[{"start":{"line":14,"column":24},"end":{"line":14,"column":36}}],"line":14},"1":{"loc":{"start":{"line":15,"column":2},"end":{"line":29,"column":3}},"type":"switch","locations":[{"start":{"line":16,"column":4},"end":{"line":24,"column":8}},{"start":{"line":25,"column":4},"end":{"line":26,"column":26}},{"start":{"line":27,"column":4},"end":{"line":28,"column":19}}],"line":15}},"s":{"0":3,"1":3,"2":8,"3":3,"4":2,"5":3,"6":3,"7":5,"8":3,"9":1},"f":{"0":8,"1":5,"2":3,"3":1},"b":{"0":[6],"1":[3,2,3]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"b9914161c1228af191a46eb43c28242a01e2f201"}
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/components/ExportButton/index.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/components/ExportButton/index.jsx","statementMap":{"0":{"start":{"line":8,"column":21},"end":{"line":12,"column":1}},"1":{"start":{"line":9,"column":2},"end":{"line":11,"column":11}},"2":{"start":{"line":14,"column":0},"end":{"line":16,"column":2}},"3":{"start":{"line":18,"column":0},"end":{"line":21,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":21},"end":{"line":8,"column":22}},"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":11}},"line":9}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":24},"end":{"line":10,"column":71}},"type":"cond-expr","locations":[{"start":{"line":10,"column":36},"end":{"line":10,"column":50}},{"start":{"line":10,"column":53},"end":{"line":10,"column":71}}],"line":10}},"s":{"0":2,"1":5,"2":2,"3":2},"f":{"0":5},"b":{"0":[2,3]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"4f168adaa3f19f67059a65e647bff6087b541015"}
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/components/ExportButton/story.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/components/ExportButton/story.jsx","statementMap":{"0":{"start":{"line":7,"column":0},"end":{"line":24,"column":5}},"1":{"start":{"line":10,"column":4},"end":{"line":10,"column":50}},"2":{"start":{"line":13,"column":4},"end":{"line":13,"column":60}},"3":{"start":{"line":16,"column":4},"end":{"line":23,"column":10}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":9,"column":18},"end":{"line":9,"column":19}},"loc":{"start":{"line":10,"column":4},"end":{"line":10,"column":50}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":20},"end":{"line":12,"column":21}},"loc":{"start":{"line":13,"column":4},"end":{"line":13,"column":60}},"line":13},"2":{"name":"(anonymous_2)","decl":{"start":{"line":15,"column":43},"end":{"line":15,"column":44}},"loc":{"start":{"line":16,"column":4},"end":{"line":23,"column":10}},"line":16}},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1},"f":{"0":1,"1":1,"2":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"b7176633f855c4eddc11e239d5d167f5845ad2fd"}
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/lib/downloadAsZip.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/lib/downloadAsZip.js","statementMap":{"0":{"start":{"line":5,"column":14},"end":{"line":5,"column":25}},"1":{"start":{"line":6,"column":20},"end":{"line":6,"column":52}},"2":{"start":{"line":7,"column":2},"end":{"line":7,"column":67}},"3":{"start":{"line":7,"column":24},"end":{"line":7,"column":65}},"4":{"start":{"line":8,"column":2},"end":{"line":10,"column":67}},"5":{"start":{"line":10,"column":21},"end":{"line":10,"column":65}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":15},"end":{"line":4,"column":16}},"loc":{"start":{"line":4,"column":36},"end":{"line":11,"column":1}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":7,"column":16},"end":{"line":7,"column":17}},"loc":{"start":{"line":7,"column":24},"end":{"line":7,"column":65}},"line":7},"2":{"name":"(anonymous_2)","decl":{"start":{"line":10,"column":10},"end":{"line":10,"column":11}},"loc":{"start":{"line":10,"column":21},"end":{"line":10,"column":65}},"line":10}},"branchMap":{},"s":{"0":3,"1":3,"2":3,"3":3,"4":3,"5":3},"f":{"0":3,"1":3,"2":3},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"6344e818bdaae939a3543a79bd392607ec438dd3"}
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/lib/generatePNGFromChart.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/png-export/lib/generatePNGFromChart.js","statementMap":{"0":{"start":{"line":5,"column":27},"end":{"line":8,"column":1}},"1":{"start":{"line":6,"column":18},"end":{"line":6,"column":47}},"2":{"start":{"line":7,"column":2},"end":{"line":7,"column":32}},"3":{"start":{"line":10,"column":28},"end":{"line":17,"column":1}},"4":{"start":{"line":11,"column":33},"end":{"line":11,"column":37}},"5":{"start":{"line":12,"column":25},"end":{"line":12,"column":35}},"6":{"start":{"line":13,"column":29},"end":{"line":13,"column":74}},"7":{"start":{"line":14,"column":27},"end":{"line":14,"column":70}},"8":{"start":{"line":16,"column":2},"end":{"line":16,"column":78}},"9":{"start":{"line":18,"column":20},"end":{"line":29,"column":1}},"10":{"start":{"line":19,"column":15},"end":{"line":19,"column":48}},"11":{"start":{"line":20,"column":2},"end":{"line":20,"column":25}},"12":{"start":{"line":20,"column":13},"end":{"line":20,"column":25}},"13":{"start":{"line":21,"column":2},"end":{"line":28,"column":6}},"14":{"start":{"line":25,"column":21},"end":{"line":28,"column":3}},"15":{"start":{"line":32,"column":2},"end":{"line":34,"column":51}},"16":{"start":{"line":33,"column":29},"end":{"line":33,"column":53}},"17":{"start":{"line":34,"column":18},"end":{"line":34,"column":50}},"18":{"start":{"line":34,"column":37},"end":{"line":34,"column":49}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":27},"end":{"line":5,"column":28}},"loc":{"start":{"line":5,"column":39},"end":{"line":8,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":10,"column":28},"end":{"line":10,"column":29}},"loc":{"start":{"line":10,"column":45},"end":{"line":17,"column":1}},"line":10},"2":{"name":"(anonymous_2)","decl":{"start":{"line":18,"column":20},"end":{"line":18,"column":21}},"loc":{"start":{"line":18,"column":37},"end":{"line":29,"column":1}},"line":18},"3":{"name":"(anonymous_3)","decl":{"start":{"line":25,"column":10},"end":{"line":25,"column":11}},"loc":{"start":{"line":25,"column":21},"end":{"line":28,"column":3}},"line":25},"4":{"name":"(anonymous_4)","decl":{"start":{"line":31,"column":15},"end":{"line":31,"column":16}},"loc":{"start":{"line":32,"column":2},"end":{"line":34,"column":51}},"line":32},"5":{"name":"(anonymous_5)","decl":{"start":{"line":33,"column":20},"end":{"line":33,"column":21}},"loc":{"start":{"line":33,"column":29},"end":{"line":33,"column":53}},"line":33},"6":{"name":"(anonymous_6)","decl":{"start":{"line":34,"column":10},"end":{"line":34,"column":11}},"loc":{"start":{"line":34,"column":18},"end":{"line":34,"column":50}},"line":34},"7":{"name":"(anonymous_7)","decl":{"start":{"line":34,"column":30},"end":{"line":34,"column":31}},"loc":{"start":{"line":34,"column":37},"end":{"line":34,"column":49}},"line":34}},"branchMap":{"0":{"loc":{"start":{"line":20,"column":2},"end":{"line":20,"column":25}},"type":"if","locations":[{"start":{"line":20,"column":2},"end":{"line":20,"column":25}},{"start":{"line":20,"column":2},"end":{"line":20,"column":25}}],"line":20}},"s":{"0":3,"1":11,"2":11,"3":3,"4":11,"5":11,"6":11,"7":11,"8":11,"9":3,"10":12,"11":12,"12":1,"13":11,"14":11,"15":4,"16":12,"17":4,"18":12},"f":{"0":11,"1":11,"2":12,"3":11,"4":4,"5":12,"6":4,"7":12},"b":{"0":[1,11]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"572d6aa17fb0da1aac23257a392f7cb6e9c24405"}
{"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/index.js": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/index.js","statementMap":{"0":{"start":{"line":7,"column":12},"end":{"line":9,"column":3}},"1":{"start":{"line":10,"column":24},"end":{"line":12,"column":3}},"2":{"start":{"line":11,"column":23},"end":{"line":11,"column":68}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":2},"end":{"line":7,"column":3}},"loc":{"start":{"line":7,"column":12},"end":{"line":9,"column":3}},"line":7},"1":{"name":"(anonymous_1)","decl":{"start":{"line":10,"column":2},"end":{"line":10,"column":3}},"loc":{"start":{"line":10,"column":24},"end":{"line":12,"column":3}},"line":10},"2":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":17},"end":{"line":11,"column":18}},"loc":{"start":{"line":11,"column":23},"end":{"line":11,"column":68}},"line":11}},"branchMap":{},"s":{"0":4,"1":2,"2":1},"f":{"0":4,"1":2,"2":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"68e93b01c1a51ba07f82e09aeb9f76b56444ff17"}
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/middleware.js": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/middleware.js","statementMap":{"0":{"start":{"line":5,"column":24},"end":{"line":18,"column":1}},"1":{"start":{"line":5,"column":32},"end":{"line":18,"column":1}},"2":{"start":{"line":6,"column":32},"end":{"line":6,"column":48}},"3":{"start":{"line":7,"column":2},"end":{"line":17,"column":3}},"4":{"start":{"line":9,"column":6},"end":{"line":14,"column":11}},"5":{"start":{"line":11,"column":10},"end":{"line":11,"column":47}},"6":{"start":{"line":12,"column":10},"end":{"line":12,"column":51}},"7":{"start":{"line":13,"column":10},"end":{"line":13,"column":23}},"8":{"start":{"line":16,"column":6},"end":{"line":16,"column":26}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":15},"end":{"line":5,"column":16}},"loc":{"start":{"line":5,"column":24},"end":{"line":18,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":24},"end":{"line":5,"column":25}},"loc":{"start":{"line":5,"column":32},"end":{"line":18,"column":1}},"line":5},"2":{"name":"(anonymous_2)","decl":{"start":{"line":5,"column":32},"end":{"line":5,"column":33}},"loc":{"start":{"line":5,"column":44},"end":{"line":18,"column":1}},"line":5},"3":{"name":"(anonymous_3)","decl":{"start":{"line":10,"column":14},"end":{"line":10,"column":15}},"loc":{"start":{"line":10,"column":24},"end":{"line":14,"column":9}},"line":10}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":2},"end":{"line":17,"column":3}},"type":"switch","locations":[{"start":{"line":8,"column":4},"end":{"line":14,"column":11}},{"start":{"line":15,"column":4},"end":{"line":16,"column":26}}],"line":7}},"s":{"0":4,"1":4,"2":4,"3":4,"4":3,"5":3,"6":3,"7":3,"8":1},"f":{"0":4,"1":4,"2":4,"3":3},"b":{"0":[3,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"026abc95d81cf25d329f13420d254902ca2d13f0"}
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/reducer.js": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/reducer.js","statementMap":{"0":{"start":{"line":3,"column":27},"end":{"line":7,"column":2}},"1":{"start":{"line":9,"column":21},"end":{"line":12,"column":1}},"2":{"start":{"line":15,"column":2},"end":{"line":29,"column":3}},"3":{"start":{"line":17,"column":6},"end":{"line":24,"column":8}},"4":{"start":{"line":26,"column":6},"end":{"line":26,"column":26}},"5":{"start":{"line":28,"column":6},"end":{"line":28,"column":19}},"6":{"start":{"line":32,"column":23},"end":{"line":45,"column":1}},"7":{"start":{"line":33,"column":25},"end":{"line":35,"column":3}},"8":{"start":{"line":36,"column":28},"end":{"line":39,"column":3}},"9":{"start":{"line":40,"column":34},"end":{"line":44,"column":3}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":14,"column":15},"end":{"line":14,"column":16}},"loc":{"start":{"line":14,"column":49},"end":{"line":30,"column":1}},"line":14},"1":{"name":"(anonymous_1)","decl":{"start":{"line":33,"column":18},"end":{"line":33,"column":19}},"loc":{"start":{"line":33,"column":25},"end":{"line":35,"column":3}},"line":33},"2":{"name":"(anonymous_2)","decl":{"start":{"line":36,"column":15},"end":{"line":36,"column":16}},"loc":{"start":{"line":36,"column":28},"end":{"line":39,"column":3}},"line":36},"3":{"name":"(anonymous_3)","decl":{"start":{"line":40,"column":15},"end":{"line":40,"column":16}},"loc":{"start":{"line":40,"column":34},"end":{"line":44,"column":3}},"line":40}},"branchMap":{"0":{"loc":{"start":{"line":14,"column":16},"end":{"line":14,"column":36}},"type":"default-arg","locations":[{"start":{"line":14,"column":24},"end":{"line":14,"column":36}}],"line":14},"1":{"loc":{"start":{"line":15,"column":2},"end":{"line":29,"column":3}},"type":"switch","locations":[{"start":{"line":16,"column":4},"end":{"line":24,"column":8}},{"start":{"line":25,"column":4},"end":{"line":26,"column":26}},{"start":{"line":27,"column":4},"end":{"line":28,"column":19}}],"line":15}},"s":{"0":3,"1":3,"2":8,"3":3,"4":2,"5":3,"6":3,"7":5,"8":3,"9":1},"f":{"0":8,"1":5,"2":3,"3":1},"b":{"0":[6],"1":[3,2,3]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"1f538b216f6c44360f8db30a4840eabff6fe69d2"}
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/components/ExportButton/index.jsx": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/components/ExportButton/index.jsx","statementMap":{"0":{"start":{"line":8,"column":21},"end":{"line":12,"column":1}},"1":{"start":{"line":9,"column":2},"end":{"line":11,"column":11}},"2":{"start":{"line":14,"column":0},"end":{"line":16,"column":2}},"3":{"start":{"line":18,"column":0},"end":{"line":21,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":21},"end":{"line":8,"column":22}},"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":11}},"line":9}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":24},"end":{"line":10,"column":71}},"type":"cond-expr","locations":[{"start":{"line":10,"column":36},"end":{"line":10,"column":50}},{"start":{"line":10,"column":53},"end":{"line":10,"column":71}}],"line":10}},"s":{"0":2,"1":5,"2":2,"3":2},"f":{"0":5},"b":{"0":[2,3]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"9845caac1c64b27c7d169d97b94781735f1d8262"}
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/components/ExportButton/story.jsx": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/components/ExportButton/story.jsx","statementMap":{"0":{"start":{"line":7,"column":0},"end":{"line":24,"column":5}},"1":{"start":{"line":10,"column":4},"end":{"line":10,"column":50}},"2":{"start":{"line":13,"column":4},"end":{"line":13,"column":60}},"3":{"start":{"line":16,"column":4},"end":{"line":23,"column":10}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":9,"column":18},"end":{"line":9,"column":19}},"loc":{"start":{"line":10,"column":4},"end":{"line":10,"column":50}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":20},"end":{"line":12,"column":21}},"loc":{"start":{"line":13,"column":4},"end":{"line":13,"column":60}},"line":13},"2":{"name":"(anonymous_2)","decl":{"start":{"line":15,"column":43},"end":{"line":15,"column":44}},"loc":{"start":{"line":16,"column":4},"end":{"line":23,"column":10}},"line":16}},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1},"f":{"0":1,"1":1,"2":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ba80a4c02539b3d56041f2aca9065d0d331fc131"}
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/lib/downloadAsZip.js": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/lib/downloadAsZip.js","statementMap":{"0":{"start":{"line":5,"column":14},"end":{"line":5,"column":25}},"1":{"start":{"line":6,"column":20},"end":{"line":6,"column":52}},"2":{"start":{"line":7,"column":2},"end":{"line":7,"column":67}},"3":{"start":{"line":7,"column":24},"end":{"line":7,"column":65}},"4":{"start":{"line":8,"column":2},"end":{"line":10,"column":67}},"5":{"start":{"line":10,"column":21},"end":{"line":10,"column":65}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":15},"end":{"line":4,"column":16}},"loc":{"start":{"line":4,"column":36},"end":{"line":11,"column":1}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":7,"column":16},"end":{"line":7,"column":17}},"loc":{"start":{"line":7,"column":24},"end":{"line":7,"column":65}},"line":7},"2":{"name":"(anonymous_2)","decl":{"start":{"line":10,"column":10},"end":{"line":10,"column":11}},"loc":{"start":{"line":10,"column":21},"end":{"line":10,"column":65}},"line":10}},"branchMap":{},"s":{"0":3,"1":3,"2":3,"3":3,"4":3,"5":3},"f":{"0":3,"1":3,"2":3},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"64ceced78e55a0949147b24e93f0e7933468ac04"}
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/lib/generatePNGFromChart.js": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/png-export/lib/generatePNGFromChart.js","statementMap":{"0":{"start":{"line":5,"column":27},"end":{"line":8,"column":1}},"1":{"start":{"line":6,"column":18},"end":{"line":6,"column":47}},"2":{"start":{"line":7,"column":2},"end":{"line":7,"column":32}},"3":{"start":{"line":10,"column":28},"end":{"line":17,"column":1}},"4":{"start":{"line":11,"column":33},"end":{"line":11,"column":37}},"5":{"start":{"line":12,"column":25},"end":{"line":12,"column":35}},"6":{"start":{"line":13,"column":29},"end":{"line":13,"column":74}},"7":{"start":{"line":14,"column":27},"end":{"line":14,"column":70}},"8":{"start":{"line":16,"column":2},"end":{"line":16,"column":78}},"9":{"start":{"line":18,"column":20},"end":{"line":29,"column":1}},"10":{"start":{"line":19,"column":15},"end":{"line":19,"column":48}},"11":{"start":{"line":20,"column":2},"end":{"line":20,"column":25}},"12":{"start":{"line":20,"column":13},"end":{"line":20,"column":25}},"13":{"start":{"line":21,"column":2},"end":{"line":28,"column":6}},"14":{"start":{"line":25,"column":21},"end":{"line":28,"column":3}},"15":{"start":{"line":32,"column":2},"end":{"line":34,"column":51}},"16":{"start":{"line":33,"column":29},"end":{"line":33,"column":53}},"17":{"start":{"line":34,"column":18},"end":{"line":34,"column":50}},"18":{"start":{"line":34,"column":37},"end":{"line":34,"column":49}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":27},"end":{"line":5,"column":28}},"loc":{"start":{"line":5,"column":39},"end":{"line":8,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":10,"column":28},"end":{"line":10,"column":29}},"loc":{"start":{"line":10,"column":45},"end":{"line":17,"column":1}},"line":10},"2":{"name":"(anonymous_2)","decl":{"start":{"line":18,"column":20},"end":{"line":18,"column":21}},"loc":{"start":{"line":18,"column":37},"end":{"line":29,"column":1}},"line":18},"3":{"name":"(anonymous_3)","decl":{"start":{"line":25,"column":10},"end":{"line":25,"column":11}},"loc":{"start":{"line":25,"column":21},"end":{"line":28,"column":3}},"line":25},"4":{"name":"(anonymous_4)","decl":{"start":{"line":31,"column":15},"end":{"line":31,"column":16}},"loc":{"start":{"line":32,"column":2},"end":{"line":34,"column":51}},"line":32},"5":{"name":"(anonymous_5)","decl":{"start":{"line":33,"column":20},"end":{"line":33,"column":21}},"loc":{"start":{"line":33,"column":29},"end":{"line":33,"column":53}},"line":33},"6":{"name":"(anonymous_6)","decl":{"start":{"line":34,"column":10},"end":{"line":34,"column":11}},"loc":{"start":{"line":34,"column":18},"end":{"line":34,"column":50}},"line":34},"7":{"name":"(anonymous_7)","decl":{"start":{"line":34,"column":30},"end":{"line":34,"column":31}},"loc":{"start":{"line":34,"column":37},"end":{"line":34,"column":49}},"line":34}},"branchMap":{"0":{"loc":{"start":{"line":20,"column":2},"end":{"line":20,"column":25}},"type":"if","locations":[{"start":{"line":20,"column":2},"end":{"line":20,"column":25}},{"start":{"line":20,"column":2},"end":{"line":20,"column":25}}],"line":20}},"s":{"0":3,"1":11,"2":11,"3":3,"4":11,"5":11,"6":11,"7":11,"8":11,"9":3,"10":12,"11":12,"12":1,"13":11,"14":11,"15":4,"16":12,"17":4,"18":12},"f":{"0":11,"1":11,"2":12,"3":11,"4":4,"5":12,"6":4,"7":12},"b":{"0":[1,11]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"5c4d3ef2f9e2bfe7a61fa3f3952cd2d94cac5c2f"}
}

@@ -13,4 +13,4 @@ import html2canvas from 'html2canvas';

const fileDateFormat = 'YYYYMMDD';
const startDateFormatted = moment.unix(startDate).format(fileDateFormat);
const endDateFormatted = moment.unix(endDate).format(fileDateFormat);
const startDateFormatted = moment(startDate, 'MM/DD/YYYY').format(fileDateFormat);
const endDateFormatted = moment(endDate, 'MM/DD/YYYY').format(fileDateFormat);

@@ -17,0 +17,0 @@ return `${chart.filename}-${startDateFormatted}-to-${endDateFormatted}.png`;

/* eslint-disable import/first */
import moment from 'moment';
import generatePNGFromChart from './generatePNGFromChart';

@@ -12,4 +11,4 @@

const date = {
startDate: moment('20170707', 'YYYYMMDD').unix(),
endDate: moment('20170715', 'YYYYMMDD').unix(),
startDate: '07/07/2017',
endDate: '07/15/2017',
};

@@ -16,0 +15,0 @@

{
"name": "@bufferapp/analyze-png-export",
"version": "0.43.7",
"version": "0.50.1",
"description": "PNG export button",

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

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