-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement useLocation when available. Add deprecation warning for v4 (#…
…98) * refactor: start migrating to v6 hooks * feat: add deprecation warning for react-router v4 * fix: peer dependencies * chore: better warning message and peer dependency version * fix: package json Co-authored-by: Justin Schrader <[email protected]>
- Loading branch information
1 parent
20046fa
commit 3c8adc5
Showing
4 changed files
with
127 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "react-router-breadcrumbs-hoc", | ||
"version": "3.2.5", | ||
"version": "3.2.6", | ||
"description": "small, flexible, higher order component for rendering breadcrumbs with react-router 4.x", | ||
"repository": "icd2k3/react-router-breadcrumbs-hoc", | ||
"main": "dist/cjs/index.js", | ||
|
@@ -27,7 +27,7 @@ | |
"author": "Justin Schrader ([email protected])", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"react": ">=16", | ||
"react": ">=16.8", | ||
"react-router": ">=4", | ||
"react-router-dom": ">=4" | ||
}, | ||
|
@@ -52,7 +52,7 @@ | |
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.2", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.0.1", | ||
"eslint-config-airbnb": "^18.1.0", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-react": "^7.19.0", | ||
|
@@ -65,7 +65,7 @@ | |
"react-dom": "16.13.0", | ||
"react-router": "^5.1.2", | ||
"react-router-dom": "^5.1.2", | ||
"rollup": "^2.0.3", | ||
"rollup": "^2.0.6", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-uglify": "^6.0.2", | ||
"typescript": "^3.8.3" | ||
|
@@ -78,6 +78,7 @@ | |
"router", | ||
"breadcrumbs", | ||
"react-router", | ||
"react-router 4" | ||
"react-router 4", | ||
"react-router 5" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.