chore(deps): remediate npm audit and Dependabot findings#1489
Merged
Conversation
Bump axios, fast-jwt, protobufjs, grpc-js, and turbo; refresh cloud SDK deps; add pnpm overrides for stuck transitives; replace nodemailer-sendgrid with a SendGrid client transport to drop the deprecated request chain.
kkopanidis
marked this pull request as ready for review
June 19, 2026 08:02
15 tasks
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.
GitHub was sitting on ~148 open Dependabot alerts for main. Most of that count is repeat advisories on a small set of outdated direct and transitive deps rather than 148 distinct production bugs.
This PR bumps the direct offenders, pins patched transitives via
pnpm-workspace.yamloverrides, and dropsnodemailer-sendgrid(and the deprecatedrequestchain) in favour of a thin@sendgrid/clientnodemailer transport.Summary
axios,fast-jwt,protobufjs,@grpc/grpc-js, andturbo@scalar/api-referenceand add pnpm overrides fordompurify,hono,fast-xml-parser,node-forgenodemailer-sendgridwithsendgrid.tstransport backed by@sendgrid/clientpnpm auditon the lockfile: 173 → 95 (8 critical → 2)Test plan
pnpm installpnpm exec turbo run buildpnpm auditWhat kind of change does this PR introduce?
Does this PR introduce a breaking change?
firebase-admingoes to v14 but communications usage is unchanged. SendGrid sending still goes through nodemailer with the same provider surface.The PR fulfills these requirements:
mainbranchOther information:
Remaining audit noise is mostly dev-only (
minimist,glob/minimatchvia tsup) or deep transitives with no upstream fix yet (elliptic, onedompurifyIN_PLACE advisory). Happy to chase those in a follow-up if we want the Dependabot count closer to zero.