Commit Graph
73 Commits
Author SHA1 Message Date
sanex c0cd04d2bf Added stringArrayWrappersParametersMaxCount option 2020-11-15 23:14:30 +03:00
sanex ed7fbc5bef New option: stringArrayIndexesType accepts an array of types of string array call indexes 2020-11-15 12:05:34 +03:00
sanex 5e8c1648fe Added tests for string array index shift 2020-11-15 00:30:46 +03:00
sanex 98bf2e6256 Switched form escodegen to @javascript-obfuscator/escodegen
Added tests for some es11/es12 features
2020-11-04 21:01:59 +03:00
sanex abb7f1656f MakeEnum moved to Utils class 2020-10-11 14:45:33 +03:00
sanex 381fd18177 * @gradecam/tsenum replaced with an internal implementation
* Optimized performance of `ExpressionStatementsMergeTransformer` when `simplify` option is enabled
2020-10-11 14:06:50 +03:00
sanex b2297df287 Changed eval hello-world test 2020-09-20 20:25:44 +03:00
sanex 77ff574e67 Fixed isIncrementedMangledName algorithm 2020-09-19 21:49:28 +03:00
sanex d86ee4213c New option stringArrayWrappersType allows to select a type of the wrappers that are appending by the stringArrayWrappersCount option 2020-09-15 11:09:22 +03:00
sanex 7b87712f39 Added tests for getOptionsByPreset method of JavaScriptObfuscatorFacade 2020-09-11 09:54:10 +03:00
sanex f43b138e8a New option stringArrayWrappersChainedCalls. Renamed option stringArrayIntermediateVariablesCount on stringArrayWrappersCount 2020-09-11 00:28:32 +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
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
sanex3339 971c02aed2 Added optional-chaining support 2020-08-06 10:28:49 +03:00
sanex3339 1beb3cd774 Added optimisations to numbersToExpressions option. Updated tests 2020-07-12 19:05:24 +03:00
sanex3339 6f27dc6ec5 Added functional test for mangled-shuffled identifier names generator 2020-07-09 17:41:21 +03:00
sanex3339 87e23748f0 Renamed option: minify -> simplify 2020-07-06 21:47:09 +03:00
sanex3339 a217ac7bf6 Added minify option to the runtime tests 2020-06-27 21:36:18 +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 2621bef3f1 Fixed error during code generation for ObjectPattern with single RestElement.
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/607
2020-06-04 10:16:29 +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 fb834c8de1 0.28.0 release
Support of BigInt
2020-04-25 12:12:07 +03:00
sanex3339 75c2a7b5d6 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/590 2020-04-12 23:15:32 +03:00
sanex3339 bbc672e80e Fixed identifiers prefix generation for obfuscateMultiple method 2020-03-16 11:53:45 +03:00
sanex3339 f9ec74006d New obfuscateMultiple method 2020-03-15 21:34:13 +03:00
sanex3339 c60627ac3c Added preserved variable names check to the hexadecimal identifiers name generator 2020-02-17 22:40:32 +03:00
sanex3339 a2e9c05ce8 Fixed errors related to identifiers. Changed self defending helper 2020-02-16 14:41:32 +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 e987a8f55e Fixed support of exponentiation operator. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/534 2020-02-07 11:08:16 +03:00
sanex3339 178adcbfaa Slightly changed regexps of variable kinds 2020-01-27 00:58:04 +03:00
sanex3339 b50c48a683 Dynamic import and import.meta support 2020-01-19 01:03:04 +03:00
sanex3339 1edf96c0a0 shuffleStringArray option 2020-01-12 19:55:41 +03:00
sanex3339 645e122640 Switched from espree to acorn 2020-01-10 19:02:23 +03:00
sanex3339 1f13f71d54 Updated tests 2020-01-09 09:21:37 +03:00
sanex3339 65d4fd1602 Additional tests 2020-01-09 08:30:46 +03:00
sanex3339 3a1cc4e4f5 Auto detection of prevailing kind of variables 2020-01-09 01:30:34 +03:00
sanex3339 2f27d75318 Fixed typings. Now string values correctly assignable to enum-like options 2020-01-03 19:41:21 +03:00
sanex3339 2527fe3036 Fixed mocha exit on node 10 2020-01-02 02:34:29 +03:00
sanex3339 945e885240 * Fixed identifier names generations for mangled and dictionary identifier names generators
* Fixed combination of `identifierNamesGenerator: dictionary` and `debugProtection` options
* `seed` option now accepts `string` and `number` values
2020-01-01 21:46:51 +03:00
sanex3339 f39d16370b Added failing test for custom nodes identifier names collision 2020-01-01 15:53:44 +03:00
sanex3339 617f85e40d Added functional tests for dictionary names generator: fixed regExp #2 2019-12-31 14:29:36 +03:00
sanex3339 19ebf787f7 Added functional tests for dictionary names generator: fixed regExp 2019-12-31 14:29:19 +03:00
sanex3339 9c186a4e34 Added functional tests for dictionary names generator 2019-12-31 14:13:30 +03:00
sanex3339 1268354c2e Fixed grammar in import 2018-07-29 23:04:54 +03:00
sanex3339 e7f2bd1063 Replaced ObfuscationResult and SourceMapCorrector classes by ObfuscatedCode class 2018-07-29 16:06:40 +03:00
sanex3339 4b74976cc7 Some refactoring 2018-05-24 11:22:54 +03:00
sanex3339 3ea05aa0e1 Switched esprima on espree. Obfuscation of export declarations 2018-03-25 20:32:08 +03:00
sanex3339 0c088af218 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/210 2018-03-02 01:00:33 +03:00
sanex3339 e5778b4fa4 New CLI option: exclude 2018-02-24 13:54:44 +03:00