Skip to content

Commit

Permalink
chore: update package-lock.json and readme(#1260)
Browse files Browse the repository at this point in the history
* fix: add proxy-agent dependencies

* fix: enableProxy=true need install proxy-agent

* fix: enableProxy=true need install proxy-agent

* fix: enableProxy=true need install proxy-agent

* fix: enableProxy=true need install proxy-agent

* fix: enableProxy=true need install proxy-agent

* fix: enableProxy=true need install proxy-agent

* fix: enableProxy=true need install proxy-agent

* fix: enableProxy=true need install proxy-agent

---------

Co-authored-by: csg01123119 <[email protected]>
  • Loading branch information
shungang and csg01123119 authored Aug 12, 2024
1 parent 4c028d6 commit 1470e7d
Show file tree
Hide file tree
Showing 5 changed files with 18,850 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ lib/common/utils/createRequest.js
lib/common/utils/encodeString.js
lib/common/utils/getStandardRegion.js

lib/common/bucket/putBucketInventory.d.ts
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ build
test/node/.tmp
test/browser/.tmp
test/demo.js
yarn.lock
package-lock.json
.nyc_output/
.env

Expand Down
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ dist/

lib/common/utils/createRequest.js
lib/common/utils/encodeString.js
lib/common/utils/getStandardRegion.js
lib/common/utils/getStandardRegion.js

lib/common/bucket/putBucketInventory.d.ts
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ options:
the details you can see [requestPay](https://help.aliyun.com/document_detail/91337.htm)
- [useFetch] {Boolean}, default false, it just work in Browser, if true,it means upload object with
`fetch` mode ,else `XMLHttpRequest`
- [enableProxy] {Boolean}, Enable proxy request, default is false.
- [enableProxy] {Boolean}, Enable proxy request, default is false. **_NOTE:_** When enabling proxy request, please ensure that proxy-agent is installed.
- [proxy] {String | Object}, proxy agent uri or options, default is null.
- [retryMax] {Number}, used by auto retry send request count when request error is net error or timeout. **_NOTE:_** Not support `put` with stream, `putStream`, `append` with stream because the stream can only be consumed once
- [maxSockets] {Number} Maximum number of sockets to allow per host. Default is infinity
Expand Down
Loading

0 comments on commit 1470e7d

Please sign in to comment.