Remove hard dependency on Jason
还没有人认领这个 Issue。
评估
调研方向
Start with the Jason call in lib/esbuild/npm_registry.ex identified in the issue, then read how Phoenix and LiveView select a JSON library via :json_library. Decide whether to support configurable JSON modules with an optional Jason dependency or require Elixir 1.18+ and remove Jason. Done means esbuild handles JSON through the chosen approach and Phoenix apps can be generated without an unconditional Jason dependency.
由索引模型根据 Issue 内容生成。
描述
Support custom JSON module implementation via config :json_library as in Phoenix and LiveView, make the :jason dependency optional.
Alternatively, require Elixir 1.18+ and drop the dependency on Jason entirely.
See https://github.com/phoenixframework/phoenix/pull/6815.
This would enable future Phoenix apps to be generated without depending on Jason.
There is only a single call to Jason in the entire code base:
- 主要语言
- Elixir
- 星标
- 276
- 派生
- 42
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
phoenixframework/esbuild 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 56/100
phoenixframework/esbuild#81 · 6 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 48/100
phoenixframework/esbuild#80 ·
查看 phoenixframework/esbuild 的全部 Issue
相似的 Issue
-
Bug: Table layout and date column are cut off on mobile screens on the Tournaments -> History page未关闭bug
难度 2/5 1-3 小时 新手友好度 74/100
hexlet-codebattle/codebattle#2375 ·
-
Bug
难度 2/5 1-3 小时 新手友好度 68/100
wintermeyer/vutuv#2388 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
-
Broadcast API docs say to prepend realtime: to the topic, which breaks delivery可能已有人在做 @mandar1045 于 1 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 80/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
phoenixframework/phoenix_live_view#4509 ·
维护者通常 1 天内回复