ts-unused-exports
Advanced tools
Comparing version 9.0.0 to 9.0.1
@@ -0,2 +1,9 @@ | ||
## [9.0.1] - 4 Jan 2023 | ||
### Changed | ||
- Fix for index files that end with .js or .cjs or .mjs. | ||
## [9.0.0] - 26 Dec 2022 | ||
### Added | ||
@@ -3,0 +10,0 @@ |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.getFromText = function (moduleSpecifier) { | ||
return moduleSpecifier.replace(TRIM_QUOTES, '$1').replace(/\/index$/, ''); | ||
return moduleSpecifier.replace(TRIM_QUOTES, '$1').replace(/\/index(.[mc]?js)?$/, ''); | ||
}; | ||
@@ -10,0 +10,0 @@ exports.getFrom = function (moduleSpecifier) { |
{ | ||
"name": "ts-unused-exports", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"description": "ts-unused-exports finds unused exported symbols in your Typescript project", | ||
@@ -5,0 +5,0 @@ "main": "lib/app.js", |
Sorry, the diff of this file is not supported yet
130975