fix(firestore-send-email): kit/extension parity – kit ships nodemailer 7 instead of the extension's nodemailer 9
メンテナーはふだん 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 の本文から書いたものです。
説明
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
- Extension: functions/package.json#L31, CHANGELOG.md#L1-L3
- Kit: package.json#L40
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/extensions のほかの issue
-
kits parity type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
firebase/extensions#3303 ·
メンテナーはふだん 1 日以内に返信
-
kits parity type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
firebase/extensions#3301 ·
メンテナーはふだん 1 日以内に返信
-
documentation kits parity
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
firebase/extensions#3300 ·
メンテナーはふだん 1 日以内に返信
-
kits parity type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
firebase/extensions#3296 ·
メンテナーはふだん 1 日以内に返信
-
kits parity type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
firebase/extensions#3291 ·
メンテナーはふだん 1 日以内に返信
firebase/extensions の issue をすべて見る
似ている issue
-
area:cli bug P4
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug from-studio
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
esengine/DeepSeek-Reasonix#14868 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
loopbackio/loopback-next#11878 ·
メンテナーはふだん 2 日以内に返信
-
bug 🐛
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
comunica/comunica#1925 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信