Commit Graph
149 Commits
Author SHA1 Message Date
sanex 5289dcc834 Fixed behaviour of simplify options when node with a single-statement body is inside simplified IfStatement node
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/860
2021-01-17 19:53:16 +03:00
sanex 358244be39 Merge branch 'master' into rotate-string-array-improvements
# Conflicts:
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
2020-12-30 10:46:57 +03:00
sanex adcf2691aa Using of internal storage to store lexical scope directives 2020-12-30 10:12:33 +03:00
sanex b71b39f5e7 Merge branch 'master' into rotate-string-array-improvements
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	package.json
2020-12-30 00:42:26 +03:00
sanex 2927fa0ab8 Preventing move of "use strict"; directive during obfuscation 2020-12-29 23:29:16 +03:00
sanex 22fb4b22ad Removed unused NodeFactory methods 2020-12-29 17:21:03 +03:00
sanex efac711ce4 Improved rotateStringArray option WIP 2020-12-27 14:14:50 +03:00
sanex 98bf2e6256 Switched form escodegen to @javascript-obfuscator/escodegen
Added tests for some es11/es12 features
2020-11-04 21:01:59 +03:00
sanex e8517bf770 Added ignoring of all object members previous to SpreadElement when transformObjectKeys option is enabled
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/797
2020-11-03 11:15:19 +03:00
sanex 229c99f68c Added ExportSpecifierTransformer. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/791 2020-10-28 00:30:40 +03:00
sanex 329b7a2543 Fixed for-await-of construction add when deadCodeInjection option is enabled 2020-10-01 20:59:33 +03:00
sanex 9301f6aa63 Refactoring, option rename on forceTransformStrings 2020-09-24 19:58:27 +03:00
sanex a5d7f7418c forceTransformedStrings option 2020-09-24 00:39:07 +03:00
sanex 76ee41a4a1 Typescript version update on 4.1.0-beta 2020-09-23 10:03:58 +03:00
sanex 4c1a949fd3 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/745 2020-09-15 16:49:18 +03:00
sanex 47104dda93 Moved isValidLexicalScopeNode method to the NodeGuards as isNodeWithLexicalScopeAndStatements 2020-09-12 17:33:38 +03:00
sanex 75b8e9ca9d Updated @types/estree and @types/node 2020-09-03 09:34:15 +03:00
sanex 0f2f0c2c34 Improved rename of deadCodeInjection dead code identifiers. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/708 2020-08-18 13:57:53 +03:00
sanex dce365079c Renamed ScopeIdentifiersTraverser methods, interfaces and types to more concrete variable traverse 2020-08-17 00:51:58 +03:00
sanex da41272ef7 Fixed obfuscation of literals of ExportNamedDeclaration and ExportAllDeclaration nodes 2020-08-14 23:59:57 +03:00
sanex3339 574a4854ad Added TaggedTemplateLiteral obfuscation. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/696 2020-08-06 22:32:07 +03:00
sanex3339 5a666436f1 Fixed runtime error Uncaught SyntaxError: yield is a reserved identifier when deadCodeInjection is enabled 2020-07-27 23:19:53 +03:00
sanex3339 57b84a670d Simple consequent and alternate tests for IfStatementSimplifyTransformer 2020-06-30 10:51:05 +03:00
sanex3339 31551f4e33 Simple consequent only tests for IfStatementSimplifyTransformer 2020-06-29 10:50:40 +03:00
sanex3339 770d52ccac IfStatementSimplifyTransformer prototype WIP 2020-06-28 12:15:47 +03:00
sanex3339 ca6a2cd5d6 Updated readme for BigInt literals support 2020-04-27 10:01:18 +03:00
sanex3339 3ba7a8172b Dependencies update #3: Estree 2020-03-22 21:07:22 +03:00
sanex3339 39870010e8 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/569 2020-03-05 01:25:56 +03:00
sanex3339 6d03a2bacf Added prefixes to the generated global identifiers of the added code 2020-03-04 09:57:38 +03:00
sanex3339 e36138d40d Updated readme and changelog. Removed some dead code. 2020-02-27 23:33:55 +03:00
sanex3339 3e408da024 Fixed wrong scope of preserved identifiers of shorthand object pattern property 2020-02-26 00:56:31 +03:00
sanex3339 ed09424df5 Changed file log messages 2020-02-20 23:33:13 +03:00
sanex3339 89e8a2452a More stable way to preserve identifiers with scope identifiers traverser 2020-02-13 01:57:36 +03:00
sanex3339 b95b279783 Removed unused NodeGuards code 2020-02-11 23:29:27 +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 7a6a35964b Migration from tslint on eslint #2 2020-01-31 22:30:19 +03:00
sanex3339 64b61a7ae7 Migration from tslint on eslint #1 2020-01-30 10:13:28 +03:00
sanex3339 580af78521 Removed dead code from NodeGuards 2020-01-26 19:19:29 +03:00
sanex3339 856709ab12 transformObjectKeys refactoring and bug fixes 2020-01-26 18:56:31 +03:00
sanex3339 87c8c612b8 Fixed wrong object keys transformation of objects inside sequence expressions 2020-01-26 14:24:47 +03:00
sanex3339 f1cf511975 Removed dead code 2020-01-25 22:13:32 +03:00
sanex3339 fc2cf933d9 More complex object keys transformation + some string literal transformations refactoring 2020-01-25 13:50:00 +03:00
sanex3339 d0285aa085 A file path will be displayed on obfuscation error 2020-01-21 01:34:43 +03:00
sanex3339 c050ebca38 ecmaVersion constant 2020-01-19 00:15:24 +03:00
sanex3339 102b4cdd58 Use of eslint-scope data to rename identifiers #2: refactoring 2020-01-17 02:17:26 +03:00
sanex3339 ff6b3013a6 eslint-scope transformer 2020-01-15 22:15:38 +03:00
sanex3339 645e122640 Switched from espree to acorn 2020-01-10 19:02:23 +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