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

@shopify/react-performance

Package Overview
Dependencies
Maintainers
19
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-performance - npm Package Compare versions

Comparing version 2.1.14 to 3.0.0

7

build/cjs/performance-report.js

@@ -5,3 +5,2 @@ 'use strict';

var _rollupPluginBabelHelpers = require('./_virtual/_rollupPluginBabelHelpers.js');
var React = require('react');

@@ -24,3 +23,3 @@ var network = require('@shopify/network');

timeout.current = setTimeout( /*#__PURE__*/_rollupPluginBabelHelpers.asyncToGenerator(function* () {
timeout.current = setTimeout(async () => {
if (timeout.current) {

@@ -32,3 +31,3 @@ clearTimeout(timeout.current);

try {
yield fetch(url, {
await fetch(url, {
method: network.Method.Post,

@@ -59,3 +58,3 @@ headers: {

}
}), 1000);
}, 1000);
}, [locale, onError, url]);

@@ -62,0 +61,0 @@ const onNavigation = React.useCallback(navigation => {

{
"name": "@shopify/react-performance",
"version": "2.1.14",
"version": "3.0.0",
"license": "MIT",

@@ -24,6 +24,6 @@ "description": "Primitives to measure your React application's performance using `@shopify/performance`",

"engines": {
"node": ">=12.14.0"
"node": "^14.17.0 || >=16.0.0"
},
"dependencies": {
"@shopify/performance": "^2.0.14"
"@shopify/performance": "^3.0.0"
},

@@ -34,3 +34,3 @@ "peerDependencies": {

"devDependencies": {
"@shopify/network": "^2.0.8"
"@shopify/network": "^3.0.0"
},

@@ -52,6 +52,5 @@ "files": [

"require": "./index.js"
},
"./*": "./*"
}
},
"gitHead": "70feded397084daea784a8c5a523a61ac4fdb34c"
"gitHead": "ef9afc562672dcda9d7800753dc6b777ecd2d751"
}

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