Commit Graph
249 Commits
Author SHA1 Message Date
sanex 84432e87e8 Improved stringArrayIntermediateVariablesCount option with function intermediate calls 2020-09-10 10:43:14 +03:00
sanex e80937d108 Changed option name: stringArrayIntermediateCalls -> stringArrayIntermediateVariablesCount 2020-09-07 11:12:18 +03:00
sanex 1b656d7386 New option: stringArrayIntermediateCalls sets the passed amount of intermediate variables for the string array 2020-09-07 10:05:31 +03:00
sanex 6ec92420f5 New API: getOptionsByPreset allows to get options for the passed options preset name 2020-09-04 18:46:00 +03:00
Timofey Kachalov 42ff66849e Mixed string array encoding prototype (#727)
`stringArrayEncoding` option now accepts an array of encodings. Each string will be randomly encoded with passed encoding.
2020-08-30 21:10:46 +03:00
sanex 645a3c5cef New optionsPreset option 2020-08-29 10:27:47 +03:00
sanex 0d556cbc13 Moved MemberExpressionTransformer back to converting transformers 2020-08-23 12:34:19 +03:00
sanex 9c04ededc7 Reorganized transformers structure and order 2020-08-23 09:27:35 +03:00
sanex 0f2f0c2c34 Improved rename of deadCodeInjection dead code identifiers. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/708 2020-08-18 13:57:53 +03:00
sanex dce365079c Renamed ScopeIdentifiersTraverser methods, interfaces and types to more concrete variable traverse 2020-08-17 00:51:58 +03:00
sanex3339 c1b0458f3c Block statement simplify transformer 2020-07-15 10:19:41 +03:00
sanex3339 d1d1275319 IAnalyzer interface improvements 2020-07-13 23:37:29 +03:00
sanex3339 dd8dcac223 Added numbersToExpressions option and NumberToNumericalExpressionTransformer 2020-07-12 18:24:57 +03:00
sanex3339 f07452e139 Added number numerical expression analyzer 2020-07-12 12:31:40 +03:00
sanex3339 c6887464c4 Fixed wrong source-map: 'inline' encoding after 1.3.0 2020-07-10 16:31:12 +03:00
sanex3339 87e23748f0 Renamed option: minify -> simplify 2020-07-06 21:47:09 +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 edba004651 Added logic and tests to partial simplify consequent only if statements with prohibited nodes 2020-07-01 01:34:18 +03:00
sanex3339 c2d033599e IfStatementSimplifyTransformer prototype WIP: refactoring #2 2020-06-28 23:28:03 +03:00
sanex3339 13e6ab30f4 Fixed some types 2020-06-27 10:47:24 +03:00
sanex3339 1d86852e45 minify option and variable declarations merge transformer 2020-06-26 12:41:01 +03:00
sanex3339 11cfaf2b51 Renamed option mangleProperties -> renameProperties 2020-06-07 00:52:11 +03:00
sanex3339 f5e06fcfed Added mangleProperties option 2020-06-06 10:04:25 +03:00
sanex3339 06176c29a6 Refactoring of mangle properties transformers and replacers 2020-06-06 09:25:10 +03:00
sanex3339 f0465fc8f8 Base mangle properties realisation 2020-06-05 23:44:05 +03:00
Timofey Kachalov 9213a13b2c Renamed TObject -> TDictionary (#616)
* Renamed TObject -> TDictionary
* Added key features to the README.md
2020-05-31 08:08:19 +03:00
sanex3339 e7a6186eb6 Code transformers #2: HashbangOperatorTransformer 2020-03-14 23:37:33 +03:00
sanex3339 3a86db105b Code transformers #1 2020-03-14 21:47:21 +03:00
sanex3339 70428d0c36 Reverted commander version 2020-03-14 13:20:42 +03:00
sanex3339 6d03a2bacf Added prefixes to the generated global identifiers of the added code 2020-03-04 09:57:38 +03:00
sanex3339 3e408da024 Fixed wrong scope of preserved identifiers of shorthand object pattern property 2020-02-26 00:56:31 +03:00
sanex3339 ed09424df5 Changed file log messages 2020-02-20 23:33:13 +03:00
sanex3339 a2e9c05ce8 Fixed errors related to identifiers. Changed self defending helper 2020-02-16 14:41:32 +03:00
sanex3339 51523c0d5c Refactoring of custom nodes: split on custom nodes and custom code helpers 2020-02-15 16:36:48 +03:00
sanex3339 dd7c1df9f9 Fixed wrong names generation for the custom nodes 2020-02-15 14:14:59 +03:00
sanex3339 16a7656984 Removed getPreservedNames method from AbstractIdentifierNamesGenerator 2020-02-14 01:35:33 +03:00
sanex3339 9dde522879 Custom nodes refactoring. CustomNodeObfuscator class. 2020-02-14 00:44:58 +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 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 64b61a7ae7 Migration from tslint on eslint #1 2020-01-30 10:13:28 +03:00
sanex3339 f333b9d425 Added more tests, renamed some interfaces and classes 2020-01-25 01:20:02 +03:00
sanex3339 007af5f52b Object expression keys transformer rework 2020-01-25 00:50:49 +03:00
sanex3339 3bc9678f8c Fixed wrong transform object keys behaviour with function default parameters 2020-01-23 01:00:06 +03:00
sanex3339 d0285aa085 A file path will be displayed on obfuscation error 2020-01-21 01:34:43 +03:00
sanex3339 50f7405375 Switched from awesome-typescript-loader on ts-loader #2 2020-01-20 01:15:56 +03:00
sanex3339 b7217a72c8 Switched from awesome-typescript-loader on ts-loader 2020-01-20 00:37:32 +03:00
sanex3339 b776df8f90 ScopeAnalyzer tests 2020-01-18 10:27:47 +03:00