Replace esbuild with TSC for building the library.
Allow custom transformers for renamers.
These changes enable users to create their own transformers by passing the constructor into the customTransformers array and specify the transformers they want to use for renaming variables. Although multiple renamers may cause issues, it provides flexibility for using custom renamers.
The removal of esbuild is justified since it only builds a single file, which limits the ability to have custom transformers. By using TSC, user code can access private APIs inside synchrony, allowing for better customizability.
These enhancements cater to specific use cases, such as fixing only certain renamed variables in obfuscated code, and provide greater flexibility for users working with the library.
TransformerArray
into theContext
file.These changes enable users to create their own transformers by passing the constructor into the
customTransformers
array and specify the transformers they want to use for renaming variables. Although multiple renamers may cause issues, it provides flexibility for using custom renamers.The removal of esbuild is justified since it only builds a single file, which limits the ability to have custom transformers. By using TSC, user code can access private APIs inside synchrony, allowing for better customizability.
These enhancements cater to specific use cases, such as fixing only certain renamed variables in obfuscated code, and provide greater flexibility for users working with the library.