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.1.0 to 1.1.1

dist/es/index.js

8

package.json
{
"name": "react-router-breadcrumbs-hoc",
"version": "1.1.0",
"version": "1.1.1",
"description": "Just a tiny, flexible, higher order component for rendering breadcrumbs with react-router 4.x",

@@ -13,4 +13,4 @@ "repository": "icd2k3/react-router-breadcrumbs-hoc",

],
"main": "dist/index.js",
"module": "dist/index.mjs",
"main": "dist/umd/index.js",
"module": "dist/es/index.js",
"author": "Koan Inc.",

@@ -48,3 +48,3 @@ "license": "MIT",

"react-router-dom": "^4.2.2",
"rollup": "^0.52.3",
"rollup": "^0.53.0",
"rollup-plugin-babel": "^3.0.3",

@@ -51,0 +51,0 @@ "rollup-plugin-commonjs": "^8.2.6",

@@ -14,3 +14,2 @@ <h3 align="center">

<p align="center">
<a href="https://badge.fury.io/js/react-router-breadcrumbs-hoc"><img src="https://badge.fury.io/js/react-router-breadcrumbs-hoc.svg" alt="npm version"></a>
<a href="https://david-dm.org/icd2k3/react-router-breadcrumbs-hoc?type=dev" target="_blank"><img src="https://david-dm.org/icd2k3/react-router-breadcrumbs-hoc/dev-status.svg" /></a>

@@ -58,5 +57,5 @@ <a href="#" target="_blank"><img src="https://travis-ci.org/icd2k3/react-router-breadcrumbs-hoc.svg?branch=master" /></a>

// map & render your breadcrumb components however you want
const Breadcrumbs = ({ breadcrumbs }) => (
<div>
// map & render your breadcrumb components however you want
{breadcrumbs.map(({ breadcrumb, path, match }) => (

@@ -63,0 +62,0 @@ <span key={path}>

@@ -9,8 +9,9 @@ import babel from 'rollup-plugin-babel';

const globals = {
react: 'React',
'react-router': 'ReactRouter',
};
const config = {
input: 'src/index.js',
globals: {
react: 'React',
'react-router': 'ReactRouter',
},
plugins: [

@@ -33,2 +34,3 @@ babel({

format: 'umd',
globals,
name: 'react-router-breadcrumbs-hoc',

@@ -40,2 +42,3 @@ sourcemap: true,

format: 'es',
globals,
sourcemap: true,

@@ -42,0 +45,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

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