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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade react-idle-timer from 4.6.4 to 5.4.2 #534

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade react-idle-timer from 4.6.4 to 5.4.2.

merge advice
ℹ️ 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.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 34 versions ahead of your current version.
  • The recommended version was released a month ago, on 2022-09-07.
Release notes
Package name: react-idle-timer
  • 5.4.2 - 2022-09-07

    ✨ Enhancements

    • Add a clock based sanity check as a backup for the more precise performance timing. #281

    🐞 Bug Fixes

    • Fix componentDidMount on withIdleTimer higher order component. #276
    • Fix regression of memoized onAction callbacks. #127
    • Fix rounding error on getRemainingTime().
  • 5.4.1 - 2022-07-06

    🐞 Bug Fixes

    • Fix a bug where workerTimers were not mocked by createMocks().
    • Fix a bug where reset was not resetting the start time affecting getTotalActiveTime(). #272
  • 5.4.0 - 2022-06-10

    ⚡️ Features

    🐞 Bug Fixes

    • Fix a bug where events would leak when crossTab is enabled causing bad performance when many tabs are open. #247
  • 5.3.0 - 2022-06-06

    ✨ Enhancements

    • The reset method now respects startManually property. It will no longer automatically call onActive.
    • Export DEFAULT_EVENTS for easy extension of events. #260

    🐞 Bug Fixes

    • The getRemainingTime method now always returns the time to idle instead of time to prompt and then time to idle. #256
    • Debounced onAction callbacks will automatically be cancelled on idle. #255
  • 5.2.0 - 2022-05-15

    ✨ Enhancements

    • Add name property to support multiple instances when crossTab is enabled.
  • 5.1.3 - 2022-05-10

    🐞 Bug Fixes

    • Use builtin Omit over utility-types Subtract. Fixes missing dependency error.
  • 5.1.2 - 2022-05-09

    ✨ Enhancements

    • Forward ref on withIdleTimer.
  • 5.1.1 - 2022-05-02

    🐞 Bug Fixes

    • Add missing React import in withIdleTimer.
  • 5.1.0 - 2022-05-01

    ⚡️ Features

    • New implementation of Leader Election.

    Due to popular request, Leader Election has returned in version 5.1.0. While the old implementation was incompatible with v5, this new implementation is compatible. A new property leaderElection is exposed to enable the feature. The major difference between the v4 and v5 implementation is that in v5 events are not isolated to your leader tab automatically. You will need to call the isLeader method inside your event handlers. See the docs for more information.

  • 5.0.0 - 2022-04-23

    Version 5 is a complete, from scratch, typescript rewrite. A lot of effort went
    into this release. If you find this package useful and have the means, please
    consider a small donation!

    ⚡️ Features

    • Add built in prompt handling.
    • Add immediateEvents property.
    • Add cross tab custom message broadcasting.
    • New higher order component withIdleTimer.
    • New provider IdleTimerProvider.
    • Add syncTimers property.

    ✨ Enhancements

    • Timeouts and Intervals are now hoisted into a web worker to bypass browser background throttles.
    • Rewrite crossTab from the ground up. The new implementation is much smaller and more efficient.
    • Cross Tab options simplified.
    • All callbacks and methods are now memoized.

    🐞 Bug Fixes

    • All property values can now be dynamically updated.
    • Fix getTotalActiveTime returning negative value.
    • Fix sending message on closed channel error.

    🔥 Code Removal

    • Remove capture property.
    • Remove passive property.
    • Remove emitOnAllTabs property.
    • Remove isLeader method.

    📝 Documentation

    • New documentation site.
    • Add contribution guide.
    • Add issue and pull request templates.

    ⬆️ Update Dependencies

    • Updated for React 17.
    • Updated all dependencies.
  • 5.0.0-rc.24 - 2022-04-10
  • 5.0.0-rc.23 - 2022-04-07
  • 5.0.0-rc.22 - 2022-04-04
  • 5.0.0-rc.21 - 2022-04-04
  • 5.0.0-rc.20 - 2022-04-01
  • 5.0.0-rc.19 - 2022-03-31
  • 5.0.0-rc.18 - 2022-03-26
  • 5.0.0-rc.17 - 2022-03-25
  • 5.0.0-rc.16 - 2022-03-07
  • 5.0.0-rc.15 - 2022-03-07
  • 5.0.0-rc.14 - 2022-03-07
  • 5.0.0-rc.13 - 2022-02-26
  • 5.0.0-rc.12 - 2022-02-23
  • 5.0.0-rc.11 - 2022-02-22
  • 5.0.0-rc.10 - 2022-02-22
  • 5.0.0-rc.9 - 2022-02-20
  • 5.0.0-rc.8 - 2022-02-19
  • 5.0.0-rc.7 - 2022-02-19
  • 5.0.0-rc.6 - 2022-02-19
  • 5.0.0-rc.5 - 2022-02-19
  • 5.0.0-rc.4 - 2022-02-17
  • 5.0.0-rc.3 - 2022-02-17
  • 5.0.0-rc.2 - 2022-02-17
  • 5.0.0-rc.1 - 2022-02-17
  • 4.6.4 - 2021-05-28
from react-idle-timer GitHub release notes

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

@sonarcloud
Copy link

sonarcloud bot commented Oct 21, 2022

[flex_admin_ui] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@moabu moabu added the comp-admin-ui Component affected by issue or PR label Oct 26, 2022
@moabu moabu merged commit 1497915 into main Oct 26, 2022
@moabu moabu deleted the snyk-upgrade-e3c028fa15e2d4ec384cd809951ed0dc branch October 26, 2022 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-admin-ui Component affected by issue or PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants