@bufferapp/nav-sidebar
Advanced tools
Comparing version 0.7.1 to 0.8.1
@@ -29,3 +29,3 @@ import React from 'react'; | ||
{ twitterProfile && <Item profileService="twitter" profileId={twitterProfile.id} href={`/insights/twitter/${twitterProfile.id}/${tabId}`} {...props}>Twitter</Item>} | ||
{ instagramProfile && <Item profileService="instagran" profileId={instagramProfile.id} href={`/insights/instagram/${instagramProfile.id}/${tabId}`} {...props}>Instagram</Item>} | ||
{ instagramProfile && <Item profileService="instagram" profileId={instagramProfile.id} href={`/insights/instagram/${instagramProfile.id}/${tabId}`} {...props}>Instagram</Item>} | ||
<Divider marginTop="0.75rem" marginBottom="1rem" /> | ||
@@ -32,0 +32,0 @@ </div> |
@@ -1,8 +0,8 @@ | ||
{"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/index.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/index.js","statementMap":{"0":{"start":{"line":7,"column":12},"end":{"line":9,"column":3}},"1":{"start":{"line":10,"column":15},"end":{"line":15,"column":3}},"2":{"start":{"line":12,"column":6},"end":{"line":12,"column":27}},"3":{"start":{"line":13,"column":6},"end":{"line":13,"column":73}}},"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":15},"end":{"line":15,"column":3}},"line":10},"2":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":13},"end":{"line":11,"column":14}},"loc":{"start":{"line":11,"column":50},"end":{"line":14,"column":5}},"line":11}},"branchMap":{},"s":{"0":6,"1":3,"2":1,"3":1},"f":{"0":6,"1":3,"2":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f7c148b6000b8deea9f084b332a4f3025eda14dc"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/middleware.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/middleware.js","statementMap":{"0":{"start":{"line":6,"column":28},"end":{"line":6,"column":59}},"1":{"start":{"line":7,"column":27},"end":{"line":7,"column":43}},"2":{"start":{"line":8,"column":40},"end":{"line":23,"column":1}},"3":{"start":{"line":9,"column":23},"end":{"line":9,"column":53}},"4":{"start":{"line":10,"column":21},"end":{"line":10,"column":60}},"5":{"start":{"line":12,"column":2},"end":{"line":21,"column":3}},"6":{"start":{"line":17,"column":8},"end":{"line":17,"column":18}},"7":{"start":{"line":18,"column":4},"end":{"line":18,"column":32}},"8":{"start":{"line":20,"column":4},"end":{"line":20,"column":17}},"9":{"start":{"line":22,"column":2},"end":{"line":22,"column":14}},"10":{"start":{"line":25,"column":23},"end":{"line":37,"column":1}},"11":{"start":{"line":31,"column":6},"end":{"line":31,"column":37}},"12":{"start":{"line":32,"column":2},"end":{"line":36,"column":4}},"13":{"start":{"line":40,"column":24},"end":{"line":43,"column":1}},"14":{"start":{"line":41,"column":33},"end":{"line":41,"column":79}},"15":{"start":{"line":42,"column":2},"end":{"line":42,"column":51}},"16":{"start":{"line":45,"column":43},"end":{"line":65,"column":1}},"17":{"start":{"line":45,"column":51},"end":{"line":65,"column":1}},"18":{"start":{"line":46,"column":2},"end":{"line":63,"column":3}},"19":{"start":{"line":48,"column":6},"end":{"line":50,"column":7}},"20":{"start":{"line":49,"column":8},"end":{"line":49,"column":96}},"21":{"start":{"line":51,"column":6},"end":{"line":51,"column":12}},"22":{"start":{"line":53,"column":6},"end":{"line":53,"column":61}},"23":{"start":{"line":54,"column":6},"end":{"line":54,"column":12}},"24":{"start":{"line":57,"column":6},"end":{"line":59,"column":7}},"25":{"start":{"line":58,"column":8},"end":{"line":58,"column":97}},"26":{"start":{"line":60,"column":6},"end":{"line":60,"column":12}},"27":{"start":{"line":62,"column":6},"end":{"line":62,"column":12}},"28":{"start":{"line":64,"column":2},"end":{"line":64,"column":22}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":40},"end":{"line":8,"column":41}},"loc":{"start":{"line":8,"column":51},"end":{"line":23,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":25,"column":23},"end":{"line":25,"column":24}},"loc":{"start":{"line":25,"column":33},"end":{"line":37,"column":1}},"line":25},"2":{"name":"(anonymous_2)","decl":{"start":{"line":40,"column":24},"end":{"line":40,"column":25}},"loc":{"start":{"line":40,"column":39},"end":{"line":43,"column":1}},"line":40},"3":{"name":"(anonymous_3)","decl":{"start":{"line":45,"column":15},"end":{"line":45,"column":16}},"loc":{"start":{"line":45,"column":43},"end":{"line":65,"column":1}},"line":45},"4":{"name":"(anonymous_4)","decl":{"start":{"line":45,"column":43},"end":{"line":45,"column":44}},"loc":{"start":{"line":45,"column":51},"end":{"line":65,"column":1}},"line":45},"5":{"name":"(anonymous_5)","decl":{"start":{"line":45,"column":51},"end":{"line":45,"column":52}},"loc":{"start":{"line":45,"column":63},"end":{"line":65,"column":1}},"line":45}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":2},"end":{"line":21,"column":3}},"type":"if","locations":[{"start":{"line":12,"column":2},"end":{"line":21,"column":3}},{"start":{"line":12,"column":2},"end":{"line":21,"column":3}}],"line":12},"1":{"loc":{"start":{"line":46,"column":2},"end":{"line":63,"column":3}},"type":"switch","locations":[{"start":{"line":47,"column":4},"end":{"line":51,"column":12}},{"start":{"line":52,"column":4},"end":{"line":54,"column":12}},{"start":{"line":56,"column":4},"end":{"line":60,"column":12}},{"start":{"line":61,"column":4},"end":{"line":62,"column":12}}],"line":46},"2":{"loc":{"start":{"line":48,"column":6},"end":{"line":50,"column":7}},"type":"if","locations":[{"start":{"line":48,"column":6},"end":{"line":50,"column":7}},{"start":{"line":48,"column":6},"end":{"line":50,"column":7}}],"line":48},"3":{"loc":{"start":{"line":57,"column":6},"end":{"line":59,"column":7}},"type":"if","locations":[{"start":{"line":57,"column":6},"end":{"line":59,"column":7}},{"start":{"line":57,"column":6},"end":{"line":59,"column":7}}],"line":57}},"s":{"0":2,"1":2,"2":2,"3":3,"4":3,"5":3,"6":2,"7":2,"8":1,"9":3,"10":2,"11":1,"12":1,"13":2,"14":1,"15":1,"16":5,"17":5,"18":5,"19":2,"20":1,"21":2,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":5},"f":{"0":3,"1":1,"2":1,"3":5,"4":5,"5":5},"b":{"0":[2,1],"1":[2,1,1,1],"2":[1,1],"3":[1,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"dcaf820d9c0fd7465edb6ecc851c57f81513001a"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/reducer.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/reducer.js","statementMap":{"0":{"start":{"line":3,"column":21},"end":{"line":5,"column":1}},"1":{"start":{"line":8,"column":2},"end":{"line":15,"column":3}},"2":{"start":{"line":10,"column":6},"end":{"line":12,"column":8}},"3":{"start":{"line":14,"column":6},"end":{"line":14,"column":19}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":15},"end":{"line":7,"column":16}},"loc":{"start":{"line":7,"column":49},"end":{"line":16,"column":1}},"line":7}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":16},"end":{"line":7,"column":36}},"type":"default-arg","locations":[{"start":{"line":7,"column":24},"end":{"line":7,"column":36}}],"line":7},"1":{"loc":{"start":{"line":8,"column":2},"end":{"line":15,"column":3}},"type":"switch","locations":[{"start":{"line":9,"column":4},"end":{"line":12,"column":8}},{"start":{"line":13,"column":4},"end":{"line":14,"column":19}}],"line":8}},"s":{"0":2,"1":2,"2":1,"3":1},"f":{"0":2},"b":{"0":[2],"1":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"9c5cafa1df4aed5359ebe2918e1b15aa880e42f8"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Insights.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Insights.jsx","statementMap":{"0":{"start":{"line":11,"column":34},"end":{"line":13,"column":1}},"1":{"start":{"line":12,"column":2},"end":{"line":12,"column":55}},"2":{"start":{"line":12,"column":27},"end":{"line":12,"column":54}},"3":{"start":{"line":15,"column":17},"end":{"line":33,"column":1}},"4":{"start":{"line":16,"column":16},"end":{"line":16,"column":27}},"5":{"start":{"line":17,"column":26},"end":{"line":17,"column":73}},"6":{"start":{"line":18,"column":25},"end":{"line":18,"column":71}},"7":{"start":{"line":19,"column":27},"end":{"line":19,"column":75}},"8":{"start":{"line":20,"column":29},"end":{"line":20,"column":82}},"9":{"start":{"line":21,"column":2},"end":{"line":23,"column":3}},"10":{"start":{"line":22,"column":4},"end":{"line":22,"column":16}},"11":{"start":{"line":24,"column":2},"end":{"line":32,"column":4}},"12":{"start":{"line":35,"column":0},"end":{"line":40,"column":2}},"13":{"start":{"line":42,"column":0},"end":{"line":44,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":34},"end":{"line":11,"column":35}},"loc":{"start":{"line":12,"column":2},"end":{"line":12,"column":55}},"line":12},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":16},"end":{"line":12,"column":17}},"loc":{"start":{"line":12,"column":27},"end":{"line":12,"column":54}},"line":12},"2":{"name":"(anonymous_2)","decl":{"start":{"line":15,"column":17},"end":{"line":15,"column":18}},"loc":{"start":{"line":15,"column":45},"end":{"line":33,"column":1}},"line":15}},"branchMap":{"0":{"loc":{"start":{"line":20,"column":29},"end":{"line":20,"column":82}},"type":"binary-expr","locations":[{"start":{"line":20,"column":29},"end":{"line":20,"column":44}},{"start":{"line":20,"column":48},"end":{"line":20,"column":62}},{"start":{"line":20,"column":66},"end":{"line":20,"column":82}}],"line":20},"1":{"loc":{"start":{"line":21,"column":2},"end":{"line":23,"column":3}},"type":"if","locations":[{"start":{"line":21,"column":2},"end":{"line":23,"column":3}},{"start":{"line":21,"column":2},"end":{"line":23,"column":3}}],"line":21},"2":{"loc":{"start":{"line":27,"column":8},"end":{"line":27,"column":175}},"type":"binary-expr","locations":[{"start":{"line":27,"column":8},"end":{"line":27,"column":23}},{"start":{"line":27,"column":27},"end":{"line":27,"column":175}}],"line":27},"3":{"loc":{"start":{"line":28,"column":8},"end":{"line":28,"column":169}},"type":"binary-expr","locations":[{"start":{"line":28,"column":8},"end":{"line":28,"column":22}},{"start":{"line":28,"column":26},"end":{"line":28,"column":169}}],"line":28},"4":{"loc":{"start":{"line":29,"column":8},"end":{"line":29,"column":181}},"type":"binary-expr","locations":[{"start":{"line":29,"column":8},"end":{"line":29,"column":24}},{"start":{"line":29,"column":28},"end":{"line":29,"column":181}}],"line":29}},"s":{"0":1,"1":6,"2":6,"3":1,"4":2,"5":2,"6":2,"7":2,"8":2,"9":2,"10":1,"11":1,"12":1,"13":1},"f":{"0":6,"1":6,"2":2},"b":{"0":[2,1,1],"1":[1,1],"2":[1,1],"3":[1,1],"4":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"fc464be4bec130023ec0c28361dbdf3d95fc029f"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Item.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Item.jsx","statementMap":{"0":{"start":{"line":17,"column":13},"end":{"line":48,"column":1}},"1":{"start":{"line":18,"column":17},"end":{"line":18,"column":69}},"2":{"start":{"line":19,"column":16},"end":{"line":31,"column":4}},"3":{"start":{"line":32,"column":2},"end":{"line":47,"column":4}},"4":{"start":{"line":37,"column":8},"end":{"line":37,"column":27}},"5":{"start":{"line":38,"column":8},"end":{"line":40,"column":9}},"6":{"start":{"line":39,"column":10},"end":{"line":39,"column":51}},"7":{"start":{"line":50,"column":0},"end":{"line":57,"column":2}},"8":{"start":{"line":59,"column":0},"end":{"line":63,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":17,"column":13},"end":{"line":17,"column":14}},"loc":{"start":{"line":17,"column":80},"end":{"line":48,"column":1}},"line":17},"1":{"name":"(anonymous_1)","decl":{"start":{"line":36,"column":15},"end":{"line":36,"column":16}},"loc":{"start":{"line":36,"column":22},"end":{"line":41,"column":7}},"line":36}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":17},"end":{"line":18,"column":69}},"type":"cond-expr","locations":[{"start":{"line":18,"column":32},"end":{"line":18,"column":46}},{"start":{"line":18,"column":49},"end":{"line":18,"column":69}}],"line":18},"1":{"loc":{"start":{"line":38,"column":8},"end":{"line":40,"column":9}},"type":"if","locations":[{"start":{"line":38,"column":8},"end":{"line":40,"column":9}},{"start":{"line":38,"column":8},"end":{"line":40,"column":9}}],"line":38},"2":{"loc":{"start":{"line":44,"column":42},"end":{"line":44,"column":64}},"type":"cond-expr","locations":[{"start":{"line":44,"column":51},"end":{"line":44,"column":57}},{"start":{"line":44,"column":60},"end":{"line":44,"column":64}}],"line":44}},"s":{"0":1,"1":9,"2":9,"3":9,"4":0,"5":0,"6":0,"7":1,"8":1},"f":{"0":9,"1":0},"b":{"0":[2,7],"1":[0,0],"2":[2,7]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f52604c235701d2171b1ca0f4aa146d3800b9d79"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Label.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Label.jsx","statementMap":{"0":{"start":{"line":6,"column":19},"end":{"line":12,"column":1}},"1":{"start":{"line":14,"column":14},"end":{"line":18,"column":1}},"2":{"start":{"line":15,"column":2},"end":{"line":17,"column":9}},"3":{"start":{"line":20,"column":0},"end":{"line":22,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":14,"column":14},"end":{"line":14,"column":15}},"loc":{"start":{"line":15,"column":2},"end":{"line":17,"column":9}},"line":15}},"branchMap":{},"s":{"0":1,"1":1,"2":3,"3":1},"f":{"0":3},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"9e1cbc05ce58ce1289a43d389cabe7dd9de64dbc"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/NavSidebar.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/NavSidebar.jsx","statementMap":{"0":{"start":{"line":17,"column":21},"end":{"line":26,"column":1}},"1":{"start":{"line":28,"column":19},"end":{"line":37,"column":1}},"2":{"start":{"line":29,"column":2},"end":{"line":36,"column":8}},"3":{"start":{"line":39,"column":0},"end":{"line":43,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":28,"column":19},"end":{"line":28,"column":20}},"loc":{"start":{"line":29,"column":2},"end":{"line":36,"column":8}},"line":29}},"branchMap":{},"s":{"0":1,"1":1,"2":2,"3":1},"f":{"0":2},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"a1ff4f9e4113b5b4eadc640666ab654d15b87758"} | ||
{"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/index.js": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/index.js","statementMap":{"0":{"start":{"line":7,"column":12},"end":{"line":9,"column":3}},"1":{"start":{"line":10,"column":15},"end":{"line":15,"column":3}},"2":{"start":{"line":12,"column":6},"end":{"line":12,"column":27}},"3":{"start":{"line":13,"column":6},"end":{"line":13,"column":73}}},"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":15},"end":{"line":15,"column":3}},"line":10},"2":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":13},"end":{"line":11,"column":14}},"loc":{"start":{"line":11,"column":50},"end":{"line":14,"column":5}},"line":11}},"branchMap":{},"s":{"0":6,"1":3,"2":1,"3":1},"f":{"0":6,"1":3,"2":1},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f848db09af351e538918952b7e297a344520d92b"} | ||
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/middleware.js": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/middleware.js","statementMap":{"0":{"start":{"line":6,"column":28},"end":{"line":6,"column":59}},"1":{"start":{"line":7,"column":27},"end":{"line":7,"column":43}},"2":{"start":{"line":8,"column":40},"end":{"line":23,"column":1}},"3":{"start":{"line":9,"column":23},"end":{"line":9,"column":53}},"4":{"start":{"line":10,"column":21},"end":{"line":10,"column":60}},"5":{"start":{"line":12,"column":2},"end":{"line":21,"column":3}},"6":{"start":{"line":17,"column":8},"end":{"line":17,"column":18}},"7":{"start":{"line":18,"column":4},"end":{"line":18,"column":32}},"8":{"start":{"line":20,"column":4},"end":{"line":20,"column":17}},"9":{"start":{"line":22,"column":2},"end":{"line":22,"column":14}},"10":{"start":{"line":25,"column":23},"end":{"line":37,"column":1}},"11":{"start":{"line":31,"column":6},"end":{"line":31,"column":37}},"12":{"start":{"line":32,"column":2},"end":{"line":36,"column":4}},"13":{"start":{"line":40,"column":24},"end":{"line":43,"column":1}},"14":{"start":{"line":41,"column":33},"end":{"line":41,"column":79}},"15":{"start":{"line":42,"column":2},"end":{"line":42,"column":51}},"16":{"start":{"line":45,"column":43},"end":{"line":65,"column":1}},"17":{"start":{"line":45,"column":51},"end":{"line":65,"column":1}},"18":{"start":{"line":46,"column":2},"end":{"line":63,"column":3}},"19":{"start":{"line":48,"column":6},"end":{"line":50,"column":7}},"20":{"start":{"line":49,"column":8},"end":{"line":49,"column":96}},"21":{"start":{"line":51,"column":6},"end":{"line":51,"column":12}},"22":{"start":{"line":53,"column":6},"end":{"line":53,"column":61}},"23":{"start":{"line":54,"column":6},"end":{"line":54,"column":12}},"24":{"start":{"line":57,"column":6},"end":{"line":59,"column":7}},"25":{"start":{"line":58,"column":8},"end":{"line":58,"column":97}},"26":{"start":{"line":60,"column":6},"end":{"line":60,"column":12}},"27":{"start":{"line":62,"column":6},"end":{"line":62,"column":12}},"28":{"start":{"line":64,"column":2},"end":{"line":64,"column":22}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":40},"end":{"line":8,"column":41}},"loc":{"start":{"line":8,"column":51},"end":{"line":23,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":25,"column":23},"end":{"line":25,"column":24}},"loc":{"start":{"line":25,"column":33},"end":{"line":37,"column":1}},"line":25},"2":{"name":"(anonymous_2)","decl":{"start":{"line":40,"column":24},"end":{"line":40,"column":25}},"loc":{"start":{"line":40,"column":39},"end":{"line":43,"column":1}},"line":40},"3":{"name":"(anonymous_3)","decl":{"start":{"line":45,"column":15},"end":{"line":45,"column":16}},"loc":{"start":{"line":45,"column":43},"end":{"line":65,"column":1}},"line":45},"4":{"name":"(anonymous_4)","decl":{"start":{"line":45,"column":43},"end":{"line":45,"column":44}},"loc":{"start":{"line":45,"column":51},"end":{"line":65,"column":1}},"line":45},"5":{"name":"(anonymous_5)","decl":{"start":{"line":45,"column":51},"end":{"line":45,"column":52}},"loc":{"start":{"line":45,"column":63},"end":{"line":65,"column":1}},"line":45}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":2},"end":{"line":21,"column":3}},"type":"if","locations":[{"start":{"line":12,"column":2},"end":{"line":21,"column":3}},{"start":{"line":12,"column":2},"end":{"line":21,"column":3}}],"line":12},"1":{"loc":{"start":{"line":46,"column":2},"end":{"line":63,"column":3}},"type":"switch","locations":[{"start":{"line":47,"column":4},"end":{"line":51,"column":12}},{"start":{"line":52,"column":4},"end":{"line":54,"column":12}},{"start":{"line":56,"column":4},"end":{"line":60,"column":12}},{"start":{"line":61,"column":4},"end":{"line":62,"column":12}}],"line":46},"2":{"loc":{"start":{"line":48,"column":6},"end":{"line":50,"column":7}},"type":"if","locations":[{"start":{"line":48,"column":6},"end":{"line":50,"column":7}},{"start":{"line":48,"column":6},"end":{"line":50,"column":7}}],"line":48},"3":{"loc":{"start":{"line":57,"column":6},"end":{"line":59,"column":7}},"type":"if","locations":[{"start":{"line":57,"column":6},"end":{"line":59,"column":7}},{"start":{"line":57,"column":6},"end":{"line":59,"column":7}}],"line":57}},"s":{"0":2,"1":2,"2":2,"3":3,"4":3,"5":3,"6":2,"7":2,"8":1,"9":3,"10":2,"11":1,"12":1,"13":2,"14":1,"15":1,"16":5,"17":5,"18":5,"19":2,"20":1,"21":2,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":5},"f":{"0":3,"1":1,"2":1,"3":5,"4":5,"5":5},"b":{"0":[2,1],"1":[2,1,1,1],"2":[1,1],"3":[1,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c220ab89e65939311f665b7233fecca3da707a0d"} | ||
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/reducer.js": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/reducer.js","statementMap":{"0":{"start":{"line":3,"column":21},"end":{"line":5,"column":1}},"1":{"start":{"line":8,"column":2},"end":{"line":15,"column":3}},"2":{"start":{"line":10,"column":6},"end":{"line":12,"column":8}},"3":{"start":{"line":14,"column":6},"end":{"line":14,"column":19}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":15},"end":{"line":7,"column":16}},"loc":{"start":{"line":7,"column":49},"end":{"line":16,"column":1}},"line":7}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":16},"end":{"line":7,"column":36}},"type":"default-arg","locations":[{"start":{"line":7,"column":24},"end":{"line":7,"column":36}}],"line":7},"1":{"loc":{"start":{"line":8,"column":2},"end":{"line":15,"column":3}},"type":"switch","locations":[{"start":{"line":9,"column":4},"end":{"line":12,"column":8}},{"start":{"line":13,"column":4},"end":{"line":14,"column":19}}],"line":8}},"s":{"0":2,"1":2,"2":1,"3":1},"f":{"0":2},"b":{"0":[2],"1":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"58be21b0bde7e28adc14fd03a4870662890315a6"} | ||
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Insights.jsx": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Insights.jsx","statementMap":{"0":{"start":{"line":11,"column":34},"end":{"line":13,"column":1}},"1":{"start":{"line":12,"column":2},"end":{"line":12,"column":55}},"2":{"start":{"line":12,"column":27},"end":{"line":12,"column":54}},"3":{"start":{"line":15,"column":17},"end":{"line":33,"column":1}},"4":{"start":{"line":16,"column":16},"end":{"line":16,"column":27}},"5":{"start":{"line":17,"column":26},"end":{"line":17,"column":73}},"6":{"start":{"line":18,"column":25},"end":{"line":18,"column":71}},"7":{"start":{"line":19,"column":27},"end":{"line":19,"column":75}},"8":{"start":{"line":20,"column":29},"end":{"line":20,"column":82}},"9":{"start":{"line":21,"column":2},"end":{"line":23,"column":3}},"10":{"start":{"line":22,"column":4},"end":{"line":22,"column":16}},"11":{"start":{"line":24,"column":2},"end":{"line":32,"column":4}},"12":{"start":{"line":35,"column":0},"end":{"line":40,"column":2}},"13":{"start":{"line":42,"column":0},"end":{"line":44,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":34},"end":{"line":11,"column":35}},"loc":{"start":{"line":12,"column":2},"end":{"line":12,"column":55}},"line":12},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":16},"end":{"line":12,"column":17}},"loc":{"start":{"line":12,"column":27},"end":{"line":12,"column":54}},"line":12},"2":{"name":"(anonymous_2)","decl":{"start":{"line":15,"column":17},"end":{"line":15,"column":18}},"loc":{"start":{"line":15,"column":45},"end":{"line":33,"column":1}},"line":15}},"branchMap":{"0":{"loc":{"start":{"line":20,"column":29},"end":{"line":20,"column":82}},"type":"binary-expr","locations":[{"start":{"line":20,"column":29},"end":{"line":20,"column":44}},{"start":{"line":20,"column":48},"end":{"line":20,"column":62}},{"start":{"line":20,"column":66},"end":{"line":20,"column":82}}],"line":20},"1":{"loc":{"start":{"line":21,"column":2},"end":{"line":23,"column":3}},"type":"if","locations":[{"start":{"line":21,"column":2},"end":{"line":23,"column":3}},{"start":{"line":21,"column":2},"end":{"line":23,"column":3}}],"line":21},"2":{"loc":{"start":{"line":27,"column":8},"end":{"line":27,"column":175}},"type":"binary-expr","locations":[{"start":{"line":27,"column":8},"end":{"line":27,"column":23}},{"start":{"line":27,"column":27},"end":{"line":27,"column":175}}],"line":27},"3":{"loc":{"start":{"line":28,"column":8},"end":{"line":28,"column":169}},"type":"binary-expr","locations":[{"start":{"line":28,"column":8},"end":{"line":28,"column":22}},{"start":{"line":28,"column":26},"end":{"line":28,"column":169}}],"line":28},"4":{"loc":{"start":{"line":29,"column":8},"end":{"line":29,"column":181}},"type":"binary-expr","locations":[{"start":{"line":29,"column":8},"end":{"line":29,"column":24}},{"start":{"line":29,"column":28},"end":{"line":29,"column":181}}],"line":29}},"s":{"0":1,"1":6,"2":6,"3":1,"4":2,"5":2,"6":2,"7":2,"8":2,"9":2,"10":1,"11":1,"12":1,"13":1},"f":{"0":6,"1":6,"2":2},"b":{"0":[2,1,1],"1":[1,1],"2":[1,1],"3":[1,1],"4":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"b00c23b88be72b646463d6ca0bd703b1872d79cc"} | ||
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Item.jsx": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Item.jsx","statementMap":{"0":{"start":{"line":17,"column":13},"end":{"line":48,"column":1}},"1":{"start":{"line":18,"column":17},"end":{"line":18,"column":69}},"2":{"start":{"line":19,"column":16},"end":{"line":31,"column":4}},"3":{"start":{"line":32,"column":2},"end":{"line":47,"column":4}},"4":{"start":{"line":37,"column":8},"end":{"line":37,"column":27}},"5":{"start":{"line":38,"column":8},"end":{"line":40,"column":9}},"6":{"start":{"line":39,"column":10},"end":{"line":39,"column":51}},"7":{"start":{"line":50,"column":0},"end":{"line":57,"column":2}},"8":{"start":{"line":59,"column":0},"end":{"line":63,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":17,"column":13},"end":{"line":17,"column":14}},"loc":{"start":{"line":17,"column":80},"end":{"line":48,"column":1}},"line":17},"1":{"name":"(anonymous_1)","decl":{"start":{"line":36,"column":15},"end":{"line":36,"column":16}},"loc":{"start":{"line":36,"column":22},"end":{"line":41,"column":7}},"line":36}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":17},"end":{"line":18,"column":69}},"type":"cond-expr","locations":[{"start":{"line":18,"column":32},"end":{"line":18,"column":46}},{"start":{"line":18,"column":49},"end":{"line":18,"column":69}}],"line":18},"1":{"loc":{"start":{"line":38,"column":8},"end":{"line":40,"column":9}},"type":"if","locations":[{"start":{"line":38,"column":8},"end":{"line":40,"column":9}},{"start":{"line":38,"column":8},"end":{"line":40,"column":9}}],"line":38},"2":{"loc":{"start":{"line":44,"column":42},"end":{"line":44,"column":64}},"type":"cond-expr","locations":[{"start":{"line":44,"column":51},"end":{"line":44,"column":57}},{"start":{"line":44,"column":60},"end":{"line":44,"column":64}}],"line":44}},"s":{"0":1,"1":9,"2":9,"3":9,"4":0,"5":0,"6":0,"7":1,"8":1},"f":{"0":9,"1":0},"b":{"0":[2,7],"1":[0,0],"2":[2,7]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c3b20c7a879651cff813622867fc0c84367073df"} | ||
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Label.jsx": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/Label.jsx","statementMap":{"0":{"start":{"line":6,"column":19},"end":{"line":12,"column":1}},"1":{"start":{"line":14,"column":14},"end":{"line":18,"column":1}},"2":{"start":{"line":15,"column":2},"end":{"line":17,"column":9}},"3":{"start":{"line":20,"column":0},"end":{"line":22,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":14,"column":14},"end":{"line":14,"column":15}},"loc":{"start":{"line":15,"column":2},"end":{"line":17,"column":9}},"line":15}},"branchMap":{},"s":{"0":1,"1":1,"2":3,"3":1},"f":{"0":3},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"520ddcfe8665315d297a1c260d764c089380dc59"} | ||
,"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/NavSidebar.jsx": {"path":"/home/fwd/Projects/Buffer/buffer-dev/buffer-analyze/packages/nav-sidebar/components/NavSidebar.jsx","statementMap":{"0":{"start":{"line":17,"column":21},"end":{"line":27,"column":1}},"1":{"start":{"line":29,"column":19},"end":{"line":38,"column":1}},"2":{"start":{"line":30,"column":2},"end":{"line":37,"column":8}},"3":{"start":{"line":40,"column":0},"end":{"line":44,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":29,"column":19},"end":{"line":29,"column":20}},"loc":{"start":{"line":30,"column":2},"end":{"line":37,"column":8}},"line":30}},"branchMap":{},"s":{"0":1,"1":1,"2":2,"3":1},"f":{"0":2},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"01dc9a01520a76b8246ecdb9772c672717e57d9b"} | ||
} |
@@ -13,3 +13,6 @@ import { push } from 'react-router-redux'; | ||
dispatch(push(path)); | ||
dispatch(profilesActions.selectProfile(profileId, profileService)); | ||
if (path === '/comparisons') { | ||
profileService = null; | ||
} | ||
dispatch(profilesActions.selectProfileService(profileService)); | ||
}, | ||
@@ -20,2 +23,1 @@ }), | ||
export reducer, { actions, actionTypes } from './reducer'; | ||
export middleware from './middleware'; |
@@ -7,3 +7,2 @@ import React from 'react'; | ||
reducer, | ||
middleware, | ||
} from './index'; | ||
@@ -82,3 +81,3 @@ import Insights from './components/Insights'; | ||
expect(store.dispatch.mock.calls[1][0]).toMatchObject({ | ||
type: 'SELECT_PROFILE', | ||
type: 'SELECT_PROFILE_SERVICE', | ||
}); | ||
@@ -91,8 +90,3 @@ }); | ||
}); | ||
it('should export middleware', () => { | ||
expect(middleware) | ||
.toBeDefined(); | ||
}); | ||
}); | ||
{ | ||
"name": "@bufferapp/nav-sidebar", | ||
"version": "0.7.1", | ||
"version": "0.8.1", | ||
"description": "Nav sidebar for Analyze", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@bufferapp/analyze-profile-selector": "^0.7.1", | ||
"@bufferapp/analyze-profile-selector": "^0.8.1", | ||
"@bufferapp/async-data-fetch": "0.5.36-beta01", | ||
@@ -27,0 +27,0 @@ "@bufferapp/components": "2.1.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
117764
33
872
1
+ Added@bufferapp/analyze-profile-selector@0.8.1(transitive)
- Removed@bufferapp/analyze-profile-selector@0.7.1(transitive)