mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 14:01:42 +03:00
fix: lint
This commit is contained in:
1 parent
c3c956bb6e
commit
ec6c5b4066
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
import { maskString } from 'data-guardian';
|
import { type SensitiveContentKey, maskString } from 'data-guardian';
|
||||||
import ipRegex from 'ip-regex';
|
import ipRegex from 'ip-regex';
|
||||||
|
|
||||||
const jwtRegex = /\b([a-zA-Z0-9_=]{5,})\.([a-zA-Z0-9_=]{5,})\.([a-zA-Z0-9_\-\+\/=]{5,})\b/g;
|
const jwtRegex = /\b([a-zA-Z0-9_=]{5,})\.([a-zA-Z0-9_=]{5,})\.([a-zA-Z0-9_\-\+\/=]{5,})\b/g;
|
||||||
@@ -29,6 +29,6 @@ export function maskSensitiveData({
|
|||||||
}, {
|
}, {
|
||||||
excludeMatchers: [...excludedMatchers, ...[
|
excludeMatchers: [...excludedMatchers, ...[
|
||||||
'passwordMention', 'password', 'passwordSubstring',
|
'passwordMention', 'password', 'passwordSubstring',
|
||||||
]],
|
]] as SensitiveContentKey[],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user