chore: update Functions backend dependencies and upgrade to V2 API - #1499
Open
inlined wants to merge 3 commits into
Open
chore: update Functions backend dependencies and upgrade to V2 API#1499inlined wants to merge 3 commits into
inlined wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the Firebase Cloud Functions to the v2 API, upgrades dependencies, and targets Node.js 22. Feedback is provided regarding potential runtime TypeErrors when accessing properties on request.data if the client sends no payload; using optional chaining is recommended to handle these cases safely.
inlined
force-pushed
the
security-audit/functions-backend
branch
from
July 30, 2026 00:38
3136954 to
f7bf8da
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Security Audit & Remediation: functions-backend
A. Previous CVEs
protobufjs(Severity: High)protobufjs(Severity: High)protobufjs(Severity: Moderate)protobufjs(Severity: Moderate)protobufjs(Severity: High)protobufjs(Severity: Moderate)uuid(Severity: Moderate)brace-expansion(Severity: High)B. Changes Made
firebase-adminto^14.2.0andfirebase-functionsto^7.3.2.package.jsonforuuid(^11.1.1) andbrace-expansion(^5.0.8) to resolve transitive CVEs.package-lock.jsonfiles.node_modules/to root.gitignore.C. Remaining CVEs
D. Introduced CVEs
E. Testing Strategy
node -c index.js) successfully on both files.npm auditin both package directories showing0 vulnerabilities.Release Notes
relnote: "chore: update functions backend dependencies to resolve security vulnerabilities and upgrade callable functions to V2 API"