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

graphql-codegen-plugin-helpers

Package Overview
Dependencies
Maintainers
1
Versions
1198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-codegen-plugin-helpers - npm Package Compare versions

Comparing version 0.19.0-alpha.63dff9f8 to 0.19.0-alpha.645c985c

6

dist/commonjs/types.d.ts

@@ -145,5 +145,5 @@ import { DocumentNode, GraphQLSchema } from 'graphql';

}
export declare function isFieldNode(node: SelectionSetItem): node is SelectionSetFieldNode;
export declare function isFragmentSpreadNode(node: SelectionSetItem): node is SelectionSetFragmentSpread;
export declare function isInlineFragmentNode(node: SelectionSetItem): node is SelectionSetInlineFragment;
export declare function isFieldNode(node: any): node is SelectionSetFieldNode;
export declare function isFragmentSpreadNode(node: any): node is SelectionSetFragmentSpread;
export declare function isInlineFragmentNode(node: any): node is SelectionSetInlineFragment;
export interface Fragment extends AstNode {

@@ -150,0 +150,0 @@ name: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isFieldNode(node) {
return node['name'] !== undefined && node['selectionSet'] !== undefined && node['type'] !== undefined;
return node.name !== undefined && node.selectionSet !== undefined && node.type !== undefined;
}
exports.isFieldNode = isFieldNode;
function isFragmentSpreadNode(node) {
return node['fragmentName'] !== undefined;
return node.fragmentName !== undefined;
}
exports.isFragmentSpreadNode = isFragmentSpreadNode;
function isInlineFragmentNode(node) {
return node['selectionSet'] !== undefined && node['onType'] !== undefined;
return node.selectionSet !== undefined && node.onType !== undefined;
}
exports.isInlineFragmentNode = isInlineFragmentNode;
//# sourceMappingURL=types.js.map

@@ -145,5 +145,5 @@ import { DocumentNode, GraphQLSchema } from 'graphql';

}
export declare function isFieldNode(node: SelectionSetItem): node is SelectionSetFieldNode;
export declare function isFragmentSpreadNode(node: SelectionSetItem): node is SelectionSetFragmentSpread;
export declare function isInlineFragmentNode(node: SelectionSetItem): node is SelectionSetInlineFragment;
export declare function isFieldNode(node: any): node is SelectionSetFieldNode;
export declare function isFragmentSpreadNode(node: any): node is SelectionSetFragmentSpread;
export declare function isInlineFragmentNode(node: any): node is SelectionSetInlineFragment;
export interface Fragment extends AstNode {

@@ -150,0 +150,0 @@ name: string;

export function isFieldNode(node) {
return node['name'] !== undefined && node['selectionSet'] !== undefined && node['type'] !== undefined;
return node.name !== undefined && node.selectionSet !== undefined && node.type !== undefined;
}
export function isFragmentSpreadNode(node) {
return node['fragmentName'] !== undefined;
return node.fragmentName !== undefined;
}
export function isInlineFragmentNode(node) {
return node['selectionSet'] !== undefined && node['onType'] !== undefined;
return node.selectionSet !== undefined && node.onType !== undefined;
}
//# sourceMappingURL=types.js.map
{
"name": "graphql-codegen-plugin-helpers",
"version": "0.19.0-alpha.63dff9f8",
"version": "0.19.0-alpha.645c985c",
"description": "graphql-codegen-cli template for TypeScript typings for both client side and server side",

@@ -23,2 +23,3 @@ "repository": "git@github.com:dotansimha/graphql-code-generator.git",

},
"sideEffects": false,
"main": "dist/commonjs/index.js",

@@ -25,0 +26,0 @@ "module": "dist/esnext/index.js",

@@ -8,3 +8,2 @@ {

"lib": ["es6", "esnext", "es2015"],
"suppressImplicitAnyIndexErrors": true,
"moduleResolution": "node",

@@ -15,2 +14,3 @@ "emitDecoratorMetadata": true,

"outDir": "./dist/",
"rootDir": "./src",
"noImplicitAny": true,

@@ -17,0 +17,0 @@ "noImplicitThis": true,

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