react-router-breadcrumbs-hoc
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "react-router-breadcrumbs-hoc", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Just a tiny, flexible, higher order component for rendering breadcrumbs with react-router 4.x", | ||
@@ -23,32 +23,32 @@ "repository": "icd2k3/react-router-breadcrumbs-hoc", | ||
"dependencies": { | ||
"humanize-string": "^1.0.1" | ||
"humanize-string": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.8.0", | ||
"babel-eslint": "^8.2.2", | ||
"babel-jest": "^22.4.1", | ||
"babel-core": "^6.26.3", | ||
"babel-eslint": "^8.2.3", | ||
"babel-jest": "^22.4.3", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-1": "^6.24.1", | ||
"coveralls": "^3.0.0", | ||
"coveralls": "^3.0.1", | ||
"enzyme": "^3.2.0", | ||
"enzyme-adapter-react-16": "^1.1.0", | ||
"eslint": "^4.19.0", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint-plugin-import": "^2.9.0", | ||
"eslint-plugin-import": "^2.11.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-react": "^7.7.0", | ||
"jest": "^22.4.2", | ||
"eslint-plugin-react": "^7.8.2", | ||
"jest": "^22.4.3", | ||
"prop-types": "^15.6.1", | ||
"react": "^16.2.0", | ||
"react-dom": "^16.2.0", | ||
"react": "^16.3.2", | ||
"react-dom": "^16.3.2", | ||
"react-router": "^4.2.0", | ||
"react-router-dom": "^4.2.2", | ||
"rollup": "^0.57.1", | ||
"rollup-plugin-babel": "^3.0.3", | ||
"rollup-plugin-commonjs": "^9.1.0", | ||
"rollup-plugin-node-resolve": "^3.2.0" | ||
"rollup": "^0.59.0", | ||
"rollup-plugin-babel": "^3.0.4", | ||
"rollup-plugin-commonjs": "^9.1.3", | ||
"rollup-plugin-node-resolve": "^3.3.0" | ||
}, | ||
@@ -55,0 +55,0 @@ "scripts": { |
@@ -64,3 +64,3 @@ <h3 align="center"> | ||
{breadcrumbs.map((breadcrumb, index) => ( | ||
<span key={breadcrumb.props.key}> | ||
<span key={breadcrumb.key}> | ||
<NavLink to={breadcrumb.props.match.url}> | ||
@@ -177,8 +177,9 @@ {breadcrumb} | ||
path: String | ||
breadcrumb: String|Function? // note: if not provided, a default breadcrumb will be returned | ||
matchOptions?: Object | ||
breadcrumb: String|Function? // if not provided, a default breadcrumb will be returned | ||
matchOptions?: Object // see: https://reacttraining.com/react-router/web/api/match | ||
} | ||
Options = { | ||
excludePaths: Array | ||
excludePaths: Array // disable default breadcrumb generation for specific paths | ||
disableDefaults: Boolean // disable all default breadcrumb generation | ||
} | ||
@@ -185,0 +186,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
476134
29
982
196
Updatedhumanize-string@^1.0.2