Skip to content

Update dependency web-vitals to v5 #72

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 7, 2025

This PR contains the following updates:

Package Change Age Confidence
web-vitals ^4.0.0 -> ^5.0.0 age confidence

Release Notes

GoogleChrome/web-vitals (web-vitals)

v5.1.0

Compare Source

  • Register visibility-change early (#​637)
  • Only finalize LCP on user events (isTrusted=true) (#​635)
  • Fallback to default getSelector if custom function is null or undefined (#​634)

v5.0.3

Compare Source

  • Remove visibilitychange event listeners when no longer required (#​627)

v5.0.2

Compare Source

  • Handle layout shifts with no sources (#​623)

v5.0.1

Compare Source

  • Fix missing FCP and LCP for prerendered pages (#​621)

v5.0.0

Compare Source

[!NOTE]
See the upgrading to v5 guide for a complete list of all API changes in version 5.

  • [BREAKING] Remove the deprecated onFID() function (#​519)
  • [BREAKING] Change browser support policy to Baseline Widely available (#​525)
  • [BREAKING] Sort the classes that appear in attribution selectors to reduce cardinality (#​518)
  • Extend INP attribution with extra LoAF information: longest script and buckets (#​592)
  • Add support for generating custom targets in the attribution build (#​585)
  • Support multiple calls to onINP() with different config options (#​583)
  • Use visibility-state performance entries (#​612)
  • Ensure idle callbacks don't run twice (#​541) and (#​548)
  • Cap nextPaintTime at processingStart (#​540) and (#​546)
  • Cap INP breakdowns to INP duration (#​528)
  • Cap LCP load duration to LCP time (#​527)

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/web-vitals-5.x branch from b5e5c41 to 05bacc1 Compare August 7, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

0 participants