@podlite/markdown 0.0.18 → 0.0.20

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/lib/index.esm.js CHANGED
@@ -12907,7 +12907,8 @@ var require_grammar = __commonJS({
12907
12907
  config: [],
12908
12908
  location: location()
12909
12909
  };
12910
- }, peg$c159 = function(vmargin, name, content4) {
12910
+ }, peg$c159 = function(vmargin, name, first_line, content_rest) {
12911
+ const content4 = (first_line === "\n" ? "" : first_line) + content_rest;
12911
12912
  return {
12912
12913
  margin: vmargin,
12913
12914
  type: "block",
@@ -13828,6 +13829,41 @@ var require_grammar = __commonJS({
13828
13829
  }
13829
13830
  return s0;
13830
13831
  }
13832
+ function peg$parseraw_text_until_eol() {
13833
+ var s0, s1, s2, s3;
13834
+ s0 = peg$currPos;
13835
+ s1 = peg$currPos;
13836
+ s2 = [];
13837
+ s3 = peg$parseText();
13838
+ if (s3 !== peg$FAILED) {
13839
+ while (s3 !== peg$FAILED) {
13840
+ s2.push(s3);
13841
+ s3 = peg$parseText();
13842
+ }
13843
+ } else {
13844
+ s2 = peg$FAILED;
13845
+ }
13846
+ if (s2 !== peg$FAILED) {
13847
+ s1 = input.substring(s1, peg$currPos);
13848
+ } else {
13849
+ s1 = s2;
13850
+ }
13851
+ if (s1 !== peg$FAILED) {
13852
+ s2 = peg$parseEOL();
13853
+ if (s2 !== peg$FAILED) {
13854
+ peg$savedPos = s0;
13855
+ s1 = peg$c34();
13856
+ s0 = s1;
13857
+ } else {
13858
+ peg$currPos = s0;
13859
+ s0 = peg$FAILED;
13860
+ }
13861
+ } else {
13862
+ peg$currPos = s0;
13863
+ s0 = peg$FAILED;
13864
+ }
13865
+ return s0;
13866
+ }
13831
13867
  function peg$parseerror_para() {
13832
13868
  var s0, s1, s2, s3, s4, s5;
13833
13869
  s0 = peg$currPos;
@@ -17541,7 +17577,7 @@ var require_grammar = __commonJS({
17541
17577
  if (s4 !== peg$FAILED) {
17542
17578
  s5 = peg$parseemptyline();
17543
17579
  if (s5 === peg$FAILED) {
17544
- s5 = null;
17580
+ s5 = peg$parseraw_text_until_eol();
17545
17581
  }
17546
17582
  if (s5 !== peg$FAILED) {
17547
17583
  s6 = peg$currPos;
@@ -17604,7 +17640,7 @@ var require_grammar = __commonJS({
17604
17640
  }
17605
17641
  if (s6 !== peg$FAILED) {
17606
17642
  peg$savedPos = s0;
17607
- s1 = peg$c159(s1, s3, s6);
17643
+ s1 = peg$c159(s1, s3, s5, s6);
17608
17644
  s0 = s1;
17609
17645
  } else {
17610
17646
  peg$currPos = s0;
@@ -25080,10 +25116,14 @@ var require_package = __commonJS({
25080
25116
  "../podlite-schema/package.json"(exports, module) {
25081
25117
  module.exports = {
25082
25118
  name: "@podlite/schema",
25083
- version: "0.0.25",
25119
+ version: "0.0.27",
25084
25120
  description: "AST tools for Podlite markup language",
25085
25121
  main: "./src/index.ts",
25086
25122
  license: "MIT",
25123
+ funding: {
25124
+ type: "opencollective",
25125
+ url: "https://opencollective.com/podlite"
25126
+ },
25087
25127
  files: [
25088
25128
  "lib/**/*.js",
25089
25129
  "lib/**/*.d.ts",