diff --git a/packages/graphql-client/package.json b/packages/graphql-client/package.json index 9357be350..0195617eb 100644 --- a/packages/graphql-client/package.json +++ b/packages/graphql-client/package.json @@ -88,7 +88,7 @@ "jest-environment-jsdom": "^29.5.0", "jest-fetch-mock": "^3.0.3", "regenerator-runtime": "^0.14.1", - "web-streams-polyfill": "^3.3.2" + "web-streams-polyfill": "^4.0.0" }, "bugs": { "url": "https://github.com/Shopify/shopify-api-js/issues" diff --git a/packages/graphql-client/src/graphql-client/tests/graphql-client/fixtures.ts b/packages/graphql-client/src/graphql-client/tests/graphql-client/fixtures.ts index 7e77b7b30..e4921436b 100644 --- a/packages/graphql-client/src/graphql-client/tests/graphql-client/fixtures.ts +++ b/packages/graphql-client/src/graphql-client/tests/graphql-client/fixtures.ts @@ -1,7 +1,7 @@ import { TextEncoder, TextDecoder } from "util"; import { Readable } from "stream"; -import { ReadableStream } from "web-streams-polyfill/es2018"; +import { ReadableStream } from "web-streams-polyfill"; import { createGraphQLClient } from "../../graphql-client"; import { diff --git a/yarn.lock b/yarn.lock index 5915091fc..fbeea2b94 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9691,11 +9691,16 @@ wcwidth@^1.0.1: dependencies: defaults "^1.0.3" -web-streams-polyfill@^3.2.1, web-streams-polyfill@^3.3.2: +web-streams-polyfill@^3.2.1: version "3.3.2" resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz#32e26522e05128203a7de59519be3c648004343b" integrity sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ== +web-streams-polyfill@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-4.0.0.tgz#74cedf168339ee6e709532f76c49313a8c7acdac" + integrity sha512-0zJXHRAYEjM2tUfZ2DiSOHAa2aw1tisnnhU3ufD57R8iefL+DcdJyRBRyJpG+NUimDgbTI/lH+gAE1PAvV3Cgw== + webcrypto-core@^1.7.7: version "1.7.7" resolved "https://registry.yarnpkg.com/webcrypto-core/-/webcrypto-core-1.7.7.tgz#06f24b3498463e570fed64d7cab149e5437b162c"