Skip to content

feat: add flattify/path with typed get, set, has and del - #7

Merged
NandoMB merged 1 commit into
mainfrom
feat/path-helpers
Sep 25, 2026
Merged

NandoMB merged 1 commit into
mainfrom
feat/path-helpers

Conversation

@NandoMB

@NandoMB NandoMB commented Sep 25, 2026

Copy link
Copy Markdown
Owner

New flattify/path entry: get, set, has, del, paths, parsePath, stringifyPath and escapeKey, with autocompleted paths (Path), typed results (Get<T, P>) and values checked on set (SetValue<T, P>). Every helper follows the delimiter, notation and escape options and is safe against prototype pollution. A path/package.json shim makes the subpath resolve with moduleResolution node.

New flattify/path entry: get, set, has, del, paths, parsePath, stringifyPath and escapeKey, with autocompleted paths (Path<T>), typed results (Get<T, P>) and values checked on set (SetValue<T, P>). Every helper follows the delimiter, notation and escape options and is safe against prototype pollution. A path/package.json shim makes the subpath resolve with moduleResolution node.
@NandoMB
NandoMB merged commit 5f3f57c into main Sep 25, 2026
9 checks passed
@NandoMB
NandoMB deleted the feat/path-helpers branch September 25, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant