Literal replacer refactoring

This commit is contained in:
sanex3339
2020-01-12 17:48:02 +03:00
parent b5aac6e03b
commit b764844696
33 changed files with 540 additions and 263 deletions
+4 -3
View File
@@ -7,9 +7,10 @@ import { NO_ADDITIONAL_NODES_PRESET } from '../../src/options/presets/NoCustomNo
let obfuscatedCode: string = JavaScriptObfuscator.obfuscate(
`
class Foo {
'bar'() {}
}
var foo = 'foo';
var bar = 'bar';
var baz = 'baz';
var bark = 'bark';
`,
{
...NO_ADDITIONAL_NODES_PRESET,