Skip to content

Commit 7b8ac73

Browse files
Merge pull request #561 from bitbar/revert-560-master
Revert "SDCB-14059 update qs and allow empty arrays serialization"
2 parents bf79321 + 3d84ca2 commit 7b8ac73

7 files changed

Lines changed: 14 additions & 36 deletions

dist/bitbar-cloud-api-client.js

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.min.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

dist/bitbar-cloud-api-client.min.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

package-lock.json

Lines changed: 7 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitbar/cloud-api-client",
3-
"version": "1.5.17",
3+
"version": "1.5.16",
44
"description": "Bitbar Cloud API Client for JavaScript",
55
"main": "dist/bitbar-cloud-api-client.min.js",
66
"types": "dist/index.d.ts",
@@ -79,7 +79,7 @@
7979
"axios": "^0.26.1",
8080
"form-data": "^4.0.4",
8181
"node-abort-controller": "^3.1.1",
82-
"qs": "6.14.0"
82+
"qs": "6.10.3"
8383
},
8484
"overrides": {
8585
"glob": "^9.0.0",

src/api/APIEntity.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ export class APIEntity<RESPONSE = any, QUERY_PARAMS extends QueryParams | void =
233233

234234
protected paramsSerializer(params: DATA | QUERY_PARAMS): string {
235235
return stringify(params, {
236-
arrayFormat: 'brackets',
237-
allowEmptyArrays: true
236+
arrayFormat: 'brackets'
238237
});
239238
}
240239
}

0 commit comments

Comments
 (0)