Commit Graph
961 Commits
Author SHA1 Message Date
sanex3339 3a3d350d96 Added tests for prohibited single if statement 2020-07-04 12:53:31 +03:00
sanex3339 2e198d1190 Merge branch 'master' into minification-transformers
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	src/custom-code-helpers/string-array/templates/string-array-calls-wrapper/AtobTemplate.ts
#	src/utils/CryptUtils.ts
#	test/dev/dev.ts
2020-07-03 14:14:38 +03:00
sanex3339 460e956a6e Fixed runtime error function statement not allowed when deadCodeInjection is enabled 2020-07-03 10:52:10 +03:00
sanex3339 6424730f2d Added config file extension validation 2020-07-03 08:23:55 +03:00
Timofey Kachalov f54ed6875e Merge pull request #652 from javascript-obfuscator/base64-improvements
Base64 improvements
2020-07-02 10:52:12 +03:00
sanex3339 7eb25bb403 Improvements of stringArrayEncoding: base64 and rc4 2020-07-02 10:13:57 +03:00
sanex3339 e625757ae0 Added constants with alphabet and numbers strings 2020-07-02 09:30:15 +03:00
sanex3339 937309a664 Added more logic to simplify partially valid if statement branches 2020-07-02 09:09:18 +03:00
sanex3339 5b64f75dac Handle more cases of IfStatement simplify 2020-07-01 12:37:26 +03:00
sanex3339 7b8d341c48 Added more tests for partial if statement branches 2020-07-01 11:50:58 +03:00
sanex3339 edba004651 Added logic and tests to partial simplify consequent only if statements with prohibited nodes 2020-07-01 01:34:18 +03:00
sanex3339 303a4a67df Merge remote-tracking branch 'origin/master' into minification-transformers 2020-06-30 11:11:21 +03:00
sanex3339 57b84a670d Simple consequent and alternate tests for IfStatementSimplifyTransformer 2020-06-30 10:51:05 +03:00
Manzhula David bc6a4e7ae0 Replace tab character with 4 spaces 2020-06-30 00:49:10 +03:00
sanex3339 31551f4e33 Simple consequent only tests for IfStatementSimplifyTransformer 2020-06-29 10:50:40 +03:00
sanex3339 c2d033599e IfStatementSimplifyTransformer prototype WIP: refactoring #2 2020-06-28 23:28:03 +03:00
sanex3339 0ca8f7bef7 IfStatementSimplifyTransformer prototype WIP: refactoring #1 2020-06-28 21:17:37 +03:00
sanex3339 e8c2782c1e Merge branch 'master' into minification-transformers-if-statement
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	package.json
2020-06-28 13:40:27 +03:00
sanex3339 efebb6d11d Fixed performance regression of Initializing stage after 1.2.0 2020-06-28 12:51:41 +03:00
sanex3339 770d52ccac IfStatementSimplifyTransformer prototype WIP 2020-06-28 12:15:47 +03:00
sanex3339 bf75495f22 Added constants with alphabet and numbers strings 2020-06-27 21:22:59 +03:00
sanex3339 13e6ab30f4 Fixed some types 2020-06-27 10:47:24 +03:00
sanex3339 1d86852e45 minify option and variable declarations merge transformer 2020-06-26 12:41:01 +03:00
sanex3339 80a122b763 Replaced compile with constructor call 2020-06-25 09:19:34 +03:00
sanex3339 731d7658ac Removed isConditionalComment method 2020-06-24 19:22:58 +03:00
sanex3339 733fe12d23 Conditional comments will be removed from the code after obfuscation. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/641 2020-06-24 19:07:42 +03:00
sanex3339 74489f07a3 Updated copyright for dom properties list 2020-06-08 01:30:06 +03:00
sanex3339 143981bc8e Added copyright for dom properties list 2020-06-08 00:59:19 +03:00
sanex3339 5492af80e8 Removed redundant return in RenamePropertiesTransformer 2020-06-07 17:11:53 +03:00
sanex3339 2f622791b5 Moved reserved dom properties list to the json file 2020-06-07 16:25:48 +03:00
sanex3339 38e1dd70bd Fixed renameProperties description 2020-06-07 01:10:09 +03:00
sanex3339 11cfaf2b51 Renamed option mangleProperties -> renameProperties 2020-06-07 00:52:11 +03:00
sanex3339 ccf748b124 TEST: restored ReservedDomProperties list length 2020-06-06 17:20:57 +03:00
sanex3339 39cd4f50f9 TEST: decreased ReservedDomProperties list length 2020-06-06 17:00:12 +03:00
sanex3339 f5e06fcfed Added mangleProperties option 2020-06-06 10:04:25 +03:00
sanex3339 06176c29a6 Refactoring of mangle properties transformers and replacers 2020-06-06 09:25:10 +03:00
sanex3339 f0465fc8f8 Base mangle properties realisation 2020-06-05 23:44:05 +03:00
sanex3339 149e3be721 Fixed ReservedDomProperties description 2020-06-05 20:50:15 +03:00
sanex3339 48a2c71699 Added reserved properties list from terser 2020-06-05 10:31:48 +03:00
Timofey Kachalovandsanex3339 7135b09f28 Added correct self-defending code for target: 'browser-no-eval' (#617)
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/610

Co-authored-by: sanex3339 <yarabotayuvyandex3339>
2020-05-31 21:55:04 +03:00
Timofey Kachalov 9213a13b2c Renamed TObject -> TDictionary (#616)
* Renamed TObject -> TDictionary
* Added key features to the README.md
2020-05-31 08:08:19 +03:00
sanex3339 e4ca9f774b Removed memory leak with identifierNamesGenerator: 'mangled' 2020-05-29 22:01:05 +03:00
sanex3339 11ec82a6f7 0.28.2 release. Fixed change of kinds of variables for dead code with deadCodeInjection option 2020-05-21 10:19:52 +03:00
sanex3339 308aea0e3c Update on typescript 3.9 #1 2020-05-18 11:05:36 +03:00
sanex3339 d0d4bc037f Dependencies update, acorn update 2020-05-09 13:09:31 +03:00
sanex3339 ca6a2cd5d6 Updated readme for BigInt literals support 2020-04-27 10:01:18 +03:00
sanex3339 fb834c8de1 0.28.0 release
Support of BigInt
2020-04-25 12:12:07 +03:00
sanex3339 87bf2096cc 0.27.5 release 2020-04-25 09:49:44 +03:00
sanex3339 75c2a7b5d6 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/590 2020-04-12 23:15:32 +03:00
sanex3339 e2d97841c4 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/593 2020-04-10 20:11:03 +03:00