palabra 1.19.2 → 1.19.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/ChangeLog +10 -0
- package/bin/palabra.js +3 -3
- package/letras/bin/bin.json +2 -2
- package/letras/yara/yara.json +1 -1
- package/package.json +1 -1
package/ChangeLog
CHANGED
package/bin/palabra.js
CHANGED
|
@@ -22,11 +22,11 @@ const instrucciones = args._.shift();
|
|
|
22
22
|
|
|
23
23
|
let cmd = '';
|
|
24
24
|
|
|
25
|
-
if (!instrucciones ||
|
|
25
|
+
if (!instrucciones || /^i(nstall)?$/.test(instrucciones)) {
|
|
26
26
|
cmd = await instalar(args._, args);
|
|
27
|
-
} else if (
|
|
27
|
+
} else if (/^l(ist)?$/.test(instrucciones)) {
|
|
28
28
|
const list = await readdir(new URL('../letras', import.meta.url));
|
|
29
|
-
console.log(list);
|
|
29
|
+
console.log(list.join(' '));
|
|
30
30
|
process.exit(0);
|
|
31
31
|
} else {
|
|
32
32
|
console.error('palabra i [letra1, letra2, ..., letraN]');
|
package/letras/bin/bin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bin",
|
|
3
|
-
"version": "
|
|
4
|
-
"url": "https://github.com/marcosnils/bin/releases/download/{{ version }}/bin_{{ version }}_linux_amd64",
|
|
3
|
+
"version": "0.24.3",
|
|
4
|
+
"url": "https://github.com/marcosnils/bin/releases/download/v{{ version }}/bin_{{ version }}_linux_amd64",
|
|
5
5
|
"bin": {
|
|
6
6
|
"bin": "bin"
|
|
7
7
|
},
|
package/letras/yara/yara.json
CHANGED