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.4.5 to 2.4.6

9

dist/operations.d.ts
import { ArgumentNode, DocumentNode, FieldNode, FragmentDefinitionNode, FragmentSpreadNode, InlineFragmentNode, SelectionNode, SelectionSetNode } from "graphql";
import { Directive, DirectiveTargetElement, FieldDefinition, InterfaceType, ObjectType, Schema, SchemaRootKind, VariableCollector, VariableDefinitions, CompositeType, DeferDirectiveArgs, Variable, Type, Variables } from "./definitions";
import { Directive, DirectiveTargetElement, FieldDefinition, InterfaceType, ObjectType, Schema, SchemaRootKind, VariableCollector, VariableDefinitions, CompositeType, DeferDirectiveArgs, Variable, Type, Variables, NamedType } from "./definitions";
import { SetMultiMap } from "./utils";

@@ -35,2 +35,3 @@ declare abstract class AbstractOperationElement<T extends AbstractOperationElement<T>> extends DirectiveTargetElement<T> {

isLeafField(): boolean;
baseType(): NamedType;
withUpdatedDefinition(newDefinition: FieldDefinition<any>): Field<TArgs>;

@@ -259,2 +260,3 @@ withUpdatedAlias(newAlias: string | undefined): Field<TArgs>;

get parentType(): CompositeType;
isTypenameField(): boolean;
collectVariables(collector: VariableCollector): void;

@@ -299,2 +301,3 @@ collectUsedFragmentNames(collector: Map<string, number>): void;

protected us(): FieldSelection;
isTypenameField(): boolean;
withUpdatedComponents(field: Field<any>, selectionSet: SelectionSet | undefined): FieldSelection;

@@ -383,3 +386,3 @@ key(): string;

withUpdatedComponents(_fragment: FragmentElement, _selectionSet: SelectionSet): InlineFragmentSelection;
trimUnsatisfiableBranches(_: CompositeType): FragmentSelection;
trimUnsatisfiableBranches(parentType: CompositeType): FragmentSelection;
namedFragments(): NamedFragments | undefined;

@@ -389,3 +392,3 @@ validate(): void;

optimize(_: NamedFragments): FragmentSelection;
rebaseOn(_parentType: CompositeType): FragmentSelection;
rebaseOn(parentType: CompositeType): FragmentSelection;
canAddTo(_: CompositeType): boolean;

@@ -392,0 +395,0 @@ expandAllFragments(): FragmentSelection | readonly Selection[];

@@ -58,3 +58,3 @@ export declare function assert(condition: any, message: string | (() => string)): asserts condition;

export type Concrete<Type> = {
[Property in keyof Type]-?: Type[Property];
[Property in keyof Type]-?: Concrete<Type[Property]>;
};

@@ -61,0 +61,0 @@ export declare const isDefined: <T>(t: T | undefined) => t is T;

{
"name": "@apollo/federation-internals",
"version": "2.4.5",
"version": "2.4.6",
"description": "Apollo Federation internal utilities",

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

@@ -404,3 +404,3 @@ /**

export type Concrete<Type> = {
[Property in keyof Type]-?: Type[Property];
[Property in keyof Type]-?: Concrete<Type[Property]>;
};

@@ -407,0 +407,0 @@

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 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