Comparing version 4.0.0 to 4.0.1
@@ -136,3 +136,3 @@ "use strict"; | ||
opts.paramsSerializer = opts.paramsSerializer || this.paramsSerializer; | ||
if (opts.params) { | ||
if (opts.params && Object.keys(opts.params).length > 0) { | ||
let additionalQueryParams = opts.paramsSerializer(opts.params); | ||
@@ -139,0 +139,0 @@ if (additionalQueryParams.startsWith('?')) { |
# Changelog | ||
### [4.0.1](https://www.github.com/googleapis/gaxios/compare/v4.0.0...v4.0.1) (2020-10-27) | ||
### Bug Fixes | ||
* prevent bonus ? with empty qs params ([#357](https://www.github.com/googleapis/gaxios/issues/357)) ([b155f76](https://www.github.com/googleapis/gaxios/commit/b155f76cbc4c234da1d99c26691296702342c205)) | ||
## [4.0.0](https://www.github.com/googleapis/gaxios/compare/v3.2.0...v4.0.0) (2020-10-21) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "gaxios", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "A simple common HTTP client specifically for Google APIs and services.", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
Sorry, the diff of this file is not supported yet
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
58589