@adobe/helix-docx2md 1.8.1 → 1.9.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.9.1](https://github.com/adobe/helix-docx2md/compare/v1.9.0...v1.9.1) (2025-10-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update adobe fixes ([#706](https://github.com/adobe/helix-docx2md/issues/706)) ([9098eff](https://github.com/adobe/helix-docx2md/commit/9098effdacf86603a9651c570d89c041a7bba471))
7
+
8
+ # [1.9.0](https://github.com/adobe/helix-docx2md/compare/v1.8.1...v1.9.0) (2025-10-06)
9
+
10
+
11
+ ### Features
12
+
13
+ * use named bookmarks ([#705](https://github.com/adobe/helix-docx2md/issues/705)) ([88445e4](https://github.com/adobe/helix-docx2md/commit/88445e425cb67aa60ae1bee172f791a4f17623c5))
14
+
1
15
  ## [1.8.1](https://github.com/adobe/helix-docx2md/compare/v1.8.0...v1.8.1) (2025-10-06)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-docx2md",
3
- "version": "1.8.1",
3
+ "version": "1.9.1",
4
4
  "description": "Helix library that converts word documents to markdown",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "homepage": "https://github.com/adobe/helix-docx2md#readme",
36
36
  "dependencies": {
37
- "@adobe/helix-markdown-support": "7.1.12",
37
+ "@adobe/helix-markdown-support": "7.1.13",
38
38
  "@adobe/helix-shared-process-queue": "3.1.3",
39
39
  "@adobe/mammoth": "1.7.1-bleeding.2",
40
40
  "@adobe/mdast-util-gridtables": "4.0.13",
@@ -52,10 +52,10 @@
52
52
  "yauzl": "3.2.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@adobe/eslint-config-helix": "3.0.10",
55
+ "@adobe/eslint-config-helix": "3.0.11",
56
56
  "@adobe/helix-admin-support": "3.4.1",
57
57
  "@adobe/helix-mediahandler": "2.9.2",
58
- "@adobe/helix-onedrive-support": "12.0.29",
58
+ "@adobe/helix-onedrive-support": "12.0.30",
59
59
  "@adobe/helix-shared-tokencache": "1.5.0",
60
60
  "@eslint/config-helpers": "0.3.1",
61
61
  "@semantic-release/changelog": "6.0.3",
@@ -120,7 +120,7 @@ export default async function dast2mdast(tree, opts = {}) {
120
120
  bm.id = bm.target.id;
121
121
  } else if (bm.links.length) {
122
122
  // create an anchor node for non-heading bookmarks
123
- bm.id = slugger.slug('bookmark');
123
+ bm.id = slugger.slug(bm.name || 'bookmark');
124
124
  bm.target.type = 'html';
125
125
  bm.target.value = `<a id="${bm.id}"></a>`;
126
126
  } else {