@adobe/helix-docx2md 1.7.0 → 1.8.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.8.1](https://github.com/adobe/helix-docx2md/compare/v1.8.0...v1.8.1) (2025-10-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* use * for emphasis ([#704](https://github.com/adobe/helix-docx2md/issues/704)) ([fe2779d](https://github.com/adobe/helix-docx2md/commit/fe2779d997c3b3ab9e6cb7f0f02fef4f66cc89ff)), closes [#551](https://github.com/adobe/helix-docx2md/issues/551)
|
|
7
|
+
|
|
8
|
+
# [1.8.0](https://github.com/adobe/helix-docx2md/compare/v1.7.0...v1.8.0) (2025-08-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* include imagge number in error ([#693](https://github.com/adobe/helix-docx2md/issues/693)) ([18fb16b](https://github.com/adobe/helix-docx2md/commit/18fb16b8d7b890f646571710f8762aeefaa24c5c))
|
|
14
|
+
|
|
1
15
|
# [1.7.0](https://github.com/adobe/helix-docx2md/compare/v1.6.29...v1.7.0) (2025-08-26)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-docx2md",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"description": "Helix library that converts word documents to markdown",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -52,24 +52,24 @@
|
|
|
52
52
|
"yauzl": "3.2.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@adobe/eslint-config-helix": "3.0.
|
|
56
|
-
"@adobe/helix-admin-support": "3.
|
|
57
|
-
"@adobe/helix-mediahandler": "2.
|
|
58
|
-
"@adobe/helix-onedrive-support": "12.0.
|
|
55
|
+
"@adobe/eslint-config-helix": "3.0.10",
|
|
56
|
+
"@adobe/helix-admin-support": "3.4.1",
|
|
57
|
+
"@adobe/helix-mediahandler": "2.9.2",
|
|
58
|
+
"@adobe/helix-onedrive-support": "12.0.29",
|
|
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",
|
|
62
62
|
"@semantic-release/exec": "7.1.0",
|
|
63
63
|
"@semantic-release/git": "10.0.1",
|
|
64
64
|
"c8": "10.1.3",
|
|
65
|
-
"dotenv": "17.2.
|
|
65
|
+
"dotenv": "17.2.2",
|
|
66
66
|
"eslint": "9.4.0",
|
|
67
67
|
"husky": "9.1.7",
|
|
68
68
|
"junit-report-builder": "5.1.1",
|
|
69
|
-
"lint-staged": "16.1.
|
|
70
|
-
"mocha": "11.7.
|
|
69
|
+
"lint-staged": "16.1.6",
|
|
70
|
+
"mocha": "11.7.2",
|
|
71
71
|
"mocha-multi-reporters": "1.5.1",
|
|
72
|
-
"semantic-release": "24.2.
|
|
72
|
+
"semantic-release": "24.2.8",
|
|
73
73
|
"unist-util-inspect": "8.1.0"
|
|
74
74
|
},
|
|
75
75
|
"lint-staged": {
|
|
@@ -73,6 +73,7 @@ export default async function processImages(log, tree, blobHandler, source, list
|
|
|
73
73
|
node,
|
|
74
74
|
index,
|
|
75
75
|
parent,
|
|
76
|
+
nr: images.length,
|
|
76
77
|
});
|
|
77
78
|
}
|
|
78
79
|
}
|
|
@@ -80,7 +81,7 @@ export default async function processImages(log, tree, blobHandler, source, list
|
|
|
80
81
|
});
|
|
81
82
|
|
|
82
83
|
// upload images
|
|
83
|
-
await processQueue(images, async ({ node }) => {
|
|
84
|
+
await processQueue(images, async ({ node, nr }) => {
|
|
84
85
|
let blob;
|
|
85
86
|
|
|
86
87
|
// process inlined images first
|
|
@@ -90,9 +91,10 @@ export default async function processImages(log, tree, blobHandler, source, list
|
|
|
90
91
|
blob = await getBlob(blobHandler, data, node.contentType, source);
|
|
91
92
|
} catch (e) {
|
|
92
93
|
if (listener) {
|
|
94
|
+
e.imageIndex = nr;
|
|
93
95
|
listener('onImageUploadError', e);
|
|
94
96
|
}
|
|
95
|
-
log.error('Error reading blob data
|
|
97
|
+
log.error('[%d] Error reading blob data %s', nr, e.message);
|
|
96
98
|
node.url = 'about:error';
|
|
97
99
|
return;
|
|
98
100
|
}
|