Skip to content

fix(deps): update dependency web-vitals to v4

Renovate requested to merge renovate/web-vitals-4.x into staging

This MR contains the following updates:

Package Type Update Change
web-vitals dependencies major ^1.1.2 -> ^4.2.3

Release Notes

GoogleChrome/web-vitals (web-vitals)

v4.2.3

Compare Source

  • Fix missing LoAF entries in INP attribution (#​512)

v4.2.2

Compare Source

  • Fix interaction count after bfcache restore (#​505)

v4.2.1

Compare Source

  • Fix compatibility issues with TypeScript v5.5 (#​497)

v4.2.0

Compare Source

  • Refactor INP attribution code to fix errors on Windows 10 (#​495)

v4.1.1

Compare Source

  • Fix pending LoAF cleanup logic (#​493)

v4.1.0

Compare Source

  • Move the support check to the top of the onINP() function (#​490)
  • Fix missing LoAF attribution when entries are dispatched before event entries (#​487)

v4.0.1

Compare Source

  • Add the ReportCallback type back but deprecate it (#​483)

v4.0.0

Compare Source

  • [BREAKING] Update types to support more generic usage (#​471)
  • [BREAKING] Split waitingDuration to make it easier to understand redirect delays (#​458)
  • [BREAKING] Rename TTFBAttribution fields from *Time to *Duration (#​453)
  • [BREAKING] Rename resourceLoadTime to resourceLoadDuration in LCP attribution (#​450)
  • [BREAKING] Add INP breakdown timings and LoAF attribution (#​442)
  • [BREAKING] Deprecate onFID() and remove previously deprecated APIs (#​435)
  • Expose the target element in INP attribution (#​479)
  • Save INP target after interactions to reduce null values when removed from the DOM (#​477)
  • Cap TTFB in attribution (#​440)
  • Fix reportAllChanges behavior for LCP when library is loaded late (#​468)

v3.5.2

Compare Source

  • Pick the first non-null target for INP attribution (#​421)

v3.5.1

Compare Source

  • Add extra guard for PerformanceEventTiming not existing (#​403)

v3.5.0

Compare Source

  • Run onLCP callback in separate task (#​386)
  • Fix INP durationThreshold bug when set to 0 (#​372)
  • Prevent FID entries being emitted as INP for non-supporting browsers (#​368)

v3.4.0

Compare Source

  • Make bindReporter generic over metric type (#​359)
  • Update INP status in README (#​362)
  • Fix Metric types for better TypeScript support (#​356)
  • Fix selector for SVGs for attribution build (#​354)

v3.3.2

Compare Source

  • Fix attribution types (#​348)
  • Safe access navigation entry type (#​290)

v3.3.1

Compare Source

  • Export metric rating thresholds in attribution build as well.

v3.3.0

Compare Source

  • Export metric rating thresholds, add explicit MetricRatingThresholds type (#​323)
  • Trim classname selector (#​328)
  • Add link to CrUX versus RUM blog post (#​327)
  • Prevent LCP being reported for hidden prerendered pages (#​326)
  • Add Server Timing information to docs (#​324)
  • Fix link in onINP() thresholds comment (#​318)
  • Update web.dev link for onINP() (#​307)
  • Add a note about when to load the library (#​305)

v3.1.1

Compare Source

  • Defer CLS logic until after onFCP() callback (#​297)

v3.1.0

Compare Source

  • Add support for 'restore' as a navigationType (#​284)
  • Report initial CLS value when reportAllChanges is true (#​283)
  • Defer all observers until after activation (#​282)
  • Ignore TTFB for loads where responseStart is zero (#​281)
  • Defer execution of observer callbacks (#​278)

v3.0.4

Compare Source

  • Clamp LCP and FCP to 0 for prerendered pages (#​270)

v3.0.3

Compare Source

  • Ensure attribution object is always present in attribution build (#​265)

v3.0.2

Compare Source

  • Set an explicit unpkg dist file (#​261)

v3.0.1

Compare Source

  • Use the cjs extension for all UMD builds (#​257)

v3.0.0

Compare Source

  • [BREAKING] Add a config object param to all metric functions (#​225)
  • [BREAKING] Report TTFB after a bfcache restore (#​220)
  • [BREAKING] Only include last LCP entry in metric entries (#​218)
  • Update the metric ID prefix for v3 (#​251)
  • Move the Navigation Timing API polyfill to the base+polyfill build (#​248)
  • Add a metric rating property (#​246)
  • Add deprecation notices for base+polyfill builds (#​242)
  • Add a new attribution build for debugging issues in the field (#​237, #​244)
  • Add support for prerendered pages (#​233)
  • Rename the ReportHandler type to ReportCallback, with alias for back-compat (#​225, #​227)
  • Add support for the new INP metric (#​221, #​232)
  • Rename getXXX() functions to onXXX() (#​222)
  • Add a navigationType property to the Metric object (#​219)

v2.1.4

Compare Source

  • Prevent TTFB from reporting after bfcache restore (#​201)

v2.1.3

Compare Source

  • Only call report if LCP occurs before first hidden (#​197)

v2.1.2

Compare Source

  • Ensure reported TTFB values are less than the current page time (#​187)

v2.1.1

Compare Source

  • Add feature detects to support Opera mini in extreme data saver mode (#​186)

v2.1.0

Compare Source

  • Add batch reporting support and guidance (#​166)

v2.0.1

Compare Source

  • Detect getEntriesByName support before calling (#​158)

v2.0.0

Compare Source

  • [BREAKING] Update CLS to max session window 5s cap 1s gap (#​148)
  • Ensure CLS is only reported if page was visible (#​149)
  • Only report CLS when FCP is reported (#​154)
  • Update the unique ID version prefix (#​157)

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading