New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

reactotron-core-client

Package Overview
Dependencies
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactotron-core-client - npm Package Compare versions

Comparing version 1.12.0 to 1.12.2

18

dist/index.js

@@ -346,7 +346,2 @@ 'use strict';

// if we do find it, let's setup to call it
var nativePerformanceNow = function nativePerformanceNow() {
return nativePerformance.now();
};
// the function we're trying to assign

@@ -360,4 +355,4 @@ var performanceNow = defaultPerformanceNow;

// node will use a high rez timer
if (hasHirezNodeTimer) {
// nodejs
performanceNow = process.hrtime;

@@ -367,9 +362,12 @@ delta = function delta(started) {

};
} else if (global.nativePerformanceNow) {
// react native 47
performanceNow = global.nativePerformanceNow;
} else if (nativePerformance) {
performanceNow = nativePerformanceNow;
// browsers + safely check for react native < 47
performanceNow = function performanceNow() {
return nativePerformance.now && nativePerformance.now();
};
}
// this is the interface the callers will use
// export const performanceNow = nativePerformance ? nativePerformanceNow : defaultPerformanceNow
/**

@@ -376,0 +374,0 @@ * Starts a lame, low-res timer. Returns a function which when invoked,

{
"name": "reactotron-core-client",
"version": "1.12.0",
"version": "1.12.2",
"description": "Grants Reactotron clients the ability to talk to a Reactotron server.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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