Commit Graph
212 Commits
Author SHA1 Message Date
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 9301f6aa63 Refactoring, option rename on forceTransformStrings 2020-09-24 19:58:27 +03:00
sanex a5d7f7418c forceTransformedStrings option 2020-09-24 00:39:07 +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
sanex 559e3a440a WIP: shifted indexes of string array wrappers #1 2020-09-16 18:14:56 +03:00
sanex 4d4a99148b Merge branch 'master' into string-array-wrappers-type-option
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	package.json
#	src/node-transformers/string-array-transformers/StringArrayScopeCallsWrapperTransformer.ts
2020-09-15 20:56:59 +03:00
sanex 4c1a949fd3 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/745 2020-09-15 16:49:18 +03:00
sanex d86ee4213c New option stringArrayWrappersType allows to select a type of the wrappers that are appending by the stringArrayWrappersCount option 2020-09-15 11:09:22 +03:00
sanex 47263a4c1c Added tests for VisitedLexicalScopeNodesStackStorage class 2020-09-14 10:51:30 +03:00
sanex e20f2826e4 Refactoring of StringArrayTransformer.ts: moved logic to StringArrayWrappersTransformer, StringArrayScopeCallsWrapperDataStorage and VisitedLexicalScopeNodesStackStorage 2020-09-14 00:58:17 +03:00
sanex 47104dda93 Moved isValidLexicalScopeNode method to the NodeGuards as isNodeWithLexicalScopeAndStatements 2020-09-12 17:33:38 +03:00
sanex 5a833d1057 Improved update of previous mangled character 2020-09-12 10:15:13 +03:00
sanex f43b138e8a New option stringArrayWrappersChainedCalls. Renamed option stringArrayIntermediateVariablesCount on stringArrayWrappersCount 2020-09-11 00:28:32 +03:00
sanex 84432e87e8 Improved stringArrayIntermediateVariablesCount option with function intermediate calls 2020-09-10 10:43:14 +03:00
sanex 6ec92420f5 New API: getOptionsByPreset allows to get options for the passed options preset name 2020-09-04 18:46:00 +03:00
sanex 2e711e46e4 Removed unnecessary CLI sanitizers 2020-09-02 00:00:02 +03:00
Timofey Kachalov 42ff66849e Mixed string array encoding prototype (#727)
`stringArrayEncoding` option now accepts an array of encodings. Each string will be randomly encoded with passed encoding.
2020-08-30 21:10:46 +03:00
sanex 645a3c5cef New optionsPreset option 2020-08-29 10:27:47 +03:00
sanex 9c04ededc7 Reorganized transformers structure and order 2020-08-23 09:27:35 +03:00
sanex da41272ef7 Fixed obfuscation of literals of ExportNamedDeclaration and ExportAllDeclaration nodes 2020-08-14 23:59:57 +03:00
sanex3339 19fa1fb602 Pass simplify and numbersToExpressions options to CustomCodeHelperObfuscator obfuscation 2020-07-12 21:09:13 +03:00
sanex3339 dd8dcac223 Added numbersToExpressions option and NumberToNumericalExpressionTransformer 2020-07-12 18:24:57 +03:00
sanex3339 f07452e139 Added number numerical expression analyzer 2020-07-12 12:31:40 +03:00
sanex3339 c6887464c4 Fixed wrong source-map: 'inline' encoding after 1.3.0 2020-07-10 16:31:12 +03:00
sanex3339 b606926182 Added unit tests for mangled-shuffled identifier names generator 2020-07-09 14:11:25 +03:00
sanex3339 6424730f2d Added config file extension validation 2020-07-03 08:23:55 +03:00
sanex3339 7eb25bb403 Improvements of stringArrayEncoding: base64 and rc4 2020-07-02 10:13:57 +03:00
sanex3339 0a57798b8a Fixed tests for HexadecimalIdentifierNamesGenerator 2020-04-25 12:32:59 +03:00
sanex3339 fb834c8de1 0.28.0 release
Support of BigInt
2020-04-25 12:12:07 +03:00
sanex3339 87bf2096cc 0.27.5 release 2020-04-25 09:49:44 +03:00
sanex3339 e2d97841c4 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/593 2020-04-10 20:11:03 +03:00
sanex3339 bbc672e80e Fixed identifiers prefix generation for obfuscateMultiple method 2020-03-16 11:53:45 +03:00
sanex3339 39870010e8 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/569 2020-03-05 01:25:56 +03:00
sanex3339 6d03a2bacf Added prefixes to the generated global identifiers of the added code 2020-03-04 09:57:38 +03:00
sanex3339 28b2422c7e Support of output directory paths with a dot symbol 2020-02-22 00:51:20 +03:00
sanex3339 ed09424df5 Changed file log messages 2020-02-20 23:33:13 +03:00
sanex3339 499c2b1a33 Fixed string array name preserving inside string array helpers 2020-02-16 23:39:39 +03:00
sanex3339 a2e9c05ce8 Fixed errors related to identifiers. Changed self defending helper 2020-02-16 14:41:32 +03:00
sanex3339 78722782de Additional improvements of variables preserving 2020-02-09 14:26:34 +03:00
sanex3339 0fe1c15f15 Refactoring of CLI utils 2020-02-07 10:24:47 +03:00
sanex3339 8977f92742 Refactoring of CLI code related with source code. Fixed directory name logging 2020-02-05 00:14:56 +03:00
sanex3339 ca4a907094 Added tests for rc4 encoded value collision fix 2020-02-01 22:15:48 +03:00
sanex3339 fc2cf933d9 More complex object keys transformation + some string literal transformations refactoring 2020-01-25 13:50:00 +03:00
sanex3339 d0285aa085 A file path will be displayed on obfuscation error 2020-01-21 01:34:43 +03:00
sanex3339 b776df8f90 ScopeAnalyzer tests 2020-01-18 10:27:47 +03:00
sanex3339 102b4cdd58 Use of eslint-scope data to rename identifiers #2: refactoring 2020-01-17 02:17:26 +03:00
sanex3339 19d0769163 Fixed rare case with positive check of shouldAddValueToStringArray method when stringArrayThreshold is 0 2020-01-14 01:28:34 +03:00
sanex3339 309c678888 LiteralTransformer rotate and shuffle tests refactoring 2020-01-14 00:31:09 +03:00