refactor: hide utility helper internals

This commit is contained in:
Peter Steinberger
2026-05-02 07:33:05 +01:00
parent 8adbee3a68
commit 7f13a43ebb
4 changed files with 5 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ function isJsonObject(value: unknown): value is Record<string, unknown> {
return typeof value === "object" && value !== null && !Array.isArray(value);
}
export function decodeJsonPointerToken(token: string): string {
function decodeJsonPointerToken(token: string): string {
return token.replace(/~1/g, "/").replace(/~0/g, "~");
}