Thierry-Chain / Library-Management-App

Updated Library management system
https://smart-library-rw.herokuapp.com
2 stars 1 forks source link

Update dependency react-idle-timer to v4.6.4 #85

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-idle-timer (source) 4.5.6 -> 4.6.4 age adoption passing confidence

Release Notes

supremetechnopriest/react-idle-timer ### [`v4.6.4`](https://togithub.com/supremetechnopriest/react-idle-timer/blob/HEAD/CHANGELOG.md#​464) [Compare Source](https://togithub.com/supremetechnopriest/react-idle-timer/compare/4.6.3...4.6.4) ##### 🐞 Bug Fixes - Make `ref` optional in typedef. ### [`v4.6.3`](https://togithub.com/supremetechnopriest/react-idle-timer/blob/HEAD/CHANGELOG.md#​463) [Compare Source](https://togithub.com/supremetechnopriest/react-idle-timer/compare/4.6.2...4.6.3) ##### ✨ Enhancements - Export a bundle for modern browsers. ##### 🐞 Bug Fixes - Add missing `ref` to TypeScript definitions. - Fix a bug where reset would not propagate cross tab. ### [`v4.6.2`](https://togithub.com/supremetechnopriest/react-idle-timer/blob/HEAD/CHANGELOG.md#​462) [Compare Source](https://togithub.com/supremetechnopriest/react-idle-timer/compare/4.6.1...4.6.2) ##### ✨ Enhancements - Allow for dynamically setting `onActive` and `onIdle` event handlers in conjunction with cross tab event reconciliation. ### [`v4.6.1`](https://togithub.com/supremetechnopriest/react-idle-timer/blob/HEAD/CHANGELOG.md#​461) [Compare Source](https://togithub.com/supremetechnopriest/react-idle-timer/compare/4.6.0...4.6.1) ##### ✨ Enhancements - When `emitOnAllTabs` is set to `true`, `start`, `reset`, `pause` and `resume` will be called on all tabs. - Calling `reset` will now automatically fire `onActive` while calling `start` will not. Otherwise these two methods are functionally equivalent. ##### 🐞 Bug Fixes - Fix an issue where the `localStorage` method would not call `idle` if there wasn't any user activity on the page. - Fix an issue where the `TabManager` would not deregister itself when the tab was closed if it was not the leader tab. ##### 🚿 Clean up - Fix a type-o in propTypes, typescript definitions and docs. ### [`v4.6.0`](https://togithub.com/supremetechnopriest/react-idle-timer/blob/HEAD/CHANGELOG.md#​460) [Compare Source](https://togithub.com/supremetechnopriest/react-idle-timer/compare/4.5.6...4.6.0) ##### ⚑️ Features - Add cross tab support. See examples and README for usage and documentation. - Add an `isLeader()` method that returns a boolean indicating whether or not the current tab is the lead orchestrator for cross tab reconciliation. - Add a `startManually` configuration option to enable starting of the timer and activity detection manually. An alias to `reset()` called `start()` is also exposed to keep the code more semantic. If `startManually` is set to `true`, the `IdleTimer` component and `useIdleTimer` hook wont start until `reset()` or `start()` are called. ##### 🐞 Bug Fixes - Fix a bug where throttle and debounce wouldn't work at higher values in useIdleTimer. ##### 4.5.6 ##### 🐞 Bug Fixes - Calling `resume` or `pause` from inside a `useEffect` will now properly bind and unbind events. ##### 4.5.5 ##### ✨ Enhancements - Setting a timeout dynamically will now call `onActive` if the user is idle. ##### 4.5.4 ##### ✨ Enhancements - Bind `getLastIdleTime` to component scope making the method callable. ##### 4.5.3 ##### ✨ Enhancements - Bind `getTotalActiveTime` and `getTotalIdleTime` to component scope making the methods callable. ##### 4.5.2 ##### ✨ Enhancements - Add the ability to set timeout after the component has been mounted. Doing so will reset the timer automatically. ##### 4.5.1 ##### ✨ Enhancements - Add the ability to set timeout after the hook has been mounted. Doing so will reset the timer automatically.

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated
manage-my-library βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Mar 16, 2023 at 0:28AM (UTC)