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

@shopify/performance

Package Overview
Dependencies
Maintainers
27
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 0.0.0-snapshot-20230328183850 to 0.0.0-snapshot-20230329183100

4

build/cjs/navigation.js

@@ -93,4 +93,4 @@ 'use strict';

return events.filter(({
duration
}) => duration === 0).length / events.length;
metadata
}) => Boolean(metadata === null || metadata === void 0 ? void 0 : metadata.cached)).length / events.length;
}

@@ -97,0 +97,0 @@

@@ -96,3 +96,4 @@ 'use strict';

name: entry.name,
size: entry.encodedBodySize
size: entry.encodedBodySize,
cached: entry.transferSize === 0 && entry.decodedBodySize > 0
}

@@ -99,0 +100,0 @@ }, {

@@ -62,2 +62,3 @@ export declare enum EventType {

size?: number;
cached?: boolean;
};

@@ -70,2 +71,3 @@ }

size?: number;
cached?: boolean;
};

@@ -72,0 +74,0 @@ }

{
"name": "@shopify/performance",
"version": "0.0.0-snapshot-20230328183850",
"version": "0.0.0-snapshot-20230329183100",
"license": "MIT",

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

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

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