@theholocron/kyber 5.0.0-alpha.450 → 5.0.0-alpha.452
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/dist/ui.mjs +2 -2
- package/package.json +9 -9
package/dist/ui.mjs
CHANGED
|
@@ -156,7 +156,7 @@ function reduceKey(state, key, value, rows) {
|
|
|
156
156
|
case "expandAll": return {
|
|
157
157
|
cursor,
|
|
158
158
|
top: state.top,
|
|
159
|
-
expanded: expandToDepth(value,
|
|
159
|
+
expanded: expandToDepth(value, 1e400)
|
|
160
160
|
};
|
|
161
161
|
case "collapseAll": return {
|
|
162
162
|
cursor: 0,
|
|
@@ -246,7 +246,7 @@ async function runInteractive(value, depth) {
|
|
|
246
246
|
* coloured tree, collapsed past `depth`. `interactive` opens a folding viewer (the default on a TTY).
|
|
247
247
|
*/
|
|
248
248
|
async function viewJson(value, options = {}) {
|
|
249
|
-
const depth = options.depth ??
|
|
249
|
+
const depth = options.depth ?? 1e400;
|
|
250
250
|
if (options.interactive ?? (options.depth === void 0 && Boolean(process.stdin.isTTY && process.stdout.isTTY))) return runInteractive(value, options.depth ?? 1);
|
|
251
251
|
if (!process.stdout.isTTY) {
|
|
252
252
|
console.log(JSON.stringify(value, null, 2));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/kyber",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.452",
|
|
4
4
|
"description": "The reusable parts of a command-line tool: terminal output, prompts, the interactive menu, the update notifier, safe handling of tokens, a test harness and the global flags.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -88,29 +88,29 @@
|
|
|
88
88
|
"@theholocron/env-utils": "^1.17.0-alpha.4"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@inquirer/prompts": "^8.
|
|
92
|
-
"@inquirer/search": "^4.
|
|
91
|
+
"@inquirer/prompts": "^8.8.0",
|
|
92
|
+
"@inquirer/search": "^4.4.0",
|
|
93
93
|
"@types/node": "^26",
|
|
94
94
|
"@types/yargs": "^17.0.35",
|
|
95
95
|
"@vitest/coverage-v8": "^5.1.0",
|
|
96
96
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
97
97
|
"chalk": "^6.0.1",
|
|
98
98
|
"clipboardy": "^5.3.2",
|
|
99
|
-
"dotenv": "^18.0.
|
|
99
|
+
"dotenv": "^18.0.10",
|
|
100
100
|
"eslint": "^10.14.0",
|
|
101
101
|
"eslint-plugin-n": "^18.5.0",
|
|
102
102
|
"globals": "^17.14.0",
|
|
103
103
|
"ora": "^10.0.0",
|
|
104
|
-
"tsdown": "^0.23.
|
|
104
|
+
"tsdown": "^0.23.7",
|
|
105
105
|
"typescript": "^5.9.3",
|
|
106
106
|
"vitest": "^5.1.0",
|
|
107
107
|
"yargs": "^18.1.0",
|
|
108
|
-
"@theholocron/datapad": "5.0.0-alpha.450",
|
|
109
108
|
"@theholocron/eslint-config": "^8.9.0-alpha.17",
|
|
109
|
+
"@theholocron/datapad": "5.0.0-alpha.452",
|
|
110
110
|
"@theholocron/observability": "0.7.0-alpha.4",
|
|
111
111
|
"@theholocron/tsconfig": "^8.9.0-alpha.17",
|
|
112
|
-
"@theholocron/
|
|
113
|
-
"@theholocron/
|
|
112
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.17",
|
|
113
|
+
"@theholocron/tsdown-config": "^8.9.0-alpha.17"
|
|
114
114
|
},
|
|
115
115
|
"peerDependencies": {
|
|
116
116
|
"@inquirer/prompts": "^8.0.0",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"dotenv": "^17.0.0",
|
|
122
122
|
"ora": "^9.0.0",
|
|
123
123
|
"yargs": "^18.0.0",
|
|
124
|
-
"@theholocron/datapad": "^5.0.0-alpha.
|
|
124
|
+
"@theholocron/datapad": "^5.0.0-alpha.452",
|
|
125
125
|
"@theholocron/observability": "^0.7.0-alpha.4"
|
|
126
126
|
},
|
|
127
127
|
"peerDependenciesMeta": {
|