Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Remove mason-js dependency

未关闭
#127 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
build-system

调研方向

首先检查 package.json、mason-versions.ini,以及 vtquery 中使用 mason-js 的位置。确定 mason-versions.ini 中列出的依赖项目前是如何获取的,然后定义一种可靠的替代方案。当 mason-js 和 mason-versions.ini 被移除,并且依赖项继续通过替代方法获取时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

The mason-js dependency is unmaintained and frozen, but still currently used inside of vtquery. It has been unmaintained since 2018. For a while it seemed like mason-js would again see maintenance (enough that security issues related to out-of-date binaries and mason-js JS dependencies could be mitigated). But, in effect, mason-js not been maintained since 2018 and therefore I think it is critical to acknowledge this and take action downstream (here).

So, my recommendation is to remove the dependence on mason-js in vtquery.

To do this would involve:

  • Removing mason-js from the package.json
  • Removing the mason-versions.ini
  • Implementing an alternative method for fetching up to date and reliable versions of dependencies that are currently being installed by mason-js
主要语言
JavaScript
星标
45
派生
14
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mapbox/vtquery 的其他 Issue

查看 mapbox/vtquery 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。