webpipe-js 2.0.33 → 2.0.34
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 +9 -3
- package/dist/index.mjs +9 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -514,9 +514,15 @@ var Parser = class {
|
|
|
514
514
|
const name = this.parseIdentifier();
|
|
515
515
|
const args = this.parseInlineArgs();
|
|
516
516
|
this.skipInlineSpaces();
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
517
|
+
let config = "";
|
|
518
|
+
let configType = "quoted";
|
|
519
|
+
if (this.cur() === ":") {
|
|
520
|
+
this.pos++;
|
|
521
|
+
this.skipInlineSpaces();
|
|
522
|
+
const res = this.parseStepConfig();
|
|
523
|
+
config = res.config;
|
|
524
|
+
configType = res.configType;
|
|
525
|
+
}
|
|
520
526
|
const condition = this.parseStepCondition();
|
|
521
527
|
const parsedJoinTargets = name === "join" ? this.parseJoinTaskNames(config) : void 0;
|
|
522
528
|
this.skipWhitespaceOnly();
|
package/dist/index.mjs
CHANGED
|
@@ -462,9 +462,15 @@ var Parser = class {
|
|
|
462
462
|
const name = this.parseIdentifier();
|
|
463
463
|
const args = this.parseInlineArgs();
|
|
464
464
|
this.skipInlineSpaces();
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
465
|
+
let config = "";
|
|
466
|
+
let configType = "quoted";
|
|
467
|
+
if (this.cur() === ":") {
|
|
468
|
+
this.pos++;
|
|
469
|
+
this.skipInlineSpaces();
|
|
470
|
+
const res = this.parseStepConfig();
|
|
471
|
+
config = res.config;
|
|
472
|
+
configType = res.configType;
|
|
473
|
+
}
|
|
468
474
|
const condition = this.parseStepCondition();
|
|
469
475
|
const parsedJoinTargets = name === "join" ? this.parseJoinTaskNames(config) : void 0;
|
|
470
476
|
this.skipWhitespaceOnly();
|