Commit Graph
687 Commits
Author SHA1 Message Date
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 b463f774c8 Sync with dev 2020-10-11 11:32:00 +03:00
Timofey Kachalov ac671daa94 Enabled windows builds (#772)
* Improved hierarchy of generated directories when `--output` is a directory path
* Fixed wrong obfuscated files path generation under `windows`. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/576
* Fixed wrong source map path generation under `windows`. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/760
* `javascript-obfuscator` now can be built under `windows` environment
2020-10-08 06:40:04 +03:00
sanex c1c0330609 Simplified scripts and tests 2020-10-05 11:23:28 +03:00
sanex 329b7a2543 Fixed for-await-of construction add when deadCodeInjection option is enabled 2020-10-01 20:59:33 +03:00
sanex 816a7a5a40 Fixed URI-malformed when splitStrings and stringArrayEncoding options are enabled
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/530
2020-09-30 10:32:42 +03:00
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 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 b4aa4d8edc Update webpack to v5 2020-09-18 10:35:00 +03:00
sanex b19e87fdfa Updated @types/node and @types/webpack-env 2020-09-17 20:33:43 +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 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 09e89f8fe6 Fixed stringArrayWrappersCount behaviour with arrow function scope without statements 2020-09-12 13:59:07 +03:00
sanex 9b5eba5363 Fixed stringArrayCallsWrapper option with mangled names generator 2020-09-12 00:05:47 +03:00
sanex 84432e87e8 Improved stringArrayIntermediateVariablesCount option with function intermediate calls 2020-09-10 10:43:14 +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 75b8e9ca9d Updated @types/estree and @types/node 2020-09-03 09:34:15 +03:00
sanex 340b7283be Dependencies update. Added Test for emoji split with splitStrings option 2020-09-02 09:38:03 +03:00
sanex 83208b22f2 Updated esrecurse to 4.3.0. Dependencies update. 2020-09-01 09:18:01 +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 c7e30aa3e2 Dependencies update 25.08.2020 2020-08-25 21:14:13 +03:00
sanex cc7b36792a Added tests for rename-properties invalid literal node type 2020-08-25 10:09:35 +03:00
sanex 5c749343f2 Dependencies update 24.08.2020 2020-08-24 21:11:17 +03:00
sanex 9c04ededc7 Reorganized transformers structure and order 2020-08-23 09:27:35 +03:00
sanex 7fb26b3a66 Updated typescript to 4.0.0 2020-08-22 08:54:41 +03:00
sanex 0f2f0c2c34 Improved rename of deadCodeInjection dead code identifiers. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/708 2020-08-18 13:57:53 +03:00
sanex dce365079c Renamed ScopeIdentifiersTraverser methods, interfaces and types to more concrete variable traverse 2020-08-17 00:51:58 +03:00
sanex da41272ef7 Fixed obfuscation of literals of ExportNamedDeclaration and ExportAllDeclaration nodes 2020-08-14 23:59:57 +03:00
sanex 9ff565f4e3 Prevent properties with get and set kinds from extraction with transformObjectKeys option. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/707 2020-08-14 20:52:53 +03:00
sanex a60c0c5346 Acorn@8 version update + fixed ScopeIdentifiersTransformer logic 2020-08-14 02:26:37 +03:00
sanex3339 bb7706d753 Dependencies update 11.08.08 2020-08-11 13:24:46 +03:00
sanex3339 971c02aed2 Added optional-chaining support 2020-08-06 10:28:49 +03:00
sanex3339 88d0cbfc99 estraverse and escodegen update 2020-08-06 09:18:38 +03:00
sanex3339 af0649bb56 Improved disableConsoleOutput template. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/691 2020-08-04 10:36:13 +03:00
sanex3339 8841bcd2e9 Increased version number 2020-07-31 18:18:16 +03:00
sanex3339 7ce5f964d6 Improved ObjectPatternPropertiesTransformer logic. Added tests. 2020-07-31 17:58:20 +03:00
sanex3339 c85f6c0092 Added ObjectPatternPropertiesTransformer. Added helper for stubbing selected node transformers. 2020-07-31 10:28:27 +03:00
sanex3339 5a666436f1 Fixed runtime error Uncaught SyntaxError: yield is a reserved identifier when deadCodeInjection is enabled 2020-07-27 23:19:53 +03:00
sanex3339 2f04b379c9 domainLock option patterns with leading dot character (.example.com) now cover root domains (example.com) in addition to all sub-domains (sub.example.com) 2020-07-26 13:09:59 +03:00
sanex3339 4049b5e67f Dependencies update 21.07.20 2020-07-21 10:01:36 +03:00
sanex3339 1fa712f9f7 Dependencies update 19.07.20 2020-07-19 22:48:26 +03:00
sanex3339 a551106cad Dependencies update 2020-07-17 09:27:26 +03:00