NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
JavaScript obfuscator
Latest stable
5.10.1
Last release 15 days ago
12 Nov 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
276 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
selfDefending option now disabled by default.
selfDefending option now disabled by default.New option seed sets seed for random generator. This is useful for creating repeatable results.
seed sets seed for random generator. This is useful for creating repeatable results.disableConsoleOutput option now replaces console.xxx functions on empty function instead of infinity loop.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
disableConsoleOutput option now replaces console.xxx functions on empty function instead of infinity loop.Breaking change: option wrapUnicodeArrayCalls was removed and now all calls to stringArray are always wrapped by special wrapper function.
unicodeArray option has been renamed to stringArray.unicodeArrayThreshold option has been renamed to stringArrayThreshold.encodeUnicodeArray option has been renamed to stringArrayEncoding and now accepts following values: true|false|'base64'|'rc4'.wrapUnicodeArrayCalls was removed and now all calls to stringArray are always wrapped by special wrapper function.unicodeEscapeSequence allows to enable/disable strings conversion to unicode escape sequence.domainLock locks the obfuscated source code so it only runs on specific domains and/or sub-domains.sourceMapBaseUrl sets base url to the source map import url when sourceMapMode: 'separate'.selfDefendingNode or consoleOutputNode now inserted into deepest stack trace function call.Nothing published for this version
Breaking change: option wrapUnicodeArrayCalls was removed and now all calls to unicodeArray are always wrapped by special wrapper function.
You can download it with
npm i javascript-obfuscator@beta
encodeUnicodeArray has been renamed to unicodeArrayEncoding and now accepts following values: true|false|'base64'|'rc4'.wrapUnicodeArrayCalls was removed and now all calls to unicodeArray are always wrapped by special wrapper function.sourceMapBaseUrl sets base url to the source map import url when sourceMapMode: 'separate'.selfDefendingNode or consoleOutputNode now inserted into deepest stack trace function call.Fixed wrong obfuscation of labels.
Breaking change: option wrapUnicodeArrayCalls was removed and now all calls to stringArray are always wrapped by special wrapper function.
unicodeArray option has been renamed to stringArray.unicodeArrayThreshold option has been renamed to stringArrayThreshold.encodeUnicodeArray option has been renamed to stringArrayEncoding and now accepts following values: true|false|'base64'|'rc4'.wrapUnicodeArrayCalls was removed and now all calls to stringArray are always wrapped by special wrapper function.unicodeEscapeSequence allows to enable/disable strings conversion to unicode escape sequence.domainLock locks the obfuscated source code so it only runs on specific domains and/or sub-domains.sourceMapBaseUrl sets base url to the source map import url when sourceMapMode: 'separate'.selfDefendingNode or consoleOutputNode now inserted into deepest stack trace function call.- CLI missing polyfill fix #17
shorthand object expression fix #16
Obfuscator now returns an empty string instead of obfuscated code if source code is empty
Utils.decToHex methodobfuscate(sourceCode, options) returns ObfuscationResult object instead string. ObfuscationResult object contains two public methods: getObfuscatedCode() and getSourceMap().javascript-obfuscator command. See README.md for available options.sourceMap enables source map generation for obfuscated code.sourceMapMode specifies source map generation mode.Breaking API change: now obfuscate(sourceCode, options) returns ObfuscationResult object instead string. ObfuscationResult object contains two public
obfuscate(sourceCode, options) returns ObfuscationResult object instead string. ObfuscationResult object contains two public methods: getObfuscatedCode() and getSourceMap().javascript-obfuscator command. See README.md for available options.sourceMap enables source map generation for obfuscated code.sourceMapMode specifies source map generation mode.Nothing published for this version
Fix of incorrect Utils.decToHex method
Utils.decToHex methodBreaking API change: now obfuscate(sourceCode, options) returns ObfuscationResult object instead string. ObfuscationResult object contains two public
obfuscate(sourceCode, options) returns ObfuscationResult object instead string. ObfuscationResult object contains two public methods: getObfuscatedCode() and getSourceMap().javascript-obfuscator command. See README.md for available options.sourceMap enables source map generation for obfuscated code.sourceMapMode specifies source map generation mode.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
fixed wrapUnicodeArrayCalls option performance
fixed wrapUnicodeArrayCalls option performance
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Stable obfuscation of code which was minimized by UglifyJS
Stable obfuscation of code which was minimized by UglifyJS
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.