Skip to content

Commit f5715de

Browse files
davidkna-sapKavithaSivacloud-sdk-jsmarikaner
authored
feat: Add Middleware for HTTP-request compression (#6291)
--------- Co-authored-by: KavithaSiva <[email protected]> Co-authored-by: cloud-sdk-js <[email protected]> Co-authored-by: Marika Marszalkowski <[email protected]>
1 parent 1c9109f commit f5715de

File tree

6 files changed

+677
-4
lines changed

6 files changed

+677
-4
lines changed

.changeset/ready-meals-study.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@sap-cloud-sdk/http-client': minor
3+
---
4+
5+
[Improvement] Add request compression middleware.
6+
Use the `compress()` middleware to compress HTTP request payloads using gzip, brotli, deflate, or zstd algorithms.
7+
Supports multiple compression modes: auto (size-based), passthrough (pre-compressed), or forced compression.

packages/eslint-config/flat-config.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,15 @@ const flatConfig = [
210210
'jsdoc/check-param-names': 'error',
211211
'jsdoc/check-tag-names': [
212212
'error',
213-
{ definedTags: ['packageDocumentation', 'typeParam', 'experimental'] }
213+
{
214+
definedTags: [
215+
'defaultValue',
216+
'experimental',
217+
'packageDocumentation',
218+
'remarks',
219+
'typeParam'
220+
]
221+
}
214222
],
215223
'jsdoc/check-syntax': 'error',
216224
'jsdoc/multiline-blocks': 'error',

packages/eslint-config/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,11 @@ module.exports = {
217217
'error',
218218
{
219219
definedTags: [
220-
'packageDocumentation',
221-
'typeParam',
220+
'defaultValue',
222221
'experimental',
223-
'defaultValue'
222+
'packageDocumentation',
223+
'remarks',
224+
'typeParam'
224225
],
225226
// The other default-allowed tags are not supported by tsdoc
226227
inlineTags: ['link']

0 commit comments

Comments
 (0)