Commit Graph
2255 Commits
Author SHA1 Message Date
sanex 1dbfd24237 renameProperties option now won't generate duplicated property names in some cases 2021-07-16 18:46:50 +03:00
Timofey Kachalov e4293809b8 Merge pull request #953 from javascript-obfuscator/string-array-function-calls-wrappers-improvements
`stringArrayWrappersType: 'function'` now generates different indexes…
2021-07-16 17:53:22 +03:00
sanex 88ea1a2789 Completely removed lexical scope storage logic and data for generation scope calls wrappers 2021-07-16 03:14:21 +03:00
sanex a1dc2df04f stringArrayWrappersType: 'function' now generates different indexes between each wrapper inside the same lexical scope 2021-07-16 02:47:32 +03:00
Timofey Kachalov 496eb920f0 Merge pull request #952 from javascript-obfuscator/string-array-calls-wrappers-as-function-declarations
`stringArrayWrappersType: 'function'` as function declarations
2021-07-15 22:11:42 +03:00
sanex 3a71c78304 * stringArrayWrappersType: 'function' now appends FunctionDeclaration functions instead of FunctionExpression functions. This allows to append these wrappers at random positions inside each scope 2021-07-15 21:24:44 +03:00
Timofey Kachalov 985cb7e0ba Merge pull request #951 from javascript-obfuscator/transform-object-keys-call-expression
To increase performance and prevent possible runtime errors `transfor…
2021-07-15 17:00:40 +03:00
sanex 7a93c8ca3e Reverted dev.ts file 2021-07-15 12:12:14 +03:00
sanex fdd03c15c5 To increase performance and prevent possible runtime errors transformObjectKeys option now completely ignores objects with NewExpression nodes 2021-07-15 11:44:08 +03:00
sanex d62bf3d377 To increase performance and prevent possible runtime errors transformObjectKeys option now completely ignores objects with CallExpression nodes 2021-07-15 10:52:44 +03:00
sanex 3007099aec Dependencies update 23.06.21 2021-06-23 14:15:52 +03:00
Timofey Kachalov ac8b8c4b07 Merge pull request #942 from javascript-obfuscator/string-array-templates-improvements
Improved `stringArray` calls wrapper decode code
2.15.5
2021-06-21 00:46:44 +03:00
sanex f7c5215e30 Improved stringArray calls wrapper decode code 2021-06-20 10:10:49 +03:00
sanex a4d3081f34 Dependencies update. Updated README.md with an updated examples 2021-06-18 10:48:46 +03:00
Timofey Kachalov 08aad1b706 Merge pull request #941 from javascript-obfuscator/improved-calls-wrapper-template
Improved `stringArray` calls wrapper templates
2.15.4
2021-06-17 20:38:38 +03:00
sanex 5683e75a91 Improved stringArray calls wrapper templates 2021-06-17 19:38:22 +03:00
Timofey Kachalov 993cf7a2a8 Merge pull request #940 from javascript-obfuscator/dead-code-injection-string-array-chained-calls-integration
Dead code injection unwrap stage now runs before string array transfo…
2.15.3
2021-06-16 10:45:10 +03:00
sanex 899456f553 Dead code injection unwrap stage now runs before string array transformers 2021-06-16 09:43:56 +03:00
sanex 0f0eb279a9 Removed some old info from README.md 2021-06-16 09:14:14 +03:00
Timofey Kachalov b26692ae04 Merge pull request #938 from javascript-obfuscator/transform-object-keys-this-expression
Fixed invalid behaviour of `transformObjectKeys` option when object values contains `this` references
2.15.2
2021-06-13 12:21:43 +03:00
sanex 65bc30790d Added more tests for sequence expression and this reference 2021-06-13 11:59:35 +03:00
sanex d46fb7bce1 Updated CHANGELOG.md 2021-06-13 11:42:15 +03:00
sanex 3cf94b7152 Fixed invalid behaviour of transformObjectKeys option when object values contains this references 2021-06-13 11:23:31 +03:00
Timofey Kachalov 21c6fa803d Merge pull request #936 from javascript-obfuscator/domain-lock-destination
`domainDest` => `domainLockRedirectUrl` option rename
2.15.1
2021-06-11 11:17:04 +03:00
sanex 616ae59d75 domainDest => domainLockRedirectUrl option rename 2021-06-11 10:38:23 +03:00
sanex ada04e5106 Updated domainLock option description 2021-06-11 09:54:47 +03:00
Timofey Kachalov 4730e785b6 Merge pull request #932 from javascript-obfuscator/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-06-11 00:17:33 +03:00
Timofey Kachalov 461eed22cc Merge pull request #928 from javascript-obfuscator/dependabot/npm_and_yarn/glob-parent-5.1.2
Bump glob-parent from 5.1.1 to 5.1.2
2021-06-11 00:17:24 +03:00
Timofey Kachalov f61dc766ad Merge pull request #933 from javascript-obfuscator/dependabot/npm_and_yarn/y18n-4.0.3
Bump y18n from 4.0.0 to 4.0.3
2021-06-11 00:17:16 +03:00
Timofey Kachalov ce0c18f971 Merge pull request #931 from javascript-obfuscator/dependabot/npm_and_yarn/yargs-parser-18.1.3
Bump yargs-parser from 18.1.1 to 18.1.3
2021-06-11 00:17:05 +03:00
sanex eaf005cb09 Added improved domainDest option validation 2021-06-10 23:52:52 +03:00
Timofey Kachalov 0096f168ef Merge pull request #935 from javascript-obfuscator/improved-domain-dest-validation
Added improved `domainDest` option validation
2.15.0
2021-06-10 23:39:25 +03:00
sanex 4eca2178fd Added improved domainDest option validation 2021-06-10 22:15:48 +03:00
dependabot[bot] fbcc776408 Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:30:03 +00:00
dependabot[bot] d7389fe7a9 Bump yargs-parser from 18.1.1 to 18.1.3
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 18.1.1 to 18.1.3.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs-parser/compare/v18.1.1...v18.1.3)

---
updated-dependencies:
- dependency-name: yargs-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:29:51 +00:00
dependabot[bot] d4f4620082 Bump glob-parent from 5.1.1 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:29:48 +00:00
Timofey Kachalov 36a6c2204f Merge pull request #934 from javascript-obfuscator/version-2.15.0
Some minor fixes for `domainDest` option description. Added normalisa…
2021-06-10 21:29:00 +03:00
sanex da40474079 Some minor fixes for domainDest option description. Added normalisation. Version update. 2021-06-10 20:43:49 +03:00
dependabot[bot] 620da148b3 Bump y18n from 4.0.0 to 4.0.3
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

---
updated-dependencies:
- dependency-name: y18n
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 17:25:56 +00:00
Timofey Kachalov 5019500c07 Merge pull request #899 from erikdubbelboer/domain-dest
Add domainDest option
2021-06-10 20:25:21 +03:00
Erik Dubbelboer 02c5e8de0b Add CLI option 2021-06-10 16:32:50 +02:00
Erik Dubbelboer bbba8252de Use isNameVariant1 etc for naming, update README 2021-06-10 16:10:10 +02:00
Erik Dubbelboer 7a5b7ab055 Use isName_xx functions 2021-06-10 16:09:44 +02:00
Erik Dubbelboer 8a81043dd3 Add domainDest option 2021-06-10 16:09:44 +02:00
sanex 6f703d7e36 Updated year in README.md 2021-06-09 14:51:16 +03:00
Timofey Kachalov 7f5ed7f235 Merge pull request #929 from javascript-obfuscator/get-options-method 2021-06-09 11:35:55 +03:00
sanex 515dc82e17 Added getOptions method to IObfuscationResult 2021-06-09 09:49:19 +03:00
sanex 32e1dad4bc Added error output in identifiers collision test 2021-05-31 21:14:10 +03:00
sanex 483e7d92d3 Slightly fixed identifierNamesOption code example #3 2021-05-31 20:43:17 +03:00
sanex aa16e019ab Slightly fixed identifierNamesOption code example #2 2021-05-31 20:42:35 +03:00