google-auth-library
Advanced tools
Comparing version 9.14.0 to 9.14.1
@@ -508,11 +508,11 @@ "use strict"; | ||
} | ||
let s = ''; | ||
const chunks = []; | ||
inputStream | ||
.setEncoding('utf8') | ||
.on('error', reject) | ||
.on('data', chunk => (s += chunk)) | ||
.on('data', chunk => chunks.push(chunk)) | ||
.on('end', () => { | ||
try { | ||
try { | ||
const data = JSON.parse(s); | ||
const data = JSON.parse(chunks.join('')); | ||
const r = this._cacheClientFromJSON(data, options); | ||
@@ -519,0 +519,0 @@ return resolve(r); |
{ | ||
"name": "google-auth-library", | ||
"version": "9.14.0", | ||
"version": "9.14.1", | ||
"author": "Google Inc.", | ||
@@ -5,0 +5,0 @@ "description": "Google APIs Authentication Client Library for Node.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
603824