From 57739ae2bf3aa833ff6e3c3346b274e7f93ef233 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 25 Aug 2020 14:14:55 -0700 Subject: [PATCH] Update dependency typescript to v4 (#3669) * Update dependency typescript to v4 * fix typescript errors Co-authored-by: Renovate Bot Co-authored-by: Feiyang1 --- integration/firebase/package.json | 2 +- integration/firestore/package.json | 2 +- package.json | 2 +- packages-exp/app-exp/package.json | 2 +- packages-exp/app-types-exp/package.json | 2 +- packages-exp/firebase-exp/package.json | 2 +- packages-exp/functions-exp/package.json | 2 +- packages-exp/functions-types-exp/package.json | 2 +- packages/analytics-interop-types/package.json | 2 +- packages/analytics-types/package.json | 2 +- packages/analytics/package.json | 2 +- packages/app-types/package.json | 2 +- packages/app/package.json | 2 +- packages/auth-interop-types/package.json | 2 +- packages/auth-types/package.json | 2 +- packages/component/package.json | 2 +- packages/database-types/package.json | 2 +- packages/database/package.json | 2 +- packages/firebase/package.json | 2 +- packages/firestore-types/package.json | 2 +- packages/firestore/package.json | 2 +- .../test/integration/api/query.test.ts | 22 +++++++++++++++++++ packages/functions-types/package.json | 2 +- packages/functions/package.json | 2 +- packages/installations-types/package.json | 2 +- packages/installations/package.json | 2 +- .../src/helpers/extract-app-config.test.ts | 2 ++ packages/logger/package.json | 2 +- packages/messaging-types/package.json | 2 +- packages/messaging/package.json | 2 +- .../src/helpers/extract-app-config.test.ts | 2 ++ packages/performance-types/package.json | 2 +- packages/performance/package.json | 2 +- packages/remote-config-types/package.json | 2 +- packages/remote-config/package.json | 2 +- packages/rxfire/package.json | 2 +- packages/storage-types/package.json | 2 +- packages/storage/package.json | 2 +- packages/template-types/package.json | 2 +- packages/template/package.json | 2 +- packages/util/package.json | 2 +- packages/webchannel-wrapper/package.json | 2 +- repo-scripts/changelog-generator/package.json | 2 +- repo-scripts/size-analysis/analysis-helper.ts | 1 + repo-scripts/size-analysis/package.json | 2 +- yarn.lock | 7 +++++- 46 files changed, 74 insertions(+), 42 deletions(-) diff --git a/integration/firebase/package.json b/integration/firebase/package.json index 6246367fb50..68f1d704206 100644 --- a/integration/firebase/package.json +++ b/integration/firebase/package.json @@ -23,6 +23,6 @@ "karma-typescript": "5.1.0", "mocha": "7.2.0", "npm-run-all": "4.1.5", - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/integration/firestore/package.json b/integration/firestore/package.json index 1342493c46f..ee492a03df6 100644 --- a/integration/firestore/package.json +++ b/integration/firestore/package.json @@ -27,7 +27,7 @@ "karma-spec-reporter": "0.0.32", "mocha": "7.2.0", "ts-loader": "8.0.3", - "typescript": "3.9.7", + "typescript": "4.0.2", "webpack": "4.44.1", "webpack-stream": "5.2.1" } diff --git a/package.json b/package.json index 8612995e70f..183d11b3ddb 100644 --- a/package.json +++ b/package.json @@ -148,7 +148,7 @@ "ts-node": "8.10.2", "tslint": "6.1.3", "typedoc": "0.16.11", - "typescript": "3.9.7", + "typescript": "4.0.2", "watch": "1.0.2", "webpack": "4.44.1", "yargs": "15.4.1" diff --git a/packages-exp/app-exp/package.json b/packages-exp/app-exp/package.json index 11e748a5066..0fb0b7ba574 100644 --- a/packages-exp/app-exp/package.json +++ b/packages-exp/app-exp/package.json @@ -42,7 +42,7 @@ "rollup-plugin-json": "4.0.0", "rollup-plugin-replace": "2.2.0", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages-exp/app-exp", diff --git a/packages-exp/app-types-exp/package.json b/packages-exp/app-types-exp/package.json index b1221343dfb..96eea841c5a 100644 --- a/packages-exp/app-types-exp/package.json +++ b/packages-exp/app-types-exp/package.json @@ -26,6 +26,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages-exp/firebase-exp/package.json b/packages-exp/firebase-exp/package.json index 45b14b0a523..1baa8e8d672 100644 --- a/packages-exp/firebase-exp/package.json +++ b/packages-exp/firebase-exp/package.json @@ -51,7 +51,7 @@ "gulp": "4.0.2", "gulp-sourcemaps": "2.6.5", "gulp-concat": "2.6.1", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "components": [ "app", diff --git a/packages-exp/functions-exp/package.json b/packages-exp/functions-exp/package.json index 251c340969c..bcb76c5d7db 100644 --- a/packages-exp/functions-exp/package.json +++ b/packages-exp/functions-exp/package.json @@ -38,7 +38,7 @@ "@firebase/app-exp": "0.0.800", "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/functions", diff --git a/packages-exp/functions-types-exp/package.json b/packages-exp/functions-types-exp/package.json index 3b65c657a65..714acf335ea 100644 --- a/packages-exp/functions-types-exp/package.json +++ b/packages-exp/functions-types-exp/package.json @@ -26,6 +26,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/analytics-interop-types/package.json b/packages/analytics-interop-types/package.json index 7730440ec7e..4c6f5c20e1a 100644 --- a/packages/analytics-interop-types/package.json +++ b/packages/analytics-interop-types/package.json @@ -20,6 +20,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/analytics-types/package.json b/packages/analytics-types/package.json index 4865206b3e2..8bd9cc81fbd 100644 --- a/packages/analytics-types/package.json +++ b/packages/analytics-types/package.json @@ -20,6 +20,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 80fe13440dc..5e2e85fa277 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -39,7 +39,7 @@ "rollup-plugin-node-resolve": "5.2.0", "rollup-plugin-typescript2": "0.27.2", "rollup-plugin-uglify": "6.0.4", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/analytics", diff --git a/packages/app-types/package.json b/packages/app-types/package.json index b590b1b3600..295d5db99e3 100644 --- a/packages/app-types/package.json +++ b/packages/app-types/package.json @@ -21,6 +21,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/app/package.json b/packages/app/package.json index 9ee534dc2d9..fa27b3c31ac 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -40,7 +40,7 @@ "rollup-plugin-json": "4.0.0", "rollup-plugin-replace": "2.2.0", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/app", diff --git a/packages/auth-interop-types/package.json b/packages/auth-interop-types/package.json index 123e6ed7718..ee79c88cdd8 100644 --- a/packages/auth-interop-types/package.json +++ b/packages/auth-interop-types/package.json @@ -24,6 +24,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/auth-types/package.json b/packages/auth-types/package.json index 13078d8071b..6ddabd04c75 100644 --- a/packages/auth-types/package.json +++ b/packages/auth-types/package.json @@ -24,6 +24,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/component/package.json b/packages/component/package.json index dad98a80490..8a4942be248 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -29,7 +29,7 @@ "devDependencies": { "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/component", diff --git a/packages/database-types/package.json b/packages/database-types/package.json index 645da8cb027..7dcbd1718a9 100644 --- a/packages/database-types/package.json +++ b/packages/database-types/package.json @@ -23,6 +23,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/database/package.json b/packages/database/package.json index c5b63fc6897..d9967fd7ca6 100644 --- a/packages/database/package.json +++ b/packages/database/package.json @@ -38,7 +38,7 @@ "@firebase/app-types": "0.6.1", "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/database", diff --git a/packages/firebase/package.json b/packages/firebase/package.json index 2872ec99227..3695b059e8f 100644 --- a/packages/firebase/package.json +++ b/packages/firebase/package.json @@ -69,7 +69,7 @@ "rollup-plugin-terser": "6.1.0", "rollup-plugin-typescript2": "0.27.2", "rollup-plugin-uglify": "6.0.4", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "typings": "index.d.ts", "components": [ diff --git a/packages/firestore-types/package.json b/packages/firestore-types/package.json index 7198a4b024d..3763936f6d0 100644 --- a/packages/firestore-types/package.json +++ b/packages/firestore-types/package.json @@ -23,6 +23,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/firestore/package.json b/packages/firestore/package.json index 312e9572862..9019c5fde5b 100644 --- a/packages/firestore/package.json +++ b/packages/firestore/package.json @@ -89,7 +89,7 @@ "rollup-plugin-terser": "6.1.0", "rollup-plugin-typescript2": "0.27.2", "ts-node": "8.10.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/firestore", diff --git a/packages/firestore/test/integration/api/query.test.ts b/packages/firestore/test/integration/api/query.test.ts index 50ce12b9ac7..8a6497b1626 100644 --- a/packages/firestore/test/integration/api/query.test.ts +++ b/packages/firestore/test/integration/api/query.test.ts @@ -706,8 +706,11 @@ apiDescribe('Queries', (persistence: boolean) => { await withTestCollection(persistence, testDocs, async coll => { let expected = { ...testDocs }; + // @ts-expect-error delete expected.a; + // @ts-expect-error delete expected.h; + // @ts-expect-error delete expected.i; const snapshot = await coll.where('zip', notEqualOp, 98101).get(); expect(toDataArray(snapshot)).to.have.deep.members( @@ -719,8 +722,11 @@ apiDescribe('Queries', (persistence: boolean) => { .where('zip', notEqualOp, { code: 500 }) .get(); expected = { ...testDocs }; + // @ts-expect-error delete expected.f; + // @ts-expect-error delete expected.h; + // @ts-expect-error delete expected.i; expect(toDataArray(snapshot2)).to.have.deep.members( Object.values(expected) @@ -729,7 +735,9 @@ apiDescribe('Queries', (persistence: boolean) => { // With null. const snapshot3 = await coll.where('zip', notEqualOp, null).get(); expected = { ...testDocs }; + // @ts-expect-error delete expected.h; + // @ts-expect-error delete expected.i; expect(toDataArray(snapshot3)).to.have.deep.members( Object.values(expected) @@ -738,8 +746,11 @@ apiDescribe('Queries', (persistence: boolean) => { // With NaN. const snapshot4 = await coll.where('zip', notEqualOp, Number.NaN).get(); expected = { ...testDocs }; + // @ts-expect-error delete expected.h; + // @ts-expect-error delete expected.i; + // @ts-expect-error delete expected.j; expect(toDataArray(snapshot4)).to.have.deep.members( Object.values(expected) @@ -859,9 +870,13 @@ apiDescribe('Queries', (persistence: boolean) => { await withTestCollection(persistence, testDocs, async coll => { let expected = { ...testDocs }; + // @ts-expect-error delete expected.a; + // @ts-expect-error delete expected.c; + // @ts-expect-error delete expected.g; + // @ts-expect-error delete expected.h; const snapshot = await coll .where('zip', notInOp, [98101, 98103, [98101, 98102]]) @@ -873,7 +888,9 @@ apiDescribe('Queries', (persistence: boolean) => { .where('zip', notInOp, [{ code: 500 }]) .get(); expected = { ...testDocs }; + // @ts-expect-error delete expected.f; + // @ts-expect-error delete expected.h; expect(toDataArray(snapshot2)).to.deep.equal(Object.values(expected)); @@ -884,7 +901,9 @@ apiDescribe('Queries', (persistence: boolean) => { // With NaN. const snapshot4 = await coll.where('zip', notInOp, [Number.NaN]).get(); expected = { ...testDocs }; + // @ts-expect-error delete expected.h; + // @ts-expect-error delete expected.j; expect(toDataArray(snapshot4)).to.deep.equal(Object.values(expected)); @@ -893,8 +912,11 @@ apiDescribe('Queries', (persistence: boolean) => { .where('zip', notInOp, [Number.NaN, 98101]) .get(); expected = { ...testDocs }; + // @ts-expect-error delete expected.a; + // @ts-expect-error delete expected.h; + // @ts-expect-error delete expected.j; expect(toDataArray(snapshot5)).to.deep.equal(Object.values(expected)); }); diff --git a/packages/functions-types/package.json b/packages/functions-types/package.json index 4c65a1a7f60..a81809fbfa3 100644 --- a/packages/functions-types/package.json +++ b/packages/functions-types/package.json @@ -20,6 +20,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/functions/package.json b/packages/functions/package.json index cadbaaa5869..f3aa2b57703 100644 --- a/packages/functions/package.json +++ b/packages/functions/package.json @@ -33,7 +33,7 @@ "@firebase/messaging": "0.7.0", "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/functions", diff --git a/packages/installations-types/package.json b/packages/installations-types/package.json index ce2147681af..aa3bb15d818 100644 --- a/packages/installations-types/package.json +++ b/packages/installations-types/package.json @@ -23,6 +23,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/installations/package.json b/packages/installations/package.json index d7e11dc0d35..067fb4c03b5 100644 --- a/packages/installations/package.json +++ b/packages/installations/package.json @@ -37,7 +37,7 @@ "rollup-plugin-node-resolve": "5.2.0", "rollup-plugin-typescript2": "0.27.2", "rollup-plugin-uglify": "6.0.4", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "peerDependencies": { "@firebase/app": "0.x", diff --git a/packages/installations/src/helpers/extract-app-config.test.ts b/packages/installations/src/helpers/extract-app-config.test.ts index 110a6d1ab10..c7dd3b0d5c2 100644 --- a/packages/installations/src/helpers/extract-app-config.test.ts +++ b/packages/installations/src/helpers/extract-app-config.test.ts @@ -38,10 +38,12 @@ describe('extractAppConfig', () => { expect(() => extractAppConfig(undefined as any)).to.throw(FirebaseError); let firebaseApp = getFakeApp(); + // @ts-expect-error delete firebaseApp.name; expect(() => extractAppConfig(firebaseApp)).to.throw(FirebaseError); firebaseApp = getFakeApp(); + // @ts-expect-error delete firebaseApp.options; expect(() => extractAppConfig(firebaseApp)).to.throw(FirebaseError); diff --git a/packages/logger/package.json b/packages/logger/package.json index 393429b339b..14b17e50787 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -25,7 +25,7 @@ "devDependencies": { "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/logger", diff --git a/packages/messaging-types/package.json b/packages/messaging-types/package.json index 224f48ce2d8..2ac0f45fe8f 100644 --- a/packages/messaging-types/package.json +++ b/packages/messaging-types/package.json @@ -23,6 +23,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/messaging/package.json b/packages/messaging/package.json index d07f843510b..37007d2883f 100644 --- a/packages/messaging/package.json +++ b/packages/messaging/package.json @@ -38,7 +38,7 @@ "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", "ts-essentials": "7.0.0", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/messaging", diff --git a/packages/messaging/src/helpers/extract-app-config.test.ts b/packages/messaging/src/helpers/extract-app-config.test.ts index 0d8d5c08561..27d27c18aee 100644 --- a/packages/messaging/src/helpers/extract-app-config.test.ts +++ b/packages/messaging/src/helpers/extract-app-config.test.ts @@ -42,12 +42,14 @@ describe('extractAppConfig', () => { ).to.throw('Missing App configuration value: "App Configuration Object"'); let firebaseApp = getFakeApp(); + // @ts-expect-error delete firebaseApp.options; expect(() => extractAppConfig(firebaseApp)).to.throw( 'Missing App configuration value: "App Configuration Object"' ); firebaseApp = getFakeApp(); + // @ts-expect-error delete firebaseApp.name; expect(() => extractAppConfig(firebaseApp)).to.throw( 'Missing App configuration value: "App Name"' diff --git a/packages/performance-types/package.json b/packages/performance-types/package.json index 8ac07c377d1..e6c0d15aaa3 100644 --- a/packages/performance-types/package.json +++ b/packages/performance-types/package.json @@ -12,7 +12,7 @@ "index.d.ts" ], "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/performance-types", diff --git a/packages/performance/package.json b/packages/performance/package.json index 0880a9af4fb..b39aa00efae 100644 --- a/packages/performance/package.json +++ b/packages/performance/package.json @@ -39,7 +39,7 @@ "rollup": "2.26.5", "rollup-plugin-json": "4.0.0", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/performance", diff --git a/packages/remote-config-types/package.json b/packages/remote-config-types/package.json index 2c89e441983..48c9ac1ae2f 100644 --- a/packages/remote-config-types/package.json +++ b/packages/remote-config-types/package.json @@ -20,6 +20,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/remote-config/package.json b/packages/remote-config/package.json index 20efd24bc6c..4414acbb13f 100644 --- a/packages/remote-config/package.json +++ b/packages/remote-config/package.json @@ -38,7 +38,7 @@ "@firebase/app": "0.6.10", "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/remote-config", diff --git a/packages/rxfire/package.json b/packages/rxfire/package.json index f6c151c550b..6fbf10660b8 100644 --- a/packages/rxfire/package.json +++ b/packages/rxfire/package.json @@ -49,7 +49,7 @@ "rollup-plugin-node-resolve": "5.2.0", "rollup-plugin-typescript2": "0.27.2", "rollup-plugin-uglify": "6.0.4", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "typings": "dist/index.d.ts", "files": [ diff --git a/packages/storage-types/package.json b/packages/storage-types/package.json index 7f9a38619cb..6d0ec0df8d5 100644 --- a/packages/storage-types/package.json +++ b/packages/storage-types/package.json @@ -24,6 +24,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/storage/package.json b/packages/storage/package.json index 87ddd68ac8b..6c264de525c 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -37,7 +37,7 @@ "@firebase/auth": "0.14.9", "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/storage", diff --git a/packages/template-types/package.json b/packages/template-types/package.json index 495f7aad8e7..2daf4dc4171 100644 --- a/packages/template-types/package.json +++ b/packages/template-types/package.json @@ -21,6 +21,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/packages/template/package.json b/packages/template/package.json index b195d785743..a782b3f3ddb 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -37,7 +37,7 @@ "@firebase/app": "0.6.10", "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/template", diff --git a/packages/util/package.json b/packages/util/package.json index 8271fa29d1a..aff4dec4ffe 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -28,7 +28,7 @@ "devDependencies": { "rollup": "2.26.5", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/util", diff --git a/packages/webchannel-wrapper/package.json b/packages/webchannel-wrapper/package.json index a0286955a0e..4b9696ebfb2 100644 --- a/packages/webchannel-wrapper/package.json +++ b/packages/webchannel-wrapper/package.json @@ -24,7 +24,7 @@ "rollup-plugin-commonjs": "10.1.0", "rollup-plugin-sourcemaps": "0.6.2", "rollup-plugin-typescript2": "0.27.2", - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "packages/webchannel-wrapper", diff --git a/repo-scripts/changelog-generator/package.json b/repo-scripts/changelog-generator/package.json index a790d9423d5..fb329715b5c 100644 --- a/repo-scripts/changelog-generator/package.json +++ b/repo-scripts/changelog-generator/package.json @@ -24,7 +24,7 @@ }, "license": "Apache-2.0", "devDependencies": { - "typescript": "3.9.7" + "typescript": "4.0.2" }, "repository": { "directory": "repo-scripts/changelog-generator", diff --git a/repo-scripts/size-analysis/analysis-helper.ts b/repo-scripts/size-analysis/analysis-helper.ts index 46b4135da8c..a68b57b3e76 100644 --- a/repo-scripts/size-analysis/analysis-helper.ts +++ b/repo-scripts/size-analysis/analysis-helper.ts @@ -801,6 +801,7 @@ export function buildMap(api: MemberList): Map { */ async function traverseDirs( moduleLocation: string, + // eslint-disable-next-line @typescript-eslint/ban-types executor: Function, level: number, levelLimit: number diff --git a/repo-scripts/size-analysis/package.json b/repo-scripts/size-analysis/package.json index 30af841cba6..2a319db9df7 100644 --- a/repo-scripts/size-analysis/package.json +++ b/repo-scripts/size-analysis/package.json @@ -25,7 +25,7 @@ "rollup-plugin-replace": "2.2.0", "rollup-plugin-typescript2": "0.27.2", "tmp": "0.2.1", - "typescript": "3.9.7", + "typescript": "4.0.2", "terser": "4.8.0", "yargs": "15.4.1", "@firebase/util": "0.3.1" diff --git a/yarn.lock b/yarn.lock index 51cbf0ddc64..70826e573a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15161,7 +15161,12 @@ typescript@3.7.x: resolved "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw== -typescript@3.9.7, typescript@~3.9.5: +typescript@4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz#7ea7c88777c723c681e33bf7988be5d008d05ac2" + integrity sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ== + +typescript@~3.9.5: version "3.9.7" resolved "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa" integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==