typescript-language-server
Advanced tools
Comparing version 0.6.0 to 0.6.1
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
## [0.6.1] - 2021-08-16 | ||
- Fix Windows path regression introduced in #220 (#249) | ||
## [0.6.0] - 2021-08-12 | ||
@@ -5,0 +9,0 @@ |
@@ -43,12 +43,9 @@ "use strict"; | ||
function parsePathOrUri(filepath) { | ||
try { | ||
// handles valid URIs from yarn pnp, will error if doesn't have scheme | ||
// zipfile:/foo/bar/baz.zip::path/to/module | ||
// handles valid URIs from yarn pnp, will error if doesn't have scheme | ||
// zipfile:/foo/bar/baz.zip::path/to/module | ||
if (filepath.startsWith('zipfile:')) { | ||
return vscode_uri_1.default.parse(filepath); | ||
} | ||
catch (_a) { | ||
// handles valid filepaths from everything else | ||
// /path/to/module | ||
return vscode_uri_1.default.file(filepath); | ||
} | ||
// handles valid filepaths from everything else /path/to/module | ||
return vscode_uri_1.default.file(filepath); | ||
} | ||
@@ -55,0 +52,0 @@ function pathToUri(filepath, documents) { |
{ | ||
"name": "typescript-language-server", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Language Server Protocol (LSP) implementation for TypeScript using tsserver", | ||
@@ -5,0 +5,0 @@ "author": "TypeFox and others", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
368543
4940