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

graphql-codegen-core

Package Overview
Dependencies
Maintainers
1
Versions
1651
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-codegen-core - npm Package Compare versions

Comparing version 0.7.0-alpha.073f588d to 0.7.0-alpha.383c3d35

3

dist/index.d.ts

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

import gql from 'graphql-tag';
export { schemaToTemplateContext } from './schema/schema-to-template-context';

@@ -7,1 +8,3 @@ export { transformDocument } from './operations/transform-document';

export { DocumentNode, Source, parse, concatAST, graphql, introspectionQuery, GraphQLSchema, IntrospectionQuery } from 'graphql';
export { gql };
export { makeExecutableSchema } from 'graphql-tools';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var graphql_tag_1 = require("graphql-tag");
exports.gql = graphql_tag_1.default;
var schema_to_template_context_1 = require("./schema/schema-to-template-context");

@@ -23,2 +25,4 @@ exports.schemaToTemplateContext = schema_to_template_context_1.schemaToTemplateContext;

exports.GraphQLSchema = graphql_1.GraphQLSchema;
var graphql_tools_1 = require("graphql-tools");
exports.makeExecutableSchema = graphql_tools_1.makeExecutableSchema;
//# sourceMappingURL=index.js.map

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

var debugging_1 = require("../debugging");
var printer_1 = require("graphql/language/printer");
function transformFragment(schema, fragment) {

@@ -16,2 +17,3 @@ debugging_1.debugLog("[transformFragment] transforming fragment " + fragment.name.value + " on type " + fragment.typeCondition.name.value);

selectionSet: build_selection_set_1.buildSelectionSet(schema, root, fragment.selectionSet),
document: printer_1.print(fragment),
};

@@ -18,0 +20,0 @@ }

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

var debugging_1 = require("../debugging");
var printer_1 = require("graphql/language/printer");
function transformOperation(schema, operationNode) {

@@ -22,2 +23,3 @@ var name = operationNode.name && operationNode.name.value ? operationNode.name.value : '';

isSubscription: operationNode.operation === 'subscription',
document: printer_1.print(operationNode),
};

@@ -24,0 +26,0 @@ }

@@ -116,2 +116,3 @@ export interface Argument {

onType: string;
document: string;
}

@@ -127,2 +128,3 @@ export interface Operation {

isSubscription: boolean;
document: string;
}

@@ -129,0 +131,0 @@ export interface Variable {

10

package.json
{
"name": "graphql-codegen-core",
"version": "0.7.0-alpha.073f588d",
"version": "0.7.0-alpha.383c3d35",
"description": "GraphQL types and code generator based on schema",

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

"dependencies": {
"graphql": "^0.10.3",
"graphql-tag": "^2.4.2",
"graphql-tools": "^1.1.0"
"@types/graphql": "^0.10.0",
"graphql": "^0.10.4",
"graphql-tools": "^1.0.0"
},

@@ -84,5 +84,3 @@ "devDependencies": {

"@types/node": "7",
"graphql": "^0.10.3",
"graphql-tag": "^2.4.2",
"graphql-tools": "^1.1.0",
"jest": "^20.0.4",

@@ -89,0 +87,0 @@ "rimraf": "^2.6.1",

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

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