Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion background/function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "mocha --exit test/*.test.js"
},
"dependencies": {
"@google-cloud/firestore": "^5.0.0",
"@google-cloud/firestore": "^6.2.0",
"@google-cloud/translate": "^8.0.0"
},
"devDependencies": {}
Expand Down
2 changes: 1 addition & 1 deletion background/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "mocha --exit test/app.test.js --timeout=50000"
},
"dependencies": {
"@google-cloud/firestore": "^5.0.0",
"@google-cloud/firestore": "^6.2.0",
"@google-cloud/pubsub": "3.1.0",
"@google-cloud/storage": "^6.0.0",
"express": "^4.16.4"
Expand Down
2 changes: 1 addition & 1 deletion background/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "Google LLC",
"license": "Apache-2.0",
"dependencies": {
"@google-cloud/firestore": "^5.0.0",
"@google-cloud/firestore": "^6.2.0",
"@google-cloud/pubsub": "^3.0.0",
"body-parser": "^1.19.0",
"express": "^4.17.1",
Expand Down
2 changes: 1 addition & 1 deletion bookshelf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "mocha --timeout=8000 --exit **/*.test.js"
},
"dependencies": {
"@google-cloud/firestore": "^5.0.0",
"@google-cloud/firestore": "^6.2.0",
"@google-cloud/storage": "^6.0.0",
"body-parser": "^1.18.3",
"express": "^4.16.4",
Expand Down
2 changes: 1 addition & 1 deletion sessions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "Apache-2.0",
"dependencies": {
"@google-cloud/connect-firestore": "^2.0.0",
"@google-cloud/firestore": "^5.0.0",
"@google-cloud/firestore": "^6.2.0",
Comment on lines 13 to +14
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Upgrading @google-cloud/firestore to v6 (a major version bump) requires a corresponding update to @google-cloud/connect-firestore to version ^3.0.0. The current version (^2.0.0) is incompatible with Firestore v6, which will lead to peer dependency conflicts and potential runtime errors during session management.

Note: Upgrading to connect-firestore v3 also requires a code change in sessions/index.js: the dataset property in the FirestoreStore constructor should be renamed to firestore to align with the updated API.

Suggested change
"@google-cloud/connect-firestore": "^2.0.0",
"@google-cloud/firestore": "^5.0.0",
"@google-cloud/firestore": "^6.2.0",
"@google-cloud/connect-firestore": "^3.0.0",
"@google-cloud/firestore": "^6.2.0",

"express": "^4.17.1",
"express-session": "^1.16.2"
},
Expand Down