From d5905216830399a2af8430508348f44db3a38df1 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Thu, 16 Dec 2021 17:45:15 -0300 Subject: [PATCH] Add swr dependency --- package-lock.json | 15 +++++++++++++++ package.json | 1 + 2 files changed, 16 insertions(+) diff --git a/package-lock.json b/package-lock.json index cf4556c..2c79b40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,6 +46,7 @@ "react-scripts": "4.0.3", "react-syntax-highlighter": "^15.4.5", "serve": "^13.0.2", + "swr": "^1.1.1", "typescript": "^4.5.4", "use-keyboard-shortcut": "^1.1.0", "web-vitals": "^1.0.1" @@ -17205,6 +17206,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/swr": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/swr/-/swr-1.1.1.tgz", + "integrity": "sha512-ZpUHyU3N3snj2QGFeE2Fd3BXl1CVS6YQIQGb1ttPAkTmvwZqDyV3GRMNPsaeAYCBM74tfn4XbKx28FVQR0mS7Q==", + "peerDependencies": { + "react": "^16.11.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/symbol-tree": { "version": "3.2.4", "license": "MIT" @@ -31069,6 +31078,12 @@ } } }, + "swr": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/swr/-/swr-1.1.1.tgz", + "integrity": "sha512-ZpUHyU3N3snj2QGFeE2Fd3BXl1CVS6YQIQGb1ttPAkTmvwZqDyV3GRMNPsaeAYCBM74tfn4XbKx28FVQR0mS7Q==", + "requires": {} + }, "symbol-tree": { "version": "3.2.4" }, diff --git a/package.json b/package.json index f738e5d..fc8845f 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "react-scripts": "4.0.3", "react-syntax-highlighter": "^15.4.5", "serve": "^13.0.2", + "swr": "^1.1.1", "typescript": "^4.5.4", "use-keyboard-shortcut": "^1.1.0", "web-vitals": "^1.0.1"