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

@neo-one/monitor

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/monitor - npm Package Compare versions

Comparing version 1.0.0-alpha.13 to 1.0.0-alpha.14

5

dist/index.browser.es.js

@@ -1415,3 +1415,2 @@ import { Tracer, childOf, followsFrom } from 'opentracing';

spanLogLevel = _ref.spanLogLevel;
var perf = performance;
return new BrowserMonitor({

@@ -1428,4 +1427,6 @@ service: service,

metricsFactory: new BrowserMetricsFactory(),
// NOTE: We do not use performance.now because there is no longer a
// benefit in browsers with result rounding.
now: function now() {
return perf.now();
return Date.now();
},

@@ -1432,0 +1433,0 @@ metricsLogLevel: metricsLogLevel,

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

spanLogLevel = _ref.spanLogLevel;
var perf = performance;
return new BrowserMonitor({

@@ -1434,4 +1433,6 @@ service: service,

metricsFactory: new BrowserMetricsFactory(),
// NOTE: We do not use performance.now because there is no longer a
// benefit in browsers with result rounding.
now: function now() {
return perf.now();
return Date.now();
},

@@ -1438,0 +1439,0 @@ metricsLogLevel: metricsLogLevel,

2

dist/index.es.js

@@ -1068,3 +1068,3 @@ import { Tracer, childOf, followsFrom } from 'opentracing';

metricsFactory: new NodeMetricsFactory(),
now: () => perfHooks.performance.now(),
now: () => perfHooks.performance.timeOrigin + perfHooks.performance.now(),
metricsLogLevel,

@@ -1071,0 +1071,0 @@ spanLogLevel

@@ -1074,3 +1074,3 @@ 'use strict';

metricsFactory: new NodeMetricsFactory(),
now: () => perfHooks.performance.now(),
now: () => perfHooks.performance.timeOrigin + perfHooks.performance.now(),
metricsLogLevel,

@@ -1077,0 +1077,0 @@ spanLogLevel

{
"name": "@neo-one/monitor",
"version": "1.0.0-alpha.13",
"version": "1.0.0-alpha.14",
"keywords": [

@@ -5,0 +5,0 @@ "neo",

@@ -76,3 +76,2 @@ /* @flow */

}: BrowserMonitorCreate): BrowserMonitor {
const perf = performance;
return new BrowserMonitor({

@@ -89,3 +88,5 @@ service,

metricsFactory: new BrowserMetricsFactory(),
now: () => perf.now(),
// NOTE: We do not use performance.now because there is no longer a
// benefit in browsers with result rounding.
now: () => Date.now(),
metricsLogLevel,

@@ -92,0 +93,0 @@ spanLogLevel,

@@ -74,3 +74,3 @@ /* @flow */

metricsFactory: new NodeMetricsFactory(),
now: () => perfHooks.performance.now(),
now: () => perfHooks.performance.timeOrigin + perfHooks.performance.now(),
metricsLogLevel,

@@ -77,0 +77,0 @@ spanLogLevel,

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