Commit Graph
249 Commits
Author SHA1 Message Date
sanex3339 102b4cdd58 Use of eslint-scope data to rename identifiers #2: refactoring 2020-01-17 02:17:26 +03:00
sanex3339 309c678888 LiteralTransformer rotate and shuffle tests refactoring 2020-01-14 00:31:09 +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 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 bb85924de5 More type-safe way to initialize custom nodes 2020-01-09 02:59:59 +03:00
sanex3339 3a1cc4e4f5 Auto detection of prevailing kind of variables 2020-01-09 01:30:34 +03:00
sanex3339 2c549379a7 StackTraceAnalyzer rename to CallsGraphAnalyzer 2020-01-07 12:37:42 +03:00
sanex3339 2f27d75318 Fixed typings. Now string values correctly assignable to enum-like options 2020-01-03 19:41:21 +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 36918c351c DictionaryIdentifierNamesGenerator refactoring 2019-12-31 12:40:29 +03:00
sanex3339 c87a6262a6 Merge branch 'master' of git://github.com/adiantek/javascript-obfuscator into adiantek-master
# Conflicts:
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	src/storages/string-array/StringArrayStorage.ts
2019-12-31 10:05:18 +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
sanex3339 783067b505 splitString and splitStringChunkLength options 2019-12-28 20:35:59 +03:00
sanex3339 c00fd38e89 Use of eventemitter3 instead of events module. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/452 2019-12-20 10:19:17 +03:00
sanex3339 de8579a8a5 0.18.6 version 2019-12-01 21:34:50 +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
fb7f898243 [Bug] Fix a name collision in String Array Storage 2019-10-04 22:47:02 +03:00
adiantek 0d5aea2598 Use the dictionary as the name of the identifiers 2018-11-03 17:45:50 +01:00
sanex3339 348cd78443 Sync with 0.17.2 branch 2018-07-30 23:36:36 +03:00
sanex3339 a697e64bca Update to typescript 3.0.1 2018-07-30 22:57:50 +03:00
sanex3339 bbbc5c2bd2 Removed redundant code 2018-07-29 23:51:50 +03:00
sanex3339 e7f2bd1063 Replaced ObfuscationResult and SourceMapCorrector classes by ObfuscatedCode class 2018-07-29 16:06:40 +03:00
sanex3339 66640b4152 Refactoring related on splitting between nodes with statements and nodes with lexical scopes 2018-07-29 14:07:09 +03:00
sanex3339 4aff0ec046 reservedStrings option 2018-07-13 22:47:07 +03:00
sanex3339 a06b23af98 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/289 2018-07-12 01:05:28 +03:00
sanex3339 e9c6adc3b1 Fixed tslint 2018-06-09 14:49:50 +03:00
sanex3339 a003a6ed98 inputFileName option 2018-06-08 00:04:33 +03:00
sanex3339 19696ec33c Use block scope instead node identifier 2018-06-07 01:16:17 +03:00
sanex3339 76d5ea8c27 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/271 2018-06-05 00:00:23 +03:00
sanex3339 4b74976cc7 Some refactoring 2018-05-24 11:22:54 +03:00
sanex3339 1d0046eb8d Dependencies update, added test for MapStorage 2018-03-29 22:06:20 +03:00
sanex3339 37a36429a9 Disabled generation of identifiers that matching with values of reservedNames option. 2018-03-21 23:17:53 +03:00
sanex3339 d08a1e4075 Splitted IStorage into two separate interfaces for map and array storages 2018-03-20 00:17:20 +03:00
sanex3339 86c79ae69a Types refactoring 2018-03-17 01:24:19 +03:00
sanex3339 e5778b4fa4 New CLI option: exclude 2018-02-24 13:54:44 +03:00
sanex3339 e2e7c3d071 TSLint rules update 2018-02-08 20:45:50 +03:00
sanex3339 b061b3d889 Remove few any types 2018-02-02 23:00:50 +03:00
sanex3339 19ff4cfb1e Removed random internal random generation of identifiers prefix 2018-01-24 15:04:13 +03:00
sanex3339 dae69bde8c Tests for identifierPrefix option 2018-01-23 16:05:09 +03:00
sanex3339 fccf170c08 Obfuscating tranformers and identifier replacer refactoring 2018-01-22 23:49:17 +03:00
sanex3339 cf94be2285 Add prefix only for variables with global declaration 2018-01-22 23:15:43 +03:00
sanex3339 6de55d27f3 Random identifiers prefix generation 2018-01-19 01:49:12 +03:00
sanex3339 d4b801e71e identifiersPrefix option 2018-01-18 01:36:17 +03:00
sanex3339 07a26e21d0 Syncing with master 2018-01-13 15:57:11 +03:00
sanex3339 43f64f73e7 Dead code injection refactoring #1 2018-01-13 02:05:10 +03:00
sanex3339 2950613d44 Now transformers knows about its transformation stage 2018-01-12 23:00:43 +03:00
sanex3339 ad0b1b0fdf Eval obfuscation transformers 2018-01-08 20:34:36 +03:00