Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-language-service-interface

Package Overview
Dependencies
Maintainers
4
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-language-service-interface - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

18

dist/getAutocompleteSuggestions.js

@@ -61,4 +61,4 @@ 'use strict';

label: argDef.name,
detail: argDef.type,
documentation: argDef.description
detail: String(argDef.type),
documentation: argDef.description || ''
};

@@ -76,3 +76,3 @@ }));

label: field.name,
detail: field.type,
detail: String(field.type),
documentation: field.description

@@ -116,3 +116,3 @@ };

var parentType = typeInfo.parentType;
var fields = parentType.getFields ? (0, _autocompleteUtils.objectValues)(parentType.getFields()) : [];
var fields = parentType.getFields instanceof Function ? (0, _autocompleteUtils.objectValues)(parentType.getFields()) : [];
if ((0, _graphql.isAbstractType)(parentType)) {

@@ -127,3 +127,3 @@ fields.push(_graphql.TypeNameMetaFieldDef);

label: field.name,
detail: field.type,
detail: String(field.type),
documentation: field.description,

@@ -146,3 +146,3 @@ isDeprecated: field.isDeprecated,

label: value.name,
detail: namedInputType,
detail: String(namedInputType),
documentation: value.description,

@@ -186,4 +186,4 @@ isDeprecated: value.isDeprecated,

return {
label: type.name,
documentation: type.description
label: String(type),
documentation: (0, _graphql.getNamedType)(type).description || ''
};

@@ -213,3 +213,3 @@ }));

label: frag.name.value,
detail: typeMap[frag.typeCondition.name.value],
detail: String(typeMap[frag.typeCondition.name.value]),
documentation: 'fragment ' + frag.name.value + ' on ' + frag.typeCondition.name.value

@@ -216,0 +216,0 @@ };

{
"name": "graphql-language-service-interface",
"repository": "https://github.com/graphql/graphql-language-service",
"version": "0.0.7",
"version": "0.0.8",
"description": "Interface to the GraphQL Language Service",

@@ -29,8 +29,8 @@ "contributors": [

"dependencies": {
"graphql": "^0.9.2",
"graphql-language-service-config": "0.0.7",
"graphql-language-service-parser": "0.0.6",
"graphql-language-service-types": "0.0.12",
"graphql-language-service-utils": "0.0.6"
"graphql": "^0.9.4",
"graphql-language-service-config": "0.0.8",
"graphql-language-service-parser": "0.0.7",
"graphql-language-service-types": "0.0.13",
"graphql-language-service-utils": "0.0.7"
}
}

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