@shopify/react-performance
Advanced tools
Comparing version 0.0.0-snapshot-20221206153119 to 0.0.0-snapshot-20230328181823
@@ -19,4 +19,5 @@ 'use strict'; | ||
return cleanup; | ||
} // eslint-disable-next-line react-hooks/exhaustive-deps | ||
} | ||
return undefined; // eslint-disable-next-line react-hooks/exhaustive-deps | ||
}, [performance, ...dependencies]); | ||
@@ -23,0 +24,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { LifecycleEvent } from '@shopify/performance'; | ||
import type { LifecycleEvent } from '@shopify/performance'; | ||
export interface LifecycleEventListener { | ||
@@ -3,0 +3,0 @@ (event: LifecycleEvent): void; |
@@ -1,2 +0,2 @@ | ||
import { LifecycleEventListener as LifecycleEventListenerType } from './lifecycle-event-listener'; | ||
import type { LifecycleEventListener as LifecycleEventListenerType } from './lifecycle-event-listener'; | ||
export declare function LifecycleEventListener({ onEvent, }: { | ||
@@ -3,0 +3,0 @@ onEvent: LifecycleEventListenerType; |
@@ -1,2 +0,2 @@ | ||
import { Navigation } from '@shopify/performance'; | ||
import type { Navigation } from '@shopify/performance'; | ||
export interface NavigationListener { | ||
@@ -3,0 +3,0 @@ (navigation: Navigation): void; |
@@ -1,2 +0,2 @@ | ||
import { NavigationListener as NavigationlistenerType } from './navigation-listener'; | ||
import type { NavigationListener as NavigationlistenerType } from './navigation-listener'; | ||
export declare function NavigationListener({ onNavigation, }: { | ||
@@ -3,0 +3,0 @@ onNavigation: NavigationlistenerType; |
@@ -1,2 +0,2 @@ | ||
import { Performance } from '@shopify/performance'; | ||
import type { Performance } from '@shopify/performance'; | ||
export interface PerformanceEffectCallback { | ||
@@ -3,0 +3,0 @@ (performance: Performance): VoidFunction | void; |
@@ -1,2 +0,2 @@ | ||
import { ErrorHandler } from './performance-report'; | ||
import type { ErrorHandler } from './performance-report'; | ||
interface Props { | ||
@@ -3,0 +3,0 @@ url: string; |
@@ -1,1 +0,1 @@ | ||
module.exports = require("./build/cjs/index.js"); | ||
module.exports = require("./build/cjs/index.js"); |
{ | ||
"name": "@shopify/react-performance", | ||
"version": "0.0.0-snapshot-20221206153119", | ||
"version": "0.0.0-snapshot-20230328181823", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "description": "Primitives to measure your React application's performance using `@shopify/performance`", | ||
"dependencies": { | ||
"@shopify/performance": "0.0.0-snapshot-20221206153119" | ||
"@shopify/performance": "0.0.0-snapshot-20230328181823" | ||
}, | ||
@@ -34,3 +34,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@shopify/jest-dom-mocks": "^4.0.2", | ||
"@shopify/jest-dom-mocks": "^4.1.2", | ||
"@shopify/network": "^3.2.1" | ||
@@ -37,0 +37,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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
39625
450
+ Added@shopify/performance@0.0.0-snapshot-20230328181823(transitive)
- Removed@shopify/performance@0.0.0-snapshot-20221206153119(transitive)