Releases: javascript-obfuscator/javascript-obfuscator
Releases Β· javascript-obfuscator/javascript-obfuscator
5.2.1 version
- Fixed
transformObjectKeysincorrectly hoisting object literal outside of loop when loop body is a single statement without braces, causing all iterations to share the same object reference. Fixes #1300 - Fixed parsing error when
awaitis used as an identifier in non-async context. Fixes #1127 - Fixed
deadCodeInjectioncausing SyntaxError whenargumentsfrom collected block statements was injected into class field initializers or static initialization blocks. Fixes #1166 - Fixed
transformObjectKeyswithmangledidentifier generator causing variable shadowing when extracted object variable name matched an existing inner scope variable. Fixes #1232
5.2.0 version
- Skip obfuscation of
process.env.* - Fixed
controlFlowFlatteningbreaking short-circuit evaluation with spread operator and conditional objects. Fixes #1372 - Fix Annex B function hoisting: block-scoped function declarations are now correctly linked to references outside the block in non-strict mode
- Fixed
NodeUtils.cloneRecursivecorruptingrangeproperty when cloning AST nodes, causing scope analysis to incorrectly resolve destructuring default parameter references
5.1.0 version
- Add
versionparameter to theapiConfigto use different versions JavaScript Obfuscator Pro via API
5.0.0 version
- Add JavaScript Obfuscator PRO support via calling its API
4.2.1 version
- Downgrade
multimatchversion to avoid esm errors
4.2.0 version
- Dropped support of Node versions 17 and below
- Fix
transformObjectKeysperformance in some edge-cases - Fix
controlFlowFlattening+ optional chaining compatibility. Fixes #1325 - Don't obfuscate import.meta.*. Fixes #1267
- Revert
Improved stringArray calls wrapper templatescommit. Fixes #1330 - Fix error when ClassExpression is the CallExpression callee. Fixes #1132
- Don't publish root index.ts files to NPM. Fixes #1252
- Update
class-validatorversion. Fixes #1324 - Update other dependencies
- CLI: support
.mjsand.cjsextensions. Kudos to #1301
4.1.1 version
4.1.0 version
- Add target
service-worker
4.0.1 release
- Update
class-validatordependency #1146
4.0.0 release
- Breaking change:
debugProtectionIntervaloption now accepts value in milliseconds instead ofbooleanvalue. Fixed #1031