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

@graphql-tools/wrap

Package Overview
Dependencies
Maintainers
3
Versions
1344
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/wrap - npm Package Compare versions

Comparing version 5.0.1-alpha-bdd506c.0 to 5.0.1-alpha-cf46456.0

8

package.json
{
"name": "@graphql-tools/wrap",
"version": "5.0.1-alpha-bdd506c.0",
"version": "5.0.1-alpha-cf46456.0",
"description": "A set of utils for faster development of GraphQL tools",

@@ -9,5 +9,5 @@ "peerDependencies": {

"dependencies": {
"@graphql-tools/delegate": "5.0.1-alpha-bdd506c.0",
"@graphql-tools/schema": "5.0.1-alpha-bdd506c.0",
"@graphql-tools/utils": "5.0.1-alpha-bdd506c.0",
"@graphql-tools/delegate": "5.0.1-alpha-cf46456.0",
"@graphql-tools/schema": "5.0.1-alpha-cf46456.0",
"@graphql-tools/utils": "5.0.1-alpha-cf46456.0",
"tslib": "1.11.1"

@@ -14,0 +14,0 @@ },

import { GraphQLSchema } from 'graphql';
import { Transform, Request, FieldTransformer, FieldNodeTransformer } from '@graphql-tools/utils';
import { Transform, Request } from '@graphql-tools/utils';
import { FieldTransformer, FieldNodeTransformer } from '../types';
export default class TransformCompositeFields implements Transform {

@@ -4,0 +5,0 @@ private readonly fieldTransformer;

import { GraphQLSchema } from 'graphql';
import { Transform, Request, FieldTransformer, FieldNodeTransformer } from '@graphql-tools/utils';
import { Transform, Request } from '@graphql-tools/utils';
import { FieldTransformer, FieldNodeTransformer } from '../types';
export default class TransformInterfaceFields implements Transform {

@@ -4,0 +5,0 @@ private readonly interfaceFieldTransformer;

import { GraphQLSchema } from 'graphql';
import { Transform, Request, FieldTransformer, FieldNodeTransformer } from '@graphql-tools/utils';
import { Transform, Request } from '@graphql-tools/utils';
import { FieldTransformer, FieldNodeTransformer } from '../types';
export default class TransformObjectFields implements Transform {

@@ -4,0 +5,0 @@ private readonly objectFieldTransformer;

import { GraphQLSchema } from 'graphql';
import { Transform, Request, FieldNodeTransformer, RootFieldTransformer } from '@graphql-tools/utils';
import { Transform, Request } from '@graphql-tools/utils';
import { RootFieldTransformer, FieldNodeTransformer } from '../types';
export default class TransformRootFields implements Transform {

@@ -4,0 +5,0 @@ private readonly transformer;

@@ -1,2 +0,2 @@

import { GraphQLSchema, GraphQLFieldResolver, BuildSchemaOptions } from 'graphql';
import { GraphQLSchema, GraphQLFieldResolver, BuildSchemaOptions, GraphQLField, GraphQLFieldConfig, FieldNode, FragmentDefinitionNode, SelectionNode } from 'graphql';
import { Executor, Subscriber } from '@graphql-tools/delegate';

@@ -10,1 +10,8 @@ export interface IMakeRemoteExecutableSchemaOptions {

}
export interface RenamedFieldConfig {
name: string;
field?: GraphQLFieldConfig<any, any>;
}
export declare type FieldTransformer = (typeName: string, fieldName: string, field: GraphQLField<any, any>) => GraphQLFieldConfig<any, any> | RenamedFieldConfig | null | undefined;
export declare type RootFieldTransformer = (operation: 'Query' | 'Mutation' | 'Subscription', fieldName: string, field: GraphQLField<any, any>) => GraphQLFieldConfig<any, any> | RenamedFieldConfig | null | undefined;
export declare type FieldNodeTransformer = (typeName: string, fieldName: string, fieldNode: FieldNode, fragments: Record<string, FragmentDefinitionNode>) => SelectionNode | Array<SelectionNode>;

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