Timofey Kachalov
7792fb0be3
Fixed class expression name references inside class body being incorrectly resolved to an import binding with the same name, causing broken code at runtime ( #1387 )
2026-03-21 20:55:38 +04:00
Timofey Kachalov
25427bcc0b
Add Pro API support to CLI including support for large files obfuscation ( #1381 )
2026-02-03 20:22:11 +04:00
Timofey Kachalov
6864328c03
Fix identifiers generation ( #1378 )
2026-01-28 01:04:40 +04:00
sanex3339
999e93c084
Fixed transformObjectKeys with mangled identifier generator causing variable shadowing when extracted object variable name matched an existing inner scope variable
2026-01-27 23:34:45 +04:00
Timofey Kachalov
05aacd9dfe
Fixed deadCodeInjection causing SyntaxError when arguments from collected block statements was injected into class field initializers or static initialization blocks ( #1377 )
2026-01-27 23:34:22 +04:00
Timofey Kachalov
ccece3fef1
Fixed parsing error when await is used as an identifier in non-async context ( #1376 )
2026-01-27 22:59:28 +04:00
Timofey Kachalov
44028a147f
Fixed transformObjectKeys incorrectly hoisting object literal outsie of loop ( #1375 )
2026-01-27 22:19:27 +04:00
Timofey Kachalov
3848bca794
Backport some fixes from Pro version ( #1374 )
2026-01-27 17:20:23 +04:00
Timofey Kachalov
99c635a6d2
Fixed controlFlowFlattening breaking short-circuit evaluation with spread operator and conditional objects ( #1373 )
2026-01-27 14:04:39 +04:00
Timofey Kachalov
c844f97cfc
Ignore transformation of process.env.* ( #1367 )
2026-01-06 23:37:42 +04:00
Timofey Kachalov
12aff3cfd4
Optimize performance ( #1355 )
2025-12-16 23:02:58 +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
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
Fern Lane
bb9b33fb15
fix: .mjs and .cjs in availableInputExtensions ( #1301 )
2025-11-30 00:52:27 +04:00
Timofey Kachalov
64edd44d68
Revert 5683e75 ( #1332 )
2025-11-30 00:39:32 +04:00
Timofey Kachalov
6640907504
Speedup ObjectExpressionKeysTransformer.ts ( #1331 )
2025-11-29 21:40:32 +04:00
Timofey Kachalov
39f7ff43e6
Update dependencies ( #1327 )
2025-10-30 11:32:28 +04:00
Timofey Kachalov
4e4efb7f92
Support new nodejs version ( #1261 )
2024-06-15 14:53:48 +04:00
sanex
1000402f10
Version update to 4.1.0
2023-09-05 20:12:05 +04:00
Alex
54cbdf6d27
Add target 'service-worker' ( #1134 )
2023-09-05 13:26:01 +04:00
Timofey Kachalov
2f1b2904a4
Dependencies update ( #1148 )
2023-02-12 22:40:54 +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
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
Seho
92535aa0c0
Added .mjs and .cjs support ( #1059 )
2022-02-12 21:51:24 +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
711a135334
Updated option normalizers for stringArrayCallsTransform option
2022-02-05 22:13:55 +03:00
sanex
ec12ffce15
stringArrayCallsTransform is disabled in default preset
2022-02-05 21:12:24 +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
6b8ead0b2b
Support for class static blocks
2022-01-29 14:57:21 +03:00
sanex
ac3c34fe77
Support for class static blocks
2022-01-29 13:36:10 +03:00
sanex
0443111d09
Apple M1 performance fix
2022-01-29 10:27:55 +03:00
sanex
c98bcdc126
Dependencies update
2021-10-19 16:54:22 +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
e1e15fda7a
Fixed directory name for typings
2021-08-06 01:56:13 +03:00
sanex
0306f29ba8
Improved pre-commit and pre-publish workflows
...
Installed `npm` package now has `types` directory and doesn't have `src` directory
2021-08-06 00:00:47 +03:00