vscode-languageclient
Advanced tools
Comparing version 7.0.0-next.9 to 7.0.0-next.10
@@ -6,10 +6,18 @@ "use strict"; | ||
* ------------------------------------------------------------------------------------------ */ | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LanguageClient = void 0; | ||
const api_1 = require("../common/api"); | ||
const browser_1 = require("vscode-languageserver-protocol/browser"); | ||
__export(require("vscode-languageserver-protocol/browser")); | ||
__export(require("../common/api")); | ||
__exportStar(require("vscode-languageserver-protocol/browser"), exports); | ||
__exportStar(require("../common/api"), exports); | ||
class LanguageClient extends api_1.CommonLanguageClient { | ||
@@ -16,0 +24,0 @@ constructor(id, name, clientOptions, worker) { |
@@ -6,9 +6,16 @@ "use strict"; | ||
* ------------------------------------------------------------------------------------------ */ | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("vscode-languageserver-protocol")); | ||
__export(require("./client")); | ||
__export(require("./commonClient")); | ||
__exportStar(require("vscode-languageserver-protocol"), exports); | ||
__exportStar(require("./client"), exports); | ||
__exportStar(require("./commonClient"), exports); | ||
//# sourceMappingURL=api.js.map |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CallHierarchyFeature = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -9,0 +10,0 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); |
@@ -17,2 +17,3 @@ import { TextDocumentChangeEvent, TextDocument, Disposable, OutputChannel, FileSystemWatcher as VFileSystemWatcher, DiagnosticCollection, Diagnostic as VDiagnostic, Uri, ProviderResult, CancellationToken, Position as VPosition, Location as VLocation, Range as VRange, CompletionItem as VCompletionItem, CompletionList as VCompletionList, SignatureHelp as VSignatureHelp, SignatureHelpContext as VSignatureHelpContext, Definition as VDefinition, DefinitionLink as VDefinitionLink, DocumentHighlight as VDocumentHighlight, SymbolInformation as VSymbolInformation, CodeActionContext as VCodeActionContext, Command as VCommand, CodeLens as VCodeLens, FormattingOptions as VFormattingOptions, TextEdit as VTextEdit, WorkspaceEdit as VWorkspaceEdit, Hover as VHover, CodeAction as VCodeAction, DocumentSymbol as VDocumentSymbol, DocumentLink as VDocumentLink, TextDocumentWillSaveEvent, WorkspaceFolder as VWorkspaceFolder, CompletionContext as VCompletionContext, CompletionItemProvider, HoverProvider, SignatureHelpProvider, DefinitionProvider, ReferenceProvider, DocumentHighlightProvider, CodeActionProvider, DocumentSymbolProvider, DocumentFormattingEditProvider, DocumentRangeFormattingEditProvider, OnTypeFormattingEditProvider, RenameProvider, DocumentLinkProvider, DocumentColorProvider, DeclarationProvider, FoldingRangeProvider, ImplementationProvider, SelectionRangeProvider, TypeDefinitionProvider, WorkspaceSymbolProvider, CallHierarchyProvider } from 'vscode'; | ||
cancellationStrategy: CancellationStrategy; | ||
maxRestartCount?: number; | ||
} | ||
@@ -136,2 +137,5 @@ /** | ||
} | ||
export interface ResolveCodeActionSignature { | ||
(this: void, item: VCodeAction, token: CancellationToken): ProviderResult<VCodeAction>; | ||
} | ||
export interface ProvideCodeLensesSignature { | ||
@@ -208,2 +212,3 @@ (this: void, document: TextDocument, token: CancellationToken): ProviderResult<VCodeLens[]>; | ||
provideCodeActions?: (this: void, document: TextDocument, range: VRange, context: VCodeActionContext, token: CancellationToken, next: ProvideCodeActionsSignature) => ProviderResult<(VCommand | VCodeAction)[]>; | ||
resolveCodeAction?: (this: void, item: VCodeAction, token: CancellationToken, next: ResolveCodeActionSignature) => ProviderResult<VCodeAction>; | ||
provideCodeLenses?: (this: void, document: TextDocument, token: CancellationToken, next: ProvideCodeLensesSignature) => ProviderResult<VCodeLens[]>; | ||
@@ -249,2 +254,5 @@ resolveCodeLens?: (this: void, codeLens: VCodeLens, token: CancellationToken, next: ResolveCodeLensSignature) => ProviderResult<VCodeLens>; | ||
connectionOptions?: ConnectionOptions; | ||
markdown?: { | ||
isTrusted?: boolean; | ||
}; | ||
} | ||
@@ -382,2 +390,7 @@ export declare enum State { | ||
} | ||
declare module 'vscode' { | ||
interface CodeActionProvider<T extends CodeAction = CodeAction> { | ||
resolveCodeAction?(codeAction: T, token: CancellationToken): ProviderResult<T>; | ||
} | ||
} | ||
export interface MessageTransports { | ||
@@ -448,3 +461,3 @@ reader: MessageReader; | ||
get diagnostics(): DiagnosticCollection | undefined; | ||
createDefaultErrorHandler(): ErrorHandler; | ||
createDefaultErrorHandler(maxRestartCount?: number): ErrorHandler; | ||
set trace(value: Trace); | ||
@@ -451,0 +464,0 @@ private data2String; |
@@ -42,2 +42,3 @@ import * as code from 'vscode'; | ||
}): proto.ReferenceParams; | ||
asCodeAction(item: code.CodeAction): proto.CodeAction; | ||
asCodeActionContext(context: code.CodeActionContext): proto.CodeActionContext; | ||
@@ -44,0 +45,0 @@ asCommand(item: code.Command): proto.Command; |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createConverter = void 0; | ||
const code = require("vscode"); | ||
@@ -14,2 +15,5 @@ const proto = require("vscode-languageserver-protocol"); | ||
const protocolDocumentLink_1 = require("./protocolDocumentLink"); | ||
const protocolCodeAction_1 = require("./protocolCodeAction"); | ||
const protocolDiagnostic_1 = require("./protocolDiagnostic"); | ||
const protocolCallHierarchyItem_1 = require("./protocolCallHierarchyItem"); | ||
var InsertReplaceRange; | ||
@@ -286,11 +290,25 @@ (function (InsertReplaceRange) { | ||
function asDiagnostic(item) { | ||
let result = proto.Diagnostic.create(asRange(item.range), item.message); | ||
const result = proto.Diagnostic.create(asRange(item.range), item.message); | ||
const protocolDiagnostic = item instanceof protocolDiagnostic_1.ProtocolDiagnostic ? item : undefined; | ||
if (protocolDiagnostic !== undefined && protocolDiagnostic.data !== undefined) { | ||
result.data = protocolDiagnostic.data; | ||
} | ||
const code = asDiagnosticCode(item.code); | ||
if (protocolDiagnostic_1.DiagnosticCode.is(code)) { | ||
if (protocolDiagnostic !== undefined && protocolDiagnostic.hasDiagnosticCode) { | ||
result.code = code; | ||
} | ||
else { | ||
result.code = code.value; | ||
result.codeDescription = { href: code.target }; | ||
} | ||
} | ||
else { | ||
result.code = code; | ||
} | ||
if (Is.number(item.severity)) { | ||
result.severity = asDiagnosticSeverity(item.severity); | ||
} | ||
result.code = asDiagnosticCode(item.code); | ||
{ | ||
if (Array.isArray(item.tags)) { | ||
result.tags = asDiagnosticTags(item.tags); | ||
} | ||
if (Array.isArray(item.tags)) { | ||
result.tags = asDiagnosticTags(item.tags); | ||
} | ||
@@ -470,2 +488,27 @@ if (item.relatedInformation) { | ||
} | ||
function asCodeAction(item) { | ||
let result = proto.CodeAction.create(item.title); | ||
if (item instanceof protocolCodeAction_1.default && item.data !== undefined) { | ||
result.data = item.data; | ||
} | ||
if (item.kind !== undefined) { | ||
result.kind = asCodeActionKind(item.kind); | ||
} | ||
if (item.diagnostics !== undefined) { | ||
result.diagnostics = asDiagnostics(item.diagnostics); | ||
} | ||
if (item.edit !== undefined) { | ||
throw new Error(`VS Code code actions can only be converted to a protocol code action without an edit.`); | ||
} | ||
if (item.command !== undefined) { | ||
result.command = asCommand(item.command); | ||
} | ||
if (item.isPreferred !== undefined) { | ||
result.isPreferred = item.isPreferred; | ||
} | ||
if (item.disabled !== undefined) { | ||
result.disabled = { reason: item.disabled.reason }; | ||
} | ||
return result; | ||
} | ||
function asCodeActionContext(context) { | ||
@@ -481,2 +524,8 @@ if (context === undefined || context === null) { | ||
} | ||
function asCodeActionKind(item) { | ||
if (item === undefined || item === null) { | ||
return undefined; | ||
} | ||
return item.value; | ||
} | ||
function asCommand(item) { | ||
@@ -547,2 +596,5 @@ let result = proto.Command.create(item.title, item.command); | ||
} | ||
if (value instanceof protocolCallHierarchyItem_1.default && value.data !== undefined) { | ||
result.data = value.data; | ||
} | ||
return result; | ||
@@ -577,2 +629,3 @@ } | ||
asReferenceParams, | ||
asCodeAction, | ||
asCodeActionContext, | ||
@@ -579,0 +632,0 @@ asCommand, |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ColorProviderFeature = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -9,0 +10,0 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProposedFeatures = exports.CommonLanguageClient = void 0; | ||
const client_1 = require("./client"); | ||
@@ -9,0 +10,0 @@ const colorProvider_1 = require("./colorProvider"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.toJSONObject = exports.ConfigurationFeature = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -9,0 +10,0 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DeclarationFeature = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -9,0 +10,0 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FoldingRangeFeature = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -9,0 +10,0 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ImplementationFeature = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -9,0 +10,0 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProgressFeature = void 0; | ||
const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); | ||
@@ -9,0 +10,0 @@ const progressPart_1 = require("./progressPart"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProgressPart = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -31,4 +32,4 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); | ||
begin(params) { | ||
let location = params.cancellable ? vscode_1.ProgressLocation.Notification : vscode_1.ProgressLocation.Window; | ||
vscode_1.window.withProgress({ location, cancellable: params.cancellable, title: params.title }, async (progress, cancellationToken) => { | ||
// Since we don't use commands this will be a silent window progress with a hidden notification. | ||
vscode_1.window.withProgress({ location: vscode_1.ProgressLocation.Window, cancellable: params.cancellable, title: params.title }, async (progress, cancellationToken) => { | ||
this._progress = progress; | ||
@@ -35,0 +36,0 @@ this._infinite = params.percentage === undefined; |
@@ -153,2 +153,2 @@ import * as code from 'vscode'; | ||
} | ||
export declare function createConverter(uriConverter?: URIConverter): Converter; | ||
export declare function createConverter(uriConverter: URIConverter | undefined, trustMarkdown: boolean | undefined): Converter; |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createConverter = void 0; | ||
const code = require("vscode"); | ||
@@ -14,2 +15,5 @@ const ls = require("vscode-languageserver-protocol"); | ||
const protocolDocumentLink_1 = require("./protocolDocumentLink"); | ||
const protocolCodeAction_1 = require("./protocolCodeAction"); | ||
const protocolDiagnostic_1 = require("./protocolDiagnostic"); | ||
const protocolCallHierarchyItem_1 = require("./protocolCallHierarchyItem"); | ||
var CodeBlock; | ||
@@ -23,3 +27,4 @@ (function (CodeBlock) { | ||
})(CodeBlock || (CodeBlock = {})); | ||
function createConverter(uriConverter) { | ||
function createConverter(uriConverter, trustMarkdown) { | ||
trustMarkdown = !trustMarkdown; | ||
const nullConverter = (value) => code.Uri.parse(value); | ||
@@ -34,9 +39,21 @@ const _uriConverter = uriConverter || nullConverter; | ||
function asDiagnostic(diagnostic) { | ||
let result = new code.Diagnostic(asRange(diagnostic.range), diagnostic.message, asDiagnosticSeverity(diagnostic.severity)); | ||
if (Is.number(diagnostic.code) || Is.string(diagnostic.code)) { | ||
result.code = diagnostic.code; | ||
let result = new protocolDiagnostic_1.ProtocolDiagnostic(asRange(diagnostic.range), diagnostic.message, asDiagnosticSeverity(diagnostic.severity), diagnostic.data); | ||
if (diagnostic.code !== undefined) { | ||
if (ls.CodeDescription.is(diagnostic.codeDescription)) { | ||
result.code = { | ||
value: diagnostic.code, | ||
target: asUri(diagnostic.codeDescription.href) | ||
}; | ||
} | ||
else if (protocolDiagnostic_1.DiagnosticCode.is(diagnostic.code)) { | ||
result.hasDiagnosticCode = true; | ||
result.code = { | ||
value: diagnostic.code.value, | ||
target: asUri(diagnostic.code.target) | ||
}; | ||
} | ||
else { | ||
result.code = diagnostic.code; | ||
} | ||
} | ||
if (ls.DiagnosticCode.is(diagnostic.code)) { | ||
result.code = { value: diagnostic.code.value, target: asUri(diagnostic.code.target) }; | ||
} | ||
if (diagnostic.source) { | ||
@@ -115,6 +132,6 @@ result.source = diagnostic.source; | ||
if (Is.string(value)) { | ||
return new code.MarkdownString(value); | ||
return asMarkdownString(value); | ||
} | ||
else if (CodeBlock.is(value)) { | ||
let result = new code.MarkdownString(); | ||
let result = asMarkdownString(); | ||
return result.appendCodeblock(value.value, value.language); | ||
@@ -125,3 +142,3 @@ } | ||
for (let element of value) { | ||
let item = new code.MarkdownString(); | ||
let item = asMarkdownString(); | ||
if (CodeBlock.is(element)) { | ||
@@ -141,9 +158,9 @@ item.appendCodeblock(element.value, element.language); | ||
case ls.MarkupKind.Markdown: | ||
return new code.MarkdownString(value.value); | ||
return asMarkdownString(value.value); | ||
case ls.MarkupKind.PlainText: | ||
result = new code.MarkdownString(); | ||
result = asMarkdownString(); | ||
result.appendText(value.value); | ||
return result; | ||
default: | ||
result = new code.MarkdownString(); | ||
result = asMarkdownString(); | ||
result.appendText(`Unsupported Markup content received. Kind is: ${value.kind}`); | ||
@@ -161,3 +178,3 @@ return result; | ||
case ls.MarkupKind.Markdown: | ||
return new code.MarkdownString(value.value); | ||
return asMarkdownString(value.value); | ||
case ls.MarkupKind.PlainText: | ||
@@ -170,2 +187,9 @@ return value.value; | ||
} | ||
function asMarkdownString(value) { | ||
const result = new code.MarkdownString(value); | ||
if (trustMarkdown === true) { | ||
result.isTrusted = trustMarkdown; | ||
} | ||
return result; | ||
} | ||
function asHover(hover) { | ||
@@ -571,13 +595,13 @@ if (!hover) { | ||
} | ||
let result = new code.CodeAction(item.title); | ||
let result = new protocolCodeAction_1.default(item.title, item.data); | ||
if (item.kind !== undefined) { | ||
result.kind = asCodeActionKind(item.kind); | ||
} | ||
if (item.diagnostics) { | ||
if (item.diagnostics !== undefined) { | ||
result.diagnostics = asDiagnostics(item.diagnostics); | ||
} | ||
if (item.edit) { | ||
if (item.edit !== undefined) { | ||
result.edit = asWorkspaceEdit(item.edit); | ||
} | ||
if (item.command) { | ||
if (item.command !== undefined) { | ||
result.command = asCommand(item.command); | ||
@@ -588,2 +612,5 @@ } | ||
} | ||
if (item.disabled !== undefined) { | ||
result.disabled = { reason: item.disabled.reason }; | ||
} | ||
return result; | ||
@@ -725,3 +752,3 @@ } | ||
} | ||
let result = new code.CallHierarchyItem(asSymbolKind(item.kind), item.name, item.detail || '', asUri(item.uri), asRange(item.range), asRange(item.selectionRange)); | ||
let result = new protocolCallHierarchyItem_1.default(asSymbolKind(item.kind), item.name, item.detail || '', asUri(item.uri), asRange(item.range), asRange(item.selectionRange), item.data); | ||
if (item.tags !== undefined) { | ||
@@ -728,0 +755,0 @@ result.tags = asSymbolTags(item.tags); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SelectionRangeFeature = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -9,0 +10,0 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); |
@@ -25,5 +25,5 @@ import * as vscode from 'vscode'; | ||
constructor(client: BaseLanguageClient); | ||
fillClientCapabilities(cap: ClientCapabilities): void; | ||
fillClientCapabilities(capabilites: ClientCapabilities): void; | ||
initialize(capabilities: ServerCapabilities, documentSelector: DocumentSelector): void; | ||
protected registerLanguageProvider(options: SemanticTokensRegistrationOptions): [vscode.Disposable, SemanticTokensProviders]; | ||
} |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SemanticTokensFeature = void 0; | ||
const vscode = require("vscode"); | ||
@@ -21,4 +22,3 @@ const client_1 = require("./client"); | ||
} | ||
fillClientCapabilities(cap) { | ||
const capabilites = cap; | ||
fillClientCapabilities(capabilites) { | ||
const capability = ensure(ensure(capabilites, 'textDocument'), 'semanticTokens'); | ||
@@ -69,6 +69,7 @@ capability.dynamicRegistration = true; | ||
}; | ||
ensure(ensure(capabilites, 'workspace'), 'semanticTokens').refreshSupport = true; | ||
} | ||
initialize(capabilities, documentSelector) { | ||
let client = this._client; | ||
client.onNotification(vscode_languageserver_protocol_1.SemanticTokensRefreshNotification.type, () => { | ||
client.onRequest(vscode_languageserver_protocol_1.SemanticTokensRefreshRequest.type, async () => { | ||
for (const provider of this.getAllProviders()) { | ||
@@ -75,0 +76,0 @@ provider.onDidChangeSemanticTokensEmitter.fire(); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TypeDefinitionFeature = void 0; | ||
const vscode_1 = require("vscode"); | ||
@@ -9,0 +10,0 @@ const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Delayer = void 0; | ||
const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); | ||
@@ -9,0 +10,0 @@ class Delayer { |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.asPromise = exports.thenable = exports.typedArray = exports.stringArray = exports.array = exports.func = exports.error = exports.number = exports.string = exports.boolean = void 0; | ||
function boolean(value) { | ||
@@ -9,0 +10,0 @@ return value === true || value === false; |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateUuid = exports.parse = exports.isUUID = exports.v4 = exports.empty = void 0; | ||
class ValueUUID { | ||
@@ -9,0 +10,0 @@ constructor(_value) { |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WorkspaceFoldersFeature = exports.arrayDiff = void 0; | ||
const UUID = require("./utils/uuid"); | ||
@@ -9,0 +10,0 @@ const vscode_1 = require("vscode"); |
@@ -6,6 +6,14 @@ "use strict"; | ||
* ------------------------------------------------------------------------------------------ */ | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SettingMonitor = exports.LanguageClient = exports.TransportKind = void 0; | ||
const cp = require("child_process"); | ||
@@ -20,4 +28,4 @@ const fs = require("fs"); | ||
const node_1 = require("vscode-languageserver-protocol/node"); | ||
__export(require("vscode-languageserver-protocol/node")); | ||
__export(require("../common/api")); | ||
__exportStar(require("vscode-languageserver-protocol/node"), exports); | ||
__exportStar(require("../common/api"), exports); | ||
const REQUIRED_VSCODE_VERSION = '^1.46.0'; // do not change format, updated by `updateVSCode` script | ||
@@ -24,0 +32,0 @@ var Executable; |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.terminate = void 0; | ||
const cp = require("child_process"); | ||
@@ -9,0 +10,0 @@ const path_1 = require("path"); |
{ | ||
"name": "vscode-languageclient", | ||
"description": "VSCode Language client implementation", | ||
"version": "7.0.0-next.9", | ||
"version": "7.0.0-next.10", | ||
"author": "Microsoft Corporation", | ||
@@ -30,3 +30,3 @@ "license": "MIT", | ||
"semver": "^6.3.0", | ||
"vscode-languageserver-protocol": "3.16.0-next.7" | ||
"vscode-languageserver-protocol": "3.16.0-next.8" | ||
}, | ||
@@ -33,0 +33,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
343651
68
7188
+ Addedvscode-jsonrpc@6.0.0-next.6(transitive)
+ Addedvscode-languageserver-protocol@3.16.0-next.8(transitive)
+ Addedvscode-languageserver-types@3.16.0-next.4(transitive)
- Removedvscode-jsonrpc@6.0.0-next.5(transitive)
- Removedvscode-languageserver-protocol@3.16.0-next.7(transitive)
- Removedvscode-languageserver-types@3.16.0-next.3(transitive)