diff --git a/package-lock.json b/package-lock.json index 7cd5ca6c9a8..b227c203503 100644 --- a/package-lock.json +++ b/package-lock.json @@ -95,12 +95,12 @@ "ts-api-utils": "1.3.0", "ts-jest": "29.1.2", "ts-jest-resolver": "2.0.1", - "ts-morph": "21.0.1", + "ts-morph": "22.0.0", "ts-node": "10.9.2", "typedoc": "0.25.0", "typescript": "5.4.2", "wait-for-observables": "1.0.3", - "web-streams-polyfill": "3.3.3", + "web-streams-polyfill": "4.0.0", "whatwg-fetch": "3.6.20" }, "engines": { @@ -3176,9 +3176,9 @@ } }, "node_modules/@ts-morph/common": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.22.0.tgz", - "integrity": "sha512-HqNBuV/oIlMKdkLshXd1zKBqNQCsuPEsgQOkfFQ/eUKjRlwndXW1AjN9LVkBEIukm00gGXSRmfkl0Wv5VXLnlw==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.23.0.tgz", + "integrity": "sha512-m7Lllj9n/S6sOkCkRftpM7L24uvmfXQFedlW/4hENcuJH1HHm9u5EgxZb9uVjQSCGrbBWBkOGgcTxNg36r6ywA==", "dev": true, "dependencies": { "fast-glob": "^3.3.2", @@ -4800,9 +4800,9 @@ } }, "node_modules/code-block-writer": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-12.0.0.tgz", - "integrity": "sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.1.tgz", + "integrity": "sha512-c5or4P6erEA69TxaxTNcHUNcIn+oyxSRTOWV+pSYF+z4epXqNvwvJ70XPGjPNgue83oAFAPBRQYwpAJ/Hpe/Sg==", "dev": true }, "node_modules/collect-v8-coverage": { @@ -12008,13 +12008,13 @@ } }, "node_modules/ts-morph": { - "version": "21.0.1", - "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-21.0.1.tgz", - "integrity": "sha512-dbDtVdEAncKctzrVZ+Nr7kHpHkv+0JDJb2MjjpBaj8bFeCkePU9rHfMklmhuLFnpeq/EJZk2IhStY6NzqgjOkg==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-22.0.0.tgz", + "integrity": "sha512-M9MqFGZREyeb5fTl6gNHKZLqBQA0TjA1lea+CR48R8EBTDuWrNqW6ccC5QvjNR4s6wDumD3LTCjOFSp9iwlzaw==", "dev": true, "dependencies": { - "@ts-morph/common": "~0.22.0", - "code-block-writer": "^12.0.0" + "@ts-morph/common": "~0.23.0", + "code-block-writer": "^13.0.1" } }, "node_modules/ts-node": { @@ -12495,9 +12495,9 @@ } }, "node_modules/web-streams-polyfill": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", - "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0.tgz", + "integrity": "sha512-0zJXHRAYEjM2tUfZ2DiSOHAa2aw1tisnnhU3ufD57R8iefL+DcdJyRBRyJpG+NUimDgbTI/lH+gAE1PAvV3Cgw==", "dev": true, "engines": { "node": ">= 8" diff --git a/package.json b/package.json index 49f44cb93ac..d0f6ecf3647 100644 --- a/package.json +++ b/package.json @@ -176,12 +176,12 @@ "ts-api-utils": "1.3.0", "ts-jest": "29.1.2", "ts-jest-resolver": "2.0.1", - "ts-morph": "21.0.1", + "ts-morph": "22.0.0", "ts-node": "10.9.2", "typedoc": "0.25.0", "typescript": "5.4.2", "wait-for-observables": "1.0.3", - "web-streams-polyfill": "3.3.3", + "web-streams-polyfill": "4.0.0", "whatwg-fetch": "3.6.20" }, "publishConfig": { diff --git a/src/link/http/__tests__/HttpLink.ts b/src/link/http/__tests__/HttpLink.ts index 2ed657bc303..ad58e4c40c9 100644 --- a/src/link/http/__tests__/HttpLink.ts +++ b/src/link/http/__tests__/HttpLink.ts @@ -2,7 +2,7 @@ import gql from "graphql-tag"; import fetchMock from "fetch-mock"; import { ASTNode, print, stripIgnoredCharacters } from "graphql"; import { TextDecoder } from "util"; -import { ReadableStream } from "web-streams-polyfill/ponyfill/es2018"; +import { ReadableStream } from "web-streams-polyfill"; import { Readable } from "stream"; import { diff --git a/src/link/http/__tests__/responseIterator.ts b/src/link/http/__tests__/responseIterator.ts index 3800a257a8d..dca254c9821 100644 --- a/src/link/http/__tests__/responseIterator.ts +++ b/src/link/http/__tests__/responseIterator.ts @@ -5,7 +5,7 @@ import { itAsync, subscribeAndCount } from "../../../testing"; import type { Observable } from "zen-observable-ts"; import { ObservableQuery } from "../../../core"; import { TextEncoder, TextDecoder } from "util"; -import { ReadableStream } from "web-streams-polyfill/ponyfill/es2018"; +import { ReadableStream } from "web-streams-polyfill"; import { Readable } from "stream"; var Blob = require("blob-polyfill").Blob; diff --git a/src/link/http/__tests__/responseIteratorNoAsyncIterator.ts b/src/link/http/__tests__/responseIteratorNoAsyncIterator.ts index ec5ebe82f38..312823cf099 100644 --- a/src/link/http/__tests__/responseIteratorNoAsyncIterator.ts +++ b/src/link/http/__tests__/responseIteratorNoAsyncIterator.ts @@ -4,7 +4,7 @@ import { HttpLink } from "../HttpLink"; import { itAsync, subscribeAndCount } from "../../../testing"; import type { Observable } from "zen-observable-ts"; import { TextEncoder, TextDecoder } from "util"; -import { ReadableStream } from "web-streams-polyfill/ponyfill/es2018"; +import { ReadableStream } from "web-streams-polyfill"; import { Readable } from "stream"; // As of Jest 26 there is no way to mock/unmock a module that is used indirectly