Commit Graph
1983 Commits
Author SHA1 Message Date
sanex 8580cd1bf7 Updated README.md 2020-09-17 10:36:13 +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
Timofey Kachalov 6edbdb2181 Merge pull request #746 from javascript-obfuscator/string-array-wrapper-default-parameter
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/745
2.2.1
2020-09-15 18:07:02 +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
Timofey Kachalov b40b580560 Merge pull request #742 from javascript-obfuscator/string-array-wrappers-visited-scopes-storage
Refactoring of StringArrayTransformer.ts: moved logic to StringArrayW…
2020-09-14 10:22:15 +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 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