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

@apollo/federation-internals

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/federation-internals - npm Package Compare versions

Comparing version 2.7.3 to 2.7.4-testing.1

dist/specs/connectSpec.d.ts

2

dist/error.d.ts

@@ -145,2 +145,4 @@ import { ASTNode, GraphQLError, GraphQLErrorOptions, GraphQLFormattedError } from "graphql";

SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD: ErrorCodeDefinition;
WASM_VALIDATION_ERROR: ErrorCodeDefinition;
WASM_LOAD_ERROR: ErrorCodeDefinition;
};

@@ -147,0 +149,0 @@ export declare const REMOVED_ERRORS: string[][];

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

const SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD = makeCodeDefinition('SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD', 'The `@sourceField` directive must be applied to a field of the `Query` or `Mutation` types, or of an entity type', { addedIn: '2.7.0' });
const WASM_VALIDATION_ERROR = makeCodeDefinition('WASM_VALIDATION_ERROR', 'Subgraph validation error generated by WASM code', { addedIn: '2.8.0' });
const WASM_LOAD_ERROR = makeCodeDefinition('WASM_LOAD_ERROR', 'Error loading a WebAssembly module', { addedIn: '2.8.0' });
exports.ERROR_CATEGORIES = {

@@ -332,2 +334,4 @@ DIRECTIVE_FIELDS_MISSING_EXTERNAL,

SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD,
WASM_VALIDATION_ERROR,
WASM_LOAD_ERROR,
};

@@ -334,0 +338,0 @@ const codeDefByCode = Object.values(exports.ERRORS).reduce((obj, codeDef) => { obj[codeDef.code] = codeDef; return obj; }, {});

@@ -27,2 +27,3 @@ export * from './definitions';

export * from './specs/sourceSpec';
export * from './specs/connectSpec';
//# sourceMappingURL=index.d.ts.map

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

__exportStar(require("./specs/sourceSpec"), exports);
__exportStar(require("./specs/connectSpec"), exports);
//# sourceMappingURL=index.js.map

10

dist/operations.d.ts

@@ -99,4 +99,3 @@ import { ArgumentNode, DocumentNode, FieldNode, FragmentDefinitionNode, SelectionNode, SelectionSetNode } from "graphql";

};
export declare class Operation {
readonly schema: Schema;
export declare class Operation extends DirectiveTargetElement<Operation> {
readonly rootKind: SchemaRootKind;

@@ -107,8 +106,3 @@ readonly selectionSet: SelectionSet;

readonly name?: string | undefined;
readonly directives?: readonly Directive<any, {
[key: string]: any;
}>[] | undefined;
constructor(schema: Schema, rootKind: SchemaRootKind, selectionSet: SelectionSet, variableDefinitions: VariableDefinitions, fragments?: NamedFragments | undefined, name?: string | undefined, directives?: readonly Directive<any, {
[key: string]: any;
}>[] | undefined);
constructor(schema: Schema, rootKind: SchemaRootKind, selectionSet: SelectionSet, variableDefinitions: VariableDefinitions, fragments?: NamedFragments | undefined, name?: string | undefined, directives?: readonly Directive<any>[]);
private withUpdatedSelectionSet;

@@ -115,0 +109,0 @@ private withUpdatedSelectionSetAndFragments;

{
"name": "@apollo/federation-internals",
"version": "2.7.3",
"version": "2.7.4-testing.1",
"description": "Apollo Federation internal utilities",

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

@@ -677,2 +677,14 @@ import { ASTNode, GraphQLError, GraphQLErrorOptions, GraphQLFormattedError } from "graphql";

const WASM_VALIDATION_ERROR = makeCodeDefinition(
'WASM_VALIDATION_ERROR',
'Subgraph validation error generated by WASM code',
{ addedIn: '2.8.0' },
);
const WASM_LOAD_ERROR = makeCodeDefinition(
'WASM_LOAD_ERROR',
'Error loading a WebAssembly module',
{ addedIn: '2.8.0' },
);
export const ERROR_CATEGORIES = {

@@ -786,2 +798,4 @@ DIRECTIVE_FIELDS_MISSING_EXTERNAL,

SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD,
WASM_VALIDATION_ERROR,
WASM_LOAD_ERROR,
};

@@ -788,0 +802,0 @@

@@ -27,1 +27,2 @@ export * from './definitions';

export * from './specs/sourceSpec';
export * from './specs/connectSpec';

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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