palabra 2.16.1 → 2.16.2

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.06.28, v2.16.2
2
+
3
+ fix:
4
+ - bd38051 palabra: x64 -> x86-64
5
+
1
6
  2026.06.28, v2.16.1
2
7
 
3
8
  fix:
@@ -9,12 +9,10 @@ import {download} from './download.js';
9
9
  import {prepare} from './prepare.js';
10
10
 
11
11
  const {isArray} = Array;
12
- const maybeArray = (a) => isArray(a) ? a : [a];
13
-
14
- const isBool = (a) => typeof a === 'boolean';
15
-
16
12
  const {entries} = Object;
17
13
 
14
+ const maybeArray = (a) => isArray(a) ? a : [a];
15
+ const isBool = (a) => typeof a === 'boolean';
18
16
  const isString = (a) => typeof a === 'string';
19
17
 
20
18
  export const parse = (letra, overrides) => {
@@ -3,7 +3,12 @@ import process, {env} from 'node:process';
3
3
 
4
4
  const isString = (a) => typeof a === 'string';
5
5
  const prepareArch = () => {
6
- return env.ARCH || process.arch;
6
+ const arch = env.ARCH || process.arch;
7
+
8
+ if (arch === 'x64')
9
+ return 'x86-64';
10
+
11
+ return arch;
7
12
  };
8
13
 
9
14
  export const prepare = (letra, overrides) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palabra",
3
- "version": "2.16.1",
3
+ "version": "2.16.2",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Palabra software installer",