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

apollo-server-core

Package Overview
Dependencies
Maintainers
1
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 3.6.0 to 3.6.1

4

dist/plugin/usageReporting/plugin.js

@@ -10,3 +10,2 @@ "use strict";

const async_retry_1 = __importDefault(require("async-retry"));
const apollo_graphql_1 = require("apollo-graphql");
const apollo_reporting_protobuf_1 = require("apollo-reporting-protobuf");

@@ -16,2 +15,3 @@ const apollo_server_env_1 = require("apollo-server-env");

const operationDerivedDataCache_1 = require("./operationDerivedDataCache");
const defaultUsageReportingSignature_1 = require("./defaultUsageReportingSignature");
const traceTreeBuilder_1 = require("../traceTreeBuilder");

@@ -390,3 +390,3 @@ const traceDetails_1 = require("./traceDetails");

}
const generatedSignature = (options.calculateSignature || apollo_graphql_1.defaultUsageReportingSignature)(requestContext.document, requestContext.operationName || '');
const generatedSignature = (options.calculateSignature || defaultUsageReportingSignature_1.defaultUsageReportingSignature)(requestContext.document, requestContext.operationName || '');
const generatedOperationDerivedData = {

@@ -393,0 +393,0 @@ signature: generatedSignature,

{
"name": "apollo-server-core",
"version": "3.6.0",
"version": "3.6.1",
"description": "Core engine for Apollo GraphQL server",

@@ -53,3 +53,3 @@ "main": "dist/index.js",

},
"gitHead": "8b2c1360c224d23ff64fa49adbee1e62dbdaa917"
"gitHead": "f3fc7d147a3bc3446f4f3452acfa5f598099b08f"
}
import os from 'os';
import { gzip } from 'zlib';
import retry from 'async-retry';
import { defaultUsageReportingSignature } from 'apollo-graphql';
import { Report, ReportHeader, Trace } from 'apollo-reporting-protobuf';

@@ -23,2 +22,3 @@ import { Response, fetch, Headers } from 'apollo-server-env';

} from './operationDerivedDataCache';
import { defaultUsageReportingSignature } from './defaultUsageReportingSignature';
import type {

@@ -25,0 +25,0 @@ ApolloServerPluginUsageReportingOptions,

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