Commit Graph
83 Commits
Author SHA1 Message Date
sanex 73fcb350a2 Updated CHANGELOG.md. Fixed tests. 2021-08-01 23:22:06 +03:00
sanex c4abec8c2a Added additional self defending mechanisms. Updated tests 2021-08-01 16:58:04 +03:00
sanex 1352fb9714 Updated @javascript-obfuscator/escodegen with fixed generation of private property names 2021-07-24 01:22:56 +03:00
sanex 4ab4406f5e Fixed tests. Added inputFileName option validation 2021-07-20 00:00:06 +03:00
sanex b3fc8bc595 **New option**: sourceMapSourcesMode allows to control sources and sourcesContent fields of the source map
Fixed some cases with wrong source map file name generation when `sourceMapFileName` option is set
2021-07-19 22:19:48 +03:00
sanex 515dc82e17 Added getOptions method to IObfuscationResult 2021-06-09 09:49:19 +03:00
sanex 32e1dad4bc Added error output in identifiers collision test 2021-05-31 21:14:10 +03:00
sanex f32bcf29a8 Changed identifier names cache structure to store multiple identifier caches 2021-05-30 18:43:36 +03:00
sanex e7d9c71964 Added more tests for identifier names cache code generation 2021-05-30 15:49:55 +03:00
sanex f3c4be22bf Renamed obfuscatedCode => obfuscationResult variables 2021-05-30 14:38:20 +03:00
sanex bee043cef3 Identifier names cache option prototype #2. Added readme. 2021-05-30 01:01:59 +03:00
sanex 72a89a1357 Added support of top-level await
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/884
2021-02-28 19:23:45 +03:00
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 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