Commit Graph
492 Commits
Author SHA1 Message Date
sanex3339 515e4381b6 Fixed string array analyzer tests 2020-01-12 21:55:32 +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 63fd4a82d9 Fixed tests 2020-01-10 12:13:17 +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 78b2be628f Added runtime test with astring and const and let variables 2020-01-09 16:29:03 +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 37784ff97b Added ReservedStringObfuscatingGuard test file to index.spec.ts 2020-01-02 16:05:49 +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 811debed96 Dependencies update #4 2020-01-02 13:56:58 +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 554b94a870 Added unit tests for DictionaryIdentifierNamesGenerator 2019-12-31 13:31:06 +03:00
sanex3339 36918c351c DictionaryIdentifierNamesGenerator refactoring 2019-12-31 12:40:29 +03:00
sanex3339 a83f3fcacd Added missing tests import 2019-12-31 09:58:59 +03:00
sanex3339 b34208c444 Merge remote-tracking branch 'origin/master' into reserved-names-fix
# Conflicts:
#	src/node-transformers/obfuscating-transformers/obfuscating-replacers/identifier-obfuscating-replacers/BaseIdentifierObfuscatingReplacer.ts
2019-12-31 01:08:37 +03:00
sanex3339 2a8e9608a3 Fixed reservedNames option 2019-12-31 01:01:26 +03:00
sanex3339 e5c5859cab Added circular relations test for LevelledTopologicalSorter 2019-12-31 00:20:00 +03:00
sanex3339 d3bfe4c5b7 Added additional tests for LevelledTopologicalSorter 2019-12-30 20:53:05 +03:00
sanex3339 f8044a7248 Added base tests for LevelledTopologicalSorter 2019-12-30 20:44:24 +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