@toon-format/spec 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # TOON Format Specification
2
2
 
3
3
  [![SPEC v1.5](https://img.shields.io/badge/spec-v1.5-lightgrey)](./SPEC.md)
4
- [![Tests](https://img.shields.io/badge/tests-323-green)](./tests/fixtures/)
4
+ [![Tests](https://img.shields.io/badge/tests-348-green)](./tests/fixtures/)
5
5
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
6
6
 
7
7
  This repository contains the official specification for **Token-Oriented Object Notation (TOON)**, a compact, human-readable serialization format designed for passing structured data to Large Language Models with significantly reduced token usage.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@toon-format/spec",
3
3
  "type": "module",
4
- "version": "1.5.0",
4
+ "version": "1.5.2",
5
5
  "packageManager": "pnpm@10.19.0",
6
6
  "description": "Official specification for Token-Oriented Object Notation (TOON)",
7
7
  "author": "Johann Schopplich <hello@johannschopplich.com>",
@@ -196,19 +196,19 @@
196
196
  "specSection": "13.4"
197
197
  },
198
198
  {
199
- "name": "encodes partial fold preserving sibling field order",
199
+ "name": "encodes folded chains preserving sibling field order",
200
200
  "input": {
201
- "folded": {
202
- "path": {
203
- "value": 1
201
+ "first": {
202
+ "second": {
203
+ "third": 1
204
204
  }
205
205
  },
206
- "normal": 2,
207
- "nested": {
208
- "x": 3
206
+ "simple": 2,
207
+ "short": {
208
+ "path": 3
209
209
  }
210
210
  },
211
- "expected": "folded.path.value: 1\nnormal: 2\nnested:\n x: 3",
211
+ "expected": "first.second.third: 1\nsimple: 2\nshort.path: 3",
212
212
  "options": {
213
213
  "keyFolding": "safe"
214
214
  },