@optique/core 0.10.4-dev.410 → 0.10.4

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/dist/parser.cjs CHANGED
@@ -350,11 +350,11 @@ function getDocPageSyncImpl(parser, args, options) {
350
350
  state: initialState,
351
351
  usage: parser.usage
352
352
  };
353
- do {
353
+ while (context.buffer.length > 0) {
354
354
  const result = parser.parse(context);
355
355
  if (!result.success) break;
356
356
  context = result.next;
357
- } while (context.buffer.length > 0);
357
+ }
358
358
  return buildDocPage(parser, context, args);
359
359
  }
360
360
  /**
@@ -372,11 +372,11 @@ async function getDocPageAsyncImpl(parser, args, options) {
372
372
  state: initialState,
373
373
  usage: parser.usage
374
374
  };
375
- do {
375
+ while (context.buffer.length > 0) {
376
376
  const result = await parser.parse(context);
377
377
  if (!result.success) break;
378
378
  context = result.next;
379
- } while (context.buffer.length > 0);
379
+ }
380
380
  return buildDocPage(parser, context, args);
381
381
  }
382
382
  /**
package/dist/parser.js CHANGED
@@ -350,11 +350,11 @@ function getDocPageSyncImpl(parser, args, options) {
350
350
  state: initialState,
351
351
  usage: parser.usage
352
352
  };
353
- do {
353
+ while (context.buffer.length > 0) {
354
354
  const result = parser.parse(context);
355
355
  if (!result.success) break;
356
356
  context = result.next;
357
- } while (context.buffer.length > 0);
357
+ }
358
358
  return buildDocPage(parser, context, args);
359
359
  }
360
360
  /**
@@ -372,11 +372,11 @@ async function getDocPageAsyncImpl(parser, args, options) {
372
372
  state: initialState,
373
373
  usage: parser.usage
374
374
  };
375
- do {
375
+ while (context.buffer.length > 0) {
376
376
  const result = await parser.parse(context);
377
377
  if (!result.success) break;
378
378
  context = result.next;
379
- } while (context.buffer.length > 0);
379
+ }
380
380
  return buildDocPage(parser, context, args);
381
381
  }
382
382
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/core",
3
- "version": "0.10.4-dev.410+a001d27d",
3
+ "version": "0.10.4",
4
4
  "description": "Type-safe combinatorial command-line interface parser",
5
5
  "keywords": [
6
6
  "CLI",