@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/esm/index.js CHANGED
@@ -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
  }
@@ -27614,5 +27614,5 @@ export {
27614
27614
  ElDmMarkdown
27615
27615
  };
27616
27616
 
27617
- //# debugId=C6905DBAF4228B6D64756E2164756E21
27617
+ //# debugId=C110D270F3136ED764756E2164756E21
27618
27618
  //# sourceMappingURL=index.js.map