Commit Graph
391 Commits
Author SHA1 Message Date
sanex 3cf94b7152 Fixed invalid behaviour of transformObjectKeys option when object values contains this references 2021-06-13 11:23:31 +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 02c5e8de0b Add CLI option 2021-06-10 16:32:50 +02:00
sanex 515dc82e17 Added getOptions method to IObfuscationResult 2021-06-09 09:49:19 +03:00
sanex 9b3b1644ce Slightly simplified validation of identifier names cache. Updated README.md 2021-05-31 15:10:34 +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 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 aa64a55203 Some refactoring. Added IdentifierNamesCacheStorage tests 2021-05-30 13:57:36 +03:00
sanex 18f72a89c7 Added ThroughIdentifierReplacer for code separate between ScopeIdentifierReplacer and ScopeThroughIdentifiersTransformer 2021-05-30 12:12:59 +03:00
sanex bee043cef3 Identifier names cache option prototype #2. Added readme. 2021-05-30 01:01:59 +03:00
sanex e681982f51 Typescript 4.3 update 2021-05-29 12:12:48 +03:00
sanex 3cf2b73cec Dependencies update 2021-05-25 23:55:30 +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 92e7c1aa10 Dependencies update 2021-05-02 17:34:19 +03:00
sanex c827d230ce Added support of node@16 and dropped support of node@10 2021-04-24 12:09:14 +03:00
sanex 350fd3b6d8 Dependencies update + readme update 2021-04-13 22:47:39 +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 85ecd1d511 Dependencies update 03.04.2021 2021-04-03 11:21:43 +03:00
sanex 92239cb462 Dependencies update 14.03.2021 2021-03-14 10:45:58 +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 6abd6c2194 Fixed CVE-2019-18413
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/880
2021-02-28 20:56:39 +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 cad692b091 Dependencies update 14.02.2021 #2 2021-02-14 11:28:33 +03:00
sanex 62f93cf178 Dependencies update 31.01.2021 2021-01-31 18:04:03 +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 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 ee41f06b3c Dependencies update 16.01.2021 2021-01-16 18:29:56 +03:00
sanex 04be75e27b Removed padding characters from all base64 encoded strings.
Removed RegExp that trims padding characters from `base64` encoded strings from `atob` code helper to prevent mutation of `RegExp.$1` value during calls to the `stringArray`. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/829
2021-01-01 16:47:44 +03:00
sanex 159b5e85ac Added method isComparisonExpressionStringLiteralNode to the StringArrayRotateFunctionTransformer 2020-12-30 21:31:53 +03:00
sanex 65cbb8bfe6 Renamed custom code helpers group method names 2020-12-30 13:56:47 +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 6ed3d4e3ed Version update to 2.10.0 2020-12-29 11:13:42 +03:00
sanex 3b8af4b29a String array improvement: fixed bugs 2020-12-28 21:39:54 +03:00
sanex cec4b3525a Sync with master 2020-12-28 10:56:13 +03:00