-
Notifications
You must be signed in to change notification settings - Fork 944
TypeScript 4.7.4 upgrade for Firestore #6796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
87fef34
Steal work by @MarkDuckworth that he had done so far in https://githu…
dconeybe c251444
remove-asserts.ts: replace createEmptyStatement() with createOmittedE…
dconeybe 32b8705
Upgrade gprc-js to ~1.6.0
dconeybe ef257aa
remove-asserts.js: replace createEmptyStatement() with createOmittedE…
dconeybe ca56126
Merge remote-tracking branch 'origin/master' into TypeScript474Upgrade
dconeybe ab255d8
yarn.lock updated
dconeybe 8cfde5f
firestore-compat: cast unknown exceptions to FirestoreError
dconeybe 96150b6
pin grpc-js to 1.6.0
dconeybe 424bc4c
pin grpc-js to 1.6.12
dconeybe ab47f80
changeset added
dconeybe 810746f
bump typescript version in firestore-compat also
dconeybe 0300a7c
pin grpc-js to ~1.4.0
dconeybe bec3f2f
pin grpc to ~1.7.0
dconeybe fc6ff77
Remove "database" from changeset
dconeybe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@firebase/database': minor | ||
'@firebase/firestore': minor | ||
'@firebase/firestore-compat': minor | ||
'firebase': minor | ||
--- | ||
|
||
Upgrade TypeScript to 4.7.4 (was 4.2.2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1815,13 +1815,6 @@ | |
lodash.snakecase "^4.1.1" | ||
p-defer "^3.0.0" | ||
|
||
"@grpc/grpc-js@^1.3.2": | ||
version "1.3.7" | ||
resolved "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.3.7.tgz#58b687aff93b743aafde237fd2ee9a3259d7f2d8" | ||
integrity sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA== | ||
dependencies: | ||
"@types/node" ">=12.12.47" | ||
|
||
"@grpc/grpc-js@~1.6.0": | ||
version "1.6.7" | ||
resolved "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.6.7.tgz#4c4fa998ff719fe859ac19fe977fdef097bb99aa" | ||
|
@@ -1830,6 +1823,14 @@ | |
"@grpc/proto-loader" "^0.6.4" | ||
"@types/node" ">=12.12.47" | ||
|
||
"@grpc/grpc-js@~1.7.0": | ||
version "1.7.3" | ||
resolved "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.7.3.tgz#f2ea79f65e31622d7f86d4b4c9ae38f13ccab99a" | ||
integrity sha512-H9l79u4kJ2PVSxUNA08HMYAnUBLj9v6KjYQ7SQ71hOZcEXhShE/y5iQCesP8+6/Ik/7i2O0a10bPquIcYfufog== | ||
dependencies: | ||
"@grpc/proto-loader" "^0.7.0" | ||
"@types/node" ">=12.12.47" | ||
|
||
"@grpc/proto-loader@^0.6.12", "@grpc/proto-loader@^0.6.13", "@grpc/proto-loader@^0.6.4": | ||
version "0.6.13" | ||
resolved "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.13.tgz#008f989b72a40c60c96cd4088522f09b05ac66bc" | ||
|
@@ -1841,6 +1842,17 @@ | |
protobufjs "^6.11.3" | ||
yargs "^16.2.0" | ||
|
||
"@grpc/proto-loader@^0.7.0": | ||
version "0.7.3" | ||
resolved "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.3.tgz#75a6f95b51b85c5078ac7394da93850c32d36bb8" | ||
integrity sha512-5dAvoZwna2Py3Ef96Ux9jIkp3iZ62TUsV00p3wVBPNX5K178UbNi8Q7gQVqwXT1Yq9RejIGG9G2IPEo93T6RcA== | ||
dependencies: | ||
"@types/long" "^4.0.1" | ||
lodash.camelcase "^4.3.0" | ||
long "^4.0.0" | ||
protobufjs "^7.0.0" | ||
yargs "^16.2.0" | ||
|
||
"@gulp-sourcemaps/identity-map@^2.0.1": | ||
version "2.0.1" | ||
resolved "https://registry.npmjs.org/@gulp-sourcemaps/identity-map/-/identity-map-2.0.1.tgz#a6e8b1abec8f790ec6be2b8c500e6e68037c0019" | ||
|
@@ -11889,6 +11901,11 @@ long@^4.0.0: | |
resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" | ||
integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== | ||
|
||
long@^5.0.0: | ||
version "5.2.1" | ||
resolved "https://registry.npmjs.org/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" | ||
integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== | ||
|
||
loose-envify@^1.0.0: | ||
version "1.4.0" | ||
resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" | ||
|
@@ -14128,6 +14145,24 @@ [email protected], protobufjs@^6.11.3: | |
"@types/node" ">=13.7.0" | ||
long "^4.0.0" | ||
|
||
protobufjs@^7.0.0: | ||
version "7.1.2" | ||
resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.2.tgz#a0cf6aeaf82f5625bffcf5a38b7cd2a7de05890c" | ||
integrity sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ== | ||
dependencies: | ||
"@protobufjs/aspromise" "^1.1.2" | ||
"@protobufjs/base64" "^1.1.2" | ||
"@protobufjs/codegen" "^2.0.4" | ||
"@protobufjs/eventemitter" "^1.1.0" | ||
"@protobufjs/fetch" "^1.1.0" | ||
"@protobufjs/float" "^1.0.2" | ||
"@protobufjs/inquire" "^1.1.0" | ||
"@protobufjs/path" "^1.1.2" | ||
"@protobufjs/pool" "^1.1.0" | ||
"@protobufjs/utf8" "^1.1.0" | ||
"@types/node" ">=13.7.0" | ||
long "^5.0.0" | ||
|
||
protocols@^1.1.0, protocols@^1.4.0: | ||
version "1.4.8" | ||
resolved "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz#48eea2d8f58d9644a4a32caae5d5db290a075ce8" | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why database?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had mentioned
database
because the upgrade ofgrps-js
I think indirectly affected its version as well. But looking more closely, that probably isn't the case. I'll remove it.