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

apollo-tracing

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-tracing - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

lib/tracingFormat.js

@@ -18,2 +18,4 @@ "use strict";

return resolverCalls.map(resolverCall => {
const startOffset = durationHrTimeToNanos(resolverCall.startOffset);
const duration = resolverCall.endOffset ? durationHrTimeToNanos(resolverCall.endOffset) - startOffset : 0;
return {

@@ -24,4 +26,4 @@ path: graphql_1.responsePathAsArray(resolverCall.path),

returnType: resolverCall.returnType.toString(),
startOffset: durationHrTimeToNanos(resolverCall.startOffset),
duration: resolverCall.endOffset ? durationHrTimeToNanos(resolverCall.endOffset) : 0,
startOffset,
duration,
};

@@ -28,0 +30,0 @@ });

{
"name": "apollo-tracing",
"version": "0.0.4",
"version": "0.0.5",
"description": "Collect and expose trace data for GraphQL requests",

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

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