mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Updated self defending template #5
This commit is contained in:
@@ -11,3 +11,4 @@ npm-debug.log
|
||||
/tmp
|
||||
/test/benchmark/**/**
|
||||
*dockerfile
|
||||
/test*.js
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -9,7 +9,7 @@ export function SelfDefendingNoEvalTemplate (): string {
|
||||
{globalVariableTemplate}
|
||||
|
||||
return that
|
||||
.RegExp('(.*)+.*}')
|
||||
.RegExp('((.*)+)+$')
|
||||
.test({selfDefendingFunctionName});
|
||||
});
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ export function SelfDefendingTemplate (): string {
|
||||
return {selfDefendingFunctionName}
|
||||
.constructor('return /" + this + "/')
|
||||
.call()
|
||||
.constructor('(.*)+.*}')
|
||||
.constructor('((.*)+)+$')
|
||||
.test({selfDefendingFunctionName});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user