mdream 0.10.0 → 0.10.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.
@@ -1096,6 +1096,7 @@ function parseAttributes(attrStr) {
1096
1096
  if (!isSpace) {
1097
1097
  state = NAME;
1098
1098
  nameStart = i;
1099
+ nameEnd = 0;
1099
1100
  }
1100
1101
  break;
1101
1102
  case NAME:
@@ -1111,6 +1112,7 @@ function parseAttributes(attrStr) {
1111
1112
  result[name] = "";
1112
1113
  state = NAME;
1113
1114
  nameStart = i;
1115
+ nameEnd = 0;
1114
1116
  }
1115
1117
  break;
1116
1118
  case BEFORE_VALUE:
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./_chunks/extraction-D28Kr1J3.mjs";
2
- import { generateLlmsTxtArtifacts, streamHtmlToMarkdown } from "./_chunks/src-ChFJhyZI.mjs";
2
+ import { generateLlmsTxtArtifacts, streamHtmlToMarkdown } from "./_chunks/src-DYO16Ybo.mjs";
3
3
  import "./_chunks/plugins-DXY-fo9h.mjs";
4
4
  import { withMinimalPreset } from "./_chunks/minimal-CCnrG7a1.mjs";
5
5
  import { mkdir, writeFile } from "node:fs/promises";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  import { TagIdMap, createPlugin } from "./_chunks/extraction-D28Kr1J3.mjs";
2
- import { MarkdownProcessor, generateLlmsTxtArtifacts, htmlToMarkdown, parseHtml, streamHtmlToMarkdown } from "./_chunks/src-ChFJhyZI.mjs";
2
+ import { MarkdownProcessor, generateLlmsTxtArtifacts, htmlToMarkdown, parseHtml, streamHtmlToMarkdown } from "./_chunks/src-DYO16Ybo.mjs";
3
3
 
4
4
  export { MarkdownProcessor, TagIdMap, createPlugin, generateLlmsTxtArtifacts, htmlToMarkdown, parseHtml, streamHtmlToMarkdown };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mdream",
3
3
  "type": "module",
4
- "version": "0.10.0",
4
+ "version": "0.10.1",
5
5
  "description": "Ultra-performant HTML to Markdown Convertor Optimized for LLMs and llm.txt artifacts.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",