GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — javascript-obfuscator/CHANGELOG.md at master · e-ntro-py/javascript-obfuscator

Expand file tree

/

CHANGELOG.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
1079 lines (860 loc) · 46.7 KB
/

CHANGELOG.md

Copy path

File metadata and controls

1079 lines (860 loc) · 46.7 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Change Log

v5.8.1

  • Fixed transformObjectKeys making default parameter objects shared across calls. Fixed javascript-obfuscator#1455
  • Fixed controlFlowFlattening breaking short-circuit evaluation of &&, || and ??. Fixed javascript-obfuscator#1456

v5.8.0

  • Pro API: added support for custom presets. optionsPreset accepts the alias of a custom preset saved in the obfuscator.io dashboard; obfuscatePro() and the CLI (--pro-api-token) fetch it and merge its options
  • CLI: --options-preset with a VM preset name (e.g. vm-default) no longer fails locally when --pro-api-token is set; the name is passed to the Pro API

v5.7.0

  • New option: advertisement allows to control the display of the JavaScript Obfuscator Pro advertisement message in the console. Fixed javascript-obfuscator#1448

v5.6.0

  • Pro API: obfuscatePro now fall back to the basic local obfuscation API when no Pro feature (vmObfuscation or parseHtml) is enabled, instead of throwing an ApiError
  • Improved stringArrayEncoding runtime performance

v5.5.1

  • Fixed leading whitespace of the source code being stripped without being reflected in the source map, shifting all sourcesContent and original position mappings. Fixes javascript-obfuscator#1437

v5.5.0

  • Pro API: reworked large file uploads — fixed 413 Content Too Large for ~4.4–4.6MB request bodies, and Blob uploads now send the raw source (blobFormat: 'raw') instead of the JSON request body, so uploads always fit the plan's file size cap

v5.4.7

  • Fixed directory obfuscation with a set sourceMapFileName making all files share and overwrite one .map. Fixes javascript-obfuscator#817
  • Fixed CLI --config failures hiding the real cause behind a generic Cannot open config file message. Fixes javascript-obfuscator#1101
  • Fixed sourceMapFileName ending in .js.map (e.g. foo.min.js.map) being mangled in the emitted //# sourceMappingURL= comment. Fixes javascript-obfuscator#1312
  • Fixed URIError: URI malformed crash when stringArray with base64/rc4 encoding processed a string literal containing lone surrogate code units (e.g. "[^\uD800-\uDFFF]"). Fixes javascript-obfuscator#1431
  • Bumped the production brace-expansion transitive dependency to a patched version, resolving CVE-2026-25547. Fixes javascript-obfuscator#1405

v5.4.6

  • Fixed unicode (\uXXXX, \u{XXXX}) and hex (\xXX) escape sequences of string literals being un-escaped into their literal characters during obfuscation. Fixes javascript-obfuscator#345

v5.4.5

  • Fixed controlFlowFlattening intermittently dropping arguments of a spread call (e.g. foo(...args)) when it reused a control flow wrapper of a same-arity plain call. Fixes javascript-obfuscator#1423
  • Fixed selfDefending making obfuscated code run several times slower on Bun/JavaScriptCore. Fixes javascript-obfuscator#1421
  • Fixed dropped parentheses around an in operator inside an arrow body in a for-init, producing unparsable output. Fixes javascript-obfuscator#1419

v5.4.4

  • Optimized scope identifiers transformer performance
  • Optimized identifier renaming performance by reusing scope analysis between transformers
  • Fixed Invalid regular expression error when obfuscating code that uses ES2025 RegExp pattern modifiers (e.g. /(?i:abc)/). Fixes javascript-obfuscator#1410
  • Fixed SyntaxError when obfuscating a class that extends a boolean literal (e.g. class C extends true {}). Fixes javascript-obfuscator#1131

v5.4.3

  • Fixed controlFlowFlattening occasionally dropping the ?. short-circuit on foo?.(arg) calls, causing TypeError: <X> is not a function. Fixes javascript-obfuscator#1408

v5.4.2

  • Fixed obfuscated code hanging in Bun when selfDefending is enabled. Fixes javascript-obfuscator#1404

