chore(deps): resolve pipeline deprecations and upgrade dependencies#1936
Merged
Conversation
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension. |
inlined
force-pushed
the
security-audit/firebase-functions
branch
2 times, most recently
from
July 22, 2026 17:33
a6acc81 to
f9414fd
Compare
inlined
force-pushed
the
security-audit/firebase-functions
branch
from
July 22, 2026 17:48
f9414fd to
532e562
Compare
Member
Author
|
We need to update @as-integrations/express4 to @as-integrations/express5 in the next major version of the SDK to fully close any transitive peer dependency issues/vulnerabilities. |
ajperel
approved these changes
Jul 22, 2026
inlined
enabled auto-merge (squash)
July 22, 2026 21:48
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: firebase-functions
A. Previous CVEs
body-parser(Severity: High)brace-expansion(Severity: High)js-yaml(Severity: High)linkify-it(Severity: High)semver(Severity: High)serialize-javascript(Severity: High)uuid(Severity: Moderate)validator(Severity: High)fast-xml-parser(Severity: High) (Resolved)fast-uri(Severity: High) (Resolved)B. Changes Made
jsdomdependency fromdevDependenciesinpackage.json. This completely eliminated multiple deprecated transitive warnings in the pipeline (whatwg-encoding@1.0.5,w3c-hr-time@1.0.2,abab@2.0.6,domexception@2.0.1, andnode-domexception@1.0.0) and removed associated vulnerabilities.mochato^11.7.6to resolve the deprecation ofglob@8.1.0andinflight@1.0.6by using glob 10+.sinonto^22.1.0and@types/sinonto^22.0.0to resolve deprecation warnings ofsinon@9and its transitive dependencies (lodash.getand@sinonjs/text-encoding).protobufjs-clito^1.3.3to modernize transitively resolved dependencies while maintaining compatibility with the productionprotobufjs@7dependency and retaining the caret (^) versioning constraint.expressto^5.2.1and@types/expressto^5.0.0independenciesinpackage.json.overridesinpackage.jsonto link@as-integrations/express4's peer dependency to Express 5 for local development and testing.spec/v2/providers/https.spec.tsto add a type cast (as any) resolving Express 5 handler type checks without modifyingspec/helper.ts.C. Express 5 & Peer Dependency Nuance
expressto v5 to align with@google-cloud/functions-framework@^5.0.0, which now runs Express 5 in production environments. This prevents duplicate dependency installs and runtimeinstanceof/prototype mismatch issues.@as-integrations/express4as the optional peer dependency. We resolve the installation mismatch locally during development and CI using theoverridesfield inpackage.json.@as-integrations/express5in the next major version of the SDK.D. Remaining CVEs
uuid@<11.1.1(transitive via@genkit-ai/ai/genkit/firebase-admin/googleapis): Upstream dependencies have not fully migrated touuidv11 in their current major versions.js-yaml@4(transitive via@firebase/api-documenter): Part of the documentation generation tooling.semver@7(transitive via@rushstack/node-core-library): Used by API Documenter and Extractor.validator(transitive viaz-schema): Used by@rushstack/node-core-library.E. Introduced CVEs
F. Testing Strategy
npm test— 100% passing (all 973 unit tests).npm run build— compiled successfully.npm audit.Release Notes
relnote: chore: update dependencies to close CVEs