webpipe-js 2.0.5 → 2.0.6

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
@@ -538,7 +538,7 @@ var Parser = class {
538
538
  const steps = [];
539
539
  while (true) {
540
540
  const save = this.pos;
541
- this.skipWhitespaceOnly();
541
+ this.skipSpaces();
542
542
  for (const keyword of stopKeywords) {
543
543
  if (this.text.startsWith(keyword, this.pos)) {
544
544
  this.pos = save;
@@ -558,7 +558,7 @@ var Parser = class {
558
558
  const steps = [];
559
559
  while (true) {
560
560
  const save = this.pos;
561
- this.skipWhitespaceOnly();
561
+ this.skipSpaces();
562
562
  if (!this.text.startsWith("|>", this.pos)) {
563
563
  this.pos = save;
564
564
  break;
package/dist/index.mjs CHANGED
@@ -489,7 +489,7 @@ var Parser = class {
489
489
  const steps = [];
490
490
  while (true) {
491
491
  const save = this.pos;
492
- this.skipWhitespaceOnly();
492
+ this.skipSpaces();
493
493
  for (const keyword of stopKeywords) {
494
494
  if (this.text.startsWith(keyword, this.pos)) {
495
495
  this.pos = save;
@@ -509,7 +509,7 @@ var Parser = class {
509
509
  const steps = [];
510
510
  while (true) {
511
511
  const save = this.pos;
512
- this.skipWhitespaceOnly();
512
+ this.skipSpaces();
513
513
  if (!this.text.startsWith("|>", this.pos)) {
514
514
  this.pos = save;
515
515
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpipe-js",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Web Pipe parser",
5
5
  "license": "ISC",
6
6
  "author": "William Cotton",