Commit Graph
93 Commits
Author SHA1 Message Date
Timofey Kachalov d8db02336d Add renameProperties support for private class fields and methods (#1393) 2026-03-22 11:33:36 +04:00
Timofey Kachalov 560212c0c4 Add import attributes support (#1388) 2026-03-22 08:56:53 +04:00
Timofey Kachalov c844f97cfc Ignore transformation of process.env.* (#1367) 2026-01-06 23:37:42 +04:00
Timofey Kachalov 4ee4b219e5 Add prettier (#1339) 2025-12-04 00:09:10 +04:00
Timofey Kachalov 964376363e Fix error when ClassExpression is the CallExpression callee (#1336) 2025-11-30 03:15:42 +04:00
Timofey Kachalov cd63f59099 Don't obfuscate import.meta.* (#1335) 2025-11-30 02:33:15 +04:00
Timofey Kachalov e8e92c601d debugProtectionInteraval option now accepts value in milliseconds instead of boolean value (#1063) 2022-02-14 19:06:05 +03:00
Timofey Kachalov f075a0e2d1 Added stringArrayCallsTransform and stringArrayCallsTransformThreshold options (#987) 2022-02-05 20:57:39 +03:00
sanex 6b8ead0b2b Support for class static blocks 2022-01-29 14:57:21 +03:00
sanex ec1c90a27f Renamed options 2021-10-17 15:25:29 +03:00
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