Commit Graph
668 Commits
Author SHA1 Message Date
sanex cc7b36792a Added tests for rename-properties invalid literal node type 2020-08-25 10:09:35 +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 ca030004e8 Reverted TaggedTemplateLiteral obfuscation. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/716 2020-08-18 21:00:07 +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
sanex da41272ef7 Fixed obfuscation of literals of ExportNamedDeclaration and ExportAllDeclaration nodes 2020-08-14 23:59:57 +03:00
sanex 9ff565f4e3 Prevent properties with get and set kinds from extraction with transformObjectKeys option. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/707 2020-08-14 20:52:53 +03:00
sanex aca6b0bd11 Added tests for a valid bind call of console.log methods of ConsoleOutputDisableTemplate 2020-08-14 00:12:54 +03:00
sanex 4f28bee90f Renamed ConsoleOutputDisable template 2020-08-11 20:08:47 +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 3fc1af98c5 Added float numbers tests to the NumbersToNumericalExpressionsTransformer.spec.ts 2020-08-05 09:04:09 +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 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 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 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 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 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 8f2d891765 Added runtime tests for mangled-shuffled identifier names generator 2020-07-09 22:31:21 +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 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 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 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