Commit Graph
226 Commits
Author SHA1 Message Date
sanex3339 37eb0aa745 ExpressionStatementsMergeTransformer + optimized AbstractStatementSimplifyTransformer logic 2020-07-15 15:20:19 +03:00
sanex3339 f10d1d479d Improved nested variable declarations merging 2020-07-15 11:06:58 +03:00
sanex3339 c1b0458f3c Block statement simplify transformer 2020-07-15 10:19:41 +03:00
sanex3339 bfb7a22d3d Added more test for numbersToExpressions option 2020-07-12 23:19:15 +03:00
sanex3339 dd8dcac223 Added numbersToExpressions option and NumberToNumericalExpressionTransformer 2020-07-12 18:24:57 +03:00
sanex3339 728210039c Fixed runtime error when IfStatement contains only single let or const variable declaration when simlify option enabled. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/661 2020-07-10 16:59:41 +03:00
sanex3339 87e23748f0 Renamed option: minify -> simplify 2020-07-06 21:47:09 +03:00
sanex3339 0467620a08 Added tests for prohibited single FunctionDeclaration 2020-07-06 16:30:48 +03:00
sanex3339 3a3d350d96 Added tests for prohibited single if statement 2020-07-04 12:53:31 +03:00
sanex3339 2e198d1190 Merge branch 'master' into minification-transformers
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	src/custom-code-helpers/string-array/templates/string-array-calls-wrapper/AtobTemplate.ts
#	src/utils/CryptUtils.ts
#	test/dev/dev.ts
2020-07-03 14:14:38 +03:00
sanex3339 460e956a6e Fixed runtime error function statement not allowed when deadCodeInjection is enabled 2020-07-03 10:52:10 +03:00
sanex3339 7eb25bb403 Improvements of stringArrayEncoding: base64 and rc4 2020-07-02 10:13:57 +03:00
sanex3339 937309a664 Added more logic to simplify partially valid if statement branches 2020-07-02 09:09:18 +03:00
sanex3339 5b64f75dac Handle more cases of IfStatement simplify 2020-07-01 12:37:26 +03:00
sanex3339 7b8d341c48 Added more tests for partial if statement branches 2020-07-01 11:50:58 +03:00
sanex3339 edba004651 Added logic and tests to partial simplify consequent only if statements with prohibited nodes 2020-07-01 01:34:18 +03:00
sanex3339 8ab44490c2 Added partial if statement simplify with consequent only branch 2020-07-01 00:23:49 +03:00
sanex3339 61a3728ed0 Renamed fixture files 2020-07-01 00:03:49 +03:00
sanex3339 6905528d88 Simple consequent and alternate tests for IfStatementSimplifyTransformer #2 2020-06-30 21:41:12 +03:00
sanex3339 57b84a670d Simple consequent and alternate tests for IfStatementSimplifyTransformer 2020-06-30 10:51:05 +03:00
sanex3339 31551f4e33 Simple consequent only tests for IfStatementSimplifyTransformer 2020-06-29 10:50:40 +03:00
sanex3339 866c132f79 Additional test for VariableDeclarationsMergeTransformer 2020-06-26 17:21:14 +03:00
sanex3339 87aca85f3e Added tests for VariableDeclarationsMergeTransformer 2020-06-26 15:25:56 +03:00
sanex3339 733fe12d23 Conditional comments will be removed from the code after obfuscation. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/641 2020-06-24 19:07:42 +03:00
sanex3339 a89e614ceb Added tests for renameProperties option integration with splitStrings option 2020-06-07 18:48:37 +03:00
sanex3339 11cfaf2b51 Renamed option mangleProperties -> renameProperties 2020-06-07 00:52:11 +03:00
sanex3339 095ccc330a Added tests for ManglePropertiesTransformer 2020-06-06 23:47:57 +03:00
sanex3339 11ec82a6f7 0.28.2 release. Fixed change of kinds of variables for dead code with deadCodeInjection option 2020-05-21 10:19:52 +03:00
sanex3339 fb834c8de1 0.28.0 release
Support of BigInt
2020-04-25 12:12:07 +03:00
sanex3339 3ba7a8172b Dependencies update #3: Estree 2020-03-22 21:07:22 +03:00
sanex3339 56f73df7af Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/575 2020-03-13 10:25:17 +03:00
sanex3339 39870010e8 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/569 2020-03-05 01:25:56 +03:00
sanex3339 d229c8ffa1 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/563 2020-02-26 19:13:27 +03:00
sanex3339 3e408da024 Fixed wrong scope of preserved identifiers of shorthand object pattern property 2020-02-26 00:56:31 +03:00
sanex3339 e1a24248b2 Fixed wrong lexical scope node for object expression host node 2020-02-22 21:13:50 +03:00
sanex3339 dd7c1df9f9 Fixed wrong names generation for the custom nodes 2020-02-15 14:14:59 +03:00
sanex3339 89e8a2452a More stable way to preserve identifiers with scope identifiers traverser 2020-02-13 01:57:36 +03:00
sanex3339 002697caf5 Improved mangled identifier names generator. Improved variable preserving. 2020-02-11 23:03:02 +03:00
sanex3339 78722782de Additional improvements of variables preserving 2020-02-09 14:26:34 +03:00
sanex3339 4e716ed0d0 Prevented transformation of object keys in sequence expression that has super call 2020-02-09 01:49:51 +03:00
sanex3339 db908f7bce Fixed conflicts between generated names and names from untouched identifiers from source code.
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/550
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/549
2020-02-08 21:57:29 +03:00
sanex3339 e589b461c3 Fixed wrong rename of object pattern identifiers 2020-02-05 00:50:30 +03:00
sanex3339 fcbe2ee66e Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/535 2020-01-29 22:26:33 +03:00
sanex3339 f819acbc4b Removed isNodeScope option, added more tests 2020-01-27 20:44:16 +03:00
sanex3339 c0117912c1 Added class scope sanitizing 2020-01-27 20:11:40 +03:00
sanex3339 178adcbfaa Slightly changed regexps of variable kinds 2020-01-27 00:58:04 +03:00
sanex3339 b454b9e809 Additional fixes of transformObjectKeys 2020-01-26 20:02:12 +03:00
sanex3339 856709ab12 transformObjectKeys refactoring and bug fixes 2020-01-26 18:56:31 +03:00
sanex3339 241c069577 Fixed test case description 2020-01-26 17:16:15 +03:00
sanex3339 5011d89eee Fixed object expression keys transformation when of sequence expressions, when identifier is referenced on the same expression 2020-01-26 17:07:23 +03:00