Skip to content

Commit

Permalink
feat!: updated axios to v0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Oct 12, 2021
1 parent 861567a commit 1713bb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,15 @@ yarn add axios axios-cache-interceptor
## Support list

Below you can check what version of this package is supported by your version of axios.
But that does not mean that won't work with any version. Most of "breaking changes" made
by axios was it's types.

> **NOTE**: Below v0.3, axios was not configured as a peer dependency
| [Version](https://github.com/ArthurFiorette/axios-cache-interceptor/releases) | [Axios](https://github.com/axios/axios/releases) |
| ----------------------------------------------------------------------------- | ------------------------------------------------ |
| `v0.3` | `>= v0.22` |
| `~v0.4` | `>= v0.22` |
| `~v0.3` | `>= v0.22` |
| `<= v0.2` | `v0.21` |

<br />
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"auto-changelog": "^2.3.0",
"axios": "^0.22.0",
"axios": "^0.23.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
Expand All @@ -59,6 +59,6 @@
"typescript": "^4.4.3"
},
"peerDependencies": {
"axios": "~0.22.0"
"axios": "~0.23.0"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -891,10 +891,10 @@ auto-changelog@^2.3.0:
parse-github-url "^1.0.2"
semver "^6.3.0"

axios@^0.22.0:
version "0.22.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.22.0.tgz#bf702c41fb50fbca4539589d839a077117b79b25"
integrity sha512-Z0U3uhqQeg1oNcihswf4ZD57O3NrR1+ZXhxaROaWpDmsDTx7T2HNBV2ulBtie2hwJptu8UvgnJoK+BIqdzh/1w==
axios@^0.23.0:
version "0.23.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.23.0.tgz#b0fa5d0948a8d1d75e3d5635238b6c4625b05149"
integrity sha512-NmvAE4i0YAv5cKq8zlDoPd1VLKAqX5oLuZKs8xkJa4qi6RGn0uhCYFjWtHHC9EM/MwOwYWOs53W+V0aqEXq1sg==
dependencies:
follow-redirects "^1.14.4"

Expand Down

0 comments on commit 1713bb0

Please sign in to comment.