From 9ad8943b6d6358ba54297161d32c2da00d21d9d3 Mon Sep 17 00:00:00 2001 From: yudejp Date: Fri, 28 May 2021 10:42:33 +0900 Subject: [PATCH] Add packages: axios, swr --- package.json | 2 ++ yarn.lock | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/package.json b/package.json index 6e99ebc..e7ed3b1 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "@fortawesome/react-fontawesome": "^0.1.14", "@tailwindcss/typography": "^0.4.0", "autoprefixer": "^10.2.5", + "axios": "^0.21.1", "next": "^10.2.2", "next-themes": "^0.0.14", "next-translate": "^1.0.7", @@ -39,6 +40,7 @@ "react-markdown": "^6.0.2", "react-switch": "^6.0.0", "remark-gfm": "^1.0.0", + "swr": "^0.5.6", "tailwindcss": "^2.1.2", "tailwindcss-filters": "^3.0.0", "tailwindcss-responsive-embed": "^1.0.0", diff --git a/yarn.lock b/yarn.lock index 5b0e5c8..b24aa66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -549,6 +549,13 @@ available-typed-arrays@^1.0.2: dependencies: array.prototype.filter "^1.0.0" +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.10.0" + babel-plugin-inline-react-svg@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/babel-plugin-inline-react-svg/-/babel-plugin-inline-react-svg-2.0.1.tgz#68c9c119d643a8f2d7bf939b942534d89ae3ade9" @@ -1081,6 +1088,11 @@ depd@~1.1.2: resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= +dequal@2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.2.tgz#85ca22025e3a87e65ef75a7a437b35284a7e319d" + integrity sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug== + des.js@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" @@ -1372,6 +1384,11 @@ find-up@^4.0.0: locate-path "^5.0.0" path-exists "^4.0.0" +follow-redirects@^1.10.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.1.tgz#d9114ded0a1cfdd334e164e6662ad02bfd91ff43" + integrity sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg== + foreach@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" @@ -3208,6 +3225,13 @@ svgo@^2.0.3: csso "^4.2.0" stable "^0.1.8" +swr@^0.5.6: + version "0.5.6" + resolved "https://registry.yarnpkg.com/swr/-/swr-0.5.6.tgz#70bfe9bc9d7ac49a064be4a0f4acf57982e55a31" + integrity sha512-Bmx3L4geMZjYT5S2Z6EE6/5Cx6v1Ka0LhqZKq8d6WL2eu9y6gHWz3dUzfIK/ymZVHVfwT/EweFXiYGgfifei3w== + dependencies: + dequal "2.0.2" + tailwindcss-aspect-ratio@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/tailwindcss-aspect-ratio/-/tailwindcss-aspect-ratio-3.0.0.tgz#4f9fc7ca0f3468373290faaa8b92652157bee6a4"