v5.4.1

  • Fixed Utils.nodeRequire causing ReferenceError: require is not defined in browser build by making it lazy-evaluated
  • Fixed missing space between keywords (return, throw, typeof) and Unicode surrogate pair identifiers in compact mode. Fixes javascript-obfuscator#1112
  • Fixed domainLock being case-sensitive — domain values are now normalized to lowercase. Fixes javascript-obfuscator#1182
  • Removed source-map-support runtime dependency. Use node --enable-source-maps instead. Fixes javascript-obfuscator#1149

v5.4.0

  • Add support for import attributes. Fixes javascript-obfuscator#1256
  • Add renameProperties support for private class fields and methods (#foo, #bar()). Fixes javascript-obfuscator#1220
  • Fixed reservedNames not preserving class method and property names when stringArray or deadCodeInjection is enabled. Fixes javascript-obfuscator#1279
  • Fixed infinite loop / stack overflow when reservedNames patterns match all generated identifier names. Now throws a descriptive error instead. Fixes javascript-obfuscator#1382
  • Fixed transformObjectKeys changing evaluation order when object expression is inside a sequence expression with preceding side effects (e.g. return aux(ys), { min }). Fixes javascript-obfuscator#1246
  • Fixed destructuring patterns inside class static blocks not being renamed when renameGlobals is disabled. Fixes javascript-obfuscator#1141
  • Fixed CLI --options-preset not applying preset values for options not explicitly set via command line (e.g. splitStrings from high-obfuscation preset was ignored). Fixes javascript-obfuscator#1236
  • Replaced mkdirp dependency with native fs.mkdirSync({ recursive: true }). Fixes javascript-obfuscator#1275. Thank you https://github.com/roli-lpci!
  • Updated reserved DOM properties list, fixing renameProperties breaking modern built-in methods like Array.prototype.at(). Fixes javascript-obfuscator#1066
  • Replaced conf dependency with custom implementation using env-paths and native fs

v5.3.1

  • Fixed class expression name references inside class body being incorrectly resolved to an import binding with the same name, causing broken code at runtime. Fixes javascript-obfuscator#1386

v5.3.0

  • Add Pro API support to CLI
  • Add large files upload support to Pro API

v5.2.1

  • Fixed transformObjectKeys incorrectly hoisting object literal outside of loop when loop body is a single statement without braces, causing all iterations to share the same object reference. Fixes javascript-obfuscator#1300
  • Fixed parsing error when await is used as an identifier in non-async context. Fixes javascript-obfuscator#1127
  • Fixed deadCodeInjection causing SyntaxError when arguments from collected block statements was injected into class field initializers or static initialization blocks. Fixes javascript-obfuscator#1166
  • Fixed transformObjectKeys with mangled identifier generator causing variable shadowing when extracted object variable name matched an existing inner scope variable. Fixes javascript-obfuscator#1232

v5.2.0

  • Skip obfuscation of process.env.*
  • Fixed controlFlowFlattening breaking short-circuit evaluation with spread operator and conditional objects. Fixes javascript-obfuscator#1372
  • Fix Annex B function hoisting: block-scoped function declarations are now correctly linked to references outside the block in non-strict mode
  • Fixed NodeUtils.cloneRecursive corrupting range property when cloning AST nodes, causing scope analysis to incorrectly resolve destructuring default parameter references

v5.1.0

  • Add version parameter to the apiConfig to use different versions JavaScript Obfuscator Pro via API

v5.0.1

  • Add JavaScript Obfuscator PRO advertisement message

v5.0.0

  • Add JavaScript Obfuscator PRO support via calling its API

v4.2.1

  • Downgrade multimatch version to avoid esm errors

v4.2.0

  • Dropped support of Node versions 17 and below
  • Fix transformObjectKeys performance in some edge-cases
  • Fix controlFlowFlattening + optional chaining compatibility. Fixes javascript-obfuscator#1325
  • Don't obfuscate import.meta.*. Fixes javascript-obfuscator#1267
  • Revert Improved stringArray calls wrapper templates commit. Fixes javascript-obfuscator#1330
  • Fix error when ClassExpression is the CallExpression callee. Fixes javascript-obfuscator#1132
  • Don't publish root index.ts files to NPM. Fixes javascript-obfuscator#1252
  • Update class-validator version. Fixes javascript-obfuscator#1324
  • Update other dependencies
  • CLI: support .mjs and .cjs extensions. Kudos to javascript-obfuscator#1301

v4.1.1

  • Update supported Node.js versions up to node@22. Fixes javascript-obfuscator#1100
  • Update class-validator version. Fixes javascript-obfuscator#1247
  • Fixed CI

v4.1.0

  • Add target service-worker

v4.0.2

  • Add support for node@18
  • Update dependencies

v4.0.1

  • Update class-validator dependency javascript-obfuscator#1146

v4.0.0

  • Breaking change: debugProtectionInterval option now accepts value in milliseconds instead of boolean value. Fixed javascript-obfuscator#1031

v3.2.7

  • Fixed cases when dead code is added to the inner code of eval expressions. Fixed javascript-obfuscator#1053

v3.2.6

  • Improved integration between renameProperties and controlFlowFlattening options. Fixed javascript-obfuscator#1053

v3.2.5

  • Fixed javascript-obfuscator#1056

v3.2.4

  • Fixed javascript-obfuscator#1052

v3.2.3

  • Fixed missing transformation of string array calls in some cases
  • Fixed generation of reserved identifier names like Map or Set for mangled and mangled-shuffled identifier names generators

v3.2.2

  • Fixed javascript-obfuscator#1039

v3.2.1

  • Updated copyright

v3.2.0

  • New options: stringArrayCallsTransform and stringArrayCallsTransformThreshold
  • Fixed javascript-obfuscator#1046

v3.1.0

  • Added support of es2022 features: class static block

v3.0.1

  • Dependencies update
  • Fixed performance for Apple M1 chip

v3.0.0

  • Breaking change: ignoreRequireImports option renamed to ignoreImports
  • Breaking change: rotateStringArray option renamed to stringArrayRotate
  • Breaking change: shuffleStringArray option renamed to stringArrayShuffle
  • ignoreImports now ignores dynamic imports in addition to require imports

v2.19.1

  • Updated @javascript-obfuscator/escodegen with fixed parenthesis of default export IIFE

v2.19.0

  • Fixed very rare cases when rotateStringArray couldn't rotate array properly
  • Improved selfDefending option
  • Installed npm package now has types directory and doesn't have src directory
  • Fixed javascript-obfuscator#959

v2.18.1

  • Updated @javascript-obfuscator/escodegen with fixed generation of private property names

v2.18.0

  • Added support of es2022 features: private identifiers and class properties
  • Dropped support for node@15
  • Increased minimum supported node versions: ^12.22.0 || ^14.17.0 || >=16.0.0

v2.17.0

  • New option: sourceMapSourcesMode allows to control sources and sourcesContent fields of the source map
  • inputFileName option now required when using NodeJS API and sourceMapSourcesMode option has sources value`
  • Fixed some cases with wrong source map file name generation when sourceMapFileName option is set

v2.16.0

  • stringArrayWrappersType: 'function' now generates different indexes between each wrapper inside the same lexical scope
  • stringArrayWrappersType: 'function' now generates different parameters order between each wrapper inside the same lexical scope
  • stringArrayWrappersType: 'function' now appends FunctionDeclaration functions instead of FunctionExpression functions. This allows to append these wrappers at random positions inside each scope
  • renameProperties option now won't generate duplicated property names in some cases

v2.15.6

  • To increase performance and prevent possible runtime errors transformObjectKeys option now completely ignores objects with CallExpression or NewExpression nodes. Fixed javascript-obfuscator#948

v2.15.5

  • Improved stringArray calls wrapper decode code

v2.15.4

  • Improved stringArray calls wrapper code

v2.15.3

  • Slightly improved integration between deadCodeInjection and stringArrayWrappersChainedCalls options

v2.15.2

  • Fixed invalid behaviour of transformObjectKeys option when object values contains this references. Fixed javascript-obfuscator#937

v2.15.1

  • Hotfix: domainDest => domainLockRedirectUrl option rename

v2.15.0

  • Added domainDest option that option allows the browser to be redirected to a passed domain if the source code isn't run on the domains or URL specified by domainLock. Thank you https://github.com/erikdubbelboer!
  • ObfuscationResult object now contains getOptions method to get options that were used during obfuscation

v2.14.0

  • Added identifierNamesCache option for reading and writing identifier names cache. See README.md.
  • CLI: Added --identifier-names-cache-path option for reading and writing identifier names cache. See README.md.

v2.13.0

  • Fixed invalid code generation for start/middle rest arguments when controlFlowFlattenig option is enabled. Fixed javascript-obfuscator#920
  • Internal: Added support of node@16 and dropped support of node@10. This should not affect obfuscated code

v2.12.0

  • stringArray calls wrappers now inserted as FunctionDeclaration nodes at random indexes

v2.11.1

  • CLI: now it's possible to specify the path to the input file after specifying the obfuscator options. Fixed javascript-obfuscator#904

v2.11.0

  • Added option renamePropertiesMode to switch between new safe and old unsafe modes of renameProperties option. Fixed javascript-obfuscator#878
  • renameProperties option now works in safe way by default

v2.10.7

  • Fixed CVE-2019-18413. Fixed javascript-obfuscator#880

v2.10.6

  • Added support of top-level await. Fixed javascript-obfuscator#884

v2.10.5

  • Fixed invalid code generation for rest arguments when controlFlowFlattening option is enabled. Fixed javascript-obfuscator#887

v2.10.4

  • Fixed invalid behaviour of numbersToExpressions option for float numbers. Fixed javascript-obfuscator#882

v2.10.3

  • Fixed simplify option regression after 2.10.2. Fixed javascript-obfuscator#864

v2.10.2

  • Fixed behavior of simplify options when a node with a single-statement body is inside simplified IfStatement node. Fixed javascript-obfuscator#860

v2.10.1

  • Removed padding characters from all base64 encoded strings. Removed RegExp that trims padding characters from base64 encoded strings from atob code helper to prevent mutation of RegExp.$1 value during calls to the stringArray. Fixed javascript-obfuscator#829

v2.10.0

  • Improved rotateStringArray option

v2.9.6

  • Preventing move of "use strict"; directive during obfuscation

v2.9.5

  • Fixed runtime errors in large obfuscated code when both rc4 and base64 encodings are enabled
  • Some internal refactoring related to node append events

v2.9.4

  • Fixed missing prefix of root identifiers added by stringArrayWrappersCount option when identifiersPrefix option is set

v2.9.3

  • CLI: Fixed wrong name of obfuscated files when input directory path is the . symbol. javascript-obfuscator#816

v2.9.2

  • Ignore object expressions as body of arrow function expression when transformObjectKeys option is enabled. Fixed javascript-obfuscator#813

v2.9.1

  • Fixed wrong stringArrayWrappersParametersMaxCount CLI option name

v2.9.0

  • New option: stringArrayIndexesType accepts an array of types of string array call indexes
  • Changed default type of all string array call indexes from hexadecimal-numeric-string to hexadecimal-number
  • New option: stringArrayIndexShift enables additional index shift for all string array calls
  • New option: stringArrayWrappersParametersMaxCount allows to control the maximum number of string array wrappers parameters
  • stringArrayWrappersType: 'function' option value moved from high-obfuscation to medium-obfuscation options preset

v2.8.1

  • Fixed incorrect rename of the identifiers of the added helpers in some rare cases. Fixed javascript-obfuscator#804

v2.8.0

  • New option ignoreRequireImports prevents obfuscation of require imports. Fixed javascript-obfuscator#801

v2.7.1

  • Updated @javascript-obfuscator/escodegen to 2.1.1

v2.7.0

  • Switched form escodegen to @javascript-obfuscator/escodegen
  • Full support of nullish-coalescing. Fixed javascript-obfuscator#604
  • Support for exported field of ExportAllDeclaration node. Fixed javascript-obfuscator#710

v2.6.4

  • Added ignoring of all object members previous to SpreadElement when transformObjectKeys option is enabled. Fixed javascript-obfuscator#797

v2.6.3

  • Added ExportSpecifierTransformer. Fixed javascript-obfuscator#791

v2.6.2

  • Fixed installation in PowerShell. Fixed javascript-obfuscator#783
  • Tested under Node.js@15

v2.6.1

  • Fixed missing rename of object pattern properties in some cases. Fixed javascript-obfuscator#781

v2.6.0

  • Migration to webpack@5
  • Optimized performance of ExpressionStatementsMergeTransformer when simplify option is enabled. Fixed javascript-obfuscator#777
  • Fixed broken identifierNamesGenerator: 'mangled-shuffled' after 2.2.0. Fixed javascript-obfuscator#778

v2.5.0

  • Improved hierarchy of generated directories when --output is a directory path
  • Fixed wrong path generation for obfuscated files for win32 environment. Fixed javascript-obfuscator#576
  • Fixed wrong path generation under for source map for win32 environment. Fixed javascript-obfuscator#760
  • javascript-obfuscator now can be built under win32 environment

v2.4.3

  • Fixed javascript-obfuscator#769

v2.4.2

  • Fixed URI-malformed when splitStrings and stringArrayEncoding options are enabled. javascript-obfuscator#530

v2.4.1

  • Small release with some README.md improvements that allow to use it on obfuscator.io

v2.4.0

  • New option: forceTransformStrings allows force transform strings even if by stringArrayThreshold (or possible other thresholds in the future) they shouldn't be transformed. Implemented javascript-obfuscator#657

v2.3.1

  • Fixed a rare bug with identifierNamesGenerator: 'mangled' option that causes wrong identifier names generation

v2.3.0

  • New option: stringArrayWrappersType allows to select a type of the wrappers that are appending by the stringArrayWrappersCount option
  • Add force convert of unicode control characters to the unicode escape sequence. Fixed javascript-obfuscator#747

v2.2.1

  • Fixed javascript-obfuscator#745

v2.2.0

  • New option (enabled by default): stringArrayWrappersCount sets the count of wrappers for the string array inside each root or function scope
  • New option (enabled by default): stringArrayWrappersChainedCalls enables the chained calls between string array wrappers

v2.1.0

  • New API: getOptionsByPreset allows to get options for the passed options preset name

v2.0.0

  • Breaking change: stringArrayEncoding option now accepts an array of encodings. Each string will be randomly encoded with passed encoding

v1.12.1

  • Fixed regression bug with combination of splitStrings and renameProperties option. javascript-obfuscator#729

v1.12.0

  • New option: optionsPreset allows to set options preset

v1.11.0

  • Improved rename of deadCodeInjection dead code identifiers. Fixed javascript-obfuscator#708
  • Reverted TaggedTemplateLiteral obfuscation. javascript-obfuscator#716

v1.10.2

  • Fixed obfuscation of literals of ExportNamedDeclaration and ExportAllDeclaration nodes

v1.10.1

  • Fixed javascript-obfuscator#707

v1.10.0

  • Feature: Optional chaining support!
  • Added TaggedTemplateLiteral obfuscation. javascript-obfuscator#696
  • Improved disableConsoleOutput template. javascript-obfuscator#691

v1.9.0

  • Improved obfuscation of destructured variables. javascript-obfuscator#688

v1.8.1

  • Fixed runtime error Uncaught SyntaxError: yield is a reserved identifier when deadCodeInjection is enabled

v1.8.0

  • domainLock option patterns with leading dot character (.example.com) now cover root domains (example.com) in addition to all sub-domains (sub.example.com). javascript-obfuscator#640

v1.7.0

  • simplify option now affects all block statements. Improved variable declarations merging.

v1.6.0

  • New option: numbersToExpressions enables numbers conversion to expressions

v1.5.2

  • Prevented mutation of the name sequences of mangled identifier name generators

v1.5.1

  • Fixed runtime error when IfStatement contains only single let or const variable declaration when simlify option enabled. javascript-obfuscator#661
  • Fixed wrong source-map: 'inline' encoding after 1.3.0

v1.5.0

  • New mangled-shuffled identifier names generator based on mangled identifier names generator

v1.4.0

  • New option: simplify enables additional code obfuscation through simplification

v1.3.0

  • Improvements of stringArrayEncoding: base64 and rc4
  • CLI: added config file extension validation (it still supports .js and .json extensions)
  • Fixed javascript-obfuscator#499

v1.2.2

  • Fixed performance regression of Initializing stage after 1.2.0

v1.2.1

  • Support of old browsers when selfDefending is enabled. javascript-obfuscator#615

v1.2.0

  • Conditional comments will be removed from the code after obfuscation. javascript-obfuscator#641

v1.1.1

  • Fixed javascript-obfuscator#638

v1.1.0

  • New option: renameProperties enables renaming of property names

v1.0.1

  • Fixed .d.ts typings. javascript-obfuscator#623

v1.0.0

  • Looks like obfuscator is ready for the first stable release

v0.28.5

  • Fixed error during code generation for ObjectPattern with single RestElement. javascript-obfuscator#607

v0.28.4

  • Added correct self-defending code for target: 'browser-no-eval'. javascript-obfuscator#610

v0.28.3

  • Removed memory leak with identifierNamesGenerator: 'mangled'

v0.28.2

  • Fixed change of kinds of variables for dead code with deadCodeInjection option

v0.28.1

  • Removed acorn-import-meta package

v0.28.0

  • Added BigInt support. javascript-obfuscator#588
  • Fixed javascript-obfuscator#554

v0.27.4

  • Fixed javascript-obfuscator#590

v0.27.3

  • Fixed javascript-obfuscator#593

v0.27.2

  • Fixed identifiers prefix generation for obfuscateMultiple method

v0.27.1

  • Dependencies update, fixed https://www.npmjs.com/advisories/1488

v0.27.0

  • Feature: new method obfuscateMultiple to obfuscation of multiple source codes

v0.26.0

  • Internal: new code transformers mechanism
  • Supported obfuscation of files with hashbang operator, javascript-obfuscator#471

v0.25.5

  • Fixed javascript-obfuscator#575

v0.25.4

  • Fixed javascript-obfuscator#569

v0.25.3

  • Fixed javascript-obfuscator#568

v0.25.2

  • Fixed javascript-obfuscator#563

v0.25.1

  • Additional fixes of javascript-obfuscator#550

v0.25.0

  • Improved mangled identifier names generator logic
  • Improved selfDefending helper logic
  • Fixed a bunch of conflicts between generated identifier names. Fixed javascript-obfuscator#550. Fixed javascript-obfuscator#549
  • Prevented transformation of object keys in sequence expression that has super call
  • Support of output directory paths with a dot symbol
  • Changed --output logic. Now --output value can describe if it's a file or a directory path. Check README.md for more info

v0.24.6

  • Fixed support of exponentiation operator. Fixed javascript-obfuscator#534
  • Added file path to the error message during directory obfuscation. Fixed javascript-obfuscator#513

v0.24.5

  • Fixed javascript-obfuscator#542

v0.24.4

  • Fixed rc4 encoded value collision: javascript-obfuscator#538

v0.24.3

  • Fixed javascript-obfuscator#535

v0.24.2

  • Reverted validation errors under node target for sourceMap* options

v0.24.1

  • Fixed javascript-obfuscator#531

v0.24.0

  • Internal refactoring: completely new mechanism to rename variable names
  • Dynamic import and import.meta support. Fixed javascript-obfuscator#505
  • Now usage of some browser-related options with target: 'node' will cause a validation error
  • Increased identifierNamesGenerator: 'mangled speed
  • CLI: a file path will be displayed on obfuscation error. Fixed javascript-obfuscator#513
  • Fixed many transformObjectKeys runtime errors
  • Fixed Maximum call stack size exceeded error on large strings when splitString option is enabled
  • Fixed javascript-obfuscator#516
  • Fixed javascript-obfuscator#512
  • Fixed javascript-obfuscator#496
  • Internal: switched from awesome-typescript-loader on ts-loader

v0.23.2

  • Fixed javascript-obfuscator#475
  • Fixed javascript-obfuscator#326

v0.23.1

  • Fixed javascript-obfuscator#498

v0.23.0

  • New option: shuffleStringArray randomly shuffles string array items
  • Fixed javascript-obfuscator#494
  • Internal change: switched AST parser from espree on acorn
  • Internal refactoring: refactoring of string array storage and related things

v0.22.1

  • Fixed TypeError: Assignment to constant variable when auto-detection of kind of variables is inserted const variables for controlFlowStorage nodes

v0.22.0

  • Breaking: auto-detection of kind of variables of inserted nodes, based on most prevailing kind of variables of source code
  • Fixed javascript-obfuscator#486

v0.21.1

  • Fixed conditional comments in some rare cases

v0.21.0

  • Improved transformObjectKeys transformation to cover more cases
  • Fixed javascript-obfuscator#406
  • Fixed javascript-obfuscator#387
  • Fixed javascript-obfuscator#333
  • Fixed javascript-obfuscator#328

v0.20.4

  • Fixed typings. Now string values correctly assignable to enum-like options

v0.20.3

  • Fixed for-await-of statement: javascript-obfuscator#419

v0.20.2

  • Fixed javascript-obfuscator#442
  • Fixed javascript-obfuscator#468
  • Added funding button
  • Internal dependencies update, Happy New Year 2020!

v0.20.1

  • Fixed identifier names generations for mangled and dictionary identifier names generators
  • Fixed combination of identifierNamesGenerator: dictionary and debugProtection options
  • seed option now accepts string and number values

v0.20.0

  • Breaking: dropped support of Node 8 because of end of maintenance support
  • New option value: identifierNamesGenerator now allows to set new dictionary identifier names generator
  • New option: identifiersDictionary sets identifiers dictionary for identifierNamesGenerator: dictionary option

Thanks to our contributors!

  • adiantek

v0.19.4

  • Fixed reservedNames option

Thanks to our contributors!

  • kida7

v0.19.3

  • The splitStrings option now correctly works with transformObjectKeys option
  • Internal TransformersRunner rework to support topological sort of node transformers

v0.19.2

  • The splitStrings option now correctly splits strings inside objects

v0.19.1

  • The splitStrings option now affects template literal strings

v0.19.0

  • New option: splitStrings splits literal strings into chunks with length of splitStringsChunkLength option value
  • New option: splitStringsChunkLength sets chunk length of splitStrings option

v0.18.8

  • Fixed javascript-obfuscator#452

v0.18.7

  • Fixed javascript-obfuscator/gulp-javascript-obfuscator#22

v0.18.6

  • Fixed javascript-obfuscator#355

Thanks to our contributors!

  • Zamotkin

v0.18.5

  • Breaking: require Node.js 8 after dependencies update
  • Fixed javascript-obfuscator#321

Thanks to our contributors!

  • Zamotkin

v0.18.4

  • Fixed javascript-obfuscator#437

Thanks to our contributors!

  • Zamotkin

v0.18.3

  • Fixed javascript-obfuscator#424

Thanks to our contributors!

  • Zamotkin

v0.18.2

  • Fixed javascript-obfuscator#320
  • Fixed javascript-obfuscator#319

v0.18.1

  • Fixed javascript-obfuscator#317

v0.18.0

  • New option: reservedStrings disables transformation of string literals, which being matched by passed RegExp patterns
  • Fixed javascript-obfuscator#313
  • Fixed javascript-obfuscator#309
  • Fixed javascript-obfuscator#307

v0.17.3

  • Fixed javascript-obfuscator#303
  • Fixed javascript-obfuscator#302

v0.17.2

  • Fixed javascript-obfuscator#297

v0.17.1

  • Fixed javascript-obfuscator#293
  • Fixed javascript-obfuscator#289
  • Fixed javascript-obfuscator#288

v0.17.0

  • Browser version: Added browser version dist
  • New Node API option: inputFileName allows to set name of the input file with source code. This name will used internally, for example, for source map generation.
  • #274domainLock now will work in SVG.
    Fixed javascript-obfuscator#273
  • Fixed javascript-obfuscator#271
  • Fixed javascript-obfuscator#264
  • Fixed javascript-obfuscator#260
  • Fixed javascript-obfuscator#252
  • Fixed javascript-obfuscator#247

v0.16.0

  • Correct obfuscation of object rest and spread properties
  • Fixed javascript-obfuscator#243

v0.15.0

  • Internal change: switched AST parser from esprima on espree
  • Breaking change: dropped node@4 and node@5 support.
  • Breaking change: renamed extension value of target option on browser-no-eval.
  • Breaking change: disabled generation of identifiers, which being matched by reservedName option. Fixed javascript-obfuscator#216
  • New CLI option: exclude allows to exclude specific files or directories from obfuscation.
  • Correct obfuscation of import and export declarations.
  • Fixed javascript-obfuscator#231
  • Fixed javascript-obfuscator#217
  • Fixed javascript-obfuscator#210
  • Internal: refactoring of many things.

v0.14.3

  • Fixed javascript-obfuscator#195
  • Added code preview to esprima error messages.

v0.14.2

  • Fixed javascript-obfuscator#181

v0.14.1

  • Temporary fixed javascript-obfuscator#181

v0.14.0

  • New option: identifiersPrefix sets prefix for all global identifiers.
  • New option: transformObjectKeys enables object keys transformation and obfuscation.
  • New feature: eval expressions obfuscation.
  • Breaking change: Now CLI obfuscating directory recursively. Fixed javascript-obfuscator#157
  • Fixed runtime errors when deadCodeInjection is enabled and identifierNamesGenerator is set to mangled.
  • Fixed javascript-obfuscator#171
  • Fixed javascript-obfuscator#166
  • Fixed javascript-obfuscator#156
  • Fixed javascript-obfuscator#159

v0.13.0

  • Breaking change: mangle option was removed.
  • New option: identifierNamesGenerator allows to set identifier names generator (hexadecimal or mangled).
  • Breaking change: all CLI options were renamed to kebab-case format (--disableConsoleOutout -> --disable-console-output).
  • Implemented custom mangle option algorithm without esmangle; fixed javascript-obfuscator#110
  • Comments with @license and @preserve words won't be removed from obfuscated code.
  • Fixed javascript-obfuscator#147
  • Fixed javascript-obfuscator#149

v0.12.5

  • Fixed javascript-obfuscator#139

v0.12.4

  • Fixed javascript-obfuscator#136

v0.12.3

  • Fixed javascript-obfuscator#129
  • Fixed javascript-obfuscator#125 (dead code injection and await expression)
  • Fixed javascript-obfuscator#123

v0.12.2

  • Fixed javascript-obfuscator#121
  • Fixed javascript-obfuscator#119

v0.12.1

  • Fixed javascript-obfuscator#117

v0.12.0

  • New option: target allows to set target environment for obfuscated code.
  • Added ability to disable and enable obfuscation for specific parts of the code by adding conditional comments.
  • Added obfuscation of es2015 class names.
  • CLI: added directory obfuscation.

v0.11.2

  • Fixed javascript-obfuscator#98

v0.11.1

  • Fixed javascript-obfuscator#94

v0.11.0

  • New option: log enables logging of the information to the console.
  • New option: renameGlobals allows to enable obfuscation of global variable and function names with declaration.

v0.10.2

  • Fixed javascript-obfuscator#78

v0.10.1

  • Fixed javascript-obfuscator#76

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.
  • New CLI option: --config allows to set config file with obfuscator options.
  • Breaking change: disableConsoleOutput option now disabled by default.
  • Breaking change: escapeUnicodeSequence option now disabled by default.
  • controlFlowFlattening now affects string literal nodes.
  • Increased runtime performance with rc4 stringArrayEncoding.
  • Added support for async functions
  • Fixed javascript-obfuscator#71
  • Fixed javascript-obfuscator#65
  • Fixed javascript-obfuscator#60
  • Fixed javascript-obfuscator#59
  • Fixed javascript-obfuscator#54
  • Fixed javascript-obfuscator#57
  • Fixed javascript-obfuscator#58
  • Fixed javascript-obfuscator#58

v0.9.3

  • Switched from escodegen to escodegen-wallaby, fixed javascript-obfuscator#50

v0.9.2

  • Removed coverage dir from npm package

v0.9.1

  • Fixed javascript-obfuscator#37

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.

v0.9.0-beta.5

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

v0.9.0-beta.4

  • Increased performance

v0.9.0-beta.3

  • Breaking change: dropped [email protected] and [email protected] support.
  • Switched from npm to yarn internally.

v0.9.0-beta.2

  • Transformers refactoring

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.

v0.8.6

  • Additional fixes for javascript-obfuscator#29

v0.8.5

  • Fixed javascript-obfuscator#29

v0.8.4

  • Fixed javascript-obfuscator/webpack-obfuscator#13

v0.8.3

  • selfDefending option now disabled by default.

v0.8.2

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

v0.8.1

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

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.

v0.7.3

  • CLI missing polyfill fix #17

v0.7.2

  • Runtime error fix #7

  • Shorthand object expression fix #16

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.decToHex method

v0.7.0-dev.1

  • Breaking API change: now obfuscate(sourceCode, options) returns ObfuscationResult object instead string. ObfuscationResult object contains two public methods: getObfuscatedCode() and getSourceMap().
  • CLI. Now any code can be obfuscated through CLI javascript-obfuscator command. See README.md for available options.
  • New option sourceMap enables source map generation for obfuscated code.
  • New option sourceMapMode specifies source map generation mode.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.