jsfunx 1.0.2 → 1.0.3

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/jsfunx.cjs CHANGED
@@ -1464,7 +1464,7 @@ function echo(data) {
1464
1464
  if (arguments.length > 1) {
1465
1465
  throw new TypeError('unexpected token ","');
1466
1466
  }
1467
- process.stdout.write(data);
1467
+ process.stdout.write(`${data}`);
1468
1468
  }
1469
1469
 
1470
1470
  /**
@@ -1782,7 +1782,7 @@ function printf(data) {
1782
1782
  if (arguments.length > 1) {
1783
1783
  throw new TypeError('unexpected token ","');
1784
1784
  }
1785
- process.stdout.write(...data);
1785
+ process.stdout.write(`${data}`);
1786
1786
  }
1787
1787
 
1788
1788
  /**
package/jsfunx.mjs CHANGED
@@ -1470,7 +1470,7 @@ export function echo(data) {
1470
1470
  if (arguments.length > 1) {
1471
1471
  throw new TypeError('unexpected token ","');
1472
1472
  }
1473
- process.stdout.write(data);
1473
+ process.stdout.write(`${data}`);
1474
1474
  }
1475
1475
 
1476
1476
  /**
@@ -1788,7 +1788,7 @@ export function printf(data) {
1788
1788
  if (arguments.length > 1) {
1789
1789
  throw new TypeError('unexpected token ","');
1790
1790
  }
1791
- process.stdout.write(...data);
1791
+ process.stdout.write(`${data}`);
1792
1792
  }
1793
1793
 
1794
1794
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsfunx",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "JavaScript utility functions for cleaner, more readable code",
5
5
  "main": "./jsfunx.cjs",
6
6
  "module": "./jsfunx.mjs",