@shopify/performance
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -10,4 +10,10 @@ # Changelog | ||
### Added | ||
## [1.0.1] - 2019-01-11 | ||
- `@shopify/performance` package | ||
### Fixed | ||
- No longer fails if the browser does not have `window.performance`. | ||
## [1.0.0] - 2019-01-30 | ||
First version. |
@@ -48,3 +48,3 @@ "use strict"; | ||
function withTiming(handler) { | ||
if (typeof document === 'undefined') { | ||
if (typeof document === 'undefined' || typeof performance === 'undefined') { | ||
return; | ||
@@ -51,0 +51,0 @@ } |
{ | ||
"name": "@shopify/performance", | ||
"version": "1.0.0", | ||
"version": "1.0.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
39240