Skip to content

Commit 86df501

Browse files
committed
refactor: use sentinel delimiter for VALUE label keys
1 parent 2fe011f commit 86df501

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/valueSyntax.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
export const VALUE_LABEL_KEY_DELIMITER = "::";
1+
// Internal-only delimiter for scoping labeled VALUE lists. Unlikely to appear in user input.
2+
export const VALUE_LABEL_KEY_DELIMITER = "\u001F";
23

34
const VALUE_OPTION_KEYS = new Set(["label", "default", "custom"]);
45

0 commit comments

Comments
 (0)