Update dependency web-vitals to v3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
web-vitals | dependencies | major | ^2.1.0 -> ^3.0.0 |
Release Notes
GoogleChrome/web-vitals (web-vitals)
v3.4.0
- 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
v3.3.1
- Export metric rating thresholds in attribution build as well.
v3.3.0
- 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
- Defer CLS logic until after
onFCP()
callback (#297)
v3.1.0
- Add support for
'restore'
as anavigationType
(#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
- Clamp LCP and FCP to 0 for prerendered pages (#270)
v3.0.3
- Ensure
attribution
object is always present in attribution build (#265)
v3.0.2
- Set an explicit unpkg dist file (#261)
v3.0.1
- Use the cjs extension for all UMD builds (#257)
v3.0.0
- [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 toReportCallback
, with alias for back-compat (#225, #227) - Add support for the new INP metric (#221, #232)
- Rename
getXXX()
functions toonXXX()
(#222) - Add a
navigationType
property to the Metric object (#219)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.