mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Updated dependencies and linter
This commit is contained in:
parent
4f70a79638
commit
5eb3979504
23 changed files with 383 additions and 263 deletions
|
@ -77,7 +77,7 @@ class GroupIPAddresses extends Operation {
|
|||
ip = strToIpv4(match[1]) >>> 0;
|
||||
network = ip & ipv4Mask;
|
||||
|
||||
if (ipv4Networks.hasOwnProperty(network)) {
|
||||
if (network in ipv4Networks) {
|
||||
ipv4Networks[network].push(ip);
|
||||
} else {
|
||||
ipv4Networks[network] = [ip];
|
||||
|
@ -93,7 +93,7 @@ class GroupIPAddresses extends Operation {
|
|||
|
||||
networkStr = ipv6ToStr(network, true);
|
||||
|
||||
if (ipv6Networks.hasOwnProperty(networkStr)) {
|
||||
if (networkStr in ipv6Networks) {
|
||||
ipv6Networks[networkStr].push(ip);
|
||||
} else {
|
||||
ipv6Networks[networkStr] = [ip];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue