graphql-js-tree
Advanced tools
Comparing version 1.0.9 to 2.0.0
@@ -8,2 +8,3 @@ "use strict"; | ||
const shared_1 = require("../shared"); | ||
const graphql_1 = require("graphql"); | ||
const parseGqlTree = (mainTree) => { | ||
@@ -63,3 +64,3 @@ const generateName = (tree) => { | ||
value: { | ||
kind: 'Variable', | ||
kind: graphql_1.Kind.VARIABLE, | ||
value: VarName, | ||
@@ -66,0 +67,0 @@ }, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getValueWithoutLoc = exports.getValueAsGqlStringNode = void 0; | ||
const graphql_1 = require("graphql"); | ||
const getValueAsGqlStringNode = (v) => { | ||
@@ -45,3 +46,3 @@ if (v.kind === 'ListValue') { | ||
fields: v.fields.map((f) => ({ | ||
kind: 'ObjectField', | ||
kind: graphql_1.Kind.OBJECT_FIELD, | ||
name: f.name.value, | ||
@@ -48,0 +49,0 @@ value: (0, exports.getValueWithoutLoc)(f.value), |
{ | ||
"name": "graphql-js-tree", | ||
"version": "1.0.9", | ||
"version": "2.0.0", | ||
"private": false, | ||
@@ -42,4 +42,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"graphql": "15.4.0" | ||
"graphql": "^16.8.1" | ||
} | ||
} |
127591
2652
+ Addedgraphql@16.8.1(transitive)
- Removedgraphql@15.4.0(transitive)
Updatedgraphql@^16.8.1