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

@shopify/performance

Package Overview
Dependencies
Maintainers
12
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/performance - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

CHANGELOG.md

@@ -10,2 +10,10 @@ # Changelog

## [1.1.1] - 2019-03-04
### Fixed
- Fixed an issue where events starting before the navigation would include the pre-navigation time in `Navigation#totalDurationByEventType` [[#549](https://github.com/Shopify/quilt/pull/549)]
## [1.1.0] - 2019-03-02
### Added

@@ -12,0 +20,0 @@

5

dist/navigation.js

@@ -40,2 +40,3 @@ "use strict";

var events = this.eventsByType(type);
var navigationStart = this.start;
if (events.length === 0) {

@@ -46,4 +47,4 @@ return 0;

return ranges.reduce(function (total, _a) {
var duration = _a.duration;
return total + duration;
var start = _a.start, duration = _a.duration;
return total + duration - Math.max(0, navigationStart - start);
}, 0);

@@ -50,0 +51,0 @@ };

2

package.json
{
"name": "@shopify/performance",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Primitives for collecting browser performance metrics.",

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