Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fix(firestore-send-email): kit/extension parity – kit ships nodemailer 7 instead of the extension's nodemailer 9

オープン 初心者向け
#3,294 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
node.js, typescript
領域
backend

調査の方向性

kits/firestore-send-email/package.jsonから始め、そのNodemailer依存関係をfirestore-send-email/functions/package.jsonおよびissueで引用されているextensionのchangelogと比較してください。依存関係を更新した後、kitのshrinkwrapを再生成し、kitのテストを実行してください。kitがNodemailer ^9.0.1を使用し、テストがパスすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

kits parity type: bug

firestore-send-email kit/extension parity. Priority: medium. The kit ships nodemailer 7. That drops the certificate checks and address-parsing fixes that extension 0.2.10 shipped with nodemailer 9.

Difference
  • Extension: 0.2.10's only change was "bump nodemailer to v9" (resolves 9.0.1).
  • Kit: depends on nodemailer ^7.0.5 (shrinkwrap 7.0.13), yet the README describes it as "version 0.2.10 of the extension repackaged".
Reproduced

Extension and kit deployed side by side, sending through an Ethereal SMTP sink.

Test Extension Kit
Attachment href: https://self-signed.badssl.com/ ERROR: self-signed certificate SUCCESS (fetched without a certificate check)
Attachment href: https://expired.badssl.com/ ERROR: certificate has expired SUCCESS
to: "Doe, John <[email protected]>" To: "Doe, John" <[email protected]> To: John <[email protected]>
from: "Doe, John <[email protected]>" From: "Doe, John" <[email protected]> From: John <[email protected]>

From the code and changelogs only, nodemailer 7 also:

  • fetches the OAuth2 token without checking certificates, which exposes the client secret and refresh token to a man-in-the-middle;
  • lacks the CRLF-injection fixes for headers and the envelope (8.0.4, 8.0.5, 8.0.9);
  • doesn't fall back to a host's other IP addresses when one is unreachable (8.0.0);
  • handles non-ASCII addresses differently (8.0.7).
Code
Resolution

Bump the kit to nodemailer ^9.0.1 (regenerate the shrinkwrap) and re-run the kit tests.

主要言語
TypeScript
スター
979
フォーク
436
平均マージ
2日 13時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

firebase/extensions のほかの issue

firebase/extensions の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。