Skip to content

chore(deps): update dependency javascript-obfuscator to v5 - #609

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/javascript-obfuscator-5.x
Open

chore(deps): update dependency javascript-obfuscator to v5#609
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/javascript-obfuscator-5.x

Conversation

@renovate

@renovate renovate Bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
javascript-obfuscator (source) 4.1.05.5.0 age confidence

Release Notes

javascript-obfuscator/javascript-obfuscator (javascript-obfuscator)

v5.5.0

Compare Source

  • Pro API: reworked large file uploads — fixed 413 Content Too Large for ~4.4–4.6MB request bodies, and Blob uploads now send the raw source (blobFormat: 'raw') instead of the JSON request body, so uploads always fit the plan's file size cap

v5.4.7

Compare Source

  • Fixed directory obfuscation with a set sourceMapFileName making all files share and overwrite one .map. Fixes #​817
  • Fixed CLI --config failures hiding the real cause behind a generic Cannot open config file message. Fixes #​1101
  • Fixed sourceMapFileName ending in .js.map (e.g. foo.min.js.map) being mangled in the emitted //# sourceMappingURL= comment. Fixes #​1312
  • Fixed URIError: URI malformed crash when stringArray with base64/rc4 encoding processed a string literal containing lone surrogate code units (e.g. "[^\uD800-\uDFFF]"). Fixes #​1431
  • Bumped the production brace-expansion transitive dependency to a patched version, resolving CVE-2026-25547. Fixes #​1405

v5.4.6

Compare Source

  • Fixed unicode (\uXXXX, \u{XXXX}) and hex (\xXX) escape sequences of string literals being un-escaped into their literal characters during obfuscation. Fixes #​345

v5.4.5

Compare Source

  • 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. Fixes #​1423
  • Fixed selfDefending making obfuscated code run several times slower on Bun/JavaScriptCore. Fixes #​1421
  • Fixed dropped parentheses around an in operator inside an arrow body in a for-init, producing unparsable output. Fixes #​1419

v5.4.4

Compare Source

  • Optimized scope identifiers transformer performance
  • Optimized identifier renaming performance by reusing scope analysis between transformers
  • Fixed Invalid regular expression error when obfuscating code that uses ES2025 RegExp pattern modifiers (e.g. /(?i:abc)/). Fixes #​1410
  • Fixed SyntaxError when obfuscating a class that extends a boolean literal (e.g. class C extends true {}). Fixes #​1131

v5.4.3

Compare Source

  • Fixed controlFlowFlattening occasionally dropping the ?. short-circuit on foo?.(arg) calls, causing TypeError: <X> is not a function. Fixes #​1408

v5.4.2

Compare Source

  • Fixed obfuscated code hanging in Bun when selfDefending is enabled. Fixes #​1404

v5.4.1

Compare Source

  • Fixed Utils.nodeRequire causing ReferenceError: require is not defined in browser build by making it lazy-evaluated
  • Fixed missing space between keywords (return, throw, typeof) and Unicode surrogate pair identifiers in compact mode. Fixes #​1112
  • Fixed domainLock being case-sensitive — domain values are now normalized to lowercase. Fixes #​1182
  • Removed source-map-support runtime dependency. Use node --enable-source-maps instead. Fixes #​1149

v5.4.0

