RFC: JSON Pointer (RFC 6901) and JSON Patch (RFC 6902) support
維護者通常 1 天內回覆
@gururaj1512 已經在處理了。
開始於 2026年10月27日。
評估
這個 Issue 還沒有評估資料。
描述
Description
This issue tracks the work required to implement first-class JSON Pointer (RFC 6901) and JSON Patch (RFC 6902) utility suites across the @stdlib/utils namespace.
The goal is to provide a zero-dependency, standard-compliant, immutable patching architecture suitable for incremental document updates (such as delta updates to Vega visualization specifications):
- JSON Pointer (
@stdlib/utils/json-pointer/*): Serves as the foundational addressing layer for identifying and resolving values within JSON documents, parsing pointer strings into reference tokens, formatting tokens, validating array indices, and enforcing prototype pollution security boundaries. - JSON Patch (
@stdlib/utils/json-patch/*): Implements atomic patch execution for the six standard RFC 6902 operations (add,remove,replace,move,copy, andtest) using structural sharing (path-cloning) to guarantee that unmodified subtrees maintain reference equality and the original document is never mutated.
Below is the complete hierarchical and alphabetical list of packages across both namespaces, annotated with their status and task type.
Package Checklist
JSON Pointer Suite (RFC 6901)
-
@stdlib/utils/json-pointer(Top-Level Namespace Aggregator)-
@stdlib/utils/json-pointer/format -
@stdlib/utils/json-pointer/get -
@stdlib/utils/json-pointer/has -
@stdlib/utils/json-pointer/parse -
@stdlib/utils/json-pointer/resolve -
@stdlib/utils/json-pointer/base(Base Operations Sub-Namespace)-
@stdlib/utils/json-pointer/base/resolve-token -
@stdlib/utils/json-pointer/base/assert(Base Assertions Sub-Namespace)-
@stdlib/utils/json-pointer/base/assert/is-safe-token
-
-
-
JSON Patch Suite (RFC 6902)
-
@stdlib/utils/json-patch(Top-Level Namespace Aggregator)-
@stdlib/utils/json-patch/apply -
@stdlib/utils/json-patch/validate -
@stdlib/utils/json-patch/ops(Patch Operations Sub-Namespace)-
@stdlib/utils/json-patch/ops/add -
@stdlib/utils/json-patch/ops/copy -
@stdlib/utils/json-patch/ops/move -
@stdlib/utils/json-patch/ops/remove -
@stdlib/utils/json-patch/ops/replace -
@stdlib/utils/json-patch/ops/assert
-
-
@stdlib/utils/json-patch/base(Base Operations Sub-Namespace)-
@stdlib/utils/json-patch/base/delete-in -
@stdlib/utils/json-patch/base/insert-in -
@stdlib/utils/json-patch/base/set-in -
@stdlib/utils/json-patch/base/shallow-clone
-
-
Related Issues
Related issues # , # , and # .
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:.
- 主要語言
- JavaScript
- 星號
- 6k
- 分支
- 1.3k
- 平均合併
- 1 天 21 小時
- 30 天內合併 PR
- 224
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
stdlib-js/stdlib 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
stdlib-js/stdlib#16655 · 1 則留言 ·
維護者通常 1 天內回覆
-
Fix JavaScript lint errors可能已有人在做 @protestershankar 於 5 天前認領。 未關閉Good First Issue
難度 2/5 1-3 小時 新手友好度 82/100
stdlib-js/stdlib#16563 · 3 則留言 ·
維護者通常 1 天內回覆
-
Fix C lint errors可能已有人在做 @raus7n 於 14 天前認領。 未關閉Good First Issue
難度 1/5 1 小時以內 新手友好度 82/100
stdlib-js/stdlib#16454 · 1 則留言 ·
維護者通常 1 天內回覆
-
Fix JavaScript lint errors可能已有人在做 @Devansh-18155 於 39 天前認領。 未關閉Good First Issue
難度 1/5 1 小時以內 新手友好度 82/100
stdlib-js/stdlib#15970 · 1 則留言 ·
維護者通常 1 天內回覆
-
Fix JavaScript lint errors可能已有人在做 @lb1192176991-lab 於 44 天前認領。 未關閉Good First Issue
難度 1/5 1 小時以內 新手友好度 90/100
stdlib-js/stdlib#15831 · 2 則留言 ·
維護者通常 1 天內回覆
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 69/100
維護者通常 1 天內回覆
-
automation chore ci-cd consistency developer-experience difficulty: easy discoverability documentation enhancement github-actions good first issue help wanted hygiene priority: P3 seo shell yaml
難度 1/5 1 小時以內 新手友好度 76/100
-
bug
難度 2/5 1-3 小時 新手友好度 84/100
swc-project/swc-next-issues#394 ·
-
難度 1/5 1-3 小時 新手友好度 88/100
githubnext/gh-aw-workshop#5790 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
adobe/helix-tools-website#480 ·
維護者通常 1 天內回覆