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.8 to 0.0.9

5

lib/instrumentation.js

@@ -33,3 +33,6 @@ "use strict";

const instrumentedFieldResolver = (source, args, context, info) => {
const traceCollector = context._traceCollector;
const traceCollector = context && context._traceCollector;
if (!traceCollector) {
return (fieldResolver || graphql_1.defaultFieldResolver)(source, args, context, info);
}
const resolverCall = {

@@ -36,0 +39,0 @@ path: info.path,

2

package.json
{
"name": "apollo-tracing",
"version": "0.0.8",
"version": "0.0.9",
"description": "Collect and expose trace data for GraphQL requests",

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

@@ -9,3 +9,3 @@ {

"outDir": "lib",
"lib": ["es2017"],
"lib": ["es2017", "esnext.asynciterable"],
"strict": true

@@ -12,0 +12,0 @@ },

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