webpipe-js 2.0.40 → 2.0.41

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 CHANGED
@@ -523,7 +523,9 @@ var Parser = class {
523
523
  const start = this.pos;
524
524
  this.expect("|>");
525
525
  this.skipInlineSpaces();
526
+ const nameStart = this.pos;
526
527
  const name = this.parseIdentifier();
528
+ const nameEnd = this.pos;
527
529
  const args = this.parseInlineArgs();
528
530
  this.skipInlineSpaces();
529
531
  let config = "";
@@ -543,7 +545,7 @@ var Parser = class {
543
545
  const parsedJoinTargets = name === "join" ? this.parseJoinTaskNames(config) : void 0;
544
546
  this.skipWhitespaceOnly();
545
547
  const end = this.pos;
546
- return { kind: "Regular", name, args, config, configType, configStart, configEnd, condition, parsedJoinTargets, start, end };
548
+ return { kind: "Regular", name, nameStart, nameEnd, args, config, configType, configStart, configEnd, condition, parsedJoinTargets, start, end };
547
549
  }
548
550
  /**
549
551
  * Parse optional step condition (tag expression after the config)
package/dist/index.d.cts CHANGED
@@ -153,6 +153,8 @@ type TagExpr = {
153
153
  type PipelineStep = {
154
154
  kind: 'Regular';
155
155
  name: string;
156
+ nameStart: number;
157
+ nameEnd: number;
156
158
  args: string[];
157
159
  config: string;
158
160
  configType: ConfigType;
package/dist/index.d.ts CHANGED
@@ -153,6 +153,8 @@ type TagExpr = {
153
153
  type PipelineStep = {
154
154
  kind: 'Regular';
155
155
  name: string;
156
+ nameStart: number;
157
+ nameEnd: number;
156
158
  args: string[];
157
159
  config: string;
158
160
  configType: ConfigType;
package/dist/index.mjs CHANGED
@@ -470,7 +470,9 @@ var Parser = class {
470
470
  const start = this.pos;
471
471
  this.expect("|>");
472
472
  this.skipInlineSpaces();
473
+ const nameStart = this.pos;
473
474
  const name = this.parseIdentifier();
475
+ const nameEnd = this.pos;
474
476
  const args = this.parseInlineArgs();
475
477
  this.skipInlineSpaces();
476
478
  let config = "";
@@ -490,7 +492,7 @@ var Parser = class {
490
492
  const parsedJoinTargets = name === "join" ? this.parseJoinTaskNames(config) : void 0;
491
493
  this.skipWhitespaceOnly();
492
494
  const end = this.pos;
493
- return { kind: "Regular", name, args, config, configType, configStart, configEnd, condition, parsedJoinTargets, start, end };
495
+ return { kind: "Regular", name, nameStart, nameEnd, args, config, configType, configStart, configEnd, condition, parsedJoinTargets, start, end };
494
496
  }
495
497
  /**
496
498
  * Parse optional step condition (tag expression after the config)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpipe-js",
3
- "version": "2.0.40",
3
+ "version": "2.0.41",
4
4
  "description": "Web Pipe parser",
5
5
  "license": "ISC",
6
6
  "author": "William Cotton",