Skip to content

Commit 67a0753

Browse files
crisbetommalerba
authored andcommitted
build: drop typescript 3.9 checks (#20827)
Removes the TypeScript 3.9 checks since the framework is in the process of removing support (see angular/angular#39313). Also updates the Firebase functions to TS 4.0. (cherry picked from commit ab8ec83)
1 parent 2249a9b commit 67a0753

File tree

5 files changed

+10
-17
lines changed

5 files changed

+10
-17
lines changed

integration/ts-compat/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ write_file(
1313
# List of TypeScript packages that we want to run the compatibility test against.
1414
# The list contains NPM module names that resolve to the desired TypeScript version.
1515
typescript_version_packages = [
16-
"typescript-3.9",
1716
"typescript",
1817
]
1918

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@
171171
"tslint": "^6.1.3",
172172
"tsutils": "^3.17.1",
173173
"typescript": "4.0.5",
174-
"typescript-3.9": "npm:typescript@~3.9.7",
175174
"vrsource-tslint-rules": "5.1.1",
176175
"yaml": "^1.10.0"
177176
},

scripts/caretaking/firebase-functions/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"main": "lib/index.js",
1212
"dependencies": {
1313
"firebase-admin": "^9.0.0",
14-
"firebase-functions": "^3.8.0"
14+
"firebase-functions": "^3.11.0"
1515
},
1616
"devDependencies": {
17-
"typescript": "^3.9.7",
17+
"typescript": "^4.0.2",
1818
"firebase-tools": "^8.6.0"
1919
},
2020
"private": true

scripts/caretaking/firebase-functions/yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,10 +1539,10 @@ firebase-admin@^9.0.0:
15391539
"@google-cloud/firestore" "^4.0.0"
15401540
"@google-cloud/storage" "^5.0.0"
15411541

1542-
firebase-functions@^3.8.0:
1543-
version "3.8.0"
1544-
resolved "https://registry.yarnpkg.com/firebase-functions/-/firebase-functions-3.8.0.tgz#ac53c615ef365cd9a19604f84ec9835a340c7b76"
1545-
integrity sha512-RFvoS7ZcXrk2sQ918czsjv94p4hnSoD0/e4cZ86XFpa1HbNZBI7ZuSgBCzRvlv6dJ1ArytAL13NpB1Bp2tJ6Yg==
1542+
firebase-functions@^3.11.0:
1543+
version "3.11.0"
1544+
resolved "https://registry.yarnpkg.com/firebase-functions/-/firebase-functions-3.11.0.tgz#92f5a6af6a10641da6dc9b41b29974658b621a7b"
1545+
integrity sha512-i1uMhZ/M6i5SCI3ulKo7EWX0/LD+I5o6N+sk0HbOWfzyWfOl0iJTvQkR3BVDcjrlhPVC4xG1bDTLxd+DTkLqaw==
15461546
dependencies:
15471547
"@types/express" "4.17.3"
15481548
cors "^2.8.5"
@@ -3794,10 +3794,10 @@ typedarray@^0.0.6:
37943794
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
37953795
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
37963796

3797-
typescript@^3.9.7:
3798-
version "3.9.7"
3799-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
3800-
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
3797+
typescript@^4.0.2:
3798+
version "4.0.3"
3799+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.3.tgz#153bbd468ef07725c1df9c77e8b453f8d36abba5"
3800+
integrity sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==
38013801

38023802
unique-string@^1.0.0:
38033803
version "1.0.0"

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12416,11 +12416,6 @@ typedarray@^0.0.6:
1241612416
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
1241712417
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
1241812418

12419-
"typescript-3.9@npm:typescript@~3.9.7":
12420-
version "3.9.7"
12421-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
12422-
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
12423-
1242412419
typescript@4.0.2, typescript@^3.2.2:
1242512420
version "4.0.2"
1242612421
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.2.tgz#7ea7c88777c723c681e33bf7988be5d008d05ac2"

0 commit comments

Comments
 (0)