@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.
@@ -7221,10 +7221,10 @@ function decode($0, $1, $2) {
7221
7221
  return decodeNamedCharacterReference($2) || $0;
7222
7222
  }
7223
7223
 
7224
- // ../../node_modules/.bun/mdast-util-from-markdown@2.0.2/node_modules/mdast-util-from-markdown/dev/lib/index.js
7224
+ // ../../node_modules/.bun/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/dev/lib/index.js
7225
7225
  var own2 = {}.hasOwnProperty;
7226
7226
  function fromMarkdown(value, encoding, options) {
7227
- if (typeof encoding !== "string") {
7227
+ if (encoding && typeof encoding === "object") {
7228
7228
  options = encoding;
7229
7229
  encoding = undefined;
7230
7230
  }
@@ -7352,7 +7352,7 @@ function compiler(options) {
7352
7352
  listStack.push(index2);
7353
7353
  } else {
7354
7354
  const tail = listStack.pop();
7355
- ok(typeof tail === "number", "expected list ot be open");
7355
+ ok(typeof tail === "number", "expected list to be open");
7356
7356
  index2 = prepareList(events, tail, index2);
7357
7357
  }
7358
7358
  }
@@ -27629,5 +27629,5 @@ function register() {
27629
27629
  // src/register.ts
27630
27630
  register();
27631
27631
 
27632
- //# debugId=0EC2D56AA9AC49B964756E2164756E21
27632
+ //# debugId=6A4C5B812D79709D64756E2164756E21
27633
27633
  //# sourceMappingURL=register.js.map