webpipe-js 2.0.64 → 2.0.65

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
@@ -778,13 +778,13 @@ var Parser = class {
778
778
  this.expect("then:");
779
779
  this.skipWhitespaceOnly();
780
780
  const thenBranch = this.parseIfPipeline("else:", "end");
781
- this.skipSpaces();
781
+ this.skipWhitespaceOnly();
782
782
  const elseBranch = this.tryParse(() => {
783
783
  this.expect("else:");
784
784
  this.skipWhitespaceOnly();
785
785
  return this.parseIfPipeline("end");
786
786
  });
787
- this.skipSpaces();
787
+ this.skipWhitespaceOnly();
788
788
  this.tryParse(() => {
789
789
  this.expect("end");
790
790
  return true;
package/dist/index.mjs CHANGED
@@ -724,13 +724,13 @@ var Parser = class {
724
724
  this.expect("then:");
725
725
  this.skipWhitespaceOnly();
726
726
  const thenBranch = this.parseIfPipeline("else:", "end");
727
- this.skipSpaces();
727
+ this.skipWhitespaceOnly();
728
728
  const elseBranch = this.tryParse(() => {
729
729
  this.expect("else:");
730
730
  this.skipWhitespaceOnly();
731
731
  return this.parseIfPipeline("end");
732
732
  });
733
- this.skipSpaces();
733
+ this.skipWhitespaceOnly();
734
734
  this.tryParse(() => {
735
735
  this.expect("end");
736
736
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpipe-js",
3
- "version": "2.0.64",
3
+ "version": "2.0.65",
4
4
  "description": "Web Pipe parser",
5
5
  "license": "ISC",
6
6
  "author": "William Cotton",