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

react-router-breadcrumbs-hoc

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-breadcrumbs-hoc - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

.npmignore

2

coverage/coverage-final.json

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

{"/Users/justinschrader/Desktop/KOAN/opensource/react-router-breadcrumbs-hoc/src/index.jsx": {"path":"/Users/justinschrader/Desktop/KOAN/opensource/react-router-breadcrumbs-hoc/src/index.jsx","statementMap":{"0":{"start":{"line":4,"column":30},"end":{"line":4,"column":45}},"1":{"start":{"line":8,"column":17},"end":{"line":11,"column":1}},"2":{"start":{"line":9,"column":2},"end":{"line":9,"column":73}},"3":{"start":{"line":9,"column":42},"end":{"line":9,"column":71}},"4":{"start":{"line":10,"column":2},"end":{"line":10,"column":20}},"5":{"start":{"line":13,"column":30},"end":{"line":59,"column":1}},"6":{"start":{"line":14,"column":18},"end":{"line":14,"column":20}},"7":{"start":{"line":16,"column":2},"end":{"line":56,"column":7}},"8":{"start":{"line":26,"column":26},"end":{"line":26,"column":50}},"9":{"start":{"line":30,"column":6},"end":{"line":48,"column":9}},"10":{"start":{"line":31,"column":8},"end":{"line":33,"column":9}},"11":{"start":{"line":32,"column":10},"end":{"line":32,"column":109}},"12":{"start":{"line":34,"column":22},"end":{"line":34,"column":98}},"13":{"start":{"line":38,"column":8},"end":{"line":45,"column":9}},"14":{"start":{"line":39,"column":10},"end":{"line":43,"column":12}},"15":{"start":{"line":44,"column":10},"end":{"line":44,"column":22}},"16":{"start":{"line":47,"column":8},"end":{"line":47,"column":21}},"17":{"start":{"line":51,"column":6},"end":{"line":53,"column":7}},"18":{"start":{"line":52,"column":8},"end":{"line":52,"column":38}},"19":{"start":{"line":55,"column":6},"end":{"line":55,"column":25}},"20":{"start":{"line":58,"column":2},"end":{"line":58,"column":17}},"21":{"start":{"line":61,"column":31},"end":{"line":71,"column":2}},"22":{"start":{"line":61,"column":41},"end":{"line":71,"column":2}},"23":{"start":{"line":61,"column":54},"end":{"line":71,"column":2}},"24":{"start":{"line":62,"column":2},"end":{"line":70,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":17},"end":{"line":8,"column":18}},"loc":{"start":{"line":8,"column":44},"end":{"line":11,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":13,"column":30},"end":{"line":13,"column":31}},"loc":{"start":{"line":13,"column":56},"end":{"line":59,"column":1}},"line":13},"2":{"name":"(anonymous_2)","decl":{"start":{"line":22,"column":12},"end":{"line":22,"column":13}},"loc":{"start":{"line":22,"column":35},"end":{"line":56,"column":5}},"line":22},"3":{"name":"(anonymous_3)","decl":{"start":{"line":30,"column":18},"end":{"line":30,"column":19}},"loc":{"start":{"line":30,"column":58},"end":{"line":48,"column":7}},"line":30},"4":{"name":"(anonymous_4)","decl":{"start":{"line":61,"column":31},"end":{"line":61,"column":32}},"loc":{"start":{"line":61,"column":41},"end":{"line":71,"column":2}},"line":61},"5":{"name":"(anonymous_5)","decl":{"start":{"line":61,"column":41},"end":{"line":61,"column":42}},"loc":{"start":{"line":61,"column":54},"end":{"line":71,"column":2}},"line":61},"6":{"name":"(anonymous_6)","decl":{"start":{"line":61,"column":65},"end":{"line":61,"column":66}},"loc":{"start":{"line":62,"column":2},"end":{"line":70,"column":4}},"line":62}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":73}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":9,"column":73}},{"start":{"line":9,"column":2},"end":{"line":9,"column":73}}],"line":9},"1":{"loc":{"start":{"line":31,"column":8},"end":{"line":33,"column":9}},"type":"if","locations":[{"start":{"line":31,"column":8},"end":{"line":33,"column":9}},{"start":{"line":31,"column":8},"end":{"line":33,"column":9}}],"line":31},"2":{"loc":{"start":{"line":31,"column":12},"end":{"line":31,"column":32}},"type":"binary-expr","locations":[{"start":{"line":31,"column":12},"end":{"line":31,"column":23}},{"start":{"line":31,"column":27},"end":{"line":31,"column":32}}],"line":31},"3":{"loc":{"start":{"line":34,"column":51},"end":{"line":34,"column":88}},"type":"binary-expr","locations":[{"start":{"line":34,"column":51},"end":{"line":34,"column":63}},{"start":{"line":34,"column":67},"end":{"line":34,"column":88}}],"line":34},"4":{"loc":{"start":{"line":38,"column":8},"end":{"line":45,"column":9}},"type":"if","locations":[{"start":{"line":38,"column":8},"end":{"line":45,"column":9}},{"start":{"line":38,"column":8},"end":{"line":45,"column":9}}],"line":38},"5":{"loc":{"start":{"line":51,"column":6},"end":{"line":53,"column":7}},"type":"if","locations":[{"start":{"line":51,"column":6},"end":{"line":53,"column":7}}],"line":51}},"s":{"0":1,"1":1,"2":6,"3":3,"4":3,"5":1,"6":4,"7":4,"8":7,"9":7,"10":14,"11":1,"12":13,"13":13,"14":6,"15":6,"16":7,"17":6,"18":6,"19":6,"20":3,"21":1,"22":3,"23":3,"24":3},"f":{"0":6,"1":4,"2":7,"3":14,"4":3,"5":3,"6":3},"b":{"0":[3,3],"1":[1,13],"2":[14,13],"3":[13,11],"4":[6,7],"5":[6]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"bce639d601924fc86af26893679de6fb37bbe629"}
{"/Users/justinschrader/Desktop/KOAN/opensource/react-router-breadcrumbs-hoc/src/index.jsx": {"path":"/Users/justinschrader/Desktop/KOAN/opensource/react-router-breadcrumbs-hoc/src/index.jsx","statementMap":{"0":{"start":{"line":4,"column":30},"end":{"line":4,"column":45}},"1":{"start":{"line":8,"column":17},"end":{"line":11,"column":1}},"2":{"start":{"line":9,"column":2},"end":{"line":9,"column":73}},"3":{"start":{"line":9,"column":42},"end":{"line":9,"column":71}},"4":{"start":{"line":10,"column":2},"end":{"line":10,"column":20}},"5":{"start":{"line":13,"column":30},"end":{"line":59,"column":1}},"6":{"start":{"line":14,"column":18},"end":{"line":14,"column":20}},"7":{"start":{"line":16,"column":2},"end":{"line":56,"column":11}},"8":{"start":{"line":26,"column":26},"end":{"line":26,"column":73}},"9":{"start":{"line":30,"column":6},"end":{"line":48,"column":9}},"10":{"start":{"line":31,"column":8},"end":{"line":33,"column":9}},"11":{"start":{"line":32,"column":10},"end":{"line":32,"column":109}},"12":{"start":{"line":34,"column":22},"end":{"line":34,"column":98}},"13":{"start":{"line":38,"column":8},"end":{"line":45,"column":9}},"14":{"start":{"line":39,"column":10},"end":{"line":43,"column":12}},"15":{"start":{"line":44,"column":10},"end":{"line":44,"column":22}},"16":{"start":{"line":47,"column":8},"end":{"line":47,"column":21}},"17":{"start":{"line":51,"column":6},"end":{"line":53,"column":7}},"18":{"start":{"line":52,"column":8},"end":{"line":52,"column":38}},"19":{"start":{"line":55,"column":6},"end":{"line":55,"column":52}},"20":{"start":{"line":58,"column":2},"end":{"line":58,"column":17}},"21":{"start":{"line":61,"column":31},"end":{"line":71,"column":2}},"22":{"start":{"line":61,"column":41},"end":{"line":71,"column":2}},"23":{"start":{"line":61,"column":54},"end":{"line":71,"column":2}},"24":{"start":{"line":62,"column":2},"end":{"line":70,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":17},"end":{"line":8,"column":18}},"loc":{"start":{"line":8,"column":44},"end":{"line":11,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":13,"column":30},"end":{"line":13,"column":31}},"loc":{"start":{"line":13,"column":56},"end":{"line":59,"column":1}},"line":13},"2":{"name":"(anonymous_2)","decl":{"start":{"line":22,"column":12},"end":{"line":22,"column":13}},"loc":{"start":{"line":22,"column":35},"end":{"line":56,"column":5}},"line":22},"3":{"name":"(anonymous_3)","decl":{"start":{"line":30,"column":18},"end":{"line":30,"column":19}},"loc":{"start":{"line":30,"column":58},"end":{"line":48,"column":7}},"line":30},"4":{"name":"(anonymous_4)","decl":{"start":{"line":61,"column":31},"end":{"line":61,"column":32}},"loc":{"start":{"line":61,"column":41},"end":{"line":71,"column":2}},"line":61},"5":{"name":"(anonymous_5)","decl":{"start":{"line":61,"column":41},"end":{"line":61,"column":42}},"loc":{"start":{"line":61,"column":54},"end":{"line":71,"column":2}},"line":61},"6":{"name":"(anonymous_6)","decl":{"start":{"line":61,"column":65},"end":{"line":61,"column":66}},"loc":{"start":{"line":62,"column":2},"end":{"line":70,"column":4}},"line":62}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":73}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":9,"column":73}},{"start":{"line":9,"column":2},"end":{"line":9,"column":73}}],"line":9},"1":{"loc":{"start":{"line":26,"column":26},"end":{"line":26,"column":73}},"type":"cond-expr","locations":[{"start":{"line":26,"column":43},"end":{"line":26,"column":46}},{"start":{"line":26,"column":49},"end":{"line":26,"column":73}}],"line":26},"2":{"loc":{"start":{"line":31,"column":8},"end":{"line":33,"column":9}},"type":"if","locations":[{"start":{"line":31,"column":8},"end":{"line":33,"column":9}},{"start":{"line":31,"column":8},"end":{"line":33,"column":9}}],"line":31},"3":{"loc":{"start":{"line":31,"column":12},"end":{"line":31,"column":32}},"type":"binary-expr","locations":[{"start":{"line":31,"column":12},"end":{"line":31,"column":23}},{"start":{"line":31,"column":27},"end":{"line":31,"column":32}}],"line":31},"4":{"loc":{"start":{"line":34,"column":51},"end":{"line":34,"column":88}},"type":"binary-expr","locations":[{"start":{"line":34,"column":51},"end":{"line":34,"column":63}},{"start":{"line":34,"column":67},"end":{"line":34,"column":88}}],"line":34},"5":{"loc":{"start":{"line":38,"column":8},"end":{"line":45,"column":9}},"type":"if","locations":[{"start":{"line":38,"column":8},"end":{"line":45,"column":9}},{"start":{"line":38,"column":8},"end":{"line":45,"column":9}}],"line":38},"6":{"loc":{"start":{"line":51,"column":6},"end":{"line":53,"column":7}},"type":"if","locations":[{"start":{"line":51,"column":6},"end":{"line":53,"column":7}}],"line":51},"7":{"loc":{"start":{"line":55,"column":13},"end":{"line":55,"column":51}},"type":"cond-expr","locations":[{"start":{"line":55,"column":35},"end":{"line":55,"column":37}},{"start":{"line":55,"column":40},"end":{"line":55,"column":51}}],"line":55}},"s":{"0":1,"1":1,"2":7,"3":3,"4":4,"5":1,"6":4,"7":4,"8":10,"9":10,"10":20,"11":1,"12":19,"13":19,"14":7,"15":7,"16":12,"17":9,"18":7,"19":9,"20":3,"21":1,"22":3,"23":3,"24":3},"f":{"0":7,"1":4,"2":10,"3":20,"4":3,"5":3,"6":3},"b":{"0":[3,4],"1":[3,7],"2":[1,19],"3":[20,19],"4":[19,16],"5":[7,12],"6":[7],"7":[2,7]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"964829701d035ce0fffe338b426b5700d8c12b7c"}
}

@@ -48,3 +48,3 @@ 'use strict';

// `/1`, `/1/2`, `/1/2/3`
var pathSection = previous + '/' + current;
var pathSection = current === '' ? '/' : previous + '/' + current;

@@ -82,3 +82,3 @@ var breadcrumbMatch = void 0;

return pathSection;
return pathSection === '/' ? '' : pathSection;
});

@@ -85,0 +85,0 @@

{
"name": "react-router-breadcrumbs-hoc",
"version": "1.0.2",
"version": "1.0.3",
"description": "Dynamic, flexible, component-based breadcrumbs for react-router 4",

@@ -5,0 +5,0 @@ "repository": "icd2k3/react-router-breadcrumbs-hoc",

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