roxify 1.16.11 → 1.16.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.
Files changed (2) hide show
  1. package/dist/cli.js +8 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -21,7 +21,7 @@ async function loadJsEngine() {
21
21
  };
22
22
  }
23
23
  // Keep in sync with package.json#version.
24
- const VERSION = '1.16.11';
24
+ const VERSION = '1.16.13';
25
25
  function getDirectorySize(dirPath) {
26
26
  let totalSize = 0;
27
27
  try {
@@ -186,8 +186,13 @@ function parseArgs(args) {
186
186
  i += 2;
187
187
  }
188
188
  else if (key === 'files') {
189
- parsed.files = args[i + 1].split(',');
190
- i += 2;
189
+ if (i + 1 < args.length && !args[i + 1].startsWith('-')) {
190
+ parsed.files = args[i + 1].split(',');
191
+ i += 2;
192
+ }
193
+ else {
194
+ i++;
195
+ }
191
196
  }
192
197
  else if (key === 'dict') {
193
198
  parsed.dict = args[i + 1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roxify",
3
- "version": "1.16.11",
3
+ "version": "1.16.13",
4
4
  "type": "module",
5
5
  "description": "Ultra-lightweight PNG steganography with native Rust acceleration. Encode binary data into PNG images with zstd compression.",
6
6
  "main": "dist/index.js",