Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency web-vitals to v4 (#1032)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [web-vitals](https://togithub.com/GoogleChrome/web-vitals) | [`3.5.2` -> `4.0.1`](https://renovatebot.com/diffs/npm/web-vitals/3.5.2/4.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/web-vitals/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/web-vitals/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/web-vitals/3.5.2/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/web-vitals/3.5.2/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>GoogleChrome/web-vitals (web-vitals)</summary> ### [`v4.0.1`](https://togithub.com/GoogleChrome/web-vitals/blob/HEAD/CHANGELOG.md#v401-2024-05-21) [Compare Source](https://togithub.com/GoogleChrome/web-vitals/compare/v4.0.0...v4.0.1) - Add the `ReportCallback` type back but deprecate it ([#​483](https://togithub.com/GoogleChrome/web-vitals/pull/483)) ### [`v4.0.0`](https://togithub.com/GoogleChrome/web-vitals/blob/HEAD/CHANGELOG.md#v400-2024-05-13) [Compare Source](https://togithub.com/GoogleChrome/web-vitals/compare/v3.5.2...v4.0.0) - **\[BREAKING]** Update types to support more generic usage ([#​471](https://togithub.com/GoogleChrome/web-vitals/pull/471)) - **\[BREAKING]** Split `waitingDuration` to make it easier to understand redirect delays ([#​458](https://togithub.com/GoogleChrome/web-vitals/pull/458)) - **\[BREAKING]** Rename `TTFBAttribution` fields from `*Time` to `*Duration` ([#​453](https://togithub.com/GoogleChrome/web-vitals/pull/453)) - **\[BREAKING]** Rename `resourceLoadTime` to `resourceLoadDuration` in LCP attribution ([#​450](https://togithub.com/GoogleChrome/web-vitals/pull/450)) - **\[BREAKING]** Add INP breakdown timings and LoAF attribution ([#​442](https://togithub.com/GoogleChrome/web-vitals/pull/442)) - **\[BREAKING]** Deprecate `onFID()` and remove previously deprecated APIs ([#​435](https://togithub.com/GoogleChrome/web-vitals/pull/435)) - Expose the target element in INP attribution ([#​479](https://togithub.com/GoogleChrome/web-vitals/pull/479)) - Save INP target after interactions to reduce null values when removed from the DOM ([#​477](https://togithub.com/GoogleChrome/web-vitals/pull/477)) - Cap TTFB in attribution ([#​440](https://togithub.com/GoogleChrome/web-vitals/pull/440)) - Fix `reportAllChanges` behavior for LCP when library is loaded late ([#​468](https://togithub.com/GoogleChrome/web-vitals/pull/468)) </details> --- ### 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Canary-nextjs).
- Loading branch information