Commit Graph
872 Commits
Author SHA1 Message Date
Timofey Kachalov c844f97cfc Ignore transformation of process.env.* (#1367) 2026-01-06 23:37:42 +04:00
Timofey Kachalov 6866396e9a Add version parameter to the apiConfig to use different versions of JavaScript Obfuscator Pro via API (#1353) 2025-12-13 18:43:52 +04:00
Timofey Kachalov 4ac3368122 Version 5.0.1 (#1344) 2025-12-07 12:42:47 +04:00
Timofey Kachalov 4f3a456124 Add Async PRO API (#1343) 2025-12-07 00:01:00 +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 b36951af37 Fix control flow flattening + optional chaining compatibility (#1334) 2025-11-30 01:53:25 +04:00
Timofey Kachalov 64edd44d68 Revert 5683e75 (#1332) 2025-11-30 00:39:32 +04:00
Alex 54cbdf6d27 Add target 'service-worker' (#1134) 2023-09-05 13:26:01 +04:00
billsykes b55c7dbb2c Bump class-validator from 0.13.2 to 0.14.0 (#1146) 2023-02-11 02:48:04 +04:00
fuka 88bfc0e4b9 Update incorrect 'ignoreRequireImports' to 'ignoreImports' (#1086)
Introduced by PR#1010
2022-05-07 22:30:30 +03: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 30ba697c55 Fixed cases when dead code is added to the inner code of eval expressions (#1062)
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1053
2022-02-14 14:34:39 +03:00
sanex 496a6109dc .cjs file support for config files 2022-02-12 22:01:43 +03:00
Timofey Kachalov b99b6a46ee Improved integration between renameProperties and controlFlowFlattening options (#1060) 2022-02-12 20:35:31 +03:00
Timofey Kachalov 2095d47058 Dead code injection transformer ignores PrivateIdentifier nodes (#1057) 2022-02-09 22:44:16 +03:00
Timofey Kachalov ec4b70f908 String array calls transform fix (#1050)
* Fixed the wrong generation of code that has statements after `ReturnStatment` when `simplify` option is enabled

* Fixed generation of reserved identifier names like `Map` or `Set` for `mangled` and `mangled-shuffled` identifier names generators
2022-02-08 00:02:33 +03:00
Timofey Kachalov 77f64bf5df Fixed wrong generation of code that has statements after ReturnStatment when simplify option is enabled 2022-02-06 21:10:16 +03:00
sanex cd4bf15cc8 Fixed zero threshold case for string array storage analyze 2022-02-06 10:56:36 +03:00
sanex 2e0ce8ac71 Updated seed view when tests are failing 2022-02-06 09:36:43 +03:00
sanex 711a135334 Updated option normalizers for stringArrayCallsTransform option 2022-02-05 22:13:55 +03:00
Timofey Kachalov f075a0e2d1 Added stringArrayCallsTransform and stringArrayCallsTransformThreshold options (#987) 2022-02-05 20:57:39 +03:00
jmbeach 891dbce95c make forward slash in output path consistent 2022-02-02 14:59:58 -05:00
sanex cead12a76f Refactoring 2022-01-31 01:08:00 +03:00
sanex 5c0334d093 Fixed tests 2022-01-29 15:02:52 +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 faaab45c6a ignoreRequireImports option renamed to ignoreImports 2021-10-17 15:13:24 +03:00
Kevin 30c5e9a937 fix: dynamic import 2021-10-11 03:50:58 +08:00
sanex 061bffe2c4 Refactoring related to ArrayUtils, NodeMetadata and StringArray transformets 2021-08-08 23:56:45 +03:00
sanex a7e0f5885a Refactored control flow storage logic related to removing existing control flow storage from the AST tree 2021-08-08 23:45:20 +03:00
sanex 6e1ce07b5e Fixed very rare cases when rotateStringArray couldn't rotate array properly 2021-08-02 12:25:45 +03:00
sanex 73fcb350a2 Updated CHANGELOG.md. Fixed tests. 2021-08-01 23:22:06 +03:00
sanex c364415a13 Updated logic for random string array function position 2021-08-01 22:00:23 +03:00
sanex c4abec8c2a Added additional self defending mechanisms. Updated tests 2021-08-01 16:58:04 +03:00
sanex 9da81caf3d String array now stored as a function 2021-07-31 15:04:11 +03:00
sanex 7920538a51 Updated self defending helper. Removed no-eval self-defending helper 2021-07-26 11:07:13 +03:00
sanex 258bc4c2cd Sync with master 2021-07-24 02:46:18 +03:00
sanex 1352fb9714 Updated @javascript-obfuscator/escodegen with fixed generation of private property names 2021-07-24 01:22:56 +03:00
sanex 30eb717de6 Sync with master 2021-07-24 00:32:59 +03:00
sanex 744cd14f7f Updated supported node versions. Added support for rename of property definitions 2021-07-23 23:42:10 +03:00
sanex ba3e4d6897 Sync with dev 2021-07-23 22:29:00 +03:00
sanex 8a872dca9f Updated self defending template #3 2021-07-23 19:21:38 +03:00
sanex b5738de0b9 Updated self defending template 2021-07-22 21:05:45 +03:00
sanex 6c05aae2ae Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/959 2021-07-22 17:58:54 +03:00
sanex 4550424033 Added test for relative path as inputFileName 2021-07-20 12:05:37 +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 7b57c1e667 Force set stringArray: true for StringArrayStorageAnalyzer tests 2021-07-17 09:27:35 +03:00