debugProtectionInteraval option now accepts value in milliseconds instead of boolean value (#1063)

This commit is contained in:
Timofey Kachalov
2022-02-14 19:06:05 +03:00
committed by GitHub
parent 30ba697c55
commit e8e92c601d
21 changed files with 152 additions and 35 deletions
+3 -3
View File
@@ -223,9 +223,9 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
BooleanSanitizer
)
.option(
'--debug-protection-interval <boolean>',
'Disable browser Debug panel even after page was loaded (can cause DevTools enabled browser freeze)',
BooleanSanitizer
'--debug-protection-interval <number>',
'Sets interval in milliseconds for debug protection so it is working even after page was loaded (can cause DevTools enabled browser freeze)',
parseInt
)
.option(
'--disable-console-output <boolean>',