Compare Source

  • Add support for import attributes. Fixes #​1256
  • Add renameProperties support for private class fields and methods (#foo, #bar()). Fixes #​1220
  • Fixed reservedNames not preserving class method and property names when stringArray or deadCodeInjection is enabled. Fixes #​1279
  • Fixed infinite loop / stack overflow when reservedNames patterns match all generated identifier names. Now throws a descriptive error instead. Fixes #​1382
  • Fixed transformObjectKeys changing evaluation order when object expression is inside a sequence expression with preceding side effects (e.g. return aux(ys), { min }). Fixes #​1246
  • Fixed destructuring patterns inside class static blocks not being renamed when renameGlobals is disabled. Fixes #​1141
  • Fixed CLI --options-preset not applying preset values for options not explicitly set via command line (e.g. splitStrings from high-obfuscation preset was ignored). Fixes #​1236
  • Replaced mkdirp dependency with native fs.mkdirSync({ recursive: true }). Fixes #​1275. Thank you https://github.com/roli-lpci!
  • Updated reserved DOM properties list, fixing renameProperties breaking modern built-in methods like Array.prototype.at(). Fixes #​1066
  • Replaced conf dependency with custom implementation using env-paths and native fs

v5.3.1

Compare Source

  • Fixed class expression name references inside class body being incorrectly resolved to an import binding with the same name, causing broken code at runtime. Fixes #​1386

v5.3.0

Compare Source

  • Add Pro API support to CLI
  • Add large files upload support to Pro API

v5.2.1

Compare Source

  • Fixed transformObjectKeys incorrectly hoisting object literal outside of loop when loop body is a single statement without braces, causing all iterations to share the same object reference. Fixes #​1300
  • Fixed parsing error when await is used as an identifier in non-async context. Fixes #​1127
  • Fixed deadCodeInjection causing SyntaxError when arguments from collected block statements was injected into class field initializers or static initialization blocks. Fixes #​1166
  • Fixed transformObjectKeys with mangled identifier generator causing variable shadowing when extracted object variable name matched an existing inner scope variable. Fixes #​1232

v5.2.0

Compare Source

  • Skip obfuscation of process.env.*
  • Fixed controlFlowFlattening breaking short-circuit evaluation with spread operator and conditional objects. Fixes #​1372
  • Fix Annex B function hoisting: block-scoped function declarations are now correctly linked to references outside the block in non-strict mode
  • Fixed NodeUtils.cloneRecursive corrupting range property when cloning AST nodes, causing scope analysis to incorrectly resolve destructuring default parameter references

v5.1.0

Compare Source

  • Add version parameter to the apiConfig to use different versions JavaScript Obfuscator Pro via API

v5.0.1

Compare Source

  • Add JavaScript Obfuscator PRO advertisement message

v5.0.0

Compare Source

  • Add JavaScript Obfuscator PRO support via calling its API

v4.2.2

Compare Source

v4.2.1

Compare Source

  • Downgrade multimatch version to avoid esm errors

v4.2.0

Compare Source

  • Dropped support of Node versions 17 and below
  • Fix transformObjectKeys performance in some edge-cases
  • Fix controlFlowFlattening + optional chaining compatibility. Fixes #​1325
  • Don't obfuscate import.meta.*. Fixes #​1267
  • Revert Improved stringArray calls wrapper templates commit. Fixes #​1330
  • Fix error when ClassExpression is the CallExpression callee. Fixes #​1132
  • Don't publish root index.ts files to NPM. Fixes #​1252
  • Update class-validator version. Fixes #​1324
  • Update other dependencies
  • CLI: support .mjs and .cjs extensions. Kudos to #​1301

v4.1.1

Compare Source

  • Update supported Node.js versions up to node@22. Fixes #​1100
  • Update class-validator version. Fixes #​1247
  • Fixed CI

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 2 times, most recently from f392f5e to cbe0ef2 Compare December 13, 2025 17:10
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch from cbe0ef2 to f8a3004 Compare December 31, 2025 13:48
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 3 times, most recently from b7f9e5c to 121db2a Compare January 15, 2026 05:06
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 4 times, most recently from dea9ce1 to 7f723ea Compare January 28, 2026 06:56
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 2 times, most recently from c7fdd03 to 2f5c864 Compare February 4, 2026 18:33
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 3 times, most recently from 44a6992 to 2a04b70 Compare February 19, 2026 06:06
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch from 2a04b70 to d1cf86e Compare February 20, 2026 04:50
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch from d1cf86e to e816713 Compare March 5, 2026 15:05
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch from e816713 to 2368455 Compare March 13, 2026 19:13
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 3 times, most recently from 2f9ba86 to 68304ed Compare March 22, 2026 17:37
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch from 68304ed to 116d276 Compare April 1, 2026 16:54
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 3 times, most recently from d7b9925 to 3f63834 Compare April 15, 2026 09:56
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch from 3f63834 to 5687c49 Compare April 24, 2026 06:00
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 2 times, most recently from 87f740f to e85abb2 Compare May 18, 2026 12:57
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 2 times, most recently from 0cc7b7a to 0ee5df4 Compare May 28, 2026 19:37
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 2 times, most recently from cc3a7a8 to 4d8b1e7 Compare June 1, 2026 20:03
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 2 times, most recently from c7cd113 to a6fd99a Compare June 13, 2026 19:57
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 3 times, most recently from 7247c9b to 66e9780 Compare June 29, 2026 22:47
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 5 times, most recently from b489c74 to 5accf98 Compare July 12, 2026 10:53
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch 4 times, most recently from 93658de to 3481c2e Compare July 24, 2026 22:11
@renovate
renovate Bot force-pushed the renovate/javascript-obfuscator-5.x branch from 3481c2e to 323202a Compare July 30, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants