Remove hard dependency on Jason
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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:
- Dominant language
- Elixir
- Stars
- 276
- Forks
- 42
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from phoenixframework/esbuild
-
Difficulty 2/5 1-3 hours Newbie friendliness 56/100
phoenixframework/esbuild#81 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
phoenixframework/esbuild#80 ·
All issues in phoenixframework/esbuild
Similar issues
-
Bug: Table layout and date column are cut off on mobile screens on the Tournaments -> History pageOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
hexlet-codebattle/codebattle#2375 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Broadcast API docs say to prepend realtime: to the topic, which breaks deliveryPossibly taken @mandar1045 claimed this 1 day ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
phoenixframework/phoenix_live_view#4509 ·
Maintainers usually reply within 1 day
-
camelToSnake and snakeCamelMapper() drop the underscore when a digit precedes a camelCase boundaryOpen
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
electric-sql/electric#4855 ·