Upgrading web-vitals 0.1 to 0.2
Unknown0.1.0 → 0.2.4
Fetching 5 releases from GitHub…0 / 5
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- added:
const getTTFB: (onReport: ReportHandler) => void
- added:
export * from './types' - added:
export { getTTFB } from './getTTFB'
- changed:
const bindReporter: (callback: Function, metric: Metric, po: PerformanceObserver | undefined, observeAllUpdates?: boolean | undefined) => () => void → const bindReporter: (callback: ReportHandler, metric: Metric, po: PerformanceObserver | undefined, observeAllUpdates?: boolean | undefined) => () => void
- added:
const generateUniqueID: () => string
- added:
const getFirstHidden: () => { readonly timeStamp: number }
- removed:
const getFirstHiddenTime: () => number
- changed:
const initMetric: (value?: number) => Metric → const initMetric: (name: Metric['name'], value?: number) => Metric
- changed:
const whenInput: Promise<unknown> → const whenInput: () => Promise<Event>
- removed:
property Metric.event?: Event - added:
property Metric.id: string - added:
property Metric.name: 'CLS' | 'FCP' | 'FID' | 'LCP' | 'TTFB'
- removed:
export * from './index'