@swaggerexpert/jsonpath 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -421,9 +421,10 @@ current-node-identifier = "@"
421
421
  comparison-expr = comparable S comparison-op S comparable
422
422
  literal = number / string-literal /
423
423
  true / false / null
424
- comparable = literal /
425
- singular-query / ; singular query value
426
- function-expr ; ValueType
424
+ comparable = singular-query / ; singular query value
425
+ function-expr / ; ValueType
426
+ literal
427
+ ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343
427
428
  comparison-op = "==" / "!=" /
428
429
  "<=" / ">=" /
429
430
  "<" / ">"
@@ -451,7 +452,7 @@ LCALPHA = %x61-7A ; "a".."z"
451
452
 
452
453
  function-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used
453
454
  *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used
454
- function-argument = logical-expr / ; MODIFICATION: PEG-ordered
455
+ function-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343
455
456
  function-expr /
456
457
  filter-query / ; (includes singular-query)
457
458
  literal
package/cjs/grammar.cjs CHANGED
@@ -1583,17 +1583,17 @@ function grammar() {
1583
1583
  children: [1, 2, 3]
1584
1584
  }; // ALT
1585
1585
  this.rules[39].opcodes[1] = {
1586
- type: 4,
1587
- index: 38
1588
- }; // RNM(literal)
1589
- this.rules[39].opcodes[2] = {
1590
1586
  type: 4,
1591
1587
  index: 41
1592
1588
  }; // RNM(singular-query)
1593
- this.rules[39].opcodes[3] = {
1589
+ this.rules[39].opcodes[2] = {
1594
1590
  type: 4,
1595
1591
  index: 57
1596
1592
  }; // RNM(function-expr)
1593
+ this.rules[39].opcodes[3] = {
1594
+ type: 4,
1595
+ index: 38
1596
+ }; // RNM(literal)
1597
1597
 
1598
1598
  /* comparison-op */
1599
1599
  this.rules[40].opcodes = [];
@@ -2717,9 +2717,10 @@ function grammar() {
2717
2717
  str += "comparison-expr = comparable S comparison-op S comparable\n";
2718
2718
  str += "literal = number / string-literal /\n";
2719
2719
  str += " true / false / null\n";
2720
- str += "comparable = literal /\n";
2721
- str += " singular-query / ; singular query value\n";
2722
- str += " function-expr ; ValueType\n";
2720
+ str += "comparable = singular-query / ; singular query value\n";
2721
+ str += " function-expr / ; ValueType\n";
2722
+ str += " literal\n";
2723
+ str += " ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n";
2723
2724
  str += "comparison-op = \"==\" / \"!=\" /\n";
2724
2725
  str += " \"<=\" / \">=\" /\n";
2725
2726
  str += " \"<\" / \">\"\n";
@@ -2747,7 +2748,7 @@ function grammar() {
2747
2748
  str += "\n";
2748
2749
  str += "function-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n";
2749
2750
  str += " *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\n";
2750
- str += "function-argument = logical-expr / ; MODIFICATION: PEG-ordered\n";
2751
+ str += "function-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n";
2751
2752
  str += " function-expr /\n";
2752
2753
  str += " filter-query / ; (includes singular-query)\n";
2753
2754
  str += " literal\n";
package/es/grammar.mjs CHANGED
@@ -1579,17 +1579,17 @@ export default function grammar() {
1579
1579
  children: [1, 2, 3]
1580
1580
  }; // ALT
1581
1581
  this.rules[39].opcodes[1] = {
1582
- type: 4,
1583
- index: 38
1584
- }; // RNM(literal)
1585
- this.rules[39].opcodes[2] = {
1586
1582
  type: 4,
1587
1583
  index: 41
1588
1584
  }; // RNM(singular-query)
1589
- this.rules[39].opcodes[3] = {
1585
+ this.rules[39].opcodes[2] = {
1590
1586
  type: 4,
1591
1587
  index: 57
1592
1588
  }; // RNM(function-expr)
1589
+ this.rules[39].opcodes[3] = {
1590
+ type: 4,
1591
+ index: 38
1592
+ }; // RNM(literal)
1593
1593
 
1594
1594
  /* comparison-op */
1595
1595
  this.rules[40].opcodes = [];
@@ -2713,9 +2713,10 @@ export default function grammar() {
2713
2713
  str += "comparison-expr = comparable S comparison-op S comparable\n";
2714
2714
  str += "literal = number / string-literal /\n";
2715
2715
  str += " true / false / null\n";
2716
- str += "comparable = literal /\n";
2717
- str += " singular-query / ; singular query value\n";
2718
- str += " function-expr ; ValueType\n";
2716
+ str += "comparable = singular-query / ; singular query value\n";
2717
+ str += " function-expr / ; ValueType\n";
2718
+ str += " literal\n";
2719
+ str += " ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n";
2719
2720
  str += "comparison-op = \"==\" / \"!=\" /\n";
2720
2721
  str += " \"<=\" / \">=\" /\n";
2721
2722
  str += " \"<\" / \">\"\n";
@@ -2743,7 +2744,7 @@ export default function grammar() {
2743
2744
  str += "\n";
2744
2745
  str += "function-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n";
2745
2746
  str += " *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\n";
2746
- str += "function-argument = logical-expr / ; MODIFICATION: PEG-ordered\n";
2747
+ str += "function-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n";
2747
2748
  str += " function-expr /\n";
2748
2749
  str += " filter-query / ; (includes singular-query)\n";
2749
2750
  str += " literal\n";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.0.0",
6
+ "version": "1.0.1",
7
7
  "description": "RCF 9535 implementation of JSONPath",
8
8
  "main": "./cjs/index.cjs",
9
9
  "types": "./types/index.d.ts",
@@ -63,7 +63,7 @@
63
63
  "apg-lite": "^1.0.4"
64
64
  },
65
65
  "devDependencies": {
66
- "@babel/cli": "=7.26.4",
66
+ "@babel/cli": "=7.27.0",
67
67
  "@babel/core": "=7.26.10",
68
68
  "@babel/preset-env": "=7.26.9",
69
69
  "@commitlint/cli": "=19.8.0",