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.3dcc416e to 0.7.0-alpha.b5ecec0c

2

dist/operations/transform-fragment-document.js

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

2

package.json
{
"name": "graphql-codegen-core",
"version": "0.7.0-alpha.3dcc416e",
"version": "0.7.0-alpha.b5ecec0c",
"description": "GraphQL types and code generator based on schema",

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

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