From ad5f940432f5fe5c83769524503583d661f0e840 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Tue, 23 Apr 2024 11:15:21 +0200 Subject: [PATCH 1/3] Update the `rehackt` dependency to `^0.1.0` --- .changeset/healthy-chairs-sleep.md | 5 +++++ package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .changeset/healthy-chairs-sleep.md diff --git a/.changeset/healthy-chairs-sleep.md b/.changeset/healthy-chairs-sleep.md new file mode 100644 index 00000000000..cfaf23a0a96 --- /dev/null +++ b/.changeset/healthy-chairs-sleep.md @@ -0,0 +1,5 @@ +--- +"@apollo/client": patch +--- + +Update the `rehackt` dependency to `^0.1.0` diff --git a/package-lock.json b/package-lock.json index a989dc52e69..4e787b4e2e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "hoist-non-react-statics": "^3.3.2", "optimism": "^0.18.0", "prop-types": "^15.7.2", - "rehackt": "0.0.6", + "rehackt": "^0.1.0", "response-iterator": "^0.2.6", "symbol-observable": "^4.0.0", "ts-invariant": "^0.10.3", @@ -10691,9 +10691,9 @@ } }, "node_modules/rehackt": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/rehackt/-/rehackt-0.0.6.tgz", - "integrity": "sha512-l3WEzkt4ntlEc/IB3/mF6SRgNHA6zfQR7BlGOgBTOmx7IJJXojDASav+NsgXHFjHn+6RmwqsGPFgZpabWpeOdw==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/rehackt/-/rehackt-0.1.0.tgz", + "integrity": "sha512-7kRDOuLHB87D/JESKxQoRwv4DzbIdwkAGQ7p6QKGdVlY1IZheUnVhlk/4UZlNUVxdAXpyxikE3URsG067ybVzw==", "peerDependencies": { "@types/react": "*", "react": "*" diff --git a/package.json b/package.json index 8074fc444ff..50043a13116 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "hoist-non-react-statics": "^3.3.2", "optimism": "^0.18.0", "prop-types": "^15.7.2", - "rehackt": "0.0.6", + "rehackt": "^0.1.0", "response-iterator": "^0.2.6", "symbol-observable": "^4.0.0", "ts-invariant": "^0.10.3", From e58f2ab43b4e4940f45b277a622bced30055dba8 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Wed, 24 Apr 2024 18:30:39 +0200 Subject: [PATCH 2/3] adjust import --- src/react/hooks/internal/__tests__/useRenderGuard.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/react/hooks/internal/__tests__/useRenderGuard.test.tsx b/src/react/hooks/internal/__tests__/useRenderGuard.test.tsx index a8cf0f0a69a..0bf53ed8ab5 100644 --- a/src/react/hooks/internal/__tests__/useRenderGuard.test.tsx +++ b/src/react/hooks/internal/__tests__/useRenderGuard.test.tsx @@ -1,5 +1,5 @@ /* eslint-disable testing-library/render-result-naming-convention */ -import React, { useEffect } from "react"; +import React, { useEffect } from "rehackt"; import { useRenderGuard } from "../useRenderGuard"; import { render, waitFor } from "@testing-library/react"; import { withCleanup } from "../../../../testing/internal"; From 3d060f89519fff3b0a3d5e3c086f7a7fc14360ee Mon Sep 17 00:00:00 2001 From: phryneas Date: Wed, 24 Apr 2024 16:33:01 +0000 Subject: [PATCH 3/3] Clean up Prettier, Size-limit, and Api-Extractor --- .size-limits.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.size-limits.json b/.size-limits.json index 3ad88477003..86e387b30fb 100644 --- a/.size-limits.json +++ b/.size-limits.json @@ -1,4 +1,4 @@ { - "dist/apollo-client.min.cjs": 39538, - "import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32809 + "dist/apollo-client.min.cjs": 39534, + "import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32804 }