palabra 2.7.12 → 2.7.13

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 CHANGED
@@ -1,3 +1,8 @@
1
+ 2026.05.03, v2.7.13
2
+
3
+ fix:
4
+ - 6f8e659 palabra: nvchad: dependencies
5
+
1
6
  2026.05.03, v2.7.12
2
7
 
3
8
  feature:
package/letras/f4/f4.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "name": "f4",
3
- "url": "https://github.com/unxed/{{ name }}/releases/download/nightly/{{ name }}-linux-amd64.tar.gz",
4
- "bin": "f4",
5
- "test": "f4 -v",
6
- "extractDirectory": "{{ directorio }}/{{ name }}"
7
- }
2
+ "name": "f4",
3
+ "url": "https://github.com/unxed/{{ name }}/releases/download/nightly/{{ name }}-linux-amd64.tar.gz",
4
+ "bin": "f4",
5
+ "test": "f4 -v",
6
+ "extractDirectory": "{{ directorio }}/{{ name }}"
7
+ }
@@ -1,9 +1,9 @@
1
1
  {
2
- "name": "nvchad",
3
- "dependencies": ["nvim"],
4
- "beforeInstall": [
5
- "rm -rf ${XDG_CONFIG_HOME:-~/.config}/nvim",
6
- "git clone https://github.com/NvChad/starter ${XDG_CONFIG_HOME:-~/.config}/nvim",
7
- "nvim --headless '+Lazy! sync' +qa"
8
- ]
9
- }
2
+ "name": "nvchad",
3
+ "dependencies": ["nvim"],
4
+ "beforeInstall": [
5
+ "rm -rf ${XDG_CONFIG_HOME:-~/.config}/nvim",
6
+ "git clone https://github.com/NvChad/starter ${XDG_CONFIG_HOME:-~/.config}/nvim",
7
+ "nvim --headless '+Lazy! sync' +qa"
8
+ ]
9
+ }
package/lib/escuchar.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import {buscar} from './buscar.js';
2
2
 
3
3
  const {entries} = Object;
4
+ const notName = (a) => ({name}) => a !== name;
4
5
 
5
6
  export const escuchar = async (palabras) => {
6
- const silabas = [];
7
+ let silabas = [];
7
8
  const {
8
9
  directorio = '~/.local/share',
9
10
  letras = [],
@@ -25,16 +26,17 @@ export const escuchar = async (palabras) => {
25
26
  }
26
27
 
27
28
  for (const dep of dependencies) {
28
- if (names.has(dep))
29
- continue;
30
-
31
29
  const letra = await buscar(dep, {
32
30
  directorio,
33
31
  });
34
32
 
33
+ if (names.has(dep))
34
+ silabas = silabas.filter(notName(dep));
35
+
35
36
  silabas.unshift(letra);
37
+
36
38
  names.add(dep);
37
39
  }
38
40
 
39
- return [directorio, await Promise.all(silabas)];
41
+ return [directorio, silabas];
40
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palabra",
3
- "version": "2.7.12",
3
+ "version": "2.7.13",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Palabra software installer",