resolve-tspaths
Advanced tools
Comparing version 0.8.2 to 0.8.3
## [0.8.3](https://github.com/benyap/resolve-tspaths/compare/v0.8.2...v0.8.3) (2022-10-22) | ||
### Bug Fixes | ||
* inconsistent behaviour with "./.." and "../" on windows/unix ([c55b471](https://github.com/benyap/resolve-tspaths/commit/c55b471917cff308214e559ba264227d3407b35b)) | ||
## [0.8.2](https://github.com/benyap/resolve-tspaths/compare/v0.8.1...v0.8.2) (2022-10-22) | ||
@@ -4,0 +11,0 @@ |
@@ -61,4 +61,4 @@ "use strict"; | ||
changes.push({ | ||
original: result.original, | ||
modified: result.replacement, | ||
original: (0, path_2.normalizePath)(result.original), | ||
modified: (0, path_2.normalizePath)(result.replacement), | ||
}); | ||
@@ -65,0 +65,0 @@ return (original.substring(0, index) + |
@@ -17,4 +17,4 @@ "use strict"; | ||
.replace(/\/\/+/g, "/") | ||
.replace(/\^.\/\.\.\//g, "../"); | ||
.replace(/^.\/\.\.\//g, "../"); | ||
} | ||
exports.normalizePath = normalizePath; |
{ | ||
"version": "0.8.2" | ||
"version": "0.8.3" | ||
} |
{ | ||
"name": "resolve-tspaths", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Transform path mappings in your compiled Typescript code", | ||
@@ -5,0 +5,0 @@ "author": "Ben Yap <contact@benyap.com>", |
75791