From 1c574e603c356c8beeeeed49ef86544413689728 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Feb 2023 02:04:48 +0000 Subject: [PATCH] Bump swr from 1.3.0 to 2.0.4 Bumps [swr](https://github.com/vercel/swr) from 1.3.0 to 2.0.4. - [Release notes](https://github.com/vercel/swr/releases) - [Commits](https://github.com/vercel/swr/compare/1.3.0...v2.0.4) --- updated-dependencies: - dependency-name: swr dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 24 ++++++++++++++++-------- package.json | 2 +- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index a871e8fa9175..496a72f916d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -80,7 +80,7 @@ "slash": "^5.0.0", "strip-html-comments": "^1.0.0", "styled-components": "^5.3.5", - "swr": "^1.3.0", + "swr": "^2.0.4", "ts-dedent": "^2.2.0", "unified": "^10.1.2", "unist-util-visit": "^4.1.0", @@ -19022,9 +19022,15 @@ } }, "node_modules/swr": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/swr/-/swr-1.3.0.tgz", - "integrity": "sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/swr/-/swr-2.0.4.tgz", + "integrity": "sha512-4GUiTjknRUVuw4MWUHR7mzJ9G/DWL+yZz/TgWDfiA0OZ9tL6qyrTkN2wPeboBpL3OJTkej3pexh3mWCnv8cFkQ==", + "dependencies": { + "use-sync-external-store": "^1.2.0" + }, + "engines": { + "pnpm": "7" + }, "peerDependencies": { "react": "^16.11.0 || ^17.0.0 || ^18.0.0" } @@ -33874,10 +33880,12 @@ "dev": true }, "swr": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/swr/-/swr-1.3.0.tgz", - "integrity": "sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw==", - "requires": {} + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/swr/-/swr-2.0.4.tgz", + "integrity": "sha512-4GUiTjknRUVuw4MWUHR7mzJ9G/DWL+yZz/TgWDfiA0OZ9tL6qyrTkN2wPeboBpL3OJTkej3pexh3mWCnv8cFkQ==", + "requires": { + "use-sync-external-store": "^1.2.0" + } }, "tapable": { "version": "2.2.1", diff --git a/package.json b/package.json index 43f22e9aa7d7..46d4f07dfd0f 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "slash": "^5.0.0", "strip-html-comments": "^1.0.0", "styled-components": "^5.3.5", - "swr": "^1.3.0", + "swr": "^2.0.4", "ts-dedent": "^2.2.0", "unified": "^10.1.2", "unist-util-visit": "^4.1.0",