Commit Graph
117 Commits
Author SHA1 Message Date
sanex ec1c90a27f Renamed options 2021-10-17 15:25:29 +03:00
sanex faaab45c6a ignoreRequireImports option renamed to ignoreImports 2021-10-17 15:13:24 +03:00
sanex 4ab4406f5e Fixed tests. Added inputFileName option validation 2021-07-20 00:00:06 +03:00
sanex b3fc8bc595 **New option**: sourceMapSourcesMode allows to control sources and sourcesContent fields of the source map
Fixed some cases with wrong source map file name generation when `sourceMapFileName` option is set
2021-07-19 22:19:48 +03:00
sanex 616ae59d75 domainDest => domainLockRedirectUrl option rename 2021-06-11 10:38:23 +03:00
sanex 4eca2178fd Added improved domainDest option validation 2021-06-10 22:15:48 +03:00
sanex da40474079 Some minor fixes for domainDest option description. Added normalisation. Version update. 2021-06-10 20:43:49 +03:00
Erik Dubbelboer 8a81043dd3 Add domainDest option 2021-06-10 16:09:44 +02:00
sanex 9b3b1644ce Slightly simplified validation of identifier names cache. Updated README.md 2021-05-31 15:10:34 +03:00
sanex c89ba21cba Internal fields of TIdentifierNamesCache now are optional. Fixed option validation and added normalization. 2021-05-31 13:18:28 +03:00
sanex f32bcf29a8 Changed identifier names cache structure to store multiple identifier caches 2021-05-30 18:43:36 +03:00
sanex 442cd7b56b Renamed getAsDictionary method of IMapStorage to the getStorageAsDictionary. Added tests. 2021-05-30 13:19:22 +03:00
sanex f087100c26 Identifier names cache option prototype 2021-05-29 21:12:59 +03:00
sanex 0acb91ca60 renamePropertiesAutoExclude option changed by renamePropertiesMode option 2021-03-07 12:16:38 +03:00
sanex 7fe0561cd4 Merge branch 'master' into rename-properties-auto-exclude
# Conflicts:
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	test/dev/dev.ts
2021-03-07 11:04:50 +03:00
sanex 6abd6c2194 Fixed CVE-2019-18413
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/880
2021-02-28 20:56:39 +03:00
sanex 3c379999a7 Added renamePropertiesAutoExclude option 2021-02-14 23:17:46 +03:00
sanex c0cd04d2bf Added stringArrayWrappersParametersMaxCount option 2020-11-15 23:14:30 +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 8ae8e0b50b New option ignoreRequireImports prevents obfuscation of require imports 2020-11-07 11:49:48 +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
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 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 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 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
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
sanex3339 dd8dcac223 Added numbersToExpressions option and NumberToNumericalExpressionTransformer 2020-07-12 18:24:57 +03:00
sanex3339 27be5b2cd5 Added mangled-shuffled identifier names generator 2020-07-09 11:10:31 +03:00
sanex3339 87e23748f0 Renamed option: minify -> simplify 2020-07-06 21:47:09 +03:00
sanex3339 1d86852e45 minify option and variable declarations merge transformer 2020-06-26 12:41:01 +03:00
sanex3339 11cfaf2b51 Renamed option mangleProperties -> renameProperties 2020-06-07 00:52:11 +03:00
sanex3339 f5e06fcfed Added mangleProperties option 2020-06-06 10:04:25 +03:00
Timofey Kachalov 9213a13b2c Renamed TObject -> TDictionary (#616)
* Renamed TObject -> TDictionary
* Added key features to the README.md
2020-05-31 08:08:19 +03:00
sanex3339 d0d4bc037f Dependencies update, acorn update 2020-05-09 13:09:31 +03:00
sanex3339 87bf2096cc 0.27.5 release 2020-04-25 09:49:44 +03:00
sanex3339 ed09424df5 Changed file log messages 2020-02-20 23:33:13 +03:00
sanex3339 7a6a35964b Migration from tslint on eslint #2 2020-01-31 22:30:19 +03:00
sanex3339 64b61a7ae7 Migration from tslint on eslint #1 2020-01-30 10:13:28 +03:00
sanex3339 05a172973c Reverted validation errors under node target for sourceMap* options 2020-01-28 22:56:32 +03:00
sanex3339 d0285aa085 A file path will be displayed on obfuscation error 2020-01-21 01:34:43 +03:00
sanex3339 e9ddfdf81d IsAllowedForObfuscationTarget validator 2020-01-19 22:22:50 +03:00
sanex3339 1edf96c0a0 shuffleStringArray option 2020-01-12 19:55:41 +03:00
sanex3339 cd728875f6 Improved source map file name normalizer logic
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/406
2020-01-05 23:30:04 +03:00