Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

perfume.js

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perfume.js - npm Package Versions

1
16

5.2.2

Diff

Changelog

Source

5.2.2 (2020-8-27)

  • fix: added processingStart in minified file
zizzamia
published 5.2.1 •

Changelog

Source

5.2.1 (2020-8-27)

  • fix: added fidVitals to vitalsScore
zizzamia
published 5.2.0 •

Changelog

Source

5.2.0 (2020-8-26)

  • fix: conditionally make calls to PerformanceObserver.takeRecords which does not exist in Safari #138
  • fix: report CLS when value is 0
  • feat: prepare new FID iteration for v6
  • chore: Italian README #137
zizzamia
published 5.1.1 •

Changelog

Source

5.1.1 (2020-8-12)

  • fix: added storage.estimate feature detection #136
zizzamia
published 5.1.0 •

Changelog

Source

5.1.0 (2020-6-2)

  • feat: added web vitals score to metrics #126
  • feat: added element timing support #124
zizzamia
published 5.0.2 •

Changelog

Source

5.0.2 (2020-5-9)

  • fix: measuring with perfume.end() now returns the duration of the annotation instead of an object
zizzamia
published 5.0.1 •

zizzamia
published 5.0.0 •

Changelog

Source

5.0.0 (2020-5-9)

  • feat: simplified the analyticsTracker by having all duration value inside the data property
  • feat: enabled PerformanceObserver for all browser, before was only for Chrome
  • feat: added Total Blocking Time #112
  • feat: added Total Blocking Time Final for when the page's lifecycle state changes to hidden
  • feat: added secondary log for LCP and CLS called LCP Final & CLS Final for when the page's lifecycle state changes to hidden
  • feat: added storageEstimateQuota and storageEstimateUsage to the navigatorInfo results
  • fix: added feature detection for clearMarks
  • fix: solved issue with storageEstimate and created his own event
  • refactor: reduced library size to 2Kb gzipped

Breaking Changes

Until now, we allowed only Chrome to run the PerformanceObserver interface because of possible cross-browser issues. One in particular related to Firefox 58: https://bugzilla.mozilla.org/show_bug.cgi?id=1403027. Starting from Perfume.js v5, we are going to remove this limitation.

Having both duration and data inside the analyticsTracker, it started causing some confusion. Starting from v5, we will keep only data and have any information from duration contained inside data. Please make sure to change the code inside your analyticsTracker.

More changes:

  • Removed the development logging options, in favor of focusing more on the analyticsTracker method.
  • Removed warning logs for start() and end() methods, because the code already handles those edge cases.
  • Renamed most of metric names, please read README Quickstart to see the latest name version we have. We made most of metric with short names, to allow the library to be even smaller.
  • Simplified EstimateStorage values, to help reduce library size.
zizzamia
published 5.0.0-rc.19 •

Changelog

Source

5.0.0-rc.19 (2020-5-6)

  • fix: added extra check to avoid multiple disconnectPerfObserversHidden calls
zizzamia
published 5.0.0-rc.18 •

Changelog

Source

5.0.0-rc.18 (2020-5-6)

  • fix: added extra check in case observer object is not present
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc