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

graphql-language-service-server

Package Overview
Dependencies
Maintainers
4
Versions
369
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.15 to 0.0.16

14

dist/MessageProcessor.js

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

function handleDidChangeNotification(params) {
var textDocument, contentChanges, documentUri, cachedDocument, diagnostics;
var textDocument, contentChanges, uri, cachedDocument, diagnostics;
return regeneratorRuntime.async(function handleDidChangeNotification$(_context2) {

@@ -114,7 +114,7 @@ while (1) {

documentUri = textDocument.uri || params.uri;
uri = textDocument.uri || params.uri;
invalidateCache(textDocument, documentUri, contentChanges[contentChanges.length - 1]);
invalidateCache(textDocument, uri, contentChanges[contentChanges.length - 1]);
cachedDocument = textDocumentCache.get(documentUri);
cachedDocument = textDocumentCache.get(uri);

@@ -130,7 +130,7 @@ if (cachedDocument) {

_context2.next = 11;
return regeneratorRuntime.awrap(provideDiagnosticsMessage(cachedDocument.content.text, documentUri));
return regeneratorRuntime.awrap(provideDiagnosticsMessage(cachedDocument.content.text, uri));
case 11:
diagnostics = _context2.sent;
return _context2.abrupt('return', { documentUri: documentUri, diagnostics: diagnostics });
return _context2.abrupt('return', { uri: uri, diagnostics: diagnostics });

@@ -294,3 +294,3 @@ case 13:

// libraries.
uri: res.path.indexOf('file:') === 0 ? res.path : _path2.default.join('file:', res.path),
uri: res.path.indexOf('file://') === 0 ? res.path : _path2.default.join('file://', res.path),
range: res.range

@@ -297,0 +297,0 @@ };

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

@@ -6,0 +6,0 @@ "contributors": [

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