@cosmicdrift/kumiko-headless 0.240.0 → 0.241.0
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/package.json +2 -2
- package/src/format/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-headless",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.241.0",
|
|
4
4
|
"description": "Headless UI logic for Kumiko — Dispatcher contract, Form-Controller, View-Model, Nav-Resolver. Plattform- und React-frei; jeder Renderer (renderer, renderer-web, renderer-native, …) komponiert darauf.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
39
|
+
"@cosmicdrift/kumiko-framework": "0.241.0",
|
|
40
40
|
"temporal-polyfill": "^0.3.2",
|
|
41
41
|
"zod": "^4.4.3"
|
|
42
42
|
},
|
package/src/format/index.ts
CHANGED
|
@@ -195,6 +195,8 @@ export function applyFormatSpec(
|
|
|
195
195
|
const translated = translate(key);
|
|
196
196
|
return translated === key ? raw : translated;
|
|
197
197
|
}
|
|
198
|
+
case "json":
|
|
199
|
+
return JSON.stringify(value, null, (spec["indent"] as number | undefined) ?? 2);
|
|
198
200
|
default:
|
|
199
201
|
if (typeof process !== "undefined" && process.env.NODE_ENV !== "production") {
|
|
200
202
|
// biome-ignore lint/suspicious/noConsole: dev-only warning
|