100 Commits
Author SHA1 Message Date
sanex3339 bb7706d753 Dependencies update 11.08.08 2020-08-11 13:24:46 +03:00
sanex3339 574a4854ad Added TaggedTemplateLiteral obfuscation. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/696 2020-08-06 22:32:07 +03:00
sanex3339 86d599fc07 Fixed test:dev test 2020-08-06 11:03:53 +03:00
sanex3339 971c02aed2 Added optional-chaining support 2020-08-06 10:28:49 +03:00
sanex3339 88d0cbfc99 estraverse and escodegen update 2020-08-06 09:18:38 +03:00
sanex3339 c3efd43ac9 Added xs:code badge 2020-08-05 16:13:40 +03:00
sanex3339 a3b73d87b9 Improved ConsoleOutputDisableExpressionTemplate.ts and fixed Content-Security-Policy problems with eval 2020-08-05 11:55:10 +03:00
sanex3339 3fc1af98c5 Added float numbers tests to the NumbersToNumericalExpressionsTransformer.spec.ts 2020-08-05 09:04:09 +03:00
sanex3339 3d232dda17 Slightly changed ConsoleOutputDisableExpressionTemplate 2020-08-04 22:31:03 +03:00
sanex3339 af0649bb56 Improved disableConsoleOutput template. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/691 2020-08-04 10:36:13 +03:00
sanex3339 8841bcd2e9 Increased version number 2020-07-31 18:18:16 +03:00
sanex3339 7ce5f964d6 Improved ObjectPatternPropertiesTransformer logic. Added tests. 2020-07-31 17:58:20 +03:00
sanex3339 c85f6c0092 Added ObjectPatternPropertiesTransformer. Added helper for stubbing selected node transformers. 2020-07-31 10:28:27 +03:00
sanex3339 5a666436f1 Fixed runtime error Uncaught SyntaxError: yield is a reserved identifier when deadCodeInjection is enabled 2020-07-27 23:19:53 +03:00
sanex3339 27a9e18a46 Added additional test for domainLock template 2020-07-26 20:38:14 +03:00
sanex3339 2f04b379c9 domainLock option patterns with leading dot character (.example.com) now cover root domains (example.com) in addition to all sub-domains (sub.example.com) 2020-07-26 13:09:59 +03:00
sanex3339 4049b5e67f Dependencies update 21.07.20 2020-07-21 10:01:36 +03:00
sanex3339 1fa712f9f7 Dependencies update 19.07.20 2020-07-19 22:48:26 +03:00
sanex3339 a551106cad Dependencies update 2020-07-17 09:27:26 +03:00
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 d1d1275319 IAnalyzer interface improvements 2020-07-13 23:37:29 +03:00
sanex3339 59fefced28 Updated README.md 2020-07-13 10:02:19 +03:00
sanex3339 bfb7a22d3d Added more test for numbersToExpressions option 2020-07-12 23:19:15 +03:00
sanex3339 19fa1fb602 Pass simplify and numbersToExpressions options to CustomCodeHelperObfuscator obfuscation 2020-07-12 21:09:13 +03:00
sanex3339 1beb3cd774 Added optimisations to numbersToExpressions option. Updated tests 2020-07-12 19:05:24 +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 631cd9b3cf WIP: trying to remove some logic from node groups classes 2020-07-11 11:53:36 +03:00
sanex3339 2c58db28ef WIP: tryig to remove some logic from domain lock custom node group 2020-07-11 09:53:51 +03:00
sanex3339 2b48efa232 WIP: disabled some options to debug travis 2020-07-10 23:04:49 +03:00
sanex3339 99bdbd62a8 Added code output on error in the runtime tests 2020-07-10 22:43:25 +03:00
sanex3339 9c6ce86446 Simplified initialization of nameSequence for MangledIdentifierNamesGenerator 2020-07-10 22:07:50 +03:00
sanex3339 d074bbe816 Prevented mutation of the name sequences of mangled identifier name generators 2020-07-10 18:59:27 +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 c6887464c4 Fixed wrong source-map: 'inline' encoding after 1.3.0 2020-07-10 16:31:12 +03:00
sanex3339 514e34bbd5 Bundles update 2020-07-10 10:52:30 +03:00
sanex3339 b09cf5c449 Moved initialisation of nameSequence to the initialize method 2020-07-10 01:05:11 +03:00
sanex3339 944e8f410f Fixed runtime errors with mangled-shuffled identifier names generator 2020-07-09 23:45:39 +03:00
sanex3339 8f2d891765 Added runtime tests for mangled-shuffled identifier names generator 2020-07-09 22:31:21 +03:00
sanex3339 162db9e92a Updated bundles 2020-07-09 22:30:03 +03:00
sanex3339 30342cf443 Added mangled-shuffled identifier names generator to the list of available generators of CLI options 2020-07-09 22:08:13 +03:00
sanex3339 c3fcbecbc9 Added examples to the simplify option in README.md 2020-07-09 22:05:18 +03:00
sanex3339 6f27dc6ec5 Added functional test for mangled-shuffled identifier names generator 2020-07-09 17:41:21 +03:00
sanex3339 b606926182 Added unit tests for mangled-shuffled identifier names generator 2020-07-09 14:11:25 +03:00
sanex3339 27be5b2cd5 Added mangled-shuffled identifier names generator 2020-07-09 11:10:31 +03:00
sanex3339 cd20be4036 Version update 2020-07-08 21:12:27 +03:00
sanex3339 96429ae0a7 Update bundles 2020-07-08 20:30:13 +03:00
sanex3339 90119a9c31 Updated readme section of simplify option 2020-07-08 10:30:02 +03:00
sanex3339 546832479b Dependencies update 2020-07-08 10:03:18 +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 2a77358c94 Updated bundle 2020-07-03 13:44:11 +03:00
sanex3339 460e956a6e Fixed runtime error function statement not allowed when deadCodeInjection is enabled 2020-07-03 10:52:10 +03:00
sanex3339 6424730f2d Added config file extension validation 2020-07-03 08:23:55 +03:00
sanex3339 7eb25bb403 Improvements of stringArrayEncoding: base64 and rc4 2020-07-02 10:13:57 +03:00
sanex3339 e625757ae0 Added constants with alphabet and numbers strings 2020-07-02 09:30:15 +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 303a4a67df Merge remote-tracking branch 'origin/master' into minification-transformers 2020-06-30 11:11:21 +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 c2d033599e IfStatementSimplifyTransformer prototype WIP: refactoring #2 2020-06-28 23:28:03 +03:00
sanex3339 0ca8f7bef7 IfStatementSimplifyTransformer prototype WIP: refactoring #1 2020-06-28 21:17:37 +03:00
sanex3339 e8c2782c1e Merge branch 'master' into minification-transformers-if-statement
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	package.json
2020-06-28 13:40:27 +03:00
sanex3339 efebb6d11d Fixed performance regression of Initializing stage after 1.2.0 2020-06-28 12:51:41 +03:00
sanex3339 770d52ccac IfStatementSimplifyTransformer prototype WIP 2020-06-28 12:15:47 +03:00
sanex3339 a217ac7bf6 Added minify option to the runtime tests 2020-06-27 21:36:18 +03:00
sanex3339 bf75495f22 Added constants with alphabet and numbers strings 2020-06-27 21:22:59 +03:00
sanex3339 13e6ab30f4 Fixed some types 2020-06-27 10:47:24 +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 1d86852e45 minify option and variable declarations merge transformer 2020-06-26 12:41:01 +03:00
sanex3339 80a122b763 Replaced compile with constructor call 2020-06-25 09:19:34 +03:00
sanex3339 731d7658ac Removed isConditionalComment method 2020-06-24 19:22:58 +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 49259f1ef4 Updated escodegen, fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/638, added test 2020-06-23 08:24:17 +03:00
sanex3339 dfd539fdea ts-node update 2020-06-21 12:07:09 +03:00
sanex3339 57dd4fc9b6 Dependencies update 20.06.2020: Threads update 2020-06-20 19:05:38 +03:00
sanex3339 3079ee1cd2 Dependencies update 20.06.2020 2020-06-20 18:54:46 +03:00
sanex3339 74489f07a3 Updated copyright for dom properties list 2020-06-08 01:30:06 +03:00
sanex3339 143981bc8e Added copyright for dom properties list 2020-06-08 00:59:19 +03:00
sanex3339 d65c9af46e Removed empty line in CHANGELOG.md 2020-06-08 00:46:26 +03:00
sanex3339 a89e614ceb Added tests for renameProperties option integration with splitStrings option 2020-06-07 18:48:37 +03:00
sanex3339 5811d649cd Updated README.md #3 2020-06-07 18:11:01 +03:00
sanex3339 f6c3d7e074 Updated README.md #2 2020-06-07 17:48:25 +03:00
sanex3339 74e9f26a62 Updated README.md 2020-06-07 17:45:32 +03:00
sanex3339 5492af80e8 Removed redundant return in RenamePropertiesTransformer 2020-06-07 17:11:53 +03:00
sanex3339 2f622791b5 Moved reserved dom properties list to the json file 2020-06-07 16:25:48 +03:00
sanex3339 9ed3e10c0f Increased runtime test evaluation timeout #2 2020-06-07 01:26:21 +03:00
sanex3339 38e1dd70bd Fixed renameProperties description 2020-06-07 01:10:09 +03:00
sanex3339 11cfaf2b51 Renamed option mangleProperties -> renameProperties 2020-06-07 00:52:11 +03:00