tmcsplit 0.0.4 → 0.0.5

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.
Files changed (3) hide show
  1. package/libtmcsplit +2 -1
  2. package/package.json +1 -1
  3. package/tmcsplit +9 -8
package/libtmcsplit CHANGED
@@ -63,7 +63,8 @@ async function
63
63
  _msg;
64
64
  const
65
65
  _chunks_amount_not_number =
66
- isNaN(_chunks_amount);
66
+ typeof(
67
+ _chunks_amount) !== "number";
67
68
  if ( _chunks_amount_not_number ) {
68
69
  _msg =
69
70
  "Chunks amount must be a number.";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name":
3
3
  "tmcsplit",
4
4
  "version":
5
- "0.0.4",
5
+ "0.0.5",
6
6
  "description":
7
7
  "Basic Javascript implementation of GNU Split.",
8
8
  "funding": {
package/tmcsplit CHANGED
@@ -2,20 +2,20 @@
2
2
 
3
3
  // SPDX-License-Identifier: AGPL-3.0-or-later
4
4
 
5
- /** ----------------------------------------------------------------------
5
+ /** -----------------------------------------------------------------
6
6
  * tmcsplit
7
- * ----------------------------------------------------------------------
7
+ * -----------------------------------------------------------------
8
8
  * Copyright ©
9
9
  * Pellegrino Prevete
10
10
  * 2024, 2025, 2026
11
11
  *
12
12
  * All rights reserved
13
- * ----------------------------------------------------------------------
13
+ * -----------------------------------------------------------------
14
14
  *
15
- * This program is free software: you can redistribute it and/or modify
16
- * it under the terms of the GNU General Public License as published by
17
- * the Free Software Foundation, either version 3 of the License, or
18
- * (at your option) any later version.
15
+ * This program is free software: you can redistribute it and/or
16
+ * modify it under the terms of the GNU General Public License as
17
+ * published by the Free Software Foundation, either version 3
18
+ * of the License, or (at your option) any later version.
19
19
  *
20
20
  * This program is distributed in the hope that it will be useful,
21
21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -23,7 +23,8 @@
23
23
  * GNU General Public License for more details.
24
24
  *
25
25
  * You should have received a copy of the GNU General Public License
26
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
26
+ * along with this program.
27
+ * If not, see <https://www.gnu.org/licenses/>.
27
28
  */
28
29
 
29
30
  /* eslint