Commit Graph
1972 Commits
Author SHA1 Message Date
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 2.2.0 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
Timofey Kachalov f71f57c006 Merge pull request #741 from javascript-obfuscator/string-array-wrappers-count-prohibited-scopes
Fixed `stringArrayWrappersCount` behaviour with arrow function scope …
2020-09-12 15:29: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
Timofey Kachalov 78383e7cb3 Merge pull request #740 from javascript-obfuscator/string-array-calls-wrapper-mangled-generator-fix
Fixed `stringArrayCallsWrapper` option with `mangled` names generator
2020-09-12 11:20:44 +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
Timofey Kachalov b5ad5b075c Merge pull request #739 from javascript-obfuscator/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-11 15:26:26 +03:00
dependabot[bot] 743c231c49 Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 11:08:27 +00:00
Timofey Kachalov 253b192bf5 Merge pull request #738 from javascript-obfuscator/string-array-intermediate-calls-wrapper
`stringArrayIntermediateVariablesCount` option rework
2020-09-11 13:41:32 +03:00
sanex 0c2b4bdb00 Updated README.md example 2020-09-11 11:17:30 +03:00
sanex 3d6f98c127 Enable stringArrayWrappersCount and stringArrayWrappersChainedCalls options by default 2020-09-11 11:04:23 +03:00
sanex 7b87712f39 Added tests for getOptionsByPreset method of JavaScriptObfuscatorFacade 2020-09-11 09:54:10 +03:00
sanex 7fca0317f0 Increased samples count for some test of StringArrayTransformer.spec.ts 2020-09-11 07:06:29 +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 f00c32d28b Fixed some tests of stringArrayIntermediateVariablesCount option 2020-09-10 14:20:49 +03:00
sanex b3afafbe95 Additional tests of stringArrayIntermediateVariablesCount option 2020-09-10 13:31:08 +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
Timofey Kachalov 5be87b26eb Merge pull request #736 from javascript-obfuscator/string-array-intermediate-calls-option
New option: `stringArrayIntermediateCalls`
2020-09-07 12:11:20 +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
Timofey Kachalov 48eccacd5c Merge pull request #735 from javascript-obfuscator/get-optons-for-preset
New API: `getOptionsByPreset`
2.1.0
2020-09-04 19:23: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' 2.0.0 2020-09-03 12:38:40 +03:00
sanex 062802fd3c Version update to 1.12.1 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
Timofey Kachalov d408009b4c Merge pull request #733 from javascript-obfuscator/@types/estree-update
Updated @types/estree and @types/node
2020-09-03 10:43:57 +03:00
sanex 75b8e9ca9d Updated @types/estree and @types/node 2020-09-03 09:34:15 +03:00
Timofey Kachalov 55862e9c01 Merge pull request #731 from javascript-obfuscator/fixed-converting-and-split-strings-transformers-order
Fixed regression bug with combination of `splitStrings` and `renameProperties` option
2020-09-02 22:37:22 +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 4512bcda65 Changed splitStringsChunkLength during runtime tests 2020-09-02 09:59:51 +03:00
sanex c46f31d665 Added more tests for emoji support of splitStrings option 2020-09-02 09:54:46 +03:00
sanex 340b7283be Dependencies update. Added Test for emoji split with splitStrings option 2020-09-02 09:38:03 +03:00
Timofey Kachalov 59b65e6419 Merge pull request #730 from javascript-obfuscator/removed-unnecessary-cli-sanitizers
Removed unnecessary CLI sanitizers
2020-09-02 09:06:06 +03:00
sanex 2e711e46e4 Removed unnecessary CLI sanitizers 2020-09-02 00:00:02 +03:00
Timofey Kachalov 95be979f0f Merge pull request #728 from javascript-obfuscator/esrecurse-version-update
Updated `esrecurse` to 4.3.0. Dependencies update.
2020-09-01 09:56:43 +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
Timofey Kachalov 8c91a254be Merge pull request #725 from javascript-obfuscator/preset-option
New `optionsPreset` option
1.12.0
2020-08-29 12:24:02 +03:00
sanex 4ebd98a04c Added OptionsPresetSanitizer to the tests #2 2020-08-29 11:39:32 +03:00
sanex fece163cc3 Added OptionsPresetSanitizer to the tests 2020-08-29 11:21:42 +03:00