From a8673c91742fc3359098a4bec44eae9177a6dea0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 31 May 2022 17:24:17 +0200 Subject: [PATCH] Update dependency typescript to v4.7.2 (#2079) Co-authored-by: Renovate Bot Co-authored-by: Erik Michelson --- package.json | 2 +- .../test-utils/expect-fetch.ts | 2 +- yarn.lock | 26 +++---------------- 3 files changed, 5 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 8b9c67eea..33024aa4a 100644 --- a/package.json +++ b/package.json @@ -156,7 +156,7 @@ "ts-loader": "9.3.0", "ts-mockery": "1.2.0", "ts-node": "10.8.0", - "typescript": "4.6.4" + "typescript": "4.7.2" }, "packageManager": "yarn@3.2.1" } diff --git a/src/api/common/api-request-builder/test-utils/expect-fetch.ts b/src/api/common/api-request-builder/test-utils/expect-fetch.ts index fb50d5a3c..3993671cb 100644 --- a/src/api/common/api-request-builder/test-utils/expect-fetch.ts +++ b/src/api/common/api-request-builder/test-utils/expect-fetch.ts @@ -8,7 +8,7 @@ import { defaultConfig } from '../../default-config' import { Mock } from 'ts-mockery' export const expectFetch = (expectedUrl: string, expectedStatusCode: number, expectedOptions: RequestInit): void => { - global.fetch = jest.fn((fetchUrl: RequestInfo, fetchOptions?: RequestInit): Promise => { + global.fetch = jest.fn((fetchUrl: RequestInfo | URL, fetchOptions?: RequestInit): Promise => { expect(fetchUrl).toEqual(expectedUrl) expect(fetchOptions).toStrictEqual({ ...defaultConfig, diff --git a/yarn.lock b/yarn.lock index 1a90ec7ba..56bddc299 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2108,7 +2108,7 @@ __metadata: ts-mockery: 1.2.0 ts-node: 10.8.0 twemoji-colr-font: 0.0.4 - typescript: 4.6.4 + typescript: 4.7.2 uuid: 8.3.2 vega: 5.22.1 vega-embed: 6.20.8 @@ -19813,17 +19813,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:4.6.4": - version: 4.6.4 - resolution: "typescript@npm:4.6.4" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: e7bfcc39cd4571a63a54e5ea21f16b8445268b9900bf55aee0e02ad981be576acc140eba24f1af5e3c1457767c96cea6d12861768fb386cf3ffb34013718631a - languageName: node - linkType: hard - -"typescript@npm:^4.5.4, typescript@npm:^4.5.5": +"typescript@npm:4.7.2, typescript@npm:^4.5.4, typescript@npm:^4.5.5": version: 4.7.2 resolution: "typescript@npm:4.7.2" bin: @@ -19833,17 +19823,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@4.6.4#~builtin": - version: 4.6.4 - resolution: "typescript@patch:typescript@npm%3A4.6.4#~builtin::version=4.6.4&hash=7ad353" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 1cb434fbc637d347be90e3a0c6cd05e33c38f941713c8786d3031faf1842c2c148ba91d2fac01e7276b0ae3249b8633f1660e32686cc7a8c6a8fd5361dc52c66 - languageName: node - linkType: hard - -"typescript@patch:typescript@^4.5.4#~builtin, typescript@patch:typescript@^4.5.5#~builtin": +"typescript@patch:typescript@4.7.2#~builtin, typescript@patch:typescript@^4.5.4#~builtin, typescript@patch:typescript@^4.5.5#~builtin": version: 4.7.2 resolution: "typescript@patch:typescript@npm%3A4.7.2#~builtin::version=4.7.2&hash=7ad353" bin: