Commit Graph
342 Commits
Author SHA1 Message Date
sanex3339 eb233be65a Added basic tests for mangled lexical scope identifiers generation 2020-02-12 22:51:59 +03:00
sanex3339 002697caf5 Improved mangled identifier names generator. Improved variable preserving. 2020-02-11 23:03:02 +03:00
sanex3339 029d5953c2 Added more tests of identifier names conflicts when using identifiersPrefix 2020-02-09 17:14:53 +03:00
sanex3339 ac259dab1c Added more fixes of identifier names conflicts when using identifiersPrefix 2020-02-09 15:34:18 +03:00
sanex3339 78722782de Additional improvements of variables preserving 2020-02-09 14:26:34 +03:00
sanex3339 4e716ed0d0 Prevented transformation of object keys in sequence expression that has super call 2020-02-09 01:49:51 +03:00
sanex3339 db908f7bce Fixed conflicts between generated names and names from untouched identifiers from source code.
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/550
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/549
2020-02-08 21:57:29 +03:00
sanex3339 e987a8f55e Fixed support of exponentiation operator. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/534 2020-02-07 11:08:16 +03:00
sanex3339 e589b461c3 Fixed wrong rename of object pattern identifiers 2020-02-05 00:50:30 +03:00
sanex3339 8df7d6c434 Dependencies update 2020-02-01 13:06:41 +03:00
sanex3339 fcbe2ee66e Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/535 2020-01-29 22:26:33 +03:00
sanex3339 05a172973c Reverted validation errors under node target for sourceMap* options 2020-01-28 22:56:32 +03:00
sanex3339 f819acbc4b Removed isNodeScope option, added more tests 2020-01-27 20:44:16 +03:00
sanex3339 c0117912c1 Added class scope sanitizing 2020-01-27 20:11:40 +03:00
sanex3339 178adcbfaa Slightly changed regexps of variable kinds 2020-01-27 00:58:04 +03:00
sanex3339 b454b9e809 Additional fixes of transformObjectKeys 2020-01-26 20:02:12 +03:00
sanex3339 856709ab12 transformObjectKeys refactoring and bug fixes 2020-01-26 18:56:31 +03:00
sanex3339 241c069577 Fixed test case description 2020-01-26 17:16:15 +03:00
sanex3339 5011d89eee Fixed object expression keys transformation when of sequence expressions, when identifier is referenced on the same expression 2020-01-26 17:07:23 +03:00
sanex3339 87c8c612b8 Fixed wrong object keys transformation of objects inside sequence expressions 2020-01-26 14:24:47 +03:00
sanex3339 8585a78672 Fixed Maximum call stack size exceeded error on large strings when splitString option is enabled 2020-01-26 12:37:41 +03:00
sanex3339 fc2cf933d9 More complex object keys transformation + some string literal transformations refactoring 2020-01-25 13:50:00 +03:00
sanex3339 f333b9d425 Added more tests, renamed some interfaces and classes 2020-01-25 01:20:02 +03:00
sanex3339 007af5f52b Object expression keys transformer rework 2020-01-25 00:50:49 +03:00
sanex3339 7b231fe308 Added more restrictions for object keys transformations
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/516
2020-01-24 18:42:37 +03:00
sanex3339 3bc9678f8c Fixed wrong transform object keys behaviour with function default parameters 2020-01-23 01:00:06 +03:00
sanex3339 737e1a2d0f Fixed object keys extraction when using with template literals 2020-01-20 23:54:58 +03:00
sanex3339 001417333e Slightly changed tests structure 2020-01-19 22:52:05 +03:00
sanex3339 e9ddfdf81d IsAllowedForObfuscationTarget validator 2020-01-19 22:22:50 +03:00
sanex3339 b50c48a683 Dynamic import and import.meta support 2020-01-19 01:03:04 +03:00
sanex3339 2b6e65af6a Sync with master branch 2020-01-18 23:36:47 +03:00
sanex3339 1d4ab4cd02 Fixed escodegen bugs: optional catch binding support and super class expression parenthesis 2020-01-18 21:45:32 +03:00
sanex3339 ee8c42fec0 Added test for function default parameter as identifier 2020-01-18 11:23:52 +03:00
sanex3339 fd0736ca0e Fixed grammar error in tests 2020-01-17 23:03:45 +03:00
sanex3339 102b4cdd58 Use of eslint-scope data to rename identifiers #2: refactoring 2020-01-17 02:17:26 +03:00
sanex3339 4106e3610f Fixed numeric keys removal on extract during object keys transformation 2020-01-15 23:52:48 +03:00
sanex3339 a3c7bd10c6 Fixed numeric keys removal on extract during object keys transformation 2020-01-15 22:55:09 +03:00
sanex3339 ff6b3013a6 eslint-scope transformer 2020-01-15 22:15:38 +03:00
sanex3339 6c1c95bc5b Merge branch 'master' into string-array-random-position
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
2020-01-14 01:07:25 +03:00
sanex3339 54be39bb26 Extracted some LiteralTransformer tests to StringArrayStorage.spec.ts 2020-01-14 00:41:56 +03:00
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