Commit Graph
93 Commits
Author SHA1 Message Date
Timofey Kachalov 44028a147f Fixed transformObjectKeys incorrectly hoisting object literal outsie of loop (#1375) 2026-01-27 22:19:27 +04:00
Timofey Kachalov 3848bca794 Backport some fixes from Pro version (#1374) 2026-01-27 17:20:23 +04:00
Timofey Kachalov 4ee4b219e5 Add prettier (#1339) 2025-12-04 00:09:10 +04:00
sanex c4abec8c2a Added additional self defending mechanisms. Updated tests 2021-08-01 16:58:04 +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 f6d865d6e9 Renamed MethodDefinitionTransformer => ClassFieldTransformer. Added tests. 2021-07-03 16:53:12 +03:00
sanex 65bc30790d Added more tests for sequence expression and this reference 2021-06-13 11:59:35 +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 9c5b289fdd Fixed invalid behaviour of extractIntegerAndDecimalParts for negative numbers 2021-02-25 10:39:30 +03:00
sanex 61d98966b1 Fixed invalid behaviour of numbersToExpressions option for float numbers
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/882
2021-02-23 23:47:31 +03:00
sanex 2927fa0ab8 Preventing move of "use strict"; directive during obfuscation 2020-12-29 23:29:16 +03:00
sanex b2aee6cb6c Ignore object expressions as body of arrow function expression when transformObjectKeys option is enabled 2020-11-19 07:45:41 +03:00
sanex ed7fbc5bef New option: stringArrayIndexesType accepts an array of types of string array call indexes 2020-11-15 12:05:34 +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 0c33e737a5 Fixed missing rename of object pattern properties in some cases
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/781
2020-10-17 00:50:39 +03:00
sanex 816a7a5a40 Fixed URI-malformed when splitStrings and stringArrayEncoding options are enabled
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/530
2020-09-30 10:32:42 +03:00
sanex c46f31d665 Added more tests for emoji support of splitStrings option 2020-09-02 09:54:46 +03:00
sanex 340b7283be Dependencies update. Added Test for emoji split with splitStrings option 2020-09-02 09:38:03 +03:00
sanex 753ad7cba8 Increased timeout for NumbersToNumericalExpressionsTransformer tests 2020-08-29 10:59:09 +03:00
sanex 0d556cbc13 Moved MemberExpressionTransformer back to converting transformers 2020-08-23 12:34:19 +03:00
sanex 9c04ededc7 Reorganized transformers structure and order 2020-08-23 09:27:35 +03:00
sanex ca030004e8 Reverted TaggedTemplateLiteral obfuscation. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/716 2020-08-18 21:00:07 +03:00
sanex da41272ef7 Fixed obfuscation of literals of ExportNamedDeclaration and ExportAllDeclaration nodes 2020-08-14 23:59:57 +03:00
sanex 9ff565f4e3 Prevent properties with get and set kinds from extraction with transformObjectKeys option. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/707 2020-08-14 20:52:53 +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 3fc1af98c5 Added float numbers tests to the NumbersToNumericalExpressionsTransformer.spec.ts 2020-08-05 09:04:09 +03:00
sanex3339 7ce5f964d6 Improved ObjectPatternPropertiesTransformer logic. Added tests. 2020-07-31 17:58:20 +03:00
sanex3339 c85f6c0092 Added ObjectPatternPropertiesTransformer. Added helper for stubbing selected node transformers. 2020-07-31 10:28:27 +03:00
sanex3339 bfb7a22d3d Added more test for numbersToExpressions option 2020-07-12 23:19:15 +03:00
sanex3339 dd8dcac223 Added numbersToExpressions option and NumberToNumericalExpressionTransformer 2020-07-12 18:24:57 +03:00
sanex3339 39870010e8 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/569 2020-03-05 01:25:56 +03:00
sanex3339 e1a24248b2 Fixed wrong lexical scope node for object expression host node 2020-02-22 21:13:50 +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 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 4106e3610f Fixed numeric keys removal on extract during object keys transformation 2020-01-15 23:52:48 +03:00