Socket
Socket
Sign inDemoInstall

graphql-language-service

Package Overview
Dependencies
Maintainers
4
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-language-service - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

18

package.json
{
"name": "graphql-language-service",
"repository": "https://github.com/graphql/graphql-language-service",
"version": "0.0.10",
"version": "0.0.11",
"description": "An interface for building GraphQL language services for IDEs",

@@ -24,3 +24,3 @@ "contributors": [

"scripts": {
"test": "npm run lint && npm run pretty-check && npm run testonly && npm run check-dependencies && (npm run check || true)",
"test": "npm run lint && npm run pretty-check && npm run testonly && npm run check-dependencies && npm run check",
"testonly": "babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha",

@@ -44,9 +44,9 @@ "t": "npm run testonly",

"fb-watchman": "^2.0.0",
"graphql": "^0.9.2",
"graphql-language-service-config": "0.0.7",
"graphql-language-service-interface": "0.0.7",
"graphql-language-service-parser": "0.0.6",
"graphql-language-service-server": "0.0.11",
"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-interface": "0.0.8",
"graphql-language-service-parser": "0.0.7",
"graphql-language-service-server": "0.0.12",
"graphql-language-service-types": "0.0.13",
"graphql-language-service-utils": "0.0.7",
"nullthrows": "^1.0.0",

@@ -53,0 +53,0 @@ "vscode-jsonrpc": "^3.2.0",

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

if (appName) {
if (this._config[PROJECTS_NAME] && this._config[PROJECTS_NAME][appName] && this._config[PROJECTS_NAME][appName].inputDirs) {
return this._config[PROJECTS_NAME][appName].inputDirs.some(function (dirPath) {
if (this._config[PROJECTS_NAME] && this._config[PROJECTS_NAME][appName] && this._config[PROJECTS_NAME][appName].includeDirs) {
return this._config[PROJECTS_NAME][appName].includeDirs.some(function (dirPath) {
return fileName.indexOf(dirPath) !== -1;

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

}
return this._config.inputDirs ? this._config.inputDirs.some(function (dirPath) {
return this._config.includeDirs ? this._config.includeDirs.some(function (dirPath) {
return fileName.indexOf(dirPath) !== -1;

@@ -119,0 +119,0 @@ }) : false;

{
"name": "graphql-language-service-config",
"repository": "https://github.com/graphql/graphql-language-service",
"version": "0.0.7",
"version": "0.0.8",
"description": "A tool-kit for accessing and using `.graphqlrc` configuration files",

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

"dependencies": {
"graphql-language-service-types": "0.0.12"
"graphql-language-service-types": "0.0.13"
}
}

@@ -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"
}
}
{
"name": "graphql-language-service-parser",
"repository": "https://github.com/graphql/graphql-language-service",
"version": "0.0.6",
"version": "0.0.7",
"description": "An online parser for GraphQL for use in syntax-highlighters and code intelligence tools",

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

"dependencies": {
"graphql-language-service-types": "0.0.12"
"graphql-language-service-types": "0.0.13"
}
}

@@ -33,20 +33,38 @@ 'use strict';

Object.defineProperty(exports, 'processIPCNotificationMessage', {
Object.defineProperty(exports, 'handleCompletionRequest', {
enumerable: true,
get: function get() {
return _MessageProcessor.processIPCNotificationMessage;
return _MessageProcessor.handleCompletionRequest;
}
});
Object.defineProperty(exports, 'processIPCRequestMessage', {
Object.defineProperty(exports, 'handleDefinitionRequest', {
enumerable: true,
get: function get() {
return _MessageProcessor.processIPCRequestMessage;
return _MessageProcessor.handleDefinitionRequest;
}
});
Object.defineProperty(exports, 'processStreamMessage', {
Object.defineProperty(exports, 'handleDidChangeNotification', {
enumerable: true,
get: function get() {
return _MessageProcessor.processStreamMessage;
return _MessageProcessor.handleDidChangeNotification;
}
});
Object.defineProperty(exports, 'handleDidCloseNotification', {
enumerable: true,
get: function get() {
return _MessageProcessor.handleDidCloseNotification;
}
});
Object.defineProperty(exports, 'handleDidOpenOrSaveNotification', {
enumerable: true,
get: function get() {
return _MessageProcessor.handleDidOpenOrSaveNotification;
}
});
Object.defineProperty(exports, 'handleInitializeRequest', {
enumerable: true,
get: function get() {
return _MessageProcessor.handleInitializeRequest;
}
});

@@ -53,0 +71,0 @@ var _startServer = require('./startServer');

{
"name": "graphql-language-service-server",
"repository": "https://github.com/graphql/graphql-language-service",
"version": "0.0.11",
"version": "0.0.12",
"description": "Server process backing the GraphQL Language Service",

@@ -30,7 +30,7 @@ "contributors": [

"fb-watchman": "^2.0.0",
"graphql": "^0.9.2",
"graphql-language-service-config": "0.0.7",
"graphql-language-service-interface": "0.0.7",
"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-interface": "0.0.8",
"graphql-language-service-types": "0.0.13",
"graphql-language-service-utils": "0.0.7",
"nullthrows": "^1.0.0",

@@ -37,0 +37,0 @@ "vscode-jsonrpc": "^3.2.0",

{
"name": "graphql-language-service-types",
"repository": "https://github.com/graphql/graphql-language-service",
"version": "0.0.12",
"version": "0.0.13",
"description": "Types for building GraphQL language services for IDEs",

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

"dependencies": {
"graphql": "^0.9.2"
"graphql": "^0.9.4"
}
}
{
"name": "graphql-language-service-utils",
"repository": "https://github.com/graphql/graphql-language-service",
"version": "0.0.6",
"version": "0.0.7",
"description": "Utilities to support the GraphQL Language Service",

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

"dependencies": {
"graphql": "^0.9.2",
"graphql-language-service-types": "0.0.12"
"graphql": "^0.9.4",
"graphql-language-service-types": "0.0.13"
}
}
{
"graphql-language-service": {
"version": "0.0.10"
"version": "0.0.11"
},

@@ -9,19 +9,19 @@ "graphql-language-server": {

"graphql-language-service-config": {
"version": "0.0.7"
"version": "0.0.8"
},
"graphql-language-service-interface": {
"version": "0.0.7"
"version": "0.0.8"
},
"graphql-language-service-parser": {
"version": "0.0.6"
"version": "0.0.7"
},
"graphql-language-service-server": {
"version": "0.0.11"
"version": "0.0.12"
},
"graphql-language-service-types": {
"version": "0.0.12"
"version": "0.0.13"
},
"graphql-language-service-utils": {
"version": "0.0.6"
"version": "0.0.7"
}
}

Sorry, the diff of this file is not supported yet

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