Skip to content

Commit

Permalink
chore(deps-dev): bump axios from 0.18.1 to 0.21.1 (#132)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump axios from 0.18.1 to 0.21.1

Bumps [axios](https://github.com/axios/axios) from 0.18.1 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](axios/axios@v0.18.1...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update type for axios config field

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randy Schott <1815175+schottra@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and schottra authored Jan 5, 2021
1 parent f2317d5 commit 61a645f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"@xstate/react": "^1.0.0",
"add-asset-html-webpack-plugin": "^2.1.3",
"autoprefixer": "^8.3.0",
"axios": "^0.18.1",
"axios": "^0.21.1",
"axios-mock-adapter": "^1.16.0",
"babel-core": "^7.0.0-0",
"babel-jest": "^25.5.0",
Expand Down
6 changes: 3 additions & 3 deletions src/models/AdminEntity/AdminEntity.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import axios, { AxiosRequestConfig } from 'axios';
import axios, { AxiosRequestConfig, Method } from 'axios';
import { env } from 'common/env';
import { toBoolean } from 'common/utils';

Expand All @@ -23,7 +23,7 @@ import {
*/
async function request(
/** HTTP verb to use */
method: string,
method: Method,
/** API endpoint to use, should not include protocol/host/prefix */
endpoint: string,
/** Admin API options to use for the request */
Expand Down Expand Up @@ -110,7 +110,7 @@ export async function getAdminEntity<ResponseType, TransformedType>(
export interface PostEntityParams<RequestType, ResponseType, TransformedType> {
data: RequestType;
path: string;
method?: string;
method?: Method;
requestMessageType: EncodableType<RequestType>;
responseMessageType: DecodableType<ResponseType>;
transform?: AdminEntityTransformer<ResponseType, TransformedType>;
Expand Down
25 changes: 11 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4796,13 +4796,12 @@ axios-mock-adapter@^1.16.0:
fast-deep-equal "^3.1.1"
is-buffer "^2.0.3"

axios@^0.18.1:
version "0.18.1"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.18.1.tgz#ff3f0de2e7b5d180e757ad98000f1081b87bcea3"
integrity sha512-0BfJq4NSfQXd+SkFdrvFbG7addhYSBA2mQwISr46pD6E5iqkWg02RAs8vyTT/j0RTnoYmeXauBuSv1qKwR179g==
axios@^0.21.1:
version "0.21.1"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8"
integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==
dependencies:
follow-redirects "1.5.10"
is-buffer "^2.0.2"
follow-redirects "^1.10.0"

babel-code-frame@^6.22.0:
version "6.26.0"
Expand Down Expand Up @@ -7036,7 +7035,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.6.0:
dependencies:
ms "2.0.0"

debug@3.1.0, debug@=3.1.0:
debug@3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
Expand Down Expand Up @@ -8564,12 +8563,10 @@ focus-lock@^0.7.0:
resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.7.0.tgz#b2bfb0ca7beacc8710a1ff74275fe0dc60a1d88a"
integrity sha512-LI7v2mH02R55SekHYdv9pRHR9RajVNyIJ2N5IEkWbg7FT5ZmJ9Hw4mWxHeEUcd+dJo0QmzztHvDvWcc7prVFsw==

follow-redirects@1.5.10:
version "1.5.10"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a"
integrity sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==
dependencies:
debug "=3.1.0"
follow-redirects@^1.10.0:
version "1.13.1"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.1.tgz#5f69b813376cee4fd0474a3aba835df04ab763b7"
integrity sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==

for-in@^0.1.3:
version "0.1.8"
Expand Down Expand Up @@ -9993,7 +9990,7 @@ is-buffer@^1.0.2, is-buffer@^1.1.5:
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==

is-buffer@^2.0.2, is-buffer@^2.0.3:
is-buffer@^2.0.3:
version "2.0.4"
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.4.tgz#3e572f23c8411a5cfd9557c849e3665e0b290623"
integrity sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==
Expand Down

0 comments on commit 61a645f

Please sign in to comment.