caique 0.5.2 → 0.5.4
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 +3 -2
- package/dist/inquirer-theme.js +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<p align="center">
|
|
21
|
-
Docs: <a href="https://caique.interlace.tools">https://caique.interlace.tools</a
|
|
21
|
+
Docs: <a href="https://caique.interlace.tools">https://caique.interlace.tools</a><br />
|
|
22
|
+
Migrating from: <a href="https://caique.interlace.tools/docs/coming-from/inquirer">inquirer</a> · <a href="https://caique.interlace.tools/docs/coming-from/clack">clack</a>
|
|
22
23
|
</p>
|
|
23
24
|
|
|
24
25
|
**Released, pre-1.0.** `decide()`, `ask()` and the `caique/inquirer` and `caique/clack`
|
|
@@ -268,7 +269,7 @@ Graded by the incumbent's own test suite:
|
|
|
268
269
|
| `clack` | 14 / 17 |
|
|
269
270
|
| `inquirer-core` | 41 / 41 |
|
|
270
271
|
|
|
271
|
-
Weight, installed and tree-inclusive: **123,
|
|
272
|
+
Weight, installed and tree-inclusive: **123,656 bytes** against **389,049** for the incumbents it replaces — a ratio of **0.3178**.
|
|
272
273
|
## Where it sits
|
|
273
274
|
|
|
274
275
|
Plugins register under the `widgets` key, against the one schema the whole family shares.
|
package/dist/inquirer-theme.js
CHANGED
|
@@ -39,6 +39,8 @@ function deepMerge(...objects) {
|
|
|
39
39
|
const output = {};
|
|
40
40
|
for (const object of objects) {
|
|
41
41
|
for (const [key, value] of Object.entries(object)) {
|
|
42
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype')
|
|
43
|
+
continue;
|
|
42
44
|
const previous = output[key];
|
|
43
45
|
output[key] = isPlainObject(previous) && isPlainObject(value) ? deepMerge(previous, value) : value;
|
|
44
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caique",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "The parrot that always answers back, and the boat that goes between ship and shore. Prompts that are flags first, so agents answer before they are asked and non-TTY callers get an error naming the flag, never a hang. Drop-in path for inquirer and clack.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"ai-agent"
|
|
99
99
|
],
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"closeout": "^0.5.
|
|
102
|
-
"linegauge": "^0.5.
|
|
101
|
+
"closeout": "^0.5.4",
|
|
102
|
+
"linegauge": "^0.5.4"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
105
|
"vitest": "^5.0.1"
|