Skip to content
This repository has been archived by the owner on Mar 13, 2020. It is now read-only.

[Snyk] Upgrade react-router-dom from 5.0.1 to 5.1.2 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Feb 5, 2020

Snyk has created this PR to upgrade react-router-dom from 5.0.1 to 5.1.2.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 3 versions ahead of your current version.
  • The recommended version was released 4 months ago, on 2019-09-30.
Release notes
Package name: react-router-dom
  • 5.1.2 - 2019-09-30

    List of commits

    Bugfixes

    • Fix lingering <Link ref> error on React 15 (#6954)
  • 5.1.1 - 2019-09-27

    List of commits

    Bugfixes

    • Fix issue with useParams reading from null object (#6940)
    • Fix regression passing ref to functional components in React <= 16.2 (#6934)
    • Fix regression passing empty string to matchPath (#6941)
  • 5.1.0 - 2019-09-24

    Read the blog post

    List of commits

    Features

    • Add useParams, useLocation, useHistory, and useRouteMatch hooks (d6224d6)
    • Add support for forwardRef in <Link> (b5528ed)
    • Add support for functions in <Link to> and <NavLink to> (#5331, #5368)
    • Add <Link component> API (#5437)

    Bugfixes

    • Don't render <Route children> elements when the <Route> does not match (9665659)
  • 5.0.1 - 2019-06-04

    Changes

    Updates

    • Reduced component depth in withRouter() HOC. (10d78bb)
    • Changed misleading warning when withRouter is used outside a Router (10d78bb)
    • Reduced install size and bundle size by switching to mini-create-react-context (992af48)

    Bugfixes

    • Fixed display name for router context consumer and provider (6a99c93)
    • Fixed infinite loop caused by Redirect in some scenarios (017f692 and 2ce1d32)
    • Fixed license issue for react context polyfill (f9849c8, then 992af48)
    • Fixed Redirect throwing an exception in StaticRouter without context (3ccbd19)
    • Fixed regression in matchPath that caused an exception for empty paths (7bd1407)
    • Fixed page reload when an exception was thrown in Link onClick (82ce94c)
    • Fixed warning about createRef or useRef values in wrappedComponentRef when using withRouter() (56c829b)
    • Fixed withRouter() wrapped component inside NavLink not working properly (a38ef04)
    • Fixed CJS build - previously, incorrect exports were emitted (caa9950)

    Thanks to @StringEpsilon for putting this list together. Enjoy!

from react-router-dom GitHub release notes
Commit messages
Package name: react-router-dom
  • f31bb27 v5.1.2
  • 7f63ffe Fix <Link> ref in React 15.6.2
  • e4e44ae Fix deploy script
  • 34667d8 Create a support issue template
  • 9876cc7 Move Issue template. Update test case link.
  • bb9b4fd Fix typo: useMatch -> useRouteMatch (#6948)
  • fbb6358 v5.1.1
  • 7e09c7b Remove babel-plugin-size-snapshot
  • 6039477 Revert "v5.1.1"
  • 0ae358b Don't specify "dev" dependencies for website
  • 3195480 v5.1.1
  • e577744 Update size snapshots
  • 30e211d Build all packages together before publish
  • 0d3dfb4 Revert "v5.1.1"
  • 29e02a3 fix regression to allow for empty-string paths (#6942)
  • a32f779 fix(useParams): fix issue with useParams reading from null object (#6940)
  • d8904fa v5.1.1
  • 375f320 Do not pass ref to functional components w/out forwardRef
  • 55695fa Update DOM quick start guide and primary components doc
  • 298b50f Bump font sizes
  • fd6f9b2 Get rid of unneeded eslint-ignore
  • 9df0b67 Remove unused styles
  • 0c058ad v5.1.0
  • ce2fdc7 Update size snapshots

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant