From f3b34683652077e3f7e55aa4142a86842e83e593 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 07:21:03 -0400 Subject: [PATCH] Bump urql from 4.0.6 to 4.0.7 in /integration (#2995) * Bump urql from 4.0.6 to 4.0.7 in /integration Bumps [urql](https://github.com/urql-graphql/urql/tree/HEAD/packages/react-urql) from 4.0.6 to 4.0.7. - [Release notes](https://github.com/urql-graphql/urql/releases) - [Changelog](https://github.com/urql-graphql/urql/blob/main/packages/react-urql/CHANGELOG.md) - [Commits](https://github.com/urql-graphql/urql/commits/urql@4.0.7/packages/react-urql) --- updated-dependencies: - dependency-name: urql dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * chore: remove dedupExchange as it was removed and logic moved into a (#2998) client. --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Roman Dmytrenko --- integration/package-lock.json | 46 ++++++++++---------- integration/package.json | 2 +- integration/src/__test__/integration.spec.ts | 4 +- 3 files changed, 25 insertions(+), 27 deletions(-) diff --git a/integration/package-lock.json b/integration/package-lock.json index d536ccdf62..b7b1943adc 100644 --- a/integration/package-lock.json +++ b/integration/package-lock.json @@ -19,15 +19,15 @@ "graphql-sse": "^2.5.3", "graphql-ws": "^5.16.0", "typescript": "^5.4.4", - "urql": "^4.0.6", + "urql": "^4.0.7", "vite": "^5.2.8", "vitest": "^1.4.0" } }, "node_modules/@0no-co/graphql.web": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.0.4.tgz", - "integrity": "sha512-W3ezhHGfO0MS1PtGloaTpg0PbaT8aZSmmaerL7idtU5F7oCI+uu25k+MsMS31BVFlp4aMkHSrNRxiD72IlK8TA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.0.6.tgz", + "integrity": "sha512-KZ7TnwMcQJcFgzjoY623AVxtlDQonkqp3rSz0wb15/jHPyU1v5gynUibEpuutDeoyGJ5Tp+FwxjGyDGDwq3vIw==", "dev": true, "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" @@ -3085,12 +3085,12 @@ } }, "node_modules/@urql/core": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/@urql/core/-/core-4.2.3.tgz", - "integrity": "sha512-DJ9q9+lcs5JL8DcU2J3NqsgeXYJva+1+Qt8HU94kzTPqVOIRRA7ouvy4ksUfPY+B5G2PQ+vLh+JJGyZCNXv0cg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@urql/core/-/core-5.0.0.tgz", + "integrity": "sha512-kFkZxusq/VBQKEUcQFtf7AilMotLO+oGpE4WFhCiminZm8ZU2aulXSDWla50TaD0pj704FnWlXts6lRm0uHdDg==", "dev": true, "dependencies": { - "@0no-co/graphql.web": "^1.0.1", + "@0no-co/graphql.web": "^1.0.5", "wonka": "^6.3.2" } }, @@ -7681,12 +7681,12 @@ "dev": true }, "node_modules/urql": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/urql/-/urql-4.0.6.tgz", - "integrity": "sha512-meXJ2puOd64uCGKh7Fse2R7gPa8+ZpBOoA62jN7CPXXUt7SVZSdeXWSpB3HvlfzLUkEqsWbvshwrgeWRYNNGaQ==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/urql/-/urql-4.0.7.tgz", + "integrity": "sha512-wnOONtZoYEobmamM5ushUBGil6UCUPd7SH5uEAqsz5Y/qBV88/2QG6jq7v6xP+413x5Lqy0h0hCGRB0KIeG6Kg==", "dev": true, "dependencies": { - "@urql/core": "^4.2.0", + "@urql/core": "^5.0.0", "wonka": "^6.3.2" }, "peerDependencies": { @@ -8090,9 +8090,9 @@ }, "dependencies": { "@0no-co/graphql.web": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.0.4.tgz", - "integrity": "sha512-W3ezhHGfO0MS1PtGloaTpg0PbaT8aZSmmaerL7idtU5F7oCI+uu25k+MsMS31BVFlp4aMkHSrNRxiD72IlK8TA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.0.6.tgz", + "integrity": "sha512-KZ7TnwMcQJcFgzjoY623AVxtlDQonkqp3rSz0wb15/jHPyU1v5gynUibEpuutDeoyGJ5Tp+FwxjGyDGDwq3vIw==", "dev": true, "requires": {} }, @@ -10118,12 +10118,12 @@ } }, "@urql/core": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/@urql/core/-/core-4.2.3.tgz", - "integrity": "sha512-DJ9q9+lcs5JL8DcU2J3NqsgeXYJva+1+Qt8HU94kzTPqVOIRRA7ouvy4ksUfPY+B5G2PQ+vLh+JJGyZCNXv0cg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@urql/core/-/core-5.0.0.tgz", + "integrity": "sha512-kFkZxusq/VBQKEUcQFtf7AilMotLO+oGpE4WFhCiminZm8ZU2aulXSDWla50TaD0pj704FnWlXts6lRm0uHdDg==", "dev": true, "requires": { - "@0no-co/graphql.web": "^1.0.1", + "@0no-co/graphql.web": "^1.0.5", "wonka": "^6.3.2" } }, @@ -13616,12 +13616,12 @@ "dev": true }, "urql": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/urql/-/urql-4.0.6.tgz", - "integrity": "sha512-meXJ2puOd64uCGKh7Fse2R7gPa8+ZpBOoA62jN7CPXXUt7SVZSdeXWSpB3HvlfzLUkEqsWbvshwrgeWRYNNGaQ==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/urql/-/urql-4.0.7.tgz", + "integrity": "sha512-wnOONtZoYEobmamM5ushUBGil6UCUPd7SH5uEAqsz5Y/qBV88/2QG6jq7v6xP+413x5Lqy0h0hCGRB0KIeG6Kg==", "dev": true, "requires": { - "@urql/core": "^4.2.0", + "@urql/core": "^5.0.0", "wonka": "^6.3.2" } }, diff --git a/integration/package.json b/integration/package.json index 332963cf19..47c3431e36 100644 --- a/integration/package.json +++ b/integration/package.json @@ -19,7 +19,7 @@ "graphql-sse": "^2.5.3", "graphql-ws": "^5.16.0", "typescript": "^5.4.4", - "urql": "^4.0.6", + "urql": "^4.0.7", "vite": "^5.2.8", "vitest": "^1.4.0" } diff --git a/integration/src/__test__/integration.spec.ts b/integration/src/__test__/integration.spec.ts index 52bcc7e409..8855de69ca 100644 --- a/integration/src/__test__/integration.spec.ts +++ b/integration/src/__test__/integration.spec.ts @@ -10,7 +10,7 @@ import { Observable, Operation, } from '@apollo/client/core'; -import {HttpLink} from '@apollo/client/link/http'; +import { HttpLink } from '@apollo/client/link/http'; import { print } from "graphql"; import { GraphQLWsLink } from "@apollo/client/link/subscriptions"; @@ -35,7 +35,6 @@ import { import { cacheExchange, Client, - dedupExchange, subscriptionExchange, } from "urql"; import { isFragmentReady, useFragment } from "../generated"; @@ -370,7 +369,6 @@ describe("URQL SSE client", () => { const client = new Client({ url: uri, exchanges: [ - dedupExchange, cacheExchange, subscriptionExchange({ enableAllOperations: true,