🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

graphql-static-binding

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-static-binding - npm Package Compare versions

Comparing version

to
0.3.1

2

dist/generators/graphcool-ts.js

@@ -40,3 +40,3 @@ "use strict";

function renderEnumType(type) {
return renderDescription(type.description) + "export enum " + type.name + " {\n" + type.getValues().map(function (e) { return " " + e.name + " = '" + e.value + "'"; }).join(',\n') + "\n}";
return renderDescription(type.description) + "export type " + type.name + " = \n" + type.getValues().map(function (e) { return " '" + e.name + "'"; }).join(' |\n');
}

@@ -43,0 +43,0 @@ function renderRootType(type) {

{
"name": "graphql-static-binding",
"version": "0.2.1",
"version": "0.3.1",
"description": "Generate static binding files for a GraphQL schema",

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

Sorry, the diff of this file is not supported yet