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.19.0-alpha.85ff402e to 0.19.0-alpha.8785b963

4

dist/commonjs/codegen.d.ts

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

import { CodegenPlugin, DocumentFile, Types } from 'graphql-codegen-plugin-helpers';
import { CodegenPlugin, Types } from 'graphql-codegen-plugin-helpers';
import { DocumentNode } from 'graphql';

@@ -7,3 +7,3 @@ export declare function codegen(options: {

schema: DocumentNode;
documents: DocumentFile[];
documents: Types.DocumentFile[];
config: {

@@ -10,0 +10,0 @@ [key: string]: any;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const graphql_codegen_plugin_helpers_1 = require("graphql-codegen-plugin-helpers");
const graphql_1 = require("graphql");

@@ -21,3 +20,2 @@ const merge_schemas_1 = require("./merge-schemas");

const pluginConfig = plugin[name];
graphql_codegen_plugin_helpers_1.debugLog(`[CLI] Running plugin: ${name}`);
const result = await execute_plugin_1.executePlugin({

@@ -33,3 +31,2 @@ name,

}, pluginPackage);
graphql_codegen_plugin_helpers_1.debugLog(`[CLI] Completed executing plugin: ${name}`);
output += result;

@@ -36,0 +33,0 @@ }

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

import { Types, DocumentFile, CodegenPlugin } from 'graphql-codegen-plugin-helpers';
import { Types, CodegenPlugin } from 'graphql-codegen-plugin-helpers';
import { DocumentNode } from 'graphql';

@@ -7,3 +7,3 @@ export interface ExecutePluginOptions {

schema: DocumentNode;
documents: DocumentFile[];
documents: Types.DocumentFile[];
outputFilename: string;

@@ -10,0 +10,0 @@ allPlugins: Types.ConfiguredPlugin[];

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

import { CodegenPlugin, DocumentFile, Types } from 'graphql-codegen-plugin-helpers';
import { CodegenPlugin, Types } from 'graphql-codegen-plugin-helpers';
import { DocumentNode } from 'graphql';

@@ -7,3 +7,3 @@ export declare function codegen(options: {

schema: DocumentNode;
documents: DocumentFile[];
documents: Types.DocumentFile[];
config: {

@@ -10,0 +10,0 @@ [key: string]: any;

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

import { debugLog } from 'graphql-codegen-plugin-helpers';
import { visit } from 'graphql';

@@ -19,3 +18,2 @@ import { mergeSchemas } from './merge-schemas';

const pluginConfig = plugin[name];
debugLog(`[CLI] Running plugin: ${name}`);
const result = await executePlugin({

@@ -31,3 +29,2 @@ name,

}, pluginPackage);
debugLog(`[CLI] Completed executing plugin: ${name}`);
output += result;

@@ -34,0 +31,0 @@ }

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

import { Types, DocumentFile, CodegenPlugin } from 'graphql-codegen-plugin-helpers';
import { Types, CodegenPlugin } from 'graphql-codegen-plugin-helpers';
import { DocumentNode } from 'graphql';

@@ -7,3 +7,3 @@ export interface ExecutePluginOptions {

schema: DocumentNode;
documents: DocumentFile[];
documents: Types.DocumentFile[];
outputFilename: string;

@@ -10,0 +10,0 @@ allPlugins: Types.ConfiguredPlugin[];

{
"name": "graphql-codegen-core",
"version": "0.19.0-alpha.85ff402e",
"version": "0.19.0-alpha.8785b963",
"license": "MIT",

@@ -42,3 +42,3 @@ "repository": {

"dependencies": {
"graphql-codegen-plugin-helpers": "0.19.0-alpha.85ff402e",
"graphql-codegen-plugin-helpers": "0.19.0-alpha.8785b963",
"graphql-toolkit": "0.2.6",

@@ -45,0 +45,0 @@ "tslib": "1.9.3"

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