javascript-obfuscator

A powerful obfuscator for JavaScript and Node.js

BSD-2-CLAUSE License

Downloads
1.2M
Stars
12.8K
Committers
45

Bot releases are visible (Hide)

javascript-obfuscator - 0.10.0-beta.1

Published by sanex3339 over 7 years ago

v0.10.0

  • New option: deadCodeInjection. With this option random blocks of dead code will add to the obfuscated code.
  • New option: deadCodeInjectionThreshold allows to set percentage of nodes that will affected by deadCodeInjection.
  • New option: mangle enables mangling of variable names.
  • escapeUnicodeSequence option now disabled by default.
  • controlFlowFlattening now affects string literal nodes.
javascript-obfuscator - 0.9.2

Published by sanex3339 over 7 years ago

javascript-obfuscator - 0.9.1

Published by sanex3339 over 7 years ago

javascript-obfuscator - 0.9.0

Published by sanex3339 over 7 years ago

v0.9.0

  • Breaking change: dropped [email protected] and [email protected] support.
  • New option: controlFlowFlattening allows to enable/disable Control Flow flattening. Control flow flattening is a structure transformation of the source code that hinders program comprehension.
  • New option: controlFlowFlatteningThreshold allows to set percentage of nodes that will affected by controlFlowFlattening.
  • Significantly increased obfuscation performance.
  • Huge internal refactoring.
  • Better es2015 support: correct obfuscation of TemplateLiteral, ArrayPattern, AssignmentPattern nodes.
  • Switched from npm to yarn internally.
  • Various bug fixes.
javascript-obfuscator - 0.9.0-beta.5

Published by sanex3339 over 7 years ago

v0.9.0-beta.5

  • Increased performance
  • Fixed very rare Cannot read property 'type' of undefined error, when RandomGeneratorUtils.getMathRandom() returned incorrect value 1
javascript-obfuscator - 0.9.0-beta.4

Published by sanex3339 over 7 years ago

v0.9.0-beta.4

  • Increased performance
javascript-obfuscator - 0.9.0-beta.3

Published by sanex3339 over 7 years ago

v0.9.0-beta.3

javascript-obfuscator - 0.9.0-beta.2

Published by sanex3339 almost 8 years ago

v0.9.0-beta.2

  • Transformers refactoring
javascript-obfuscator - 0.9.0-beta.1

Published by sanex3339 almost 8 years ago

v0.9.0-beta.1

  • New option: controlFlowFlattening allows to enable/disable Control Flow flattening. Control flow flattening is a structure transformation of the source code that hinders program comprehension.
  • New option: controlFlowFlatteningThreshold allows to set percentage of nodes that will affected by controlFlowFlattening.
  • Better es2015 support: correct obfuscation of TemplateLiteral, ArrayPattern, AssignmentPattern nodes.
  • Obfuscation performance boost.
  • Huge internal refactoring.
  • Various bug fixes.
javascript-obfuscator - 0.8.6

Published by sanex3339 almost 8 years ago

javascript-obfuscator - 0.8.5

Published by sanex3339 almost 8 years ago

javascript-obfuscator - 0.8.4

Published by sanex3339 almost 8 years ago

javascript-obfuscator - 0.8.3

Published by sanex3339 almost 8 years ago

  • selfDefending option now disabled by default.
javascript-obfuscator - 0.8.2

Published by sanex3339 almost 8 years ago

  • New option seed sets seed for random generator. This is useful for creating repeatable results.
  • IE8 runtime error fix.
javascript-obfuscator - 0.8.1

Published by sanex3339 almost 8 years ago

  • disableConsoleOutput option now replaces console.xxx functions on empty function instead of infinity loop.
javascript-obfuscator - 0.8.0

Published by sanex3339 almost 8 years ago

v0.8.0

  • Breaking options change: unicodeArray option has been renamed to stringArray.
  • Breaking options change: unicodeArrayThreshold option has been renamed to stringArrayThreshold.
  • Breaking options change: encodeUnicodeArray option has been renamed to stringArrayEncoding and now accepts following values: true|false|'base64'|'rc4'.
  • Breaking change: option wrapUnicodeArrayCalls was removed and now all calls to stringArray are always wrapped by special wrapper function.
  • New option unicodeEscapeSequence allows to enable/disable strings conversion to unicode escape sequence.
  • New option domainLock locks the obfuscated source code so it only runs on specific domains and/or sub-domains.
  • New option sourceMapBaseUrl sets base url to the source map import url when sourceMapMode: 'separate'.
  • Custom nodes like selfDefendingNode or consoleOutputNode now inserted into deepest stack trace function call.
  • Fixed obfuscation of global variables and function names in some cases.
  • Fixed wrong obfuscation of labels.
  • Rewrite of many custom nodes.
javascript-obfuscator - 0.8.0-beta.2

Published by sanex3339 almost 8 years ago

  • Fixed wrong obfuscation of labels.
javascript-obfuscator - 0.8.0-beta.1

Published by sanex3339 almost 8 years ago

  • Breaking options change: unicodeArray option has been renamed to stringArray.
  • Breaking options change: unicodeArrayThreshold option has been renamed to stringArrayThreshold.
  • Breaking options change: encodeUnicodeArray option has been renamed to stringArrayEncoding and now accepts following values: true|false|'base64'|'rc4'.
  • Breaking change: option wrapUnicodeArrayCalls was removed and now all calls to stringArray are always wrapped by special wrapper function.
  • New option unicodeEscapeSequence allows to enable/disable strings conversion to unicode escape sequence.
  • New option domainLock locks the obfuscated source code so it only runs on specific domains and/or sub-domains.
  • New option sourceMapBaseUrl sets base url to the source map import url when sourceMapMode: 'separate'.
  • Custom nodes like selfDefendingNode or consoleOutputNode now inserted into deepest stack trace function call.
  • Fixed obfuscation of global variables and function names in some cases
  • Rewrite of many custom nodes.
javascript-obfuscator - 0.8.0-dev.4

Published by sanex3339 almost 8 years ago

fixed ie8 runtime errors

javascript-obfuscator - 0.8.0-dev.3

Published by sanex3339 almost 8 years ago

You can download it with
npm i javascript-obfuscator@beta

  • Breaking options change: encodeUnicodeArray has been renamed to unicodeArrayEncoding and now accepts following values: true|false|'base64'|'rc4'.
  • Breaking change: option wrapUnicodeArrayCalls was removed and now all calls to unicodeArray are always wrapped by special wrapper function.
  • New option sourceMapBaseUrl sets base url to the source map import url when sourceMapMode: 'separate'.
  • Custom nodes like selfDefendingNode or consoleOutputNode now inserted into deepest stack trace function call.
  • Rewrite of many custom nodes.
Package Rankings
Top 0.63% on Npmjs.org
Top 21.66% on Repo1.maven.org
Badges
Extracted from project README
npm version FOSSA Status Coverage Status Backers on Open Collective Sponsors on Open Collective xscode FOSSA Status