@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.
package/dist/cjs/index.js CHANGED
@@ -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
  }
@@ -27626,5 +27626,5 @@ function register() {
27626
27626
  }
27627
27627
  }
27628
27628
 
27629
- //# debugId=70BDDA9A10278B6464756E2164756E21
27629
+ //# debugId=11A0E3734843B02564756E2164756E21
27630
27630
  //# sourceMappingURL=index.js.map