mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
update deps
This commit is contained in:
@@ -182,12 +182,12 @@ export class JavaScriptObfuscatorCLI {
|
||||
.option(
|
||||
'--domainLock <list>',
|
||||
'Blocks the execution of the code in domains that do not match the passed RegExp patterns (comma separated)',
|
||||
(val: string) => val.split(',')
|
||||
(value: string) => value.split(',')
|
||||
)
|
||||
.option(
|
||||
'--reservedNames <list>',
|
||||
'Disable obfuscation of variable names, function names and names of function parameters that match the passed RegExp patterns (comma separated)',
|
||||
(val: string) => val.split(',')
|
||||
(value: string) => value.split(',')
|
||||
)
|
||||
.option(
|
||||
'--rotateStringArray <boolean>', 'Disable rotation of unicode array values during obfuscation',
|
||||
@@ -286,7 +286,10 @@ export class JavaScriptObfuscatorCLI {
|
||||
options.sourceMapFileName || ''
|
||||
);
|
||||
|
||||
options.sourceMapFileName = path.basename(outputSourceMapPath);
|
||||
options = {
|
||||
...options,
|
||||
sourceMapFileName: path.basename(outputSourceMapPath)
|
||||
};
|
||||
|
||||
const obfuscationResult: IObfuscationResult = JavaScriptObfuscator.obfuscate(this.data, options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user