{{ message }}
5.4.0 version
- Add support for
import attributes. Fixes #1256 - Add
renamePropertiessupport for private class fields and methods (#foo,#bar()). Fixes #1220 - Fixed
reservedNamesnot preserving class method and property names whenstringArrayordeadCodeInjectionis enabled. Fixes #1279 - Fixed infinite loop / stack overflow when
reservedNamespatterns match all generated identifier names. Now throws a descriptive error instead. Fixes #1382 - Fixed
transformObjectKeyschanging evaluation order when object expression is inside a sequence expression with preceding side effects (e.g.return aux(ys), { min }). Fixes #1246 - Fixed destructuring patterns inside class static blocks not being renamed when
renameGlobalsis disabled. Fixes #1141 - Fixed CLI
--options-presetnot applying preset values for options not explicitly set via command line (e.g.splitStringsfromhigh-obfuscationpreset was ignored). Fixes #1236 - Replaced
mkdirpdependency with nativefs.mkdirSync({ recursive: true }). Fixes #1275. Thank you https://github.com/roli-lpci! - Updated reserved DOM properties list, fixing
renamePropertiesbreaking modern built-in methods likeArray.prototype.at(). Fixes #1066 - Replaced
confdependency with custom implementation usingenv-pathsand nativefs
