Socket
Socket
Sign inDemoInstall

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.19 to 0.0.20

3

dist/getDiagnostics.js

@@ -41,2 +41,3 @@ 'use strict';

var customRules = arguments[2];
var isRelayCompatMode = arguments[3];

@@ -62,3 +63,3 @@ var ast = null;

var validationErrorAnnotations = mapCat((0, _graphqlLanguageServiceUtils.validateWithCustomRules)(schema, ast, customRules), function (error) {
var validationErrorAnnotations = mapCat((0, _graphqlLanguageServiceUtils.validateWithCustomRules)(schema, ast, customRules, isRelayCompatMode), function (error) {
return annotations(error, SEVERITY.ERROR, 'Validation');

@@ -65,0 +66,0 @@ });

@@ -38,3 +38,3 @@ 'use strict';

GraphQLLanguageService.prototype.getDiagnostics = function getDiagnostics(query, uri) {
GraphQLLanguageService.prototype.getDiagnostics = function getDiagnostics(query, uri, isRelayCompatMode) {
var source, appName, schema, customRules, fragmentDefinitions, fragmentDependencies, dependenciesSource, customRulesModulePath, rulesPath;

@@ -58,3 +58,3 @@ return regeneratorRuntime.async(function getDiagnostics$(_context) {

_context.next = 7;
return regeneratorRuntime.awrap(this._graphQLCache.getSchema(this._graphQLConfig.getSchemaPath(appName)));
return regeneratorRuntime.awrap(this._graphQLCache.getSchema(this._graphQLConfig.getSchemaPath(appName), appName));

@@ -94,3 +94,3 @@ case 7:

case 18:
return _context.abrupt('return', (0, _getDiagnostics.getDiagnostics)(source, schema, customRules));
return _context.abrupt('return', (0, _getDiagnostics.getDiagnostics)(source, schema, customRules, isRelayCompatMode));

@@ -120,3 +120,3 @@ case 19:

_context2.next = 5;
return regeneratorRuntime.awrap(this._graphQLCache.getSchema(this._graphQLConfig.getSchemaPath(appName)));
return regeneratorRuntime.awrap(this._graphQLCache.getSchema(this._graphQLConfig.getSchemaPath(appName), appName));

@@ -123,0 +123,0 @@ case 5:

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

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

"graphql": "^0.10.1",
"graphql-language-service-config": "0.0.17",
"graphql-language-service-parser": "0.0.15",
"graphql-language-service-types": "0.0.21",
"graphql-language-service-utils": "0.0.17"
"graphql-language-service-config": "0.0.18",
"graphql-language-service-parser": "0.0.16",
"graphql-language-service-types": "0.0.22",
"graphql-language-service-utils": "0.0.18"
}
}

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