mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
Fix glob processing in npm. Ban single param parens (#257)
This commit is contained in:
@@ -109,7 +109,7 @@ export class Analytics {
|
||||
}
|
||||
const pathParts = pagePath.split('/');
|
||||
const newPathParts: string[] = [];
|
||||
pathParts.forEach((p) => {
|
||||
pathParts.forEach(p => {
|
||||
if (p.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i)) {
|
||||
newPathParts.push('__guid__');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user