typescript-language-server
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -48,4 +48,4 @@ "use strict"; | ||
assert.equal(2, result.length, JSON.stringify(result, undefined, 2)); | ||
})).timeout(5000); | ||
})).timeout(10000); | ||
}); | ||
//# sourceMappingURL=file-lsp-server.spec.js.map |
@@ -150,2 +150,8 @@ "use strict"; | ||
this.openedDocumentUris.delete(params.textDocument.uri); | ||
// We won't be updating diagnostics anymore for that file, so clear them | ||
// so we don't leave stale ones. | ||
this.options.lspClient.publishDiagnostics({ | ||
uri: params.textDocument.uri, | ||
diagnostics: [], | ||
}); | ||
} | ||
@@ -152,0 +158,0 @@ didChangeTextDocument(params) { |
@@ -61,3 +61,3 @@ "use strict"; | ||
}); | ||
})).timeout(5000); | ||
})).timeout(10000); | ||
}); | ||
@@ -84,3 +84,3 @@ describe('diagnostics', () => { | ||
assert.equal("Cannot find name 'unknown'.", diags[0].message); | ||
})).timeout(5000); | ||
})).timeout(10000); | ||
}); | ||
@@ -113,3 +113,3 @@ describe('symbol', () => { | ||
assert.equal('myFunction', symbols[3].name); | ||
})).timeout(5000); | ||
})).timeout(10000); | ||
}); | ||
@@ -147,3 +147,3 @@ describe('editing', () => { | ||
assert.equal("Cannot find name 'unknown'.", diags[0].message); | ||
})).timeout(5000); | ||
})).timeout(10000); | ||
}); | ||
@@ -170,3 +170,3 @@ describe('formatting', () => { | ||
assert.equal('export function foo(): void { }', result); | ||
})).timeout(5000); | ||
})).timeout(10000); | ||
}); | ||
@@ -197,3 +197,3 @@ describe('signatureHelp', () => { | ||
assert.equal('baz?: boolean', result.signatures[result.activeSignature].parameters[result.activeParameter].label); | ||
})).timeout(5000); | ||
})).timeout(10000); | ||
}); | ||
@@ -233,4 +233,4 @@ describe('documentHighlight', () => { | ||
assert.equal(2, result.length, JSON.stringify(result, undefined, 2)); | ||
})).timeout(5000); | ||
})).timeout(10000); | ||
}); | ||
//# sourceMappingURL=lsp-server.spec.js.map |
{ | ||
"name": "typescript-language-server", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Language Server Protocol (LSP) implementation for TypeScript using tsserver", | ||
@@ -10,2 +10,3 @@ "repository": { | ||
"scripts": { | ||
"postinstall": "yarn run build", | ||
"build": "tsc && tslint --project .", | ||
@@ -12,0 +13,0 @@ "clean": "rimraf lib", |
@@ -1,2 +0,4 @@ | ||
# TypeScript LSP | ||
[](https://travis-ci.org/theia-ide/typescript-language-server) | ||
# TypeScript Language Server | ||
[Language Server Protocol](https://github.com/Microsoft/language-server-protocol) implementation for TypeScript wrapping `tsserver`. | ||
@@ -3,0 +5,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
155641
2098
78
1