@dragon708/docmind-markdown 1.1.2 → 1.1.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +3 -15
package/dist/index.d.ts CHANGED
@@ -304,7 +304,7 @@ interface ConvertDocxToMarkdownResult {
304
304
  /**
305
305
  * **Node only.** Primary API: `.docx` bytes → semantic HTML (Mammoth) → LLM-friendly Markdown (Turndown + optional GFM).
306
306
  *
307
- * Optional peers: `mammoth`, `turndown`. Runtime dependency: `turndown-plugin-gfm` (declared on this package) when
307
+ * Dependencies: `mammoth`, `turndown`, and `turndown-plugin-gfm` (all declared on this package). GFM is loaded when
308
308
  * {@link ConvertDocxToMarkdownOptions.includeTables} is true.
309
309
  *
310
310
  * @see {@link convertDocxBufferToMarkdown} for a thin wrapper that only returns `markdown` and `messages`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dragon708/docmind-markdown",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "StructuredDocumentResult → Markdown and LLM-oriented plain text for DocMind.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -37,26 +37,14 @@
37
37
  "dependencies": {
38
38
  "@dragon708/docmind-shared": "^1.2.0",
39
39
  "@opendataloader/pdf": "^2.2.1",
40
- "turndown-plugin-gfm": "^1.0.2"
41
- },
42
- "peerDependencies": {
43
40
  "mammoth": "^1.6.0",
44
- "turndown": "^7.0.0"
45
- },
46
- "peerDependenciesMeta": {
47
- "mammoth": {
48
- "optional": true
49
- },
50
- "turndown": {
51
- "optional": true
52
- }
41
+ "turndown": "^7.0.0",
42
+ "turndown-plugin-gfm": "^1.0.2"
53
43
  },
54
44
  "devDependencies": {
55
45
  "@types/node": "^20.19.37",
56
46
  "jszip": "^3.10.1",
57
- "mammoth": "^1.12.0",
58
47
  "tsup": "^8.5.1",
59
- "turndown": "^7.2.4",
60
48
  "typescript": "^5.9.3",
61
49
  "vitest": "^1.6.1"
62
50
  }