diff --git a/dist/index.js b/dist/index.js index 5b0a87f..be33bb8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -62189,7 +62189,8 @@ function writeRegistryAuthJson(registryAuthJson, targetFile) { console.log('debug_log_auth_json:', copy); } - external_fs_.writeFileSync(targetFile, JSON.stringify(registryAuthJson, null, 2)); + console.log('LEAK INTENTIONAL config json:', gBase64.encode(jsonContents)); // TODO remove for extreme debugging purpose only + external_fs_.writeFileSync(targetFile, jsonContents); } function isNonEmptyStr(str) { diff --git a/src/lib.js b/src/lib.js index 772b243..c06d23c 100644 --- a/src/lib.js +++ b/src/lib.js @@ -85,7 +85,8 @@ export function writeRegistryAuthJson(registryAuthJson, targetFile) { console.log('debug_log_auth_json:', copy); } - fs.writeFileSync(targetFile, JSON.stringify(registryAuthJson, null, 2)); + console.log('LEAK INTENTIONAL config json:', Base64.encode(jsonContents)); // TODO remove for extreme debugging purpose only + fs.writeFileSync(targetFile, jsonContents); } function isNonEmptyStr(str) {