Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade react-router-dom from 5.0.1 to 5.1.0 #34

Merged

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented Oct 5, 2019

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

  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 11 days ago, on 2019-09-24.
Release notes
  • 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


馃 View latest project report

馃洜 Adjust upgrade PR settings

馃敃 Ignore this dependency or unsubscribe from future upgrade PRs

@codecov
Copy link

codecov bot commented Oct 5, 2019

Codecov Report

Merging #34 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@         Coverage Diff          @@
##           master   #34   +/-   ##
====================================
  Coverage      50%   50%           
====================================
  Files           1     1           
  Lines           2     2           
====================================
  Hits            1     1           
  Misses          1     1

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 6b01378...4367446. Read the comment docs.

@xmartinezpujol xmartinezpujol merged commit cbdd00a into master Oct 5, 2019
@xmartinezpujol xmartinezpujol deleted the snyk-upgrade-57e989fdb23ce01fadc44cbf754dafae branch October 5, 2019 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants