Socket
Socket
Sign inDemoInstall

graphql-transformer-common

Package Overview
Dependencies
Maintainers
2
Versions
755
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0-alpha.ae590eab to 1.1.0-alpha.b0266b82

1

lib/definition.d.ts

@@ -25,2 +25,3 @@ import { ObjectTypeDefinitionNode, InputValueDefinitionNode, FieldDefinitionNode, TypeNode, SchemaDefinitionNode, OperationTypeNode, OperationTypeDefinitionNode, ObjectTypeExtensionNode, NamedTypeNode, NonNullTypeNode, ListTypeNode, ArgumentNode, DirectiveNode, EnumTypeDefinitionNode, ValueNode } from 'graphql';

export declare function isListType(type: TypeNode): boolean;
export declare function isNonNullType(type: TypeNode): boolean;
export declare const getDirectiveArgument: (directive: DirectiveNode) => (arg: string, dflt?: any) => any;

@@ -27,0 +28,0 @@ export declare function unwrapNonNull(type: TypeNode): any;

@@ -101,2 +101,6 @@ "use strict";

exports.isListType = isListType;
function isNonNullType(type) {
return type.kind === graphql_1.Kind.NON_NULL_TYPE;
}
exports.isNonNullType = isNonNullType;
exports.getDirectiveArgument = function (directive) { return function (arg, dflt) {

@@ -103,0 +107,0 @@ var get = function (s) { return function (arg) { return arg.name.value === s; }; };

6

package.json
{
"name": "graphql-transformer-common",
"version": "1.1.0-alpha.ae590eab",
"version": "1.1.0-alpha.b0266b82",
"description": "Common code and constants for AppSync Transformers",

@@ -21,4 +21,4 @@ "main": "lib/index.js",

"graphql": "^0.13.2",
"graphql-mapping-template": "^1.1.0-alpha.ae590eab",
"graphql-transformer-core": "^1.1.0-alpha.ae590eab"
"graphql-mapping-template": "^1.1.0-alpha.b0266b82",
"graphql-transformer-core": "^1.1.0-alpha.b0266b82"
},

@@ -25,0 +25,0 @@ "devDependencies": {

@@ -102,2 +102,6 @@ import {

export function isNonNullType(type: TypeNode): boolean {
return type.kind === Kind.NON_NULL_TYPE;
}
export const getDirectiveArgument = (directive: DirectiveNode) => (arg: string, dflt?: any) => {

@@ -104,0 +108,0 @@ const get = (s: string) => (arg: ArgumentNode) => arg.name.value === s

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc