New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 Compare versions

Comparing version 0.6.0 to 0.6.1

7

CHANGELOG.md
# Changelog
## 0.6.1 (2018-3-3)
### Bug Fixes
* **start/end:** Fixed Performance.getDurationByMetric method
## 0.6.0 (2018-3-3)

@@ -4,0 +11,0 @@

2

dist/es/performance.js

@@ -79,3 +79,3 @@ import ttiPolyfill from "tti-polyfill";

var entry = this.getMeasurementForGivenName(metricName);
if (entry && entry.entryType !== "measure") {
if (entry && entry.entryType === "measure") {
return entry.duration;

@@ -82,0 +82,0 @@ }

@@ -81,3 +81,3 @@ "use strict";

var entry = this.getMeasurementForGivenName(metricName);
if (entry && entry.entryType !== "measure") {
if (entry && entry.entryType === "measure") {
return entry.duration;

@@ -84,0 +84,0 @@ }

@@ -177,3 +177,3 @@ var EmulatedPerformance = /** @class */ (function () {

var entry = this.getMeasurementForGivenName(metricName);
if (entry && entry.entryType !== "measure") {
if (entry && entry.entryType === "measure") {
return entry.duration;

@@ -180,0 +180,0 @@ }

@@ -183,3 +183,3 @@ (function (global, factory) {

var entry = this.getMeasurementForGivenName(metricName);
if (entry && entry.entryType !== "measure") {
if (entry && entry.entryType === "measure") {
return entry.duration;

@@ -186,0 +186,0 @@ }

import PerformImpl from "./performance-impl";
declare global {
}
export default class EmulatedPerformance implements PerformImpl {

@@ -3,0 +5,0 @@ config: any;

{
"name": "perfume.js",
"version": "0.6.0",
"version": "0.6.1",
"description": "JavaScript library for measuring Short and Long Script, First Contentful Paint (FCP), Time to Interactive (TTI), Component First Paint (CFM), annotating them to the DevTools timeline and reporting the results to Google Analytics.",

@@ -5,0 +5,0 @@ "keywords": [

<a href="http://zizzamia.github.io/perfume/"><img src="https://github.com/Zizzamia/perfume.js/blob/master/docs/src/assets/perfume-logo-v0-5-0.png" align="left" width="262" /></a>
# [Perfume.js v0.6.0](http://zizzamia.github.io/perfume/)
# [Perfume.js v0.6.1](http://zizzamia.github.io/perfume/)
[![NPM version](https://badge.fury.io/js/perfume.js.svg)](https://www.npmjs.org/package/perfume.js) [![Build Status](https://travis-ci.org/Zizzamia/perfume.js.svg?branch=master)](https://travis-ci.org/Zizzamia/perfume.js) [![NPM Downloads](http://img.shields.io/npm/dm/perfume.js.svg)](https://www.npmjs.org/package/perfume.js) [![Test Coverage](https://api.codeclimate.com/v1/badges/f813d2f45b274d93b8c5/test_coverage)](https://codeclimate.com/github/Zizzamia/perfume.js/test_coverage)

@@ -5,0 +5,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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