@wocker/utils 2.0.0 → 2.0.1-beta.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/codecov +0 -0
- package/codecov.SHA256SUM +1 -0
- package/codecov.SHA256SUM.sig +16 -0
- package/lib/prompts/promptSelect.js +1 -1
- package/package.json +1 -1
package/codecov
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0f7aadde579ebde1443ad2f977beada703f562997fdda603f213faf2a8559868 codecov
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
-----BEGIN PGP SIGNATURE-----
|
|
2
|
+
|
|
3
|
+
iQIzBAABCgAdFiEEJwNOf9uFDgu8LGL/gGuyiu13mGkFAmf1418ACgkQgGuyiu13
|
|
4
|
+
mGke3w/8DpgS1CDxKdV50CKy81LmiA995bEw2ePBRc90JzNrGX7m2JcFQr/GUITs
|
|
5
|
+
JofhfQ6sxnvLLxTLAyiMI8Tcbr2yN/BIjBERIhN8b20zL3KGY6kVS85czQdPs0a7
|
|
6
|
+
BlY3xp7VgCv24E/SWc0m367GvBjVnanhMg+hIoaK4HQpWOx+93GzaGZWCnISl6yh
|
|
7
|
+
Zn13zn/b/oXwvd3iekh3qb918kPwq3F3Ufd8gHLf71gH0usDoRIUwVIMYMjuoMeI
|
|
8
|
+
ceIjZYe1BLG+hNAUkqboi1GK8IJQH66hwyB82KQxUZG0zEOTwhbvFrIijR30BSk6
|
|
9
|
+
KROFxxe8s1kuEZGI/zhKPXkYkjiIdXQQvMP7emsQeLQljRb2k3prUhHw7LyFTPla
|
|
10
|
+
KRK9MX1BoLr1Iol0Py/y8luSBCNvAmeCmbh6uGWS/1SJ/mj6CiZibWIO40qH9NJI
|
|
11
|
+
wDY/JHrTHA2W2EsvREegny7znurxk1ORwT2scEJobu/NiLQEvpz6fvHaKiBcX45z
|
|
12
|
+
53pv1v0xlTFCEF6Vfg2geywIk4Dfi4l7dxyG9hyHtb1lQ0zwcz9KaAPhMjiJCUPa
|
|
13
|
+
zGh0nN/xgkD9u7TNhOW3vG01R/wNW5BF+E8+04AO+RroV230m+a/e958I6pCd9M+
|
|
14
|
+
N6FtNND7ZyIVoHiVA/v/tWc+ODZ5b9K8Q1Y6a0jkCbFZ3ZeCrPI=
|
|
15
|
+
=onSD
|
|
16
|
+
-----END PGP SIGNATURE-----
|
|
@@ -45,7 +45,7 @@ const selectView = (config, done) => {
|
|
|
45
45
|
}
|
|
46
46
|
return options;
|
|
47
47
|
}, [rawOptions]);
|
|
48
|
-
const [status, setStatus] = (0, core_1.useState)("idle"), [showHint, setShowHint] = (0, core_1.useState)(true), [values, setValues] = (0, core_1.useState)(typeof config.default === "string" ? [config.default] : config.default || []), [active, setActive] = (0, core_1.useState)(values.length > 0 ? options.findIndex((o) => o.value === values[0]) : 0), [error, setError] = (0, core_1.useState)(""), icon = (0, core_1.usePrefix)({ theme, status });
|
|
48
|
+
const [status, setStatus] = (0, core_1.useState)("idle"), [showHint, setShowHint] = (0, core_1.useState)(true), [values, setValues] = (0, core_1.useState)(typeof config.default === "string" ? [config.default] : config.default || []), [active, setActive] = (0, core_1.useState)(values.length > 0 ? Math.max(0, options.findIndex((o) => o.value === values[0])) : 0), [error, setError] = (0, core_1.useState)(""), icon = (0, core_1.usePrefix)({ theme, status });
|
|
49
49
|
const activeOption = (0, core_1.useMemo)(() => {
|
|
50
50
|
return options[active];
|
|
51
51
|
}, [options, active]);
|