Closed renovate[bot] closed 3 years ago
Merging #172 (bdbd4ea) into master (03fac58) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #172 +/- ##
=======================================
Coverage 97.46% 97.46%
=======================================
Files 9 9
Lines 197 197
Branches 53 53
=======================================
Hits 192 192
Misses 5 5
Flag | Coverage Δ | |
---|---|---|
mobile | 95.23% <ø> (ø) |
|
web | 100.00% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
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 03fac58...bdbd4ea. Read the comment docs.
This PR contains the following updates:
2.1.8
->3.0.1
Release Notes
vydimitrov/use-elapsed-time
### [`v3.0.1`](https://togithub.com/vydimitrov/use-elapsed-time/blob/master/CHANGELOG.md#301-June-20th-2021) [Compare Source](https://togithub.com/vydimitrov/use-elapsed-time/compare/v3.0.0...v3.0.1) **Big fix:** - Fix an issue where the new `updateInterval` prop didn't really respect that elapsed time. Now, for example, if it is set to 10 seconds then the next update will be exactly after 10 seconds. **Implemented enhancements:** - `newStartAt` value can now be passed to the `onComplete` callback as well as the `reset` method. This feature was available in v2 of the hook and it is implemented again in v.3 ### [`v3.0.0`](https://togithub.com/vydimitrov/use-elapsed-time/blob/master/CHANGELOG.md#300-June-18th-2021) [Compare Source](https://togithub.com/vydimitrov/use-elapsed-time/compare/2.1.8...v3.0.0) The hooks is now written in TypeScript. **Breaking Changes:** - IE is not longer supported - `autoResetKey` props has been deprecated - `reset` method of the hook return value no longer accepts `newStartAt`. When it is fired the animation will start over from the initially provided `startAt` value - `onComplete` return value does not accept `newStartAt` **New features:** - `updateInterval` prop now controls how often the hook should rerender. Set as a number in seconds - `onUpdate` callback will be fired with the current elapsed time when the `elapsedTime` changes. **Chore:** - example folder is added, which can we be used for development or testing the hookConfiguration
📅 Schedule: "before 3am on the first day of the month" (UTC).
🚦 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 WhiteSource Renovate. View repository job log here.