A powerful obfuscator for JavaScript and Node.js
stringArrayCallsTransform
and stringArrayCallsTransformThreshold
es2022
features: class static blockignoreRequireImports
option renamed to ignoreImports
rotateStringArray
option renamed to stringArrayRotate
shuffleStringArray
option renamed to stringArrayShuffle
ignoreImports
now ignores dynamic
imports in addition to require
imports@javascript-obfuscator/escodegen
with fixed parenthesis of default export
IIFErotateStringArray
couldn't rotate array properlyselfDefending
optionnpm
package now has types
directory and doesn't have src
directory@javascript-obfuscator/escodegen
with fixed generation of private property nameses2022
features: class propertiesnode@15
.node
versions: ^12.22.0 || ^14.17.0 || >=16.0.0
sourceMapSourcesMode
allows to control sources
and sourcesContent
fields of the source mapinputFileName
option now required when using NodeJS API and sourceMapSourcesMode
option has sources
value`.sourceMapFileName
option is setstringArrayWrappersType: 'function'
now generates different indexes between each wrapper inside the same lexical scopestringArrayWrappersType: 'function'
now generates different parameters order between each wrapper inside the same lexical scopestringArrayWrappersType: 'function'
now appends FunctionDeclaration
functions instead of FunctionExpression
functions. This allows to append these wrappers at random positions inside each scoperenameProperties
option now won't generate duplicated property names in some cases