@duskmoon-dev/el-markdown 0.6.0 → 0.7.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.
@@ -7202,10 +7202,10 @@ function decode($0, $1, $2) {
7202
7202
  return decodeNamedCharacterReference($2) || $0;
7203
7203
  }
7204
7204
 
7205
- // ../../node_modules/.bun/mdast-util-from-markdown@2.0.2/node_modules/mdast-util-from-markdown/dev/lib/index.js
7205
+ // ../../node_modules/.bun/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/dev/lib/index.js
7206
7206
  var own2 = {}.hasOwnProperty;
7207
7207
  function fromMarkdown(value, encoding, options) {
7208
- if (typeof encoding !== "string") {
7208
+ if (encoding && typeof encoding === "object") {
7209
7209
  options = encoding;
7210
7210
  encoding = undefined;
7211
7211
  }
@@ -7333,7 +7333,7 @@ function compiler(options) {
7333
7333
  listStack.push(index2);
7334
7334
  } else {
7335
7335
  const tail = listStack.pop();
7336
- ok(typeof tail === "number", "expected list ot be open");
7336
+ ok(typeof tail === "number", "expected list to be open");
7337
7337
  index2 = prepareList(events, tail, index2);
7338
7338
  }
7339
7339
  }
@@ -27610,5 +27610,5 @@ function register() {
27610
27610
  // src/register.ts
27611
27611
  register();
27612
27612
 
27613
- //# debugId=3DB36280EA4AD8E964756E2164756E21
27613
+ //# debugId=68449F03E5E7E0A764756E2164756E21
27614
27614
  //# sourceMappingURL=register.js.map