Commit Graph
452 Commits
Author SHA1 Message Date
sanex3339 309c678888 LiteralTransformer rotate and shuffle tests refactoring 2020-01-14 00:31:09 +03:00
Dmitry Zamotkin cc8ebba8dd A wrong object key when using transform object keys and unicode escape sequence options at once 2020-01-13 22:22:37 +03:00
sanex3339 fb1a927c38 Added seed to literal transformer string array endcoding rc4 test 2020-01-13 01:07:45 +03:00
sanex3339 e404b1d520 Updated test for BaseIdentifierObfuscatingReplacer and ArrayStorage 2020-01-12 23:01:12 +03:00
sanex3339 24135e3490 Added additional tests 2020-01-12 21:41:24 +03:00
sanex3339 1edf96c0a0 shuffleStringArray option 2020-01-12 19:55:41 +03:00
sanex3339 b764844696 Literal replacer refactoring 2020-01-12 17:48:02 +03:00
sanex3339 645e122640 Switched from espree to acorn 2020-01-10 19:02:23 +03:00
sanex3339 1277acea20 Fixed TypeError: Assignment to constant variable when auto-detection of kind of variables is inserted const variables for controlFlowStorage nodes 2020-01-10 11:52:43 +03:00
sanex3339 612068024a Added method-definition literal key converting to computed 2020-01-09 17:14:31 +03:00
sanex3339 196c6a022b Sync with dev 2020-01-09 15:37:51 +03:00
sanex3339 f29802f30e Sync with dev 2020-01-09 14:05:23 +03:00
sanex3339 1f13f71d54 Updated tests 2020-01-09 09:21:37 +03:00
sanex3339 65d4fd1602 Additional tests 2020-01-09 08:30:46 +03:00
sanex3339 3a1cc4e4f5 Auto detection of prevailing kind of variables 2020-01-09 01:30:34 +03:00
sanex3339 c98cfe1fbc Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/360 2020-01-07 22:47:55 +03:00
Dmitry Zamotkin 7a720af367 Fix bug #360: No Global variable renaming after 2 import declarations 2020-01-07 18:53:11 +03:00
sanex3339 6d3c2ae467 Fixed conditional comments in some rare cases 2020-01-07 14:22:18 +03:00
sanex3339 2c549379a7 StackTraceAnalyzer rename to CallsGraphAnalyzer 2020-01-07 12:37:42 +03:00
sanex3339 53532e7095 Added more tests 2020-01-06 22:29:44 +03:00
sanex3339 4dcff4eb4d Added logic to skip variable declaration transformation
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues
2020-01-06 20:57:28 +03:00
sanex3339 7e8f67992c Added console.table empty function to ConsoleOutputDisableExpressionTemplate 2020-01-06 18:33:57 +03:00
sanex3339 5e9e8d8dc2 Merge remote-tracking branch 'origin/master' into transform-object-keys-no-block-statement
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
2020-01-06 01:48:43 +03:00
sanex3339 56e80ae800 More cases with improved objectExpressionKeys support
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/387
2020-01-06 01:41:00 +03:00
sanex3339 cd728875f6 Improved source map file name normalizer logic
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/406
2020-01-05 23:30:04 +03:00
sanex3339 81779accf0 More cases with improved objectExpressionKeys support 2020-01-05 19:19:48 +03:00
sanex3339 b88bff186f Version update to 0.21.0 2020-01-05 18:45:18 +03:00
sanex3339 b42e6229ee Improved transformObjectKeys option to cover more object expressions 2020-01-05 18:13:22 +03:00
sanex3339 2f27d75318 Fixed typings. Now string values correctly assignable to enum-like options 2020-01-03 19:41:21 +03:00
sanex3339 114b053bd9 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/419 2020-01-03 14:34:15 +03:00
sanex3339 8c82ed4886 Removed redundant condition 2020-01-02 16:15:23 +03:00
sanex3339 05b676e526 Added additional test for ReservedStringObfuscatingGuard 2020-01-02 15:58:35 +03:00
sanex3339 b5fa248fde Added new ReservedStringObfuscatingGuard 2020-01-02 15:37:13 +03:00
sanex3339 2527fe3036 Fixed mocha exit on node 10 2020-01-02 02:34:29 +03:00
sanex3339 84b1ed7a2c Dependencies update #3: updated threads version 2020-01-02 01:49:20 +03:00
sanex3339 945e885240 * 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
2020-01-01 21:46:51 +03:00
sanex3339 f39d16370b Added failing test for custom nodes identifier names collision 2020-01-01 15:53:44 +03:00
sanex3339 617f85e40d Added functional tests for dictionary names generator: fixed regExp #2 2019-12-31 14:29:36 +03:00
sanex3339 19ebf787f7 Added functional tests for dictionary names generator: fixed regExp 2019-12-31 14:29:19 +03:00
sanex3339 9c186a4e34 Added functional tests for dictionary names generator 2019-12-31 14:13:30 +03:00
sanex3339 36918c351c DictionaryIdentifierNamesGenerator refactoring 2019-12-31 12:40:29 +03:00
sanex3339 2a8e9608a3 Fixed reservedNames option 2019-12-31 01:01:26 +03:00
sanex3339 c313802011 * The splitStrings option now correctly works with transformObjectKeys option
* Internal `TransformersRunner` rework to support topological sort of node transformers
2019-12-30 19:46:49 +03:00
sanex3339 3ba3fff62c The splitStrings option now correctly splits strings inside objects 2019-12-29 13:29:08 +03:00
sanex3339 8a0b182161 The splitStrings option now affects template literal strings 2019-12-29 11:47:51 +03:00
sanex3339 783067b505 splitString and splitStringChunkLength options 2019-12-28 20:35:59 +03:00
Dmitry Zamotkin 3c2e0c9eb0 Non-replaceable variables should be preserved to escape collisions with generated variable names 2019-12-01 19:06:55 +03:00
sanex3339 5c61532efd 0.18.5 version. Dependencies update 2019-11-30 19:56:52 +03:00
Mitch 3ebd49cccd [Bug] renameGlobals removed 2019-11-27 22:55:16 +03:00
d8b24c166d Do not rename parent function with same name 2019-11-27 22:41:13 +03:00