vscode-languageserver-protocol
Advanced tools
Comparing version 3.17.0-next.8 to 3.17.0-next.9
@@ -22,5 +22,5 @@ "use strict"; | ||
function createProtocolConnection(reader, writer, logger, options) { | ||
return browser_1.createMessageConnection(reader, writer, logger, options); | ||
return (0, browser_1.createMessageConnection)(reader, writer, logger, options); | ||
} | ||
exports.createProtocolConnection = createProtocolConnection; | ||
//# sourceMappingURL=main.js.map |
@@ -16,2 +16,11 @@ import type { integer } from 'vscode-languageserver-types'; | ||
/** | ||
* A request failed but it was syntactically correct, e.g the | ||
* method name was known and the parameters were valid. The error | ||
* message should contain human readable information about why | ||
* the request failed. | ||
* | ||
* @since 3.17.0 | ||
*/ | ||
const RequestFailed: integer; | ||
/** | ||
* The server cancelled the request. This error code should | ||
@@ -49,2 +58,3 @@ * only be used for requests that explicitly support being | ||
import * as diag from './proposed.diagnostic'; | ||
import * as typeh from './proposed.typeHierarchy'; | ||
export declare namespace Proposed { | ||
@@ -77,2 +87,11 @@ type DiagnosticClientCapabilities = diag.DiagnosticClientCapabilities; | ||
const DiagnosticRefreshRequest: typeof diag.DiagnosticRefreshRequest; | ||
type TypeHierarchyClientCapabilities = typeh.TypeHierarchyClientCapabilities; | ||
type TypeHierarchyOptions = typeh.TypeHierarchyOptions; | ||
type TypeHierarchyRegistrationOptions = typeh.TypeHierarchyRegistrationOptions; | ||
type TypeHierarchyPrepareParams = typeh.TypeHierarchyPrepareParams; | ||
type TypeHierarchySupertypesParams = typeh.TypeHierarchySupertypesParams; | ||
type TypeHierarchySubtypesParams = typeh.TypeHierarchySubtypesParams; | ||
const TypeHierarchyPrepareRequest: typeof typeh.TypeHierarchyPrepareRequest; | ||
const TypeHierarchySupertypesRequest: typeof typeh.TypeHierarchySupertypesRequest; | ||
const TypeHierarchySubtypesRequest: typeof typeh.TypeHierarchySubtypesRequest; | ||
} |
@@ -34,2 +34,11 @@ "use strict"; | ||
/** | ||
* A request failed but it was syntactically correct, e.g the | ||
* method name was known and the parameters were valid. The error | ||
* message should contain human readable information about why | ||
* the request failed. | ||
* | ||
* @since 3.17.0 | ||
*/ | ||
LSPErrorCodes.RequestFailed = -32803; | ||
/** | ||
* The server cancelled the request. This error code should | ||
@@ -67,2 +76,3 @@ * only be used for requests that explicitly support being | ||
const diag = require("./proposed.diagnostic"); | ||
const typeh = require("./proposed.typeHierarchy"); | ||
var Proposed; | ||
@@ -75,3 +85,6 @@ (function (Proposed) { | ||
Proposed.DiagnosticRefreshRequest = diag.DiagnosticRefreshRequest; | ||
Proposed.TypeHierarchyPrepareRequest = typeh.TypeHierarchyPrepareRequest; | ||
Proposed.TypeHierarchySupertypesRequest = typeh.TypeHierarchySupertypesRequest; | ||
Proposed.TypeHierarchySubtypesRequest = typeh.TypeHierarchySubtypesRequest; | ||
})(Proposed = exports.Proposed || (exports.Proposed = {})); | ||
//# sourceMappingURL=api.js.map |
@@ -127,3 +127,3 @@ import { Message, NotificationMessage, CancellationToken, RequestHandler0, RequestHandler, GenericRequestHandler, NotificationHandler0, NotificationHandler, GenericNotificationHandler, ProgressType, Trace, Tracer, TraceOptions, Disposable, Event, MessageReader, MessageWriter, Logger, ConnectionStrategy, ConnectionOptions, RequestType0, RequestType, NotificationType0, NotificationType, MessageSignature } from 'vscode-jsonrpc'; | ||
*/ | ||
sendProgress<P>(type: ProgressType<P>, token: string | number, value: P): void; | ||
sendProgress<P>(type: ProgressType<P>, token: string | number, value: P): Promise<void>; | ||
/** | ||
@@ -130,0 +130,0 @@ * Enables tracing mode for the connection. |
@@ -13,5 +13,5 @@ "use strict"; | ||
} | ||
return vscode_jsonrpc_1.createMessageConnection(input, output, logger, options); | ||
return (0, vscode_jsonrpc_1.createMessageConnection)(input, output, logger, options); | ||
} | ||
exports.createProtocolConnection = createProtocolConnection; | ||
//# sourceMappingURL=connection.js.map |
@@ -39,5 +39,2 @@ "use strict"; | ||
exports.ProtocolNotificationType = ProtocolNotificationType; | ||
// let x: ProtocolNotificationType<number, { value: number}>; | ||
// let y: ProtocolNotificationType<string, { value: number}>; | ||
// x = y; | ||
//# sourceMappingURL=messages.js.map |
@@ -22,5 +22,5 @@ "use strict"; | ||
function createProtocolConnection(input, output, logger, options) { | ||
return node_1.createMessageConnection(input, output, logger, options); | ||
return (0, node_1.createMessageConnection)(input, output, logger, options); | ||
} | ||
exports.createProtocolConnection = createProtocolConnection; | ||
//# sourceMappingURL=main.js.map |
{ | ||
"name": "vscode-languageserver-protocol", | ||
"description": "VSCode Language Server Protocol implementation", | ||
"version": "3.17.0-next.8", | ||
"version": "3.17.0-next.9", | ||
"author": "Microsoft Corporation", | ||
@@ -21,4 +21,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"vscode-jsonrpc": "8.0.0-next.2", | ||
"vscode-languageserver-types": "3.17.0-next.3" | ||
"vscode-jsonrpc": "8.0.0-next.3", | ||
"vscode-languageserver-types": "3.17.0-next.4" | ||
}, | ||
@@ -25,0 +25,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
267270
57
6460
+ Addedvscode-jsonrpc@8.0.0-next.3(transitive)
+ Addedvscode-languageserver-types@3.17.0-next.4(transitive)
- Removedvscode-jsonrpc@8.0.0-next.2(transitive)
- Removedvscode-languageserver-types@3.17.0-next.3(transitive)
Updatedvscode-jsonrpc@8.0.0-next.3