New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

monaco-languageclient

Package Overview
Dependencies
Maintainers
1
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monaco-languageclient - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

18

lib/languages.js

@@ -94,3 +94,7 @@ "use strict";

var protocolItem = _this.m2p.asCompletionItem(item);
return provider.resolveCompletionItem(protocolItem, token).then(function (item) { return _this.p2m.asCompletionItem(item); });
return provider.resolveCompletionItem(protocolItem, token).then(function (resolvedItem) {
var resolvedCompletionItem = _this.p2m.asCompletionItem(resolvedItem);
Object.assign(item, resolvedCompletionItem);
return item;
});
} : undefined

@@ -280,3 +284,7 @@ };

var protocolCodeLens = _this.m2p.asCodeLens(codeLens);
return provider.resolveCodeLens(protocolCodeLens, token).then(function (result) { return _this.p2m.asCodeLens(result); });
return provider.resolveCodeLens(protocolCodeLens, token).then(function (result) {
var resolvedCodeLens = _this.p2m.asCodeLens(result);
Object.assign(codeLens, resolvedCodeLens);
return codeLens;
});
} : (function (m, codeLens, t) { return codeLens; })

@@ -403,3 +411,7 @@ };

var documentLink = _this.m2p.asDocumentLink(link);
return provider.resolveDocumentLink(documentLink, token).then(function (result) { return _this.p2m.asILink(result); });
return provider.resolveDocumentLink(documentLink, token).then(function (result) {
var resolvedLink = _this.p2m.asILink(result);
Object.assign(link, resolvedLink);
return link;
});
}

@@ -406,0 +418,0 @@ return link;

2

package.json
{
"name": "monaco-languageclient",
"version": "0.6.2",
"version": "0.6.3",
"description": "Monaco Language client implementation",

@@ -5,0 +5,0 @@ "author": "TypeFox GmbH (http://www.typefox.io)",

@@ -96,3 +96,7 @@ /* --------------------------------------------------------------------------------------------

const protocolItem = this.m2p.asCompletionItem(item);
return provider.resolveCompletionItem!(protocolItem, token).then(item => this.p2m.asCompletionItem(item));
return provider.resolveCompletionItem!(protocolItem, token).then(resolvedItem => {
const resolvedCompletionItem = this.p2m.asCompletionItem(resolvedItem);
Object.assign(item, resolvedCompletionItem);
return item;
});
} : undefined

@@ -274,3 +278,7 @@ };

const protocolCodeLens = this.m2p.asCodeLens(codeLens);
return provider.resolveCodeLens!(protocolCodeLens, token).then(result => this.p2m.asCodeLens(result))
return provider.resolveCodeLens!(protocolCodeLens, token).then(result => {
const resolvedCodeLens = this.p2m.asCodeLens(result);
Object.assign(codeLens, resolvedCodeLens);
return codeLens;
});
} : ((m, codeLens, t) => codeLens)

@@ -390,3 +398,7 @@ }

const documentLink = this.m2p.asDocumentLink(link);
return provider.resolveDocumentLink(documentLink, token).then(result => this.p2m.asILink(result));
return provider.resolveDocumentLink(documentLink, token).then(result => {
const resolvedLink = this.p2m.asILink(result);
Object.assign(link, resolvedLink);
return link;
});
}

@@ -393,0 +405,0 @@ return link;

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