Socket
Socket
Sign inDemoInstall

web-vitals

Package Overview
Dependencies
0
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous123567Next

3.1.1-soft-navs-1

Diff

tunetheweb
published 3.1.1-soft-navs •

tunetheweb
published 3.1.1 •

Changelog

Source

v3.1.1 (2023-01-10)

  • Defer CLS logic until after onFCP() callback (#297)
philipwalton
published 3.1.0 •

Changelog

Source

v3.1.0 (2022-11-15)

  • 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)
philipwalton
published 3.0.4 •

Changelog

Source

v3.0.4 (2022-10-18)

  • Clamp LCP and FCP to 0 for prerendered pages (#270)
philipwalton
published 3.0.3 •

Changelog

Source

v3.0.3 (2022-10-04)

  • Ensure attribution object is always present in attribution build (#265)
philipwalton
published 3.0.2 •

Changelog

Source

v3.0.2 (2022-09-14)

  • Set an explicit unpkg dist file (#261)
philipwalton
published 3.0.1 •

Changelog

Source

v3.0.1 (2022-08-31)

  • Use the cjs extension for all UMD builds (#257)
philipwalton
published 3.0.0 •

Changelog

Source

v3.0.0 (2022-08-24)

  • [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)
philipwalton
published 3.0.0-rc.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc