Commit Graph
844 Commits
Author SHA1 Message Date
sanex 445fc386df Sync with master 2021-08-09 06:25:55 +03:00
sanex 061bffe2c4 Refactoring related to ArrayUtils, NodeMetadata and StringArray transformets 2021-08-08 23:56:45 +03:00
sanex a7e0f5885a Refactored control flow storage logic related to removing existing control flow storage from the AST tree 2021-08-08 23:45:20 +03:00
sanex 6b3539773a Added stringArrayCallsTransform and stringArrayCallsTransformThreshold options 2021-08-08 21:23:11 +03:00
sanex 6e1ce07b5e Fixed very rare cases when rotateStringArray couldn't rotate array properly 2021-08-02 12:25:45 +03:00
sanex 73fcb350a2 Updated CHANGELOG.md. Fixed tests. 2021-08-01 23:22:06 +03:00
sanex c364415a13 Updated logic for random string array function position 2021-08-01 22:00:23 +03:00
sanex c4abec8c2a Added additional self defending mechanisms. Updated tests 2021-08-01 16:58:04 +03:00
sanex 9da81caf3d String array now stored as a function 2021-07-31 15:04:11 +03:00
sanex 7920538a51 Updated self defending helper. Removed no-eval self-defending helper 2021-07-26 11:07:13 +03:00
sanex 258bc4c2cd Sync with master 2021-07-24 02:46:18 +03:00
sanex 1352fb9714 Updated @javascript-obfuscator/escodegen with fixed generation of private property names 2021-07-24 01:22:56 +03:00
sanex 30eb717de6 Sync with master 2021-07-24 00:32:59 +03: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 8a872dca9f Updated self defending template #3 2021-07-23 19:21:38 +03:00
sanex b5738de0b9 Updated self defending template 2021-07-22 21:05:45 +03:00
sanex 6c05aae2ae Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/959 2021-07-22 17:58:54 +03:00
sanex 4550424033 Added test for relative path as inputFileName 2021-07-20 12:05:37 +03:00
sanex 4ab4406f5e Fixed tests. Added inputFileName option validation 2021-07-20 00:00:06 +03:00
sanex b3fc8bc595 **New option**: sourceMapSourcesMode allows to control sources and sourcesContent fields of the source map
Fixed some cases with wrong source map file name generation when `sourceMapFileName` option is set
2021-07-19 22:19:48 +03:00
sanex 7b57c1e667 Force set stringArray: true for StringArrayStorageAnalyzer tests 2021-07-17 09:27:35 +03:00
sanex 1dbfd24237 renameProperties option now won't generate duplicated property names in some cases 2021-07-16 18:46:50 +03:00
sanex a1dc2df04f stringArrayWrappersType: 'function' now generates different indexes between each wrapper inside the same lexical scope 2021-07-16 02:47:32 +03:00
sanex 3a71c78304 * stringArrayWrappersType: 'function' now appends FunctionDeclaration functions instead of FunctionExpression functions. This allows to append these wrappers at random positions inside each scope 2021-07-15 21:24:44 +03:00
sanex 7a93c8ca3e Reverted dev.ts file 2021-07-15 12:12:14 +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 94295a4a6b Dependencies update 03.07.21 2021-07-03 11:33:29 +03:00
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