node_modules: update (#349)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurlaanddawidd6 authored and GitHub committed 2026-10-18 15:39:30 +02:00
1 parent 9d0c26ec8b
commit 0a1f5db16c
36 files changed
+1934 -648

No files matched your search

+8 -2
View File
@@ -226,8 +226,14 @@ class XOAuth2 extends Stream {
grant_type: 'refresh_token'
};
}
Object.assign(urlOptions, this.options.customParams);
Object.assign(loggedUrlOptions, this.options.customParams);
const customParams = this.options.customParams || {};
Object.assign(urlOptions, customParams);
// a custom param is as likely to be a client assertion or an API key as a tenant
// name, so the log gets the same glimpse of it that it gets of the client secret
for (const key of Object.keys(customParams)) {
const param = customParams[key];
loggedUrlOptions[key] = (param === undefined || param === null ? '' : String(param)).substr(0, 6) + '...';
}
this.logger.debug({
tnx: 'OAUTH2',
user: this.options.user,