From 364bee98fe193a7915664c1a5b206fd52793f85a Mon Sep 17 00:00:00 2001 From: Alessia Bellisario Date: Fri, 17 Mar 2023 10:30:13 -0400 Subject: [PATCH] chore: upgrade to TypeScript 5.0 (#10660) --- .changeset/small-elephants-poke.md | 5 +++++ package-lock.json | 16 ++++++++-------- package.json | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .changeset/small-elephants-poke.md diff --git a/.changeset/small-elephants-poke.md b/.changeset/small-elephants-poke.md new file mode 100644 index 00000000000..f3c391ef89e --- /dev/null +++ b/.changeset/small-elephants-poke.md @@ -0,0 +1,5 @@ +--- +"@apollo/client": patch +--- + +Upgrades TypeScript to v5. This change is fully backward-compatible and transparent to users. diff --git a/package-lock.json b/package-lock.json index 9d5667e626e..60a313ec562 100644 --- a/package-lock.json +++ b/package-lock.json @@ -76,7 +76,7 @@ "ts-jest": "29.0.5", "ts-node": "10.9.1", "typedoc": "0.22.18", - "typescript": "4.9.5", + "typescript": "5.0.2", "wait-for-observables": "1.0.3", "web-streams-polyfill": "3.2.1", "whatwg-fetch": "3.6.2" @@ -9489,16 +9489,16 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.2.tgz", + "integrity": "sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=12.20" } }, "node_modules/unbox-primitive": { @@ -17182,9 +17182,9 @@ } }, "typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.2.tgz", + "integrity": "sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==", "dev": true }, "unbox-primitive": { diff --git a/package.json b/package.json index 4bba409a5d9..febe1c211ba 100644 --- a/package.json +++ b/package.json @@ -151,7 +151,7 @@ "ts-jest": "29.0.5", "ts-node": "10.9.1", "typedoc": "0.22.18", - "typescript": "4.9.5", + "typescript": "5.0.2", "wait-for-observables": "1.0.3", "web-streams-polyfill": "3.2.1", "whatwg-fetch": "3.6.2"