Commit Graph
341 Commits
Author SHA1 Message Date
sanex 9b5eba5363 Fixed stringArrayCallsWrapper option with mangled names generator 2020-09-12 00:05:47 +03:00
sanex f43b138e8a New option stringArrayWrappersChainedCalls. Renamed option stringArrayIntermediateVariablesCount on stringArrayWrappersCount 2020-09-11 00:28:32 +03:00
sanex 7df32035ec Added StringArrayCallNode custom node 2020-09-10 20:46:53 +03:00
sanex b483ef17cf Added StringArrayIntermediateCallsWrapperNode custom node 2020-09-10 20:06:20 +03:00
sanex 4c5028c095 Fixed tests of stringArrayIntermediateVariablesCount option 2020-09-10 13:18:27 +03:00
sanex 5bbbc901d4 stringArrayIntermediateVariablesCount option rework 2020-09-10 11:40:13 +03:00
sanex 84432e87e8 Improved stringArrayIntermediateVariablesCount option with function intermediate calls 2020-09-10 10:43:14 +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 340b7283be Dependencies update. Added Test for emoji split with splitStrings option 2020-09-02 09:38:03 +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 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 3970513a64 Moved ScopeThroughIdentifiersTransformer to the obfuscation transformers 2020-08-18 14:09:13 +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 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 a60c0c5346 Acorn@8 version update + fixed ScopeIdentifiersTransformer logic 2020-08-14 02:26:37 +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 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 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 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 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 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 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 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 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 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 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 11cfaf2b51 Renamed option mangleProperties -> renameProperties 2020-06-07 00:52:11 +03:00
sanex3339 06176c29a6 Refactoring of mangle properties transformers and replacers 2020-06-06 09:25:10 +03:00