mirror of
https://github.com/gchq/CyberChef
synced 2025-12-19 01:33:45 +00:00
Updated dependencies and linter
This commit is contained in:
@@ -45,11 +45,11 @@ for (const opObj in Ops) {
|
||||
args: op.args
|
||||
};
|
||||
|
||||
if (op.hasOwnProperty("patterns")) {
|
||||
if ("patterns" in op) {
|
||||
operationConfig[op.name].patterns = op.patterns;
|
||||
}
|
||||
|
||||
if (!modules.hasOwnProperty(op.module))
|
||||
if (!(op.module in modules))
|
||||
modules[op.module] = {};
|
||||
modules[op.module][op.name] = opObj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user