@optique/core 1.0.0-dev.1688 → 1.0.0-dev.1692
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/facade.cjs +6 -6
- package/dist/facade.d.cts +6 -6
- package/dist/facade.d.ts +6 -6
- package/dist/facade.js +6 -6
- package/package.json +1 -1
package/dist/facade.cjs
CHANGED
|
@@ -1254,8 +1254,8 @@ async function runWithBody(parser, programName, contexts, args, options) {
|
|
|
1254
1254
|
* @returns Promise that resolves to the parsed result.
|
|
1255
1255
|
* @throws {TypeError} If two or more contexts share the same
|
|
1256
1256
|
* {@link SourceContext.id}.
|
|
1257
|
-
* @throws {SuppressedError} If
|
|
1258
|
-
* throws. The original
|
|
1257
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
1258
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
1259
1259
|
* disposal error via `.error`.
|
|
1260
1260
|
* @since 0.10.0
|
|
1261
1261
|
*
|
|
@@ -1355,8 +1355,8 @@ function runWithSyncBody(parser, programName, contexts, args, options) {
|
|
|
1355
1355
|
* {@link SourceContext.id}.
|
|
1356
1356
|
* @throws {Error} If any context returns a Promise or if a context's
|
|
1357
1357
|
* `[Symbol.asyncDispose]` returns a Promise.
|
|
1358
|
-
* @throws {SuppressedError} If
|
|
1359
|
-
* throws. The original
|
|
1358
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
1359
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
1360
1360
|
* disposal error via `.error`.
|
|
1361
1361
|
* @since 0.10.0
|
|
1362
1362
|
*/
|
|
@@ -1398,8 +1398,8 @@ function runWithSync(parser, programName, contexts, options) {
|
|
|
1398
1398
|
* @returns Promise that resolves to the parsed result.
|
|
1399
1399
|
* @throws {TypeError} If two or more contexts share the same
|
|
1400
1400
|
* {@link SourceContext.id}.
|
|
1401
|
-
* @throws {SuppressedError} If
|
|
1402
|
-
* throws. The original
|
|
1401
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
1402
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
1403
1403
|
* disposal error via `.error`.
|
|
1404
1404
|
* @since 0.10.0
|
|
1405
1405
|
*/
|
package/dist/facade.d.cts
CHANGED
|
@@ -430,8 +430,8 @@ type ContextOptionsParam<TContexts extends readonly SourceContext<unknown>[], TV
|
|
|
430
430
|
* @returns Promise that resolves to the parsed result.
|
|
431
431
|
* @throws {TypeError} If two or more contexts share the same
|
|
432
432
|
* {@link SourceContext.id}.
|
|
433
|
-
* @throws {SuppressedError} If
|
|
434
|
-
* throws. The original
|
|
433
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
434
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
435
435
|
* disposal error via `.error`.
|
|
436
436
|
* @since 0.10.0
|
|
437
437
|
*
|
|
@@ -476,8 +476,8 @@ declare function runWith<TParser extends Parser<Mode, unknown, unknown>, TContex
|
|
|
476
476
|
* {@link SourceContext.id}.
|
|
477
477
|
* @throws {Error} If any context returns a Promise or if a context's
|
|
478
478
|
* `[Symbol.asyncDispose]` returns a Promise.
|
|
479
|
-
* @throws {SuppressedError} If
|
|
480
|
-
* throws. The original
|
|
479
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
480
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
481
481
|
* disposal error via `.error`.
|
|
482
482
|
* @since 0.10.0
|
|
483
483
|
*/
|
|
@@ -498,8 +498,8 @@ declare function runWithSync<TParser extends Parser<"sync", unknown, unknown>, T
|
|
|
498
498
|
* @returns Promise that resolves to the parsed result.
|
|
499
499
|
* @throws {TypeError} If two or more contexts share the same
|
|
500
500
|
* {@link SourceContext.id}.
|
|
501
|
-
* @throws {SuppressedError} If
|
|
502
|
-
* throws. The original
|
|
501
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
502
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
503
503
|
* disposal error via `.error`.
|
|
504
504
|
* @since 0.10.0
|
|
505
505
|
*/
|
package/dist/facade.d.ts
CHANGED
|
@@ -430,8 +430,8 @@ type ContextOptionsParam<TContexts extends readonly SourceContext<unknown>[], TV
|
|
|
430
430
|
* @returns Promise that resolves to the parsed result.
|
|
431
431
|
* @throws {TypeError} If two or more contexts share the same
|
|
432
432
|
* {@link SourceContext.id}.
|
|
433
|
-
* @throws {SuppressedError} If
|
|
434
|
-
* throws. The original
|
|
433
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
434
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
435
435
|
* disposal error via `.error`.
|
|
436
436
|
* @since 0.10.0
|
|
437
437
|
*
|
|
@@ -476,8 +476,8 @@ declare function runWith<TParser extends Parser<Mode, unknown, unknown>, TContex
|
|
|
476
476
|
* {@link SourceContext.id}.
|
|
477
477
|
* @throws {Error} If any context returns a Promise or if a context's
|
|
478
478
|
* `[Symbol.asyncDispose]` returns a Promise.
|
|
479
|
-
* @throws {SuppressedError} If
|
|
480
|
-
* throws. The original
|
|
479
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
480
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
481
481
|
* disposal error via `.error`.
|
|
482
482
|
* @since 0.10.0
|
|
483
483
|
*/
|
|
@@ -498,8 +498,8 @@ declare function runWithSync<TParser extends Parser<"sync", unknown, unknown>, T
|
|
|
498
498
|
* @returns Promise that resolves to the parsed result.
|
|
499
499
|
* @throws {TypeError} If two or more contexts share the same
|
|
500
500
|
* {@link SourceContext.id}.
|
|
501
|
-
* @throws {SuppressedError} If
|
|
502
|
-
* throws. The original
|
|
501
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
502
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
503
503
|
* disposal error via `.error`.
|
|
504
504
|
* @since 0.10.0
|
|
505
505
|
*/
|
package/dist/facade.js
CHANGED
|
@@ -1254,8 +1254,8 @@ async function runWithBody(parser, programName, contexts, args, options) {
|
|
|
1254
1254
|
* @returns Promise that resolves to the parsed result.
|
|
1255
1255
|
* @throws {TypeError} If two or more contexts share the same
|
|
1256
1256
|
* {@link SourceContext.id}.
|
|
1257
|
-
* @throws {SuppressedError} If
|
|
1258
|
-
* throws. The original
|
|
1257
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
1258
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
1259
1259
|
* disposal error via `.error`.
|
|
1260
1260
|
* @since 0.10.0
|
|
1261
1261
|
*
|
|
@@ -1355,8 +1355,8 @@ function runWithSyncBody(parser, programName, contexts, args, options) {
|
|
|
1355
1355
|
* {@link SourceContext.id}.
|
|
1356
1356
|
* @throws {Error} If any context returns a Promise or if a context's
|
|
1357
1357
|
* `[Symbol.asyncDispose]` returns a Promise.
|
|
1358
|
-
* @throws {SuppressedError} If
|
|
1359
|
-
* throws. The original
|
|
1358
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
1359
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
1360
1360
|
* disposal error via `.error`.
|
|
1361
1361
|
* @since 0.10.0
|
|
1362
1362
|
*/
|
|
@@ -1398,8 +1398,8 @@ function runWithSync(parser, programName, contexts, options) {
|
|
|
1398
1398
|
* @returns Promise that resolves to the parsed result.
|
|
1399
1399
|
* @throws {TypeError} If two or more contexts share the same
|
|
1400
1400
|
* {@link SourceContext.id}.
|
|
1401
|
-
* @throws {SuppressedError} If
|
|
1402
|
-
* throws. The original
|
|
1401
|
+
* @throws {SuppressedError} If the runner throws and a context's disposal
|
|
1402
|
+
* also throws. The original error is available via `.suppressed` and the
|
|
1403
1403
|
* disposal error via `.error`.
|
|
1404
1404
|
* @since 0.10.0
|
|
1405
1405
|
*/
|