unstale

npm / javascript-obfuscator

javascript-obfuscator

What changed in javascript-obfuscator 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

3 new APIs and options1 behavior and defaults3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

javascript-obfuscator 57 changes

New APIs and options 3

  • ApiError now carries the machine-readable cause sent by the API; quota refusals use dailyLimit or monthlyLimit.

    5.9.0release notes

  • Added a Pro API method that returns the usage left on the API key's plan.

    5.9.0release notes

  • Accepts the alias of a custom preset saved in the obfuscator.io dashboard; obfuscatePro() and the CLI fetch it and merge its options.

    5.8.0release notes

Behavior and default changes 1

  • The Node dist bundle is no longer minified, so uncaught errors print a readable stack frame instead of the whole bundle.

    5.9.0release notes

Fixes and other changes 3

  • Short-circuit evaluation of &&, || and ?? is no longer broken by controlFlowFlattening.

    5.8.1release notes

  • Default parameter objects are no longer shared across calls when using transformObjectKeys.

    5.8.1release notes

  • A VM preset name no longer fails locally when --pro-api-token is set; the name is passed to the Pro API.

    5.8.0release notes