webpipe-js 2.0.39 → 2.0.40
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 +3 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1057,11 +1057,13 @@ var Parser = class {
|
|
|
1057
1057
|
const start = this.pos;
|
|
1058
1058
|
this.expect("calling");
|
|
1059
1059
|
this.skipInlineSpaces();
|
|
1060
|
+
const methodStart = this.pos;
|
|
1060
1061
|
const method = this.parseMethod();
|
|
1061
1062
|
this.skipInlineSpaces();
|
|
1063
|
+
const pathStart = this.pos;
|
|
1062
1064
|
const path = this.consumeWhile((c) => c !== "\n");
|
|
1063
1065
|
const end = this.pos;
|
|
1064
|
-
return { kind: "CallingRoute", method, path, start, end };
|
|
1066
|
+
return { kind: "CallingRoute", method, methodStart, path, pathStart, start, end };
|
|
1065
1067
|
});
|
|
1066
1068
|
if (calling) return calling;
|
|
1067
1069
|
const executingPipeline = this.tryParse(() => {
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1004,11 +1004,13 @@ var Parser = class {
|
|
|
1004
1004
|
const start = this.pos;
|
|
1005
1005
|
this.expect("calling");
|
|
1006
1006
|
this.skipInlineSpaces();
|
|
1007
|
+
const methodStart = this.pos;
|
|
1007
1008
|
const method = this.parseMethod();
|
|
1008
1009
|
this.skipInlineSpaces();
|
|
1010
|
+
const pathStart = this.pos;
|
|
1009
1011
|
const path = this.consumeWhile((c) => c !== "\n");
|
|
1010
1012
|
const end = this.pos;
|
|
1011
|
-
return { kind: "CallingRoute", method, path, start, end };
|
|
1013
|
+
return { kind: "CallingRoute", method, methodStart, path, pathStart, start, end };
|
|
1012
1014
|
});
|
|
1013
1015
|
if (calling) return calling;
|
|
1014
1016
|
const executingPipeline = this.tryParse(() => {
|