Commit Graph
64 Commits
Author SHA1 Message Date
Timofey Kachalov 2095d47058 Dead code injection transformer ignores PrivateIdentifier nodes (#1057) 2022-02-09 22:44:16 +03:00
Timofey Kachalov 77f64bf5df Fixed wrong generation of code that has statements after ReturnStatment when simplify option is enabled 2022-02-06 21:10:16 +03:00
sanex 6b8ead0b2b Support for class static blocks 2022-01-29 14:57:21 +03:00
Kevin 30c5e9a937 fix: dynamic import 2021-10-11 03:50:58 +08:00
sanex 744cd14f7f Updated supported node versions. Added support for rename of property definitions 2021-07-23 23:42:10 +03:00
sanex ba3e4d6897 Sync with dev 2021-07-23 22:29:00 +03:00
sanex fdd03c15c5 To increase performance and prevent possible runtime errors transformObjectKeys option now completely ignores objects with NewExpression nodes 2021-07-15 11:44:08 +03:00
sanex d62bf3d377 To increase performance and prevent possible runtime errors transformObjectKeys option now completely ignores objects with CallExpression nodes 2021-07-15 10:52:44 +03:00
sanex 600a180d47 Sync with master 2021-06-13 12:50:15 +03:00
sanex 3cf94b7152 Fixed invalid behaviour of transformObjectKeys option when object values contains this references 2021-06-13 11:23:31 +03:00
sanex 52a5482ace Added base PropertyDefinition transformation 2021-05-23 10:12:55 +03:00
sanex 3c379999a7 Added renamePropertiesAutoExclude option 2021-02-14 23:17:46 +03:00
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 2927fa0ab8 Preventing move of "use strict"; directive during obfuscation 2020-12-29 23:29:16 +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 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 da41272ef7 Fixed obfuscation of literals of ExportNamedDeclaration and ExportAllDeclaration nodes 2020-08-14 23:59:57 +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 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 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 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 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 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 811debed96 Dependencies update #4 2020-01-02 13:56:58 +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
c1031ced07 [Bug] Wrong Lexical Scope for let and const variables 2019-11-10 19:03:53 +03:00
sanex3339 bbbc5c2bd2 Removed redundant code 2018-07-29 23:51:50 +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 7170a2b476 Fixed wrong arrow function block scope detection 2018-07-24 23:53:34 +03:00
sanex3339 836f665cab Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/297 2018-07-21 17:50:50 +03:00
sanex3339 0e76dbcf50 Added tests for issue https://github.com/javascript-obfuscator/javascript-obfuscator/issues/297 2018-07-21 12:33:21 +03:00
sanex3339 58674071d5 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/264 2018-05-23 21:54:59 +03:00
sanex3339 398b9890e7 Disabled obfuscation of tagged template literals.
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/243
2018-04-16 22:03:26 +03:00
sanex3339 bcb3569e83 Obfuscation of import specifiers #2 2018-03-26 01:43:10 +03:00
sanex3339 b97d47386b Obfuscation of import specifiers 2018-03-26 01:13:26 +03:00