diff --git a/README.md b/README.md index a811ae08..24d633f3 100644 --- a/README.md +++ b/README.md @@ -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` |
diff --git a/package.json b/package.json index 03123e66..62fa28a4 100644 --- a/package.json +++ b/package.json @@ -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", @@ -59,6 +59,6 @@ "typescript": "^4.4.3" }, "peerDependencies": { - "axios": "~0.22.0" + "axios": "~0.23.0" } } diff --git a/yarn.lock b/yarn.lock index 729acd9e..46d4e02c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"