resolve-tspaths
Advanced tools
Comparing version 0.7.3 to 0.7.4
## [0.7.4](https://github.com/benyap/resolve-tspaths/compare/v0.7.3...v0.7.4) (2022-07-27) | ||
### Bug Fixes | ||
* check for existence of .json files before replacing ([2312e55](https://github.com/benyap/resolve-tspaths/commit/2312e55c65b62dba94d4d4257c75cbb7a45c24e4)) | ||
### Documentation | ||
* fix typo ([4f44eeb](https://github.com/benyap/resolve-tspaths/commit/4f44eeb8b38205380e37128f4840df7cc5819a43)) | ||
## [0.7.3](https://github.com/benyap/resolve-tspaths/compare/v0.7.2...v0.7.3) (2022-07-27) | ||
@@ -8,3 +20,3 @@ | ||
* resovle paths to .json files correctly ([764c4a8](https://github.com/benyap/resolve-tspaths/commit/764c4a8024026356543a85abfa2583546b918a84)) | ||
* resolve paths to .json files correctly ([764c4a8](https://github.com/benyap/resolve-tspaths/commit/764c4a8024026356543a85abfa2583546b918a84)) | ||
@@ -11,0 +23,0 @@ ## [0.7.2](https://github.com/benyap/resolve-tspaths/compare/v0.7.1...v0.7.2) (2022-07-27) |
@@ -100,3 +100,3 @@ "use strict"; | ||
if (typeof ext !== "string") | ||
ext = FILE_EXTS.find((ext) => modulePath.endsWith(ext)); | ||
ext = FILE_EXTS.find((ext) => modulePath.endsWith(ext) && (0, fs_1.existsSync)(modulePath)); | ||
if (typeof ext !== "string") | ||
@@ -103,0 +103,0 @@ continue; |
{ | ||
"version": "0.7.3" | ||
"version": "0.7.4" | ||
} |
{ | ||
"name": "resolve-tspaths", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"description": "Transform path mappings in your compiled Typescript code", | ||
@@ -5,0 +5,0 @@ "author": "Ben Yap <contact@benyap.com>", |
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
62150