Socket
Socket
Sign inDemoInstall

graphql-js-tree

Package Overview
Dependencies
1
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 2.0.0

3

lib/GqlParser/GqlParserTreeToGql.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc