@optique/logtape 1.0.0-dev.1903 → 1.0.0-dev.1972
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/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -243,7 +243,7 @@ function logOutputValueParser(options = {}) {
|
|
|
243
243
|
const metavar = options.metavar ?? "FILE";
|
|
244
244
|
(0, __optique_core_nonempty.ensureNonEmptyString)(metavar);
|
|
245
245
|
return {
|
|
246
|
-
|
|
246
|
+
mode: "sync",
|
|
247
247
|
metavar,
|
|
248
248
|
placeholder: { type: "console" },
|
|
249
249
|
parse(input) {
|
|
@@ -522,7 +522,7 @@ function loggingOptions(config) {
|
|
|
522
522
|
const outputParser = (0, __optique_core_modifiers.withDefault)(logOutput({ long: outputLong }), defaultOutput);
|
|
523
523
|
if (!outputEnabled) {
|
|
524
524
|
const constantOutputParser = {
|
|
525
|
-
|
|
525
|
+
mode: "sync",
|
|
526
526
|
$valueType: [],
|
|
527
527
|
$stateType: [],
|
|
528
528
|
priority: 0,
|
package/dist/index.js
CHANGED
|
@@ -220,7 +220,7 @@ function logOutputValueParser(options = {}) {
|
|
|
220
220
|
const metavar = options.metavar ?? "FILE";
|
|
221
221
|
ensureNonEmptyString(metavar);
|
|
222
222
|
return {
|
|
223
|
-
|
|
223
|
+
mode: "sync",
|
|
224
224
|
metavar,
|
|
225
225
|
placeholder: { type: "console" },
|
|
226
226
|
parse(input) {
|
|
@@ -499,7 +499,7 @@ function loggingOptions(config) {
|
|
|
499
499
|
const outputParser = withDefault(logOutput({ long: outputLong }), defaultOutput);
|
|
500
500
|
if (!outputEnabled) {
|
|
501
501
|
const constantOutputParser = {
|
|
502
|
-
|
|
502
|
+
mode: "sync",
|
|
503
503
|
$valueType: [],
|
|
504
504
|
$stateType: [],
|
|
505
505
|
priority: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/logtape",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.1972+eebf7c57",
|
|
4
4
|
"description": "LogTape logging integration for Optique CLI parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@optique/core": "1.0.0-dev.
|
|
66
|
+
"@optique/core": "1.0.0-dev.1972+eebf7c57"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@logtape/file": "^2.0.4",
|