mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
2.1 KiB
2.1 KiB
Change Log
v0.8.0
- Breaking options change:
unicodeArrayoption has been renamed tostringArray. - Breaking options change:
unicodeArrayThresholdoption has been renamed tostringArrayThreshold. - Breaking options change:
encodeUnicodeArrayoption has been renamed tostringArrayEncodingand now accepts following values:true|false|'base64'|'rc4'. - Breaking change: option
wrapUnicodeArrayCallswas removed and now all calls tostringArrayare always wrapped by special wrapper function. - New option
unicodeEscapeSequenceallows to enable/disable strings conversion to unicode escape sequence. - New option
domainLocklocks the obfuscated source code so it only runs on specific domains and/or sub-domains. - New option
sourceMapBaseUrlsets base url to the source map import url whensourceMapMode: 'separate'. - Custom nodes like
selfDefendingNodeorconsoleOutputNodenow inserted into deepest stack trace function call. - Fixed obfuscation of global variables and function names in some cases
- Rewrite of many custom nodes.
v0.7.3
- CLI missing polyfill fix #17
v0.7.2
v0.7.1
- IE error fix #14
v0.7.0-dev.3
- Obfuscator now returns an empty string instead of obfuscated code if source code is empty
v0.7.0-dev.2
- Fix of incorrect
Utils.decToHexmethod
v0.7.0-dev.1
- Breaking API change: now
obfuscate(sourceCode, options)returnsObfuscationResultobject insteadstring.ObfuscationResultobject contains two public methods:getObfuscatedCode()andgetSourceMap(). - CLI. Now any code can be obfuscated through CLI
javascript-obfuscatorcommand. SeeREADME.mdfor available options. - New option
sourceMapenables source map generation for obfuscated code. - New option
sourceMapModespecifies source map generation mode.