googleapis-common
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -155,9 +155,9 @@ "use strict"; | ||
const finale = `--${boundary}--`; | ||
const flush = function ( | ||
// tslint:disable-next-line no-any | ||
callback) { | ||
this.push('\r\n'); | ||
callback(undefined, finale); | ||
}; | ||
const rStream = new stream.PassThrough({ flush }); | ||
const rStream = new stream.PassThrough({ | ||
flush(callback) { | ||
this.push('\r\n'); | ||
this.push(finale); | ||
callback(); | ||
} | ||
}); | ||
const pStream = new ProgressStream(); | ||
@@ -164,0 +164,0 @@ const isStream = isReadableStream(multipart[1].body); |
@@ -7,2 +7,8 @@ # Changelog | ||
## v0.7.2 | ||
01-26-2019 21:18 PST | ||
- fix: explicit push of finale for multipart/related streams to fix node.js 6 ([#82](https://github.com/googleapis/nodejs-googleapis-common/pull/82)) | ||
## v0.7.1 | ||
@@ -9,0 +15,0 @@ |
{ | ||
"name": "googleapis-common", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "A common tooling library used by the googleapis npm module. You probably don't want to use this directly.", | ||
@@ -51,3 +51,3 @@ "repository": "googleapis/nodejs-googleapis-common", | ||
"is-docker": "^1.1.0", | ||
"karma": "^3.1.4", | ||
"karma": "^4.0.0", | ||
"karma-chrome-launcher": "^2.2.0", | ||
@@ -54,0 +54,0 @@ "karma-coverage": "^1.1.2", |
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
59381