vscode-languageclient
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -28,5 +28,9 @@ import * as cp from 'child_process'; | ||
} | ||
export declare enum TransportKind { | ||
stdio = 0, | ||
ipc = 1, | ||
} | ||
export interface NodeModule { | ||
module: string; | ||
useIPC?: boolean; | ||
transport?: TransportKind; | ||
args?: string[]; | ||
@@ -33,0 +37,0 @@ options?: ForkOptions; |
@@ -56,2 +56,7 @@ /* -------------------------------------------------------------------------------------------- | ||
} | ||
(function (TransportKind) { | ||
TransportKind[TransportKind["stdio"] = 0] = "stdio"; | ||
TransportKind[TransportKind["ipc"] = 1] = "ipc"; | ||
})(exports.TransportKind || (exports.TransportKind = {})); | ||
var TransportKind = exports.TransportKind; | ||
var ClientState; | ||
@@ -405,3 +410,3 @@ (function (ClientState) { | ||
options.cwd = options.cwd || vscode_1.workspace.rootPath; | ||
if (node.useIPC) { | ||
if (node.transport === TransportKind.ipc) { | ||
_this._childProcess = cp.fork(node.module, node.args || [], options); | ||
@@ -408,0 +413,0 @@ if (_this._childProcess.pid) { |
{ | ||
"name": "vscode-languageclient", | ||
"description": "VSCode Language client implementation", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "Microsoft Corporation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
121782
25
2965