Commit Graph
976 Commits
Author SHA1 Message Date
sanex 64dd628715 README.md improvements that allow to use it on obfuscator.io 2020-09-29 01:20:35 +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
sanex 835581db64 Shifted indexes of string array wrappers #4: fixed wrappers calls and added tests 2020-09-17 09:28:17 +03:00
sanex 33441ebf36 Shifted indexes of string array wrappers #3: added ability to generate a negative shifted index 2020-09-17 01:21:51 +03:00
sanex 3036e8be1a WIP: shifted indexes of string array wrappers #2: refactoring 2020-09-16 20:36:14 +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 9a6db37fdf Updated eslint 2020-09-13 12:27:05 +03:00
sanex febe932e7e Updated eslint-scope 2020-09-12 21:44:43 +03:00
sanex 47104dda93 Moved isValidLexicalScopeNode method to the NodeGuards as isNodeWithLexicalScopeAndStatements 2020-09-12 17:33:38 +03:00
sanex b152e7bd09 Fixed order of the appended string array scope wrappers 2020-09-12 14:16:19 +03:00
sanex 09e89f8fe6 Fixed stringArrayWrappersCount behaviour with arrow function scope without statements 2020-09-12 13:59:07 +03:00
sanex 5a833d1057 Improved update of previous mangled character 2020-09-12 10:15:13 +03:00
sanex 9b5eba5363 Fixed stringArrayCallsWrapper option with mangled names generator 2020-09-12 00:05:47 +03:00
sanex 3d6f98c127 Enable stringArrayWrappersCount and stringArrayWrappersChainedCalls options by default 2020-09-11 11:04:23 +03:00
sanex f43b138e8a New option stringArrayWrappersChainedCalls. Renamed option stringArrayIntermediateVariablesCount on stringArrayWrappersCount 2020-09-11 00:28:32 +03:00
sanex e87565bd9e Changed stringArrayIntermediateVariablesCount option description 2020-09-10 21:03:44 +03:00
sanex 7df32035ec Added StringArrayCallNode custom node 2020-09-10 20:46:53 +03:00
sanex b483ef17cf Added StringArrayIntermediateCallsWrapperNode custom node 2020-09-10 20:06:20 +03:00
sanex 4c5028c095 Fixed tests of stringArrayIntermediateVariablesCount option 2020-09-10 13:18:27 +03:00
sanex 5bbbc901d4 stringArrayIntermediateVariablesCount option rework 2020-09-10 11:40:13 +03:00
sanex 84432e87e8 Improved stringArrayIntermediateVariablesCount option with function intermediate calls 2020-09-10 10:43:14 +03:00
sanex e80937d108 Changed option name: stringArrayIntermediateCalls -> stringArrayIntermediateVariablesCount 2020-09-07 11:12:18 +03:00
sanex 1b656d7386 New option: stringArrayIntermediateCalls sets the passed amount of intermediate variables for the string array 2020-09-07 10:05:31 +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 14495b8259 Merge branch '1.12.1' 2020-09-03 12:38:40 +03:00
sanex 062802fd3c Version update to 1.12.1 2020-09-03 11:14:04 +03:00
sanex f98993f8cb Fixed regression bug with combination of splitStrings and renameProperties option
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/729

(cherry picked from commit a0dca0256b)
2020-09-03 11:12:18 +03:00
sanex 75b8e9ca9d Updated @types/estree and @types/node 2020-09-03 09:34:15 +03:00
sanex a0dca0256b Fixed regression bug with combination of splitStrings and renameProperties option
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/729
2020-09-02 21:52:59 +03:00
sanex 340b7283be Dependencies update. Added Test for emoji split with splitStrings option 2020-09-02 09:38:03 +03:00
sanex 2e711e46e4 Removed unnecessary CLI sanitizers 2020-09-02 00:00:02 +03:00
sanex 83208b22f2 Updated esrecurse to 4.3.0. Dependencies update. 2020-09-01 09:18:01 +03:00
sanex 017ade47db Fixed order of StringArrayCallsWrapper code helpers, added tests 2020-08-31 09:41:15 +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