mdream 0.10.1 → 0.10.3

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.
@@ -1,4 +1,4 @@
1
- import { Plugin } from "./types-D9VKEbix.mjs";
1
+ import { Plugin } from "./types-E56bjFoA.mjs";
2
2
 
3
3
  //#region src/pluggable/plugin.d.ts
4
4
 
@@ -252,4 +252,4 @@ interface PluginContext {
252
252
  [key: string]: unknown;
253
253
  }
254
254
  //#endregion
255
- export { BufferRegion, ELEMENT_NODE as ELEMENT_NODE$1, ElementNode, ExtractedElement, HTMLToMarkdownOptions, HandlerContext, MdreamProcessingState, MdreamRuntimeState, Node, NodeEvent, Plugin, PluginContext, PluginCreationOptions, ReadabilityContext, TEXT_NODE as TEXT_NODE$1, TagHandler, TailwindContext, TextNode, extractionPlugin as extractionPlugin$1 };
255
+ export { BufferRegion, ELEMENT_NODE as ELEMENT_NODE$1, ElementNode, type ExtractedElement, HTMLToMarkdownOptions, HandlerContext, MdreamProcessingState, MdreamRuntimeState, Node, NodeEvent, Plugin, PluginContext, PluginCreationOptions, ReadabilityContext, TEXT_NODE as TEXT_NODE$1, TagHandler, TailwindContext, TextNode, extractionPlugin as extractionPlugin$1 };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { BufferRegion, ELEMENT_NODE$1 as ELEMENT_NODE, ElementNode, ExtractedElement, HTMLToMarkdownOptions, HandlerContext, MdreamProcessingState, MdreamRuntimeState, Node, NodeEvent, Plugin, PluginContext, PluginCreationOptions, ReadabilityContext, TEXT_NODE$1 as TEXT_NODE, TagHandler, TailwindContext, TextNode } from "./_chunks/types-D9VKEbix.mjs";
2
- import { createPlugin$1 as createPlugin } from "./_chunks/plugin-D45YAMmt.mjs";
1
+ import { BufferRegion, ELEMENT_NODE$1 as ELEMENT_NODE, ElementNode, ExtractedElement, HTMLToMarkdownOptions, HandlerContext, MdreamProcessingState, MdreamRuntimeState, Node, NodeEvent, Plugin, PluginContext, PluginCreationOptions, ReadabilityContext, TEXT_NODE$1 as TEXT_NODE, TagHandler, TailwindContext, TextNode } from "./_chunks/types-E56bjFoA.mjs";
2
+ import { createPlugin$1 as createPlugin } from "./_chunks/plugin-B8PiU4Eb.mjs";
3
3
  import { ReadableStream } from "node:stream/web";
4
4
 
5
5
  //#region src/const.d.ts
@@ -218,4 +218,4 @@ declare function streamHtmlToMarkdown(htmlStream: ReadableStream | null, options
218
218
  //#region src/index.d.ts
219
219
  declare function htmlToMarkdown(html: string, options?: HTMLToMarkdownOptions): string;
220
220
  //#endregion
221
- export { BufferRegion, ELEMENT_NODE, ElementNode, ExtractedElement, HTMLToMarkdownOptions, HandlerContext, LlmsTxtArtifactsOptions, LlmsTxtArtifactsResult, MarkdownProcessor, MdreamProcessingState, MdreamRuntimeState, Node, NodeEvent, Plugin, PluginContext, PluginCreationOptions, ProcessedFile, ReadabilityContext, TEXT_NODE, TagHandler, TagIdMap, TailwindContext, TextNode, createPlugin, generateLlmsTxtArtifacts, htmlToMarkdown, parseHtml, streamHtmlToMarkdown };
221
+ export { BufferRegion, ELEMENT_NODE, ElementNode, ExtractedElement, HTMLToMarkdownOptions, HandlerContext, type LlmsTxtArtifactsOptions, type LlmsTxtArtifactsResult, MarkdownProcessor, MdreamProcessingState, MdreamRuntimeState, Node, NodeEvent, Plugin, PluginContext, PluginCreationOptions, type ProcessedFile, ReadabilityContext, TEXT_NODE, TagHandler, TagIdMap, TailwindContext, TextNode, createPlugin, generateLlmsTxtArtifacts, htmlToMarkdown, parseHtml, streamHtmlToMarkdown };
@@ -1,5 +1,5 @@
1
- import { Plugin, extractionPlugin$1 as extractionPlugin } from "./_chunks/types-D9VKEbix.mjs";
2
- import { createPlugin$1 as createPlugin } from "./_chunks/plugin-D45YAMmt.mjs";
1
+ import { Plugin, extractionPlugin$1 as extractionPlugin } from "./_chunks/types-E56bjFoA.mjs";
2
+ import { createPlugin$1 as createPlugin } from "./_chunks/plugin-B8PiU4Eb.mjs";
3
3
 
4
4
  //#region src/plugins/filter.d.ts
5
5
 
@@ -1,4 +1,4 @@
1
- import { HTMLToMarkdownOptions } from "../_chunks/types-D9VKEbix.mjs";
1
+ import { HTMLToMarkdownOptions } from "../_chunks/types-E56bjFoA.mjs";
2
2
 
3
3
  //#region src/preset/minimal.d.ts
4
4
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mdream",
3
3
  "type": "module",
4
- "version": "0.10.1",
4
+ "version": "0.10.3",
5
5
  "description": "Ultra-performant HTML to Markdown Convertor Optimized for LLMs and llm.txt artifacts.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -9,6 +9,11 @@
9
9
  "url": "https://harlanzw.com/"
10
10
  },
11
11
  "license": "MIT",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/harlan-zw/mdream",
15
+ "directory": "packages/mdream"
16
+ },
12
17
  "exports": {
13
18
  ".": {
14
19
  "types": "./dist/index.d.mts",
@@ -55,7 +60,7 @@
55
60
  "dependencies": {
56
61
  "cac": "^6.7.14",
57
62
  "pathe": "^2.0.3",
58
- "tinyglobby": "^0.2.14"
63
+ "tinyglobby": "^0.2.15"
59
64
  },
60
65
  "scripts": {
61
66
  "flame": "pnpm build && unbuild bench/bundle && clinic flame -- node bench/bundle/dist/string.mjs 10",