Commit Graph
814 Commits
Author SHA1 Message Date
sanex 08e308e92c Sync with master 2021-06-23 15:39:28 +03:00
sanex 5683e75a91 Improved stringArray calls wrapper templates 2021-06-17 19:38:22 +03:00
sanex 899456f553 Dead code injection unwrap stage now runs before string array transformers 2021-06-16 09:43:56 +03:00
sanex 600a180d47 Sync with master 2021-06-13 12:50:15 +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 2144b34c88 Sync with dev 2021-06-11 12:39:48 +03:00
sanex 616ae59d75 domainDest => domainLockRedirectUrl option rename 2021-06-11 10:38:23 +03:00
sanex 4eca2178fd Added improved domainDest option validation 2021-06-10 22:15:48 +03:00
sanex da40474079 Some minor fixes for domainDest option description. Added normalisation. Version update. 2021-06-10 20:43:49 +03:00
Erik Dubbelboer 8a81043dd3 Add domainDest option 2021-06-10 16:09:44 +02:00
sanex 515dc82e17 Added getOptions method to IObfuscationResult 2021-06-09 09:49:19 +03:00
sanex 32e1dad4bc Added error output in identifiers collision test 2021-05-31 21:14:10 +03:00
sanex 6d70a5abcf Sync with master 2021-05-31 20:38:30 +03:00
sanex a04dd872c2 Added missing IdentifierNamesCacheFileUtils tests 2021-05-31 20:03:59 +03:00
sanex 13a7302853 Added tests for writeFile method of IdentifierNamesCacheFileUtils 2021-05-31 19:27:53 +03:00
sanex b0ff4d893e Added tests for readFile method of IdentifierNamesCacheFileUtils 2021-05-31 19:18:56 +03:00
sanex c89ba21cba Internal fields of TIdentifierNamesCache now are optional. Fixed option validation and added normalization. 2021-05-31 13:18:28 +03:00
sanex 1f044e937d Renamed some CLI classes to achieve more consistent naming 2021-05-31 12:35:19 +03:00
sanex eee15456ed Dependencies update. Added tests for property identifier names cache. 2021-05-31 11:56:31 +03:00
sanex 4be162a24b Added property cache implementation 2021-05-30 22:38:30 +03:00
sanex f32bcf29a8 Changed identifier names cache structure to store multiple identifier caches 2021-05-30 18:43:36 +03:00
sanex e7d9c71964 Added more tests for identifier names cache code generation 2021-05-30 15:49:55 +03:00
sanex f3c4be22bf Renamed obfuscatedCode => obfuscationResult variables 2021-05-30 14:38:20 +03:00
sanex aa64a55203 Some refactoring. Added IdentifierNamesCacheStorage tests 2021-05-30 13:57:36 +03:00
sanex 442cd7b56b Renamed getAsDictionary method of IMapStorage to the getStorageAsDictionary. Added tests. 2021-05-30 13:19:22 +03:00
sanex 18f72a89c7 Added ThroughIdentifierReplacer for code separate between ScopeIdentifierReplacer and ScopeThroughIdentifiersTransformer 2021-05-30 12:12:59 +03:00
sanex b62f49369c Added ScopeThroughIdentifiersTransformer tests 2021-05-30 03:42:41 +03:00
sanex bee043cef3 Identifier names cache option prototype #2. Added readme. 2021-05-30 01:01:59 +03:00
sanex f087100c26 Identifier names cache option prototype 2021-05-29 21:12:59 +03:00
sanex a13c764fc6 Fixed invalid code generation for start/middle rest arguments when controlFlowFlattenig option is enabled
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/920
2021-05-23 11:06:04 +03:00
sanex 52a5482ace Added base PropertyDefinition transformation 2021-05-23 10:12:55 +03:00
sanex 85ee48bca7 Fixed DirectivePlacementTransformer test 2021-04-11 00:09:06 +03:00
sanex 4f9df91320 stringArray calls wrappers now inserted as FunctionDeclaration nodes at random indexes 2021-04-10 23:28:12 +03:00
sanex 52358aba26 Typescript version update to 4.3-beta 2021-04-07 23:44:01 +03:00
sanex 0926c13029 Added ability to specify the path to the input file after specifying the obfuscator options
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/904
2021-04-07 19:37:26 +03:00
sanex 3a54af7f78 Added log to the runtime tests 2021-03-20 22:22:21 +03:00
sanex e2b231e2a0 Updated renameProperties transformer tests 2021-03-07 14:11:27 +03:00
sanex 35f6d20f3b Updated runtime tests with renamePropertiesMode option 2021-03-07 13:38:24 +03:00
sanex 0acb91ca60 renamePropertiesAutoExclude option changed by renamePropertiesMode option 2021-03-07 12:16:38 +03:00
sanex 7fe0561cd4 Merge branch 'master' into rename-properties-auto-exclude
# Conflicts:
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	test/dev/dev.ts
2021-03-07 11:04:50 +03:00
sanex 72a89a1357 Added support of top-level await
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/884
2021-02-28 19:23:45 +03:00
sanex dd328b3c22 Fixed invalid code generation for rest arguments when controlFlowFlattening option is enabled
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/887
2021-02-28 18:14:11 +03:00
sanex 29f969a751 Sync with dev 2021-02-27 21:24:04 +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 3c379999a7 Added renamePropertiesAutoExclude option 2021-02-14 23:17:46 +03:00
sanex 1847bcc5ac Fixed simplify option regression after 2.10.2
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/864
2021-01-20 09:20:48 +03:00
sanex 49ec0a66b8 Added non-IfStatement test for isIfStatementNodeWithSingleStatementBody method 2021-01-17 21:49:01 +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