Commit Graph
1032 Commits
Author SHA1 Message Date
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 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
sanex 935d57a349 Fixed runtime errors in large obfuscated code when both rc4 and base64 encodings are enabled 2020-12-28 00:37:14 +03:00
sanex e5762d2993 reservedDomPropertiesList property is now static 2020-12-27 16:32:15 +03:00
sanex efac711ce4 Improved rotateStringArray option WIP 2020-12-27 14:14:50 +03:00
sanex 2e4aae4c40 Fixed mistake in CallsControllerFunctionCodeHelper.ts 2020-12-25 15:04:20 +03:00
sanex e4fca67e7b Added type TCustomCodeHelpersGroupAppendMethodName 2020-12-25 13:59:13 +03:00
sanex a118112095 Removed obfuscation-event-emitter to allow more flexible append of node inside custom code helper groups. 2020-12-25 11:00:11 +03:00
sanex ab4508de14 Fixed missing prefix of root identifiers added by stringArrayWrappersCount option when identifiersPrefix option is set 2020-11-23 12:22:05 +03:00
sanex 576c50e755 Fixed wrong name of obfuscated files when input directory path is the . symbol
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/816
2020-11-20 10:21:11 +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 c7cc68bedb Fixed wrong stringArrayWrappersParametersMaxCount CLI option name 2020-11-16 23:54:25 +03:00
sanex 002e068be2 Renamed fields of IStringArrayScopeCallsWrapperParameterIndexesData interface 2020-11-16 21:04:21 +03:00
sanex c0cd04d2bf Added stringArrayWrappersParametersMaxCount option 2020-11-15 23:14:30 +03:00
sanex 4079b42fbd WIP: added random string array scope calls wrappers parameters 2020-11-15 22:15:37 +03:00
sanex 4bc8a76e46 Fixed identifier names inside StringArrayScopeCallsWrapperTransformer 2020-11-15 16:43:07 +03:00
sanex 381582f6f3 Extracted string array index type logic to a StringArrayIndexNode classes 2020-11-15 13:20:16 +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 4f33c76da1 New option: stringArrayIndexShift enables additional index shift for all string array calls 2020-11-14 10:15:42 +03:00
sanex 8e55d19ebb Fixed incorrect rename of the identifiers of the added helpers in some rare cases
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/804
2020-11-10 01:05:21 +03:00
sanex 8ae8e0b50b New option ignoreRequireImports prevents obfuscation of require imports 2020-11-07 11:49:48 +03:00
sanex 98bf2e6256 Switched form escodegen to @javascript-obfuscator/escodegen
Added tests for some es11/es12 features
2020-11-04 21:01:59 +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 ccc070bdf5 Fixed install in PowerShell. Added some eslint rules. Dependencies update. 2020-10-20 19:44:04 +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 533a52c6fc * Fixed broken identifierNamesGenerator: 'mangled-shuffled' after 2.2.0 2020-10-11 18:54:12 +03:00
sanex abb7f1656f MakeEnum moved to Utils class 2020-10-11 14:45:33 +03:00
sanex 381fd18177 * @gradecam/tsenum replaced with an internal implementation
* Optimized performance of `ExpressionStatementsMergeTransformer` when `simplify` option is enabled
2020-10-11 14:06:50 +03:00
Timofey Kachalov ac671daa94 Enabled windows builds (#772)
* Improved hierarchy of generated directories when `--output` is a directory path
* Fixed wrong obfuscated files path generation under `windows`. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/576
* Fixed wrong source map path generation under `windows`. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/760
* `javascript-obfuscator` now can be built under `windows` environment
2020-10-08 06:40:04 +03:00
sanex 329b7a2543 Fixed for-await-of construction add when deadCodeInjection option is enabled 2020-10-01 20:59:33 +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 19ccb0e662 Usage of StringUtils inside StringUtils 2020-09-26 14:38:37 +03:00
sanex 2d3a59c2aa Removed declarations for js-string-escape 2020-09-26 13:11:07 +03:00
sanex 34b1619ee6 Refactoring of unicodeEscapeSequence logic 2020-09-25 17:37:18 +03:00
sanex 1e9c031e7a Slightly optimized setNodeMetadata for basic cases with isTransformNode flag 2020-09-25 09:47:50 +03:00
sanex 9e2ca383a5 Added more tests that are covering forceTransformStrings option priorities 2020-09-24 23:17:56 +03:00
sanex 9301f6aa63 Refactoring, option rename on forceTransformStrings 2020-09-24 19:58:27 +03:00
sanex dc3da64da7 EscapeSequenceTransformer moved to the Finalizing transformers 2020-09-24 11:23:03 +03:00
sanex 4c1bae0527 unicodeEscapeSequence logic moved to the EscapeSequenceTransformer 2020-09-24 11:01:23 +03:00
sanex a5d7f7418c forceTransformedStrings option 2020-09-24 00:39:07 +03:00
sanex 76ee41a4a1 Typescript version update on 4.1.0-beta 2020-09-23 10:03:58 +03:00
sanex 77ff574e67 Fixed isIncrementedMangledName algorithm 2020-09-19 21:49:28 +03:00
sanex 0094e7cfbc Add force convert of unicode control characters to the unicode escape sequence
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues
2020-09-17 18:46:45 +03:00