Skip to content

Commit

Permalink
chore: Bump axios to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
KuSh committed Nov 10, 2023
1 parent ede0a0d commit fa62c6d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 17 deletions.
4 changes: 2 additions & 2 deletions lib/request/Request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {
AxiosProxyConfig,
AxiosRequestConfig,
AxiosRequestHeaders,
RawAxiosRequestHeaders,
ResponseType,
} from 'axios';
/*types*/
Expand All @@ -20,7 +20,7 @@ export interface RequestConfig {
export interface RequestOptions {
timeout?: number;
proxy?: AxiosProxyConfig;
headers?: AxiosRequestHeaders;
headers?: RawAxiosRequestHeaders;
maxBodyLength?: number;
maxContentLength?: number;
}
Expand Down
34 changes: 23 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@
"docs": "typedoc --tsconfig ./tsconfig.json"
},
"dependencies": {
"axios": "^0.27.2",
"url-join": "^4.0.0",
"json-bigint": "^1.0.0"
"axios": "^1.6.1",
"json-bigint": "^1.0.0",
"url-join": "^4.0.0"
},
"devDependencies": {
"qs": "^6.5.0",
"@babel/core": "^7.18.0",
"@babel/preset-env": "^7.18.0",
"@commitlint/cli": "^17.0.2",
Expand All @@ -94,6 +93,7 @@
"mocha": "^9.0.0",
"nock": "^13.2.4",
"nyc": "^15.1.0",
"qs": "^6.5.0",
"standard-version": "^9.5.0",
"terser-webpack-plugin": "^5.3.1",
"ts-loader": "^9.3.0",
Expand Down

0 comments on commit fa62c6d

Please # to comment.