Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Remove dependencies on closure library

未關閉
#135 0 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
重構
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
javascript
領域
build-system

研究方向

未指定任何檔案或測試。首先稽核 Closure Library 的相依項目,尤其是 goog.asserts、gooog.crypt.base64 以及 goog.object/goog.array/goog.string 輔助函式,然後檢查 Closure Compiler 如何移除它們;當列出的相依項目都有可行的替代方案,且專案不再依賴 Closure Library 時,工作就完成了。

由索引模型根據 Issue 內容生成。

描述

cleanup enhancement triaged

Depending on the closure library brings in a lot of code that we then have to use closure compiler to remove

In the long run we should invest in dropping these dependencies

This will require an audit but the major pieces are:

  • goog.asserts, for runtime validation, we should build our own predicate functions
  • gooog.crypt.base64 we should look into adding our own base64 encoding/decoding library
  • goog.object/goog.array/goog.string helpers. We sohuld look into depending on modern platform features instead of these ponyfills
主要語言
JavaScript
星號
470
分支
91
平均合併
5 小時 2 分鐘
30 天內合併 PR
2

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

protocolbuffers/protobuf-javascript 的其他 Issue

查看 protocolbuffers/protobuf-javascript 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。