Socket
Socket
Sign inDemoInstall

apollo-server-core

Package Overview
Dependencies
Maintainers
3
Versions
314
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-server-core - npm Package Compare versions

Comparing version 1.0.3-tracing.2 to 1.0.3-tracing.3

5

dist/runQuery.js

@@ -29,6 +29,7 @@ "use strict";

logFunction({ action: LogAction.request, step: LogStep.start });
var context = options.context || {};
var traceCollector;
if (options.tracing) {
traceCollector = new apollo_tracing_1.TraceCollector();
options.context._traceCollector = traceCollector;
context._traceCollector = traceCollector;
traceCollector.requestDidStart();

@@ -90,3 +91,3 @@ apollo_tracing_1.instrumentSchemaForTracing(options.schema);

logFunction({ action: LogAction.execute, step: LogStep.start });
return graphql_1.execute(options.schema, documentAST, options.rootValue, options.context, options.variables, options.operationName).then(function (result) {
return graphql_1.execute(options.schema, documentAST, options.rootValue, context, options.variables, options.operationName).then(function (result) {
logFunction({ action: LogAction.execute, step: LogStep.end });

@@ -93,0 +94,0 @@ logFunction({ action: LogAction.request, step: LogStep.end });

2

package.json
{
"name": "apollo-server-core",
"version": "1.0.3-tracing.2",
"version": "1.0.3-tracing.3",
"description": "Core engine for Apollo GraphQL server",

@@ -5,0 +5,0 @@ "main": "dist/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