vscode-languageclient
Advanced tools
Comparing version 7.1.0-next.1 to 7.1.0-next.2
@@ -1,3 +0,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, FileWillCreateEvent, FileWillRenameEvent, FileWillDeleteEvent, FileCreateEvent, FileDeleteEvent, FileRenameEvent, LinkedEditingRangeProvider } from 'vscode'; | ||
import { Message, MessageSignature, ResponseError, RequestType0, RequestType, NotificationType0, NotificationType, ProtocolRequestType, ProtocolRequestType0, RequestHandler, RequestHandler0, GenericRequestHandler, ProtocolNotificationType, ProtocolNotificationType0, NotificationHandler, NotificationHandler0, GenericNotificationHandler, MessageReader, MessageWriter, Trace, Event, ClientCapabilities, TextDocumentRegistrationOptions, InitializeParams, InitializeResult, InitializeError, ServerCapabilities, DocumentSelector, DidOpenTextDocumentNotification, DidChangeTextDocumentNotification, DidCloseTextDocumentNotification, DidSaveTextDocumentNotification, WillSaveTextDocumentNotification, WillSaveTextDocumentWaitUntilRequest, FileEvent, CompletionRequest, HoverRequest, SignatureHelpRequest, DefinitionRequest, ReferencesRequest, DocumentHighlightRequest, DocumentSymbolRequest, WorkspaceSymbolRequest, CodeActionRequest, DocumentFormattingRequest, DocumentRangeFormattingRequest, DocumentOnTypeFormattingRequest, RenameRequest, DocumentLinkRequest, ProgressType, ProgressToken, StaticRegistrationOptions, DocumentColorRequest, DeclarationRequest, FoldingRangeRequest, ImplementationRequest, SelectionRangeRequest, TypeDefinitionRequest, CallHierarchyPrepareRequest, CancellationStrategy, RegistrationType, SemanticTokensRegistrationType, ShowDocumentRequest, FileOperationRegistrationOptions, WillCreateFilesRequest, WillRenameFilesRequest, WillDeleteFilesRequest, DidCreateFilesNotification, DidDeleteFilesNotification, DidRenameFilesNotification, ShowDocumentParams, ShowDocumentResult, LinkedEditingRangeRequest, WorkDoneProgressBegin, WorkDoneProgressEnd, WorkDoneProgressReport } from 'vscode-languageserver-protocol'; | ||
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, FileWillCreateEvent, FileWillRenameEvent, FileWillDeleteEvent, FileCreateEvent, FileDeleteEvent, FileRenameEvent, LinkedEditingRangeProvider, Event as VEvent } from 'vscode'; | ||
import { Message, MessageSignature, ResponseError, RequestType0, RequestType, NotificationType0, NotificationType, ProtocolRequestType, ProtocolRequestType0, RequestHandler, RequestHandler0, GenericRequestHandler, ProtocolNotificationType, ProtocolNotificationType0, NotificationHandler, NotificationHandler0, GenericNotificationHandler, MessageReader, MessageWriter, Trace, Event, ClientCapabilities, TextDocumentRegistrationOptions, InitializeParams, InitializeResult, InitializeError, ServerCapabilities, DocumentSelector, DidOpenTextDocumentNotification, DidOpenTextDocumentParams, DidChangeTextDocumentNotification, DidChangeTextDocumentParams, DidCloseTextDocumentNotification, DidCloseTextDocumentParams, DidSaveTextDocumentNotification, DidSaveTextDocumentParams, WillSaveTextDocumentNotification, WillSaveTextDocumentWaitUntilRequest, FileEvent, CompletionRequest, HoverRequest, SignatureHelpRequest, DefinitionRequest, ReferencesRequest, DocumentHighlightRequest, DocumentSymbolRequest, WorkspaceSymbolRequest, CodeActionRequest, DocumentFormattingRequest, DocumentRangeFormattingRequest, DocumentOnTypeFormattingRequest, RenameRequest, DocumentLinkRequest, ProgressType, ProgressToken, StaticRegistrationOptions, DocumentColorRequest, DeclarationRequest, FoldingRangeRequest, ImplementationRequest, SelectionRangeRequest, TypeDefinitionRequest, CallHierarchyPrepareRequest, CancellationStrategy, RegistrationType, SemanticTokensRegistrationType, ShowDocumentRequest, FileOperationRegistrationOptions, WillCreateFilesRequest, WillRenameFilesRequest, WillDeleteFilesRequest, DidCreateFilesNotification, DidDeleteFilesNotification, DidRenameFilesNotification, ShowDocumentParams, ShowDocumentResult, LinkedEditingRangeRequest, WorkDoneProgressBegin, WorkDoneProgressEnd, WorkDoneProgressReport } from 'vscode-languageserver-protocol'; | ||
import type { ColorProviderMiddleware } from './colorProvider'; | ||
@@ -367,2 +367,19 @@ import type { ImplementationMiddleware } from './implementation'; | ||
} | ||
export interface NotificationSendEvent<E, P> { | ||
original: E; | ||
type: ProtocolNotificationType<P, TextDocumentRegistrationOptions>; | ||
params: P; | ||
} | ||
export interface NotifyingFeature<E, P> { | ||
onNotificationSent: VEvent<NotificationSendEvent<E, P>>; | ||
} | ||
export interface DidOpenTextDocumentFeatureShape extends DynamicFeature<TextDocumentRegistrationOptions>, NotificationFeature<(textDocument: TextDocument) => void>, NotifyingFeature<TextDocument, DidOpenTextDocumentParams> { | ||
openDocuments: Iterable<TextDocument>; | ||
} | ||
export interface DidCloseTextDocumentFeatureShape extends DynamicFeature<TextDocumentRegistrationOptions>, NotificationFeature<(textDocument: TextDocument) => void>, NotifyingFeature<TextDocument, DidCloseTextDocumentParams> { | ||
} | ||
export interface DidChangeTextDocumentFeatureShape extends DynamicFeature<TextDocumentRegistrationOptions>, NotificationFeature<(event: TextDocumentChangeEvent) => void>, NotifyingFeature<TextDocumentChangeEvent, DidChangeTextDocumentParams> { | ||
} | ||
export interface DidSaveTextDocumentFeatureShape extends DynamicFeature<TextDocumentRegistrationOptions>, NotificationFeature<(textDocument: TextDocument) => void>, NotifyingFeature<TextDocument, DidSaveTextDocumentParams> { | ||
} | ||
export interface TextDocumentProviderFeature<T> { | ||
@@ -513,8 +530,8 @@ /** | ||
registerFeature(feature: StaticFeature | DynamicFeature<any>): void; | ||
getFeature(request: typeof DidOpenTextDocumentNotification.method): DynamicFeature<TextDocumentRegistrationOptions> & NotificationFeature<(textDocument: TextDocument) => void>; | ||
getFeature(request: typeof DidChangeTextDocumentNotification.method): DynamicFeature<TextDocumentRegistrationOptions> & NotificationFeature<(textDocument: TextDocument) => void>; | ||
getFeature(request: typeof DidOpenTextDocumentNotification.method): DidOpenTextDocumentFeatureShape; | ||
getFeature(request: typeof DidChangeTextDocumentNotification.method): DidChangeTextDocumentFeatureShape; | ||
getFeature(request: typeof WillSaveTextDocumentNotification.method): DynamicFeature<TextDocumentRegistrationOptions> & NotificationFeature<(textDocument: TextDocument) => void>; | ||
getFeature(request: typeof WillSaveTextDocumentWaitUntilRequest.method): DynamicFeature<TextDocumentRegistrationOptions> & NotificationFeature<(textDocument: TextDocument) => ProviderResult<VTextEdit[]>>; | ||
getFeature(request: typeof DidSaveTextDocumentNotification.method): DynamicFeature<TextDocumentRegistrationOptions> & NotificationFeature<(textDocument: TextDocument) => void>; | ||
getFeature(request: typeof DidCloseTextDocumentNotification.method): DynamicFeature<TextDocumentRegistrationOptions> & NotificationFeature<(textDocument: TextDocument) => void>; | ||
getFeature(request: typeof DidSaveTextDocumentNotification.method): DidSaveTextDocumentFeatureShape; | ||
getFeature(request: typeof DidCloseTextDocumentNotification.method): DidCloseTextDocumentFeatureShape; | ||
getFeature(request: typeof DidCreateFilesNotification.method): DynamicFeature<FileOperationRegistrationOptions> & { | ||
@@ -570,5 +587,3 @@ send: (event: FileCreateEvent) => Promise<void>; | ||
handleFailedRequest<T>(type: MessageSignature, token: CancellationToken | undefined, error: any, defaultValue: T): T; | ||
private static Canceled; | ||
private makeCancelError; | ||
} | ||
export {}; |
@@ -1,11 +0,18 @@ | ||
import { Disposable, CancellationToken, ProviderResult, Diagnostic as VDiagnostic, Uri } from 'vscode'; | ||
import { Disposable, CancellationToken, ProviderResult, Diagnostic as VDiagnostic, TextDocument } from 'vscode'; | ||
import { Proposed, ClientCapabilities, ServerCapabilities, DocumentSelector } from 'vscode-languageserver-protocol'; | ||
import { TextDocumentFeature, BaseLanguageClient } from './client'; | ||
interface DiagnosticProvider { | ||
provideDiagnostics(resource: Uri, token: CancellationToken): ProviderResult<VDiagnostic[]>; | ||
provideDiagnostics(textDocument: TextDocument, token: CancellationToken): ProviderResult<VDiagnostic[]>; | ||
} | ||
export interface ProvideDiagnosticsSignature { | ||
(this: void, resource: Uri, token: CancellationToken): ProviderResult<VDiagnostic[]>; | ||
export interface ProvideDiagnosticSignature { | ||
(this: void, textDocument: TextDocument, token: CancellationToken): ProviderResult<VDiagnostic[]>; | ||
} | ||
export declare class DiagnosticFeature extends TextDocumentFeature<boolean | Proposed.DiagnosticOptions, Proposed.DiagnosticRegistrationOptions, DiagnosticProvider> { | ||
export interface DiagnosticProviderMiddleware { | ||
provideDiagnostics?: (this: void, document: TextDocument, token: CancellationToken, next: ProvideDiagnosticSignature) => ProviderResult<VDiagnostic[]>; | ||
} | ||
export declare class DiagnosticFeature extends TextDocumentFeature<Proposed.DiagnosticOptions, Proposed.DiagnosticRegistrationOptions, DiagnosticProvider> { | ||
private readonly openFeature; | ||
private readonly changeFeature; | ||
private readonly saveFeature; | ||
private readonly closeFeature; | ||
constructor(client: BaseLanguageClient); | ||
@@ -12,0 +19,0 @@ fillClientCapabilities(capabilities: ClientCapabilities & Proposed.$DiagnosticClientCapabilities): void; |
@@ -26,2 +26,6 @@ "use strict"; | ||
super(client, vscode_languageserver_protocol_1.Proposed.DiagnosticRequest.type); | ||
this.openFeature = client.getFeature(vscode_languageserver_protocol_1.DidOpenTextDocumentNotification.method); | ||
this.changeFeature = client.getFeature(vscode_languageserver_protocol_1.DidChangeTextDocumentNotification.method); | ||
this.saveFeature = client.getFeature(vscode_languageserver_protocol_1.DidSaveTextDocumentNotification.method); | ||
this.closeFeature = client.getFeature(vscode_languageserver_protocol_1.DidCloseTextDocumentNotification.method); | ||
} | ||
@@ -41,10 +45,20 @@ fillClientCapabilities(capabilities) { | ||
const documentSelector = options.documentSelector; | ||
const mode = vscode_languageserver_protocol_1.Proposed.DiagnosticPullMode.is(options.mode) ? options.mode : vscode_languageserver_protocol_1.Proposed.DiagnosticPullMode.onType; | ||
const disposables = []; | ||
const collection = vscode_1.languages.createDiagnosticCollection(options.identifier); | ||
const openDocuments = new Map(); | ||
disposables.push(collection); | ||
const availableEditors = new Set(); | ||
const managedDocuments = new Set(); | ||
const matches = (textDocument) => { | ||
return vscode_1.languages.match(documentSelector, textDocument) > 0 && availableEditors.has(textDocument.uri.toString()); | ||
}; | ||
const manages = (textDocument) => { | ||
return managedDocuments.has(textDocument.uri.toString()); | ||
}; | ||
const provider = { | ||
provideDiagnostics: (resource, token) => { | ||
provideDiagnostics: (textDocument, token) => { | ||
const client = this._client; | ||
const provideDiagnostics = (resource, token) => { | ||
const provideDiagnostics = (textDocument, token) => { | ||
const params = { | ||
textDocument: { uri: client.code2ProtocolConverter.asUri(resource) } | ||
textDocument: { uri: client.code2ProtocolConverter.asUri(textDocument.uri) } | ||
}; | ||
@@ -60,9 +74,12 @@ return client.sendRequest(vscode_languageserver_protocol_1.Proposed.DiagnosticRequest.type, params, token).then((result) => { | ||
}; | ||
return provideDiagnostics(resource, token); | ||
const middleware = client.clientOptions.middleware; | ||
return middleware.provideDiagnostics | ||
? middleware.provideDiagnostics(textDocument, token, provideDiagnostics) | ||
: provideDiagnostics(textDocument, token); | ||
} | ||
}; | ||
const requestStates = new Map(); | ||
const pullDiagnostics = async (resource) => { | ||
const pullDiagnostics = async (textDocument) => { | ||
var _a; | ||
const key = resource.toString(); | ||
const key = textDocument.uri.toString(); | ||
const currentState = requestStates.get(key); | ||
@@ -72,3 +89,3 @@ if (currentState !== undefined) { | ||
currentState.tokenSource.cancel(); | ||
requestStates.set(key, { state: RequestStateKind.reschedule, uri: resource }); | ||
requestStates.set(key, { state: RequestStateKind.reschedule, textDocument }); | ||
} | ||
@@ -79,4 +96,4 @@ // We have a state. Wait until the request returns. | ||
const tokenSource = new vscode_1.CancellationTokenSource(); | ||
requestStates.set(key, { state: RequestStateKind.active, uri: resource, tokenSource }); | ||
const diagnostics = (_a = await provider.provideDiagnostics(resource, tokenSource.token)) !== null && _a !== void 0 ? _a : []; | ||
requestStates.set(key, { state: RequestStateKind.active, textDocument, tokenSource }); | ||
const diagnostics = (_a = await provider.provideDiagnostics(textDocument, tokenSource.token)) !== null && _a !== void 0 ? _a : []; | ||
const afterState = requestStates.get(key); | ||
@@ -86,3 +103,3 @@ if (afterState === undefined) { | ||
this._client.error(`Lost request state in diagnostic pull model. Clearing diagnostics for ${key}`); | ||
collection.delete(resource); | ||
collection.delete(textDocument.uri); | ||
return; | ||
@@ -94,63 +111,53 @@ } | ||
} | ||
collection.set(resource, diagnostics); | ||
collection.set(textDocument.uri, diagnostics); | ||
if (afterState.state === RequestStateKind.reschedule) { | ||
pullDiagnostics(resource); | ||
pullDiagnostics(textDocument); | ||
} | ||
}; | ||
const openDocumentHandler = () => { | ||
const added = new Set(); | ||
const current = new Map(openDocuments); | ||
openDocuments.clear(); | ||
const openEditorsHandler = () => { | ||
availableEditors.clear(); | ||
for (const info of vscode_1.window.openEditors) { | ||
const key = info.resource.toString(); | ||
openDocuments.set(key, info.resource); | ||
if (!current.has(key)) { | ||
added.add(info.resource); | ||
} | ||
else { | ||
current.delete(key); | ||
} | ||
availableEditors.add(info.resource.toString()); | ||
} | ||
// The once that are still in current are the once that | ||
// are not valid anymore. So clear the diagnostics | ||
for (const entry of current.entries()) { | ||
const key = entry[0]; | ||
const uri = entry[1]; | ||
collection.delete(uri); | ||
const requestState = requestStates.get(key); | ||
if (requestState === undefined) { | ||
continue; | ||
} | ||
// We have a running request. If it is active, cancel it. | ||
if (requestState.state === RequestStateKind.active) { | ||
requestState.tokenSource.cancel(); | ||
} | ||
// Mark the result as out dated. | ||
requestStates.set(key, { state: RequestStateKind.outDated, uri: entry[1] }); | ||
} | ||
for (const item of added) { | ||
pullDiagnostics(item); | ||
} | ||
}; | ||
openDocumentHandler(); | ||
const openEditorsListener = vscode_1.window.onDidChangeOpenEditors(openDocumentHandler); | ||
const documentChangeListener = vscode_1.workspace.onDidChangeTextDocument((event) => { | ||
if (event.contentChanges.length === 0) { | ||
return; | ||
openEditorsHandler(); | ||
disposables.push(vscode_1.window.onDidChangeOpenEditors(openEditorsHandler)); | ||
disposables.push(this.openFeature.onNotificationSent((event) => { | ||
const textDocument = event.original; | ||
if (matches(textDocument)) { | ||
managedDocuments.add(textDocument.uri.toString()); | ||
pullDiagnostics(event.original); | ||
} | ||
const document = event.document; | ||
if (!vscode_1.languages.match(documentSelector, document)) { | ||
return; | ||
})); | ||
// Pull all diagnostics for documents that are already open | ||
for (const textDocument of this.openFeature.openDocuments) { | ||
if (matches(textDocument)) { | ||
managedDocuments.add(textDocument.uri.toString()); | ||
pullDiagnostics(textDocument); | ||
} | ||
if (!openDocuments.has(document.uri.toString())) { | ||
return; | ||
} | ||
if (mode === vscode_languageserver_protocol_1.Proposed.DiagnosticPullMode.onType) { | ||
disposables.push(this.changeFeature.onNotificationSent((event) => { | ||
const textDocument = event.original.document; | ||
if (manages(textDocument) && event.original.contentChanges.length > 0) { | ||
pullDiagnostics(textDocument); | ||
} | ||
})); | ||
} | ||
else if (mode === vscode_languageserver_protocol_1.Proposed.DiagnosticPullMode.onSave) { | ||
disposables.push(this.saveFeature.onNotificationSent((event) => { | ||
const textDocument = event.original; | ||
if (manages(textDocument)) { | ||
pullDiagnostics(event.original); | ||
} | ||
})); | ||
} | ||
disposables.push(this.closeFeature.onNotificationSent((event) => { | ||
const textDocument = event.original; | ||
if (manages(textDocument)) { | ||
collection.delete(textDocument.uri); | ||
managedDocuments.delete(textDocument.uri.toString()); | ||
} | ||
pullDiagnostics(document.uri); | ||
}); | ||
const disposable = new vscode_1.Disposable(() => { | ||
openEditorsListener.dispose(); | ||
documentChangeListener.dispose(); | ||
collection.dispose(); | ||
}); | ||
return [disposable, provider]; | ||
})); | ||
return [vscode_1.Disposable.from(...disposables), provider]; | ||
} | ||
@@ -157,0 +164,0 @@ } |
{ | ||
"name": "vscode-languageclient", | ||
"description": "VSCode Language client implementation", | ||
"version": "7.1.0-next.1", | ||
"version": "7.1.0-next.2", | ||
"author": "Microsoft Corporation", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"@types/semver": "^7.3.4", | ||
"@types/vscode": "1.52.0", | ||
"@types/vscode": "1.53.0", | ||
"shx": "^0.3.2" | ||
@@ -33,3 +33,3 @@ }, | ||
"semver": "^7.3.4", | ||
"vscode-languageserver-protocol": "3.17.0-next.1" | ||
"vscode-languageserver-protocol": "3.17.0-next.3" | ||
}, | ||
@@ -36,0 +36,0 @@ "scripts": { |
@@ -1,41 +0,25 @@ | ||
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION | ||
For Microsoft vscode-languageclient | ||
NOTICES AND INFORMATION | ||
Do Not Translate or Localize | ||
This project incorporates material from the project(s) listed below (collectively, “Third Party Code”). | ||
Microsoft is not the original author of the Third Party Code. The original copyright notice and license | ||
under which Microsoft received such Third Party Code are set out below. This Third Party Code is licensed | ||
to you under their original license terms set forth below. Microsoft reserves all other rights not expressly | ||
granted, whether by implication, estoppel or otherwise. | ||
This software incorporates material from third parties. | ||
Microsoft makes certain open source code available at https://3rdpartysource.microsoft.com, | ||
or you may send a check or money order for US $5.00, including the product name, | ||
the open source component name, platform, and version number, to: | ||
1. DefinitelyTyped version 0.0.1 (https://github.com/borisyankov/DefinitelyTyped) | ||
2. semver version 6.3.0 (https://github.com/npm/node-semver) | ||
3. minimatch version 3.0.4 (https://github.com/isaacs/minimatch) | ||
Source Code Compliance Team | ||
Microsoft Corporation | ||
One Microsoft Way | ||
Redmond, WA 98052 | ||
USA | ||
%% DefinitelyTyped NOTICES AND INFORMATION BEGIN HERE | ||
========================================= | ||
This project is licensed under the MIT license. | ||
Copyrights are respective of each contributor listed at the beginning of each definition file. | ||
Notwithstanding any other terms, you may reverse engineer this software to the extent | ||
required to debug changes to any libraries licensed under the GNU Lesser General Public License. | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
--------------------------------------------------------- | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
lru-cache 6.0.0 - ISC | ||
https://github.com/isaacs/node-lru-cache#readme | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
========================================= | ||
END OF DefinitelyTyped NOTICES AND INFORMATION | ||
Copyright (c) Isaac Z. Schlueter and Contributors | ||
%% semver NOTICES AND INFORMATION BEGIN HERE | ||
========================================= | ||
The ISC License | ||
@@ -56,7 +40,13 @@ | ||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
========================================= | ||
END OF semver NOTICES AND INFORMATION | ||
%% minimatch NOTICES AND INFORMATION BEGIN HERE | ||
========================================= | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
minimatch 3.0.4 - ISC | ||
https://github.com/isaacs/minimatch#readme | ||
Copyright (c) Isaac Z. Schlueter and Contributors | ||
The ISC License | ||
@@ -77,3 +67,215 @@ | ||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
========================================= | ||
END OF minimatch NOTICES AND INFORMATION | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
semver 7.3.4 - ISC | ||
https://github.com/npm/node-semver#readme | ||
The ISC License | ||
Copyright (c) Isaac Z. Schlueter and Contributors | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | ||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
yallist 4.0.0 - ISC | ||
https://github.com/isaacs/yallist#readme | ||
Copyright (c) Isaac Z. Schlueter and Contributors | ||
The ISC License | ||
Copyright (c) Isaac Z. Schlueter and Contributors | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | ||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
balanced-match 1.0.0 - MIT | ||
https://github.com/juliangruber/balanced-match | ||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> | ||
(MIT) | ||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||
of the Software, and to permit persons to whom the Software is furnished to do | ||
so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
brace-expansion 1.1.11 - MIT | ||
https://github.com/juliangruber/brace-expansion | ||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> | ||
MIT License | ||
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
concat-map 0.0.1 - MIT | ||
https://github.com/substack/node-concat-map | ||
This software is released under the MIT license: | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
vscode-jsonrpc - MIT | ||
https://github.com/Microsoft/vscode-languageserver-node#readme | ||
Copyright (c) Microsoft Corporation. | ||
Copyright (c) Microsoft Corporation | ||
All rights reserved. | ||
MIT License | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
vscode-languageserver-protocol - MIT | ||
https://github.com/Microsoft/vscode-languageserver-node#readme | ||
Copyright (c) TypeFox and others. | ||
Copyright (c) Microsoft Corporation. | ||
Copyright (c) Microsoft Corporation | ||
All rights reserved. | ||
MIT License | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
--------------------------------------------------------- | ||
--------------------------------------------------------- | ||
vscode-languageserver-types - MIT | ||
https://github.com/Microsoft/vscode-languageserver-node#readme | ||
Copyright (c) Microsoft Corporation. | ||
Copyright (c) Microsoft Corporation | ||
All rights reserved. | ||
MIT License | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
--------------------------------------------------------- | ||
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
407289
8262
+ Addedvscode-languageserver-protocol@3.17.0-next.3(transitive)
- Removedvscode-languageserver-protocol@3.17.0-next.1(transitive)