palabra 2.0.0 → 2.1.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/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2026.04.13, v2.1.0
2
+
3
+ feature:
4
+ - 30448ef palabra: use XDG_CACHE_HOME when possible
5
+
1
6
  2026.04.13, v2.0.0
2
7
 
3
8
  feature:
@@ -32,7 +32,7 @@ export const extract = (letra) => {
32
32
  const filename = basename(renderedURL);
33
33
  const renderedextractDirectory = rendy(extractDirectory, letra);
34
34
 
35
- commands.push(`wget ${CONTINUE} ${NOT_OVERWRITE} ${renderedURL} -O /tmp/${filename}`);
35
+ commands.push(`wget ${CONTINUE} ${NOT_OVERWRITE} ${renderedURL} -O \${XDG_CACHE_HOME:-/tmp}/${filename}`);
36
36
  commands.push(`rm -rf ${directorio}/${name}`);
37
37
  commands.push(`mkdir -p ${directorio}/${name}`);
38
38
  commands.push(`tar xf /tmp/${filename} -C ${renderedextractDirectory}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palabra",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Palabra software installer",