Commit Graph
961 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
sanex 75b8e9ca9d Updated @types/estree and @types/node 2020-09-03 09:34:15 +03:00
sanex a0dca0256b Fixed regression bug with combination of splitStrings and renameProperties option
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/729
2020-09-02 21:52:59 +03:00
sanex 340b7283be Dependencies update. Added Test for emoji split with splitStrings option 2020-09-02 09:38:03 +03:00
sanex 2e711e46e4 Removed unnecessary CLI sanitizers 2020-09-02 00:00:02 +03:00
sanex 017ade47db Fixed order of StringArrayCallsWrapper code helpers, added tests 2020-08-31 09:41:15 +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 7fb26b3a66 Updated typescript to 4.0.0 2020-08-22 08:54:41 +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 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 a60c0c5346 Acorn@8 version update + fixed ScopeIdentifiersTransformer logic 2020-08-14 02:26:37 +03:00
sanex a908570a50 Fixed console functions prototype 2020-08-13 23:58:27 +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 88d0cbfc99 estraverse and escodegen update 2020-08-06 09:18:38 +03:00
sanex3339 a3b73d87b9 Improved ConsoleOutputDisableExpressionTemplate.ts and fixed Content-Security-Policy problems with eval 2020-08-05 11:55:10 +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 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 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 d1d1275319 IAnalyzer interface improvements 2020-07-13 23:37:29 +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 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 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 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