Commit Graph
407 Commits
Author SHA1 Message Date
Timofey Kachalov fd9cff4c11 Merge branch 'master' into issue-1405 2026-07-10 20:13:52 +04:00
Timofey Kachalov 4626dd5d57 Fixed sourceMapFileName ending in .js.map (e.g. foo.min.js.map) being mangled in the emitted //# sourceMappingURL= comment (#1433) 2026-07-10 20:13:19 +04:00
sanex3339 b8f922bd43 Bumped the production brace-expansion transitive dependency to a patched version, resolving CVE-2026-25547 2026-07-10 20:06:55 +04:00
Timofey Kachalov 09b2ff11d6 Fixed URIError: URI malformed crash when stringArray with base64/rc4 encoding processed a string literal containing lone surrogate code units (e.g. "[^\uD800-\uDFFF]") (#1432) 2026-07-10 19:57:51 +04:00
Timofey Kachalov f1805500f8 Fixed unicode (\uXXXX, \u{XXXX}) and hex (\xXX) escape sequences of string literals being un-escaped into their literal characters during obfuscation (#1427) 2026-07-09 23:56:38 +04:00
Timofey Kachalov a3df841839 Fixed dropped parentheses around an in operator inside an arrow body in a for-init, producing unparsable output (#1426) 2026-07-09 14:34:48 +04:00
Timofey Kachalov f3d0a64307 Fixed selfDefending making obfuscated code run several times slower on Bun/JavaScriptCore (#1425) 2026-07-09 13:39:25 +04:00
Timofey Kachalov 5e95732bc8 Fixed controlFlowFlattening intermittently dropping arguments of a spread call (e.g. foo(...args)) when it reused a control flow wrapper of a same-arity plain call (#1424) 2026-07-09 11:57:58 +04:00
sanex3339 c6d0872a63 Update changelog 2026-07-09 09:35:51 +04:00
Sebastian Cao fecc14506a Fixed SyntaxError when obfuscating a class that extends a boolean literal (#1420) 2026-07-09 09:33:44 +04:00
Timofey Kachalov 7035494943 Update acorn version (#1411) 2026-06-10 12:18:27 +04:00
Timofey Kachalov a4ed35565a Fixed controlFlowFlattening occasionally dropping the ?. short-circuit on foo?.(arg) calls, causing TypeError: <X> is not a function (#1409) 2026-05-21 22:59:34 +04:00
Timofey Kachalov 1857849145 Fix self-defending obfuscated code hanging in Bun environments (#1407) 2026-04-17 10:59:03 +04:00
Timofey Kachalov dd62feadae Make Utils.nodeRequire lazy-evaluated to avoid ReferenceError in browser environments (#1401) 2026-03-22 17:08:16 +04:00
Timofey Kachalov 459fb31c12 Fix domain lock to be case-insensitive by normalizing domain values to lowercase (#1400) 2026-03-22 16:43:41 +04:00
Timofey Kachalov fb74744555 Removed source-map-support runtime dependency (#1399) 2026-03-22 16:18:03 +04:00
Timofey Kachalov 8a67a82914 Fixed missing space between keywords (return, throw, typeof) and Unicode surrogate pair identifiers in compact mode (#1398) 2026-03-22 16:02:22 +04:00
Timofey Kachalov 84861e8e39 Updated reserved DOM properties list (#1397) 2026-03-22 13:03:29 +04:00
Timofey Kachalov 2ec6e13d8f Fixed destructuring patterns inside class static blocks not being renamed when renameGlobals is disabled (#1396) 2026-03-22 12:45:29 +04:00
Timofey Kachalov aa3c9fd344 Fixed CLI --options-preset not applying preset values for options not explicitly set via command line (#1395) 2026-03-22 12:10:12 +04:00
Timofey Kachalov d8db02336d Add renameProperties support for private class fields and methods (#1393) 2026-03-22 11:33:36 +04:00
Timofey Kachalov e1d9435468 Fixed infinite loop / stack overflow when reservedNames patterns match all generated identifier names (#1390) 2026-03-22 11:22:58 +04:00
Timofey Kachalov bac513e73d Fix transformObjectKeys to preserve evaluation order in sequence expressions with side effects (#1392) 2026-03-22 11:14:07 +04:00
Timofey Kachalov 8ade200077 Remove conf package in favor of a custom implementation (#1391) 2026-03-22 10:32:09 +04:00
Timofey Kachalov 2246099bb6 Fixed reservedNames not preserving class method and property names when stringArray or deadCodeInjection is enabled (#1389) 2026-03-22 09:41:56 +04:00
Timofey Kachalov 560212c0c4 Add import attributes support (#1388) 2026-03-22 08:56:53 +04:00
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
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 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 3bb9b1872f Downgrade multimatch (#1341) 2025-12-04 18:23:22 +04:00
sanex3339 01465a233c Version update 2025-11-30 04:18:04 +04:00
sanex3339 f5f2cbc2a8 Version update 2025-11-30 03:16:46 +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 301b049c99 Don't publish root index.ts files to NPM as we have typings (#1333) 2025-11-30 01:25:47 +04:00
sanex3339 145746c867 Update CHANGELOG.md 2025-11-30 00:55:34 +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 828a190cf8 Update CHANGELOG.md 2024-06-15 21:29:00 +04:00
sanex 1000402f10 Version update to 4.1.0 2023-09-05 20:12:05 +04:00