@shopify/performance
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -8,2 +8,10 @@ # Changelog | ||
<!-- ## Unreleased --> | ||
## [1.2.1] - 2019-10-11 | ||
### Fixed | ||
- `cacheEffectiveness` now assumes duration=0 is a cache hit [[#1107](https://github.com/Shopify/quilt/pull/1107)] | ||
## [1.2.0] - 2019-10-03 | ||
@@ -10,0 +18,0 @@ |
@@ -96,6 +96,6 @@ "use strict"; | ||
} | ||
return (events.filter(function (_a) { | ||
var size = _a.metadata.size; | ||
return size === 0; | ||
}).length / events.length); | ||
return events.filter(function (_a) { | ||
var duration = _a.duration; | ||
return duration === 0; | ||
}).length / events.length; | ||
}, | ||
@@ -102,0 +102,0 @@ enumerable: true, |
{ | ||
"name": "@shopify/performance", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Primitives for collecting browser performance metrics.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43848