@nmshd/content 2.8.6 → 2.8.7

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.
@@ -5,11 +5,11 @@ const ts_serval_1 = require("@js-soft/ts-serval");
5
5
  const crypto_1 = require("@nmshd/crypto");
6
6
  const transport_1 = require("@nmshd/transport");
7
7
  exports.buildInformation = {
8
- version: "2.8.6",
9
- build: "26",
10
- date: "2024-02-19T15:34:09+00:00",
11
- commit: "5242e1473f97fa0e5315c0b1ee9790f22468efde",
12
- dependencies: {"@js-soft/logging-abstractions":"^1.0.1","@nmshd/iql":"^1.0.0","easy-tsnameof":"^3.0.6"},
8
+ version: "2.8.7",
9
+ build: "30",
10
+ date: "2024-02-23T11:56:04+00:00",
11
+ commit: "f595da4c58bfeccdfa4911aa46532be9b0898a44",
12
+ dependencies: {"@js-soft/logging-abstractions":"^1.0.1","@nmshd/iql":"^1.0.2","easy-tsnameof":"^3.0.6"},
13
13
  libraries: {
14
14
  serval: ts_serval_1.buildInformation,
15
15
  crypto: crypto_1.buildInformation,
@@ -14738,11 +14738,11 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
14738
14738
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
14739
14739
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
14740
14740
  exports.buildInformation = {
14741
- version: "2.8.6",
14742
- build: "26",
14743
- date: "2024-02-19T15:34:09+00:00",
14744
- commit: "5242e1473f97fa0e5315c0b1ee9790f22468efde",
14745
- dependencies: {"@js-soft/logging-abstractions":"^1.0.1","@nmshd/iql":"^1.0.0","easy-tsnameof":"^3.0.6"},
14741
+ version: "2.8.7",
14742
+ build: "30",
14743
+ date: "2024-02-23T11:56:04+00:00",
14744
+ commit: "f595da4c58bfeccdfa4911aa46532be9b0898a44",
14745
+ dependencies: {"@js-soft/logging-abstractions":"^1.0.1","@nmshd/iql":"^1.0.2","easy-tsnameof":"^3.0.6"},
14746
14746
  libraries: {
14747
14747
  serval: ts_serval_1.buildInformation,
14748
14748
  crypto: crypto_1.buildInformation,
@@ -16475,7 +16475,7 @@ exports.validate = validate;
16475
16475
  \******************************/
16476
16476
  /***/ ((module) => {
16477
16477
 
16478
- // Generated by Peggy 3.0.2.
16478
+ // @generated by Peggy 4.0.0.
16479
16479
  //
16480
16480
  // https://peggyjs.org/
16481
16481
 
@@ -16805,14 +16805,14 @@ function peg$parse(input, options) {
16805
16805
  var peg$f11 = function (val) {
16806
16806
  return val.join("").replaceAll("\\\\", "\\").replaceAll("\\'", "'");
16807
16807
  };
16808
- var peg$currPos = 0;
16809
- var peg$savedPos = 0;
16808
+ var peg$currPos = options.peg$currPos | 0;
16809
+ var peg$savedPos = peg$currPos;
16810
16810
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
16811
- var peg$maxFailPos = 0;
16812
- var peg$maxFailExpected = [];
16813
- var peg$silentFails = 0;
16811
+ var peg$maxFailPos = peg$currPos;
16812
+ var peg$maxFailExpected = options.peg$maxFailExpected || [];
16813
+ var peg$silentFails = options.peg$silentFails | 0;
16814
16814
  var peg$result;
16815
- if ("startRule" in options) {
16815
+ if (options.startRule) {
16816
16816
  if (!(options.startRule in peg$startRuleFunctions)) {
16817
16817
  throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
16818
16818
  }
@@ -16868,9 +16868,12 @@ function peg$parse(input, options) {
16868
16868
  return details;
16869
16869
  }
16870
16870
  else {
16871
- p = pos - 1;
16872
- while (!peg$posDetailsCache[p]) {
16873
- p--;
16871
+ if (pos >= peg$posDetailsCache.length) {
16872
+ p = peg$posDetailsCache.length - 1;
16873
+ }
16874
+ else {
16875
+ p = pos;
16876
+ while (!peg$posDetailsCache[--p]) { }
16874
16877
  }
16875
16878
  details = peg$posDetailsCache[p];
16876
16879
  details = {
@@ -17573,8 +17576,8 @@ function peg$parse(input, options) {
17573
17576
  function peg$parsePredicate() {
17574
17577
  var s0, s1, s2;
17575
17578
  s0 = peg$currPos;
17576
- if (peg$r0.test(input.charAt(peg$currPos))) {
17577
- s1 = input.charAt(peg$currPos);
17579
+ s1 = input.charAt(peg$currPos);
17580
+ if (peg$r0.test(s1)) {
17578
17581
  peg$currPos++;
17579
17582
  }
17580
17583
  else {
@@ -17600,8 +17603,8 @@ function peg$parse(input, options) {
17600
17603
  }
17601
17604
  if (s0 === peg$FAILED) {
17602
17605
  s0 = peg$currPos;
17603
- if (peg$r1.test(input.charAt(peg$currPos))) {
17604
- s1 = input.charAt(peg$currPos);
17606
+ s1 = input.charAt(peg$currPos);
17607
+ if (peg$r1.test(s1)) {
17605
17608
  peg$currPos++;
17606
17609
  }
17607
17610
  else {
@@ -17655,8 +17658,8 @@ function peg$parse(input, options) {
17655
17658
  }
17656
17659
  }
17657
17660
  if (s3 === peg$FAILED) {
17658
- if (peg$r2.test(input.charAt(peg$currPos))) {
17659
- s3 = input.charAt(peg$currPos);
17661
+ s3 = input.charAt(peg$currPos);
17662
+ if (peg$r2.test(s3)) {
17660
17663
  peg$currPos++;
17661
17664
  }
17662
17665
  else {
@@ -17691,8 +17694,8 @@ function peg$parse(input, options) {
17691
17694
  }
17692
17695
  }
17693
17696
  if (s3 === peg$FAILED) {
17694
- if (peg$r2.test(input.charAt(peg$currPos))) {
17695
- s3 = input.charAt(peg$currPos);
17697
+ s3 = input.charAt(peg$currPos);
17698
+ if (peg$r2.test(s3)) {
17696
17699
  peg$currPos++;
17697
17700
  }
17698
17701
  else {
@@ -17752,8 +17755,8 @@ function peg$parse(input, options) {
17752
17755
  }
17753
17756
  }
17754
17757
  if (s2 === peg$FAILED) {
17755
- if (peg$r3.test(input.charAt(peg$currPos))) {
17756
- s2 = input.charAt(peg$currPos);
17758
+ s2 = input.charAt(peg$currPos);
17759
+ if (peg$r3.test(s2)) {
17757
17760
  peg$currPos++;
17758
17761
  }
17759
17762
  else {
@@ -17788,8 +17791,8 @@ function peg$parse(input, options) {
17788
17791
  }
17789
17792
  }
17790
17793
  if (s2 === peg$FAILED) {
17791
- if (peg$r3.test(input.charAt(peg$currPos))) {
17792
- s2 = input.charAt(peg$currPos);
17794
+ s2 = input.charAt(peg$currPos);
17795
+ if (peg$r3.test(s2)) {
17793
17796
  peg$currPos++;
17794
17797
  }
17795
17798
  else {
@@ -17811,8 +17814,8 @@ function peg$parse(input, options) {
17811
17814
  var s0, s1, s2, s3, s4;
17812
17815
  s0 = peg$currPos;
17813
17816
  s1 = peg$currPos;
17814
- if (peg$r4.test(input.charAt(peg$currPos))) {
17815
- s2 = input.charAt(peg$currPos);
17817
+ s2 = input.charAt(peg$currPos);
17818
+ if (peg$r4.test(s2)) {
17816
17819
  peg$currPos++;
17817
17820
  }
17818
17821
  else {
@@ -17823,8 +17826,8 @@ function peg$parse(input, options) {
17823
17826
  }
17824
17827
  if (s2 !== peg$FAILED) {
17825
17828
  s3 = [];
17826
- if (peg$r5.test(input.charAt(peg$currPos))) {
17827
- s4 = input.charAt(peg$currPos);
17829
+ s4 = input.charAt(peg$currPos);
17830
+ if (peg$r5.test(s4)) {
17828
17831
  peg$currPos++;
17829
17832
  }
17830
17833
  else {
@@ -17836,8 +17839,8 @@ function peg$parse(input, options) {
17836
17839
  if (s4 !== peg$FAILED) {
17837
17840
  while (s4 !== peg$FAILED) {
17838
17841
  s3.push(s4);
17839
- if (peg$r5.test(input.charAt(peg$currPos))) {
17840
- s4 = input.charAt(peg$currPos);
17842
+ s4 = input.charAt(peg$currPos);
17843
+ if (peg$r5.test(s4)) {
17841
17844
  peg$currPos++;
17842
17845
  }
17843
17846
  else {
@@ -17877,8 +17880,8 @@ function peg$parse(input, options) {
17877
17880
  peg$silentFails++;
17878
17881
  s0 = peg$currPos;
17879
17882
  s1 = peg$currPos;
17880
- if (peg$r6.test(input.charAt(peg$currPos))) {
17881
- s2 = input.charAt(peg$currPos);
17883
+ s2 = input.charAt(peg$currPos);
17884
+ if (peg$r6.test(s2)) {
17882
17885
  peg$currPos++;
17883
17886
  }
17884
17887
  else {
@@ -17889,8 +17892,8 @@ function peg$parse(input, options) {
17889
17892
  }
17890
17893
  if (s2 !== peg$FAILED) {
17891
17894
  s3 = [];
17892
- if (peg$r5.test(input.charAt(peg$currPos))) {
17893
- s4 = input.charAt(peg$currPos);
17895
+ s4 = input.charAt(peg$currPos);
17896
+ if (peg$r5.test(s4)) {
17894
17897
  peg$currPos++;
17895
17898
  }
17896
17899
  else {
@@ -17901,8 +17904,8 @@ function peg$parse(input, options) {
17901
17904
  }
17902
17905
  while (s4 !== peg$FAILED) {
17903
17906
  s3.push(s4);
17904
- if (peg$r5.test(input.charAt(peg$currPos))) {
17905
- s4 = input.charAt(peg$currPos);
17907
+ s4 = input.charAt(peg$currPos);
17908
+ if (peg$r5.test(s4)) {
17906
17909
  peg$currPos++;
17907
17910
  }
17908
17911
  else {
@@ -17937,8 +17940,8 @@ function peg$parse(input, options) {
17937
17940
  function peg$parse_() {
17938
17941
  var s0, s1;
17939
17942
  peg$silentFails++;
17940
- if (peg$r7.test(input.charAt(peg$currPos))) {
17941
- s0 = input.charAt(peg$currPos);
17943
+ s0 = input.charAt(peg$currPos);
17944
+ if (peg$r7.test(s0)) {
17942
17945
  peg$currPos++;
17943
17946
  }
17944
17947
  else {
@@ -17957,6 +17960,15 @@ function peg$parse(input, options) {
17957
17960
  return s0;
17958
17961
  }
17959
17962
  peg$result = peg$startRuleFunction();
17963
+ if (options.peg$library) {
17964
+ return /** @type {any} */ ({
17965
+ peg$result,
17966
+ peg$currPos,
17967
+ peg$FAILED,
17968
+ peg$maxFailExpected,
17969
+ peg$maxFailPos
17970
+ });
17971
+ }
17960
17972
  if (peg$result !== peg$FAILED && peg$currPos === input.length) {
17961
17973
  return peg$result;
17962
17974
  }
@@ -17970,6 +17982,7 @@ function peg$parse(input, options) {
17970
17982
  }
17971
17983
  }
17972
17984
  module.exports = {
17985
+ StartRules: ["Expr"],
17973
17986
  SyntaxError: peg$SyntaxError,
17974
17987
  parse: peg$parse
17975
17988
  };