Releases: codemodsquad/astx
Releases · codemodsquad/astx
v3.0.0-beta.24
v3.0.0-beta.23
v3.0.0-beta.22
3.0.0-beta.22 (2024-04-10)
Bug Fixes
- allow string literals and template literals without expressions to match (38b017f)
- fix issues with import specifier replacement conversion (f3f363f)
- preserve comments in replacement patterns (625bcb5)
Features
v3.0.0-beta.21
v3.0.0-beta.20
3.0.0-beta.20 (2024-03-30)
Bug Fixes
-
findImports: support string capture in import source (0e61bde)
-
feat!: execute tagged template literals immediately (7dea20c)
BREAKING CHANGES
- whereas before you had to do
astx.find`$a + $b`()
,
now you can omit the parentheses:astx.find`$a + $b`
.
The same goes for.replace
,.closest
,.destruct
,.findImports
,
.addImports
,.removeImports
, and.replaceImport
.
v3.0.0-beta.19
v3.0.0-beta.18
3.0.0-beta.18 (2024-03-27)
Features
- add Astx.findImports, Astx.addImports, Astx.removeImports, Astx.replaceImport (4bfc03d)
v3.0.0-beta.17
v3.0.0-beta.16
v3.0.0-beta.15
3.0.0-beta.15 (2024-03-14)
Bug Fixes
- bug where matches inside other matches don't get replaced (a8ff9de)