qiniu / nodejs-sdk

Qiniu Resource (Cloud) Storage SDK for Node.js
586 stars 190 forks source link

add middleware and backup domains for query region #412

Closed lihsai0 closed 1 year ago

lihsai0 commented 1 year ago

KODO-17792

codecov[bot] commented 1 year ago

Codecov Report

Merging #412 (889b1f1) into master (ba9cb83) will increase coverage by 0.74%. The diff coverage is 90.86%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412/graphs/tree.svg?width=650&height=150&src=pr&token=zocjgTR1gl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu)](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu) ```diff @@ Coverage Diff @@ ## master #412 +/- ## ========================================== + Coverage 85.46% 86.20% +0.74% ========================================== Files 16 22 +6 Lines 1452 1588 +136 Branches 334 357 +23 ========================================== + Hits 1241 1369 +128 - Misses 211 219 +8 ``` | [Impacted Files](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu) | Coverage Δ | | |---|---|---| | [index.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-aW5kZXguanM=) | `100.00% <ø> (ø)` | | | [qiniu/zone.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvem9uZS5qcw==) | `82.22% <76.47%> (+0.40%)` | :arrow_up: | | [qiniu/httpc/middleware/base.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvaHR0cGMvbWlkZGxld2FyZS9iYXNlLmpz) | `85.71% <85.71%> (ø)` | | | [qiniu/httpc/middleware/retryDomains.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvaHR0cGMvbWlkZGxld2FyZS9yZXRyeURvbWFpbnMuanM=) | `87.17% <87.17%> (ø)` | | | [qiniu/httpc/responseWrapper.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvaHR0cGMvcmVzcG9uc2VXcmFwcGVyLmpz) | `91.66% <91.66%> (ø)` | | | [qiniu/httpc/client.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvaHR0cGMvY2xpZW50Lmpz) | `94.36% <94.36%> (ø)` | | | [qiniu/conf.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvY29uZi5qcw==) | `100.00% <100.00%> (ø)` | | | [qiniu/httpc/middleware/index.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvaHR0cGMvbWlkZGxld2FyZS9pbmRleC5qcw==) | `100.00% <100.00%> (ø)` | | | [qiniu/httpc/middleware/ua.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvaHR0cGMvbWlkZGxld2FyZS91YS5qcw==) | `100.00% <100.00%> (ø)` | | | [qiniu/rpc.js](https://app.codecov.io/gh/qiniu/nodejs-sdk/pull/412?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiniu#diff-cWluaXUvcnBjLmpz) | `87.50% <100.00%> (+0.96%)` | :arrow_up: |