@adobe/helix-docx2md 1.0.10 → 1.0.11
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,10 @@
|
|
|
1
|
+
## [1.0.11](https://github.com/adobe/helix-docx2md/compare/v1.0.10...v1.0.11) (2022-04-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* handle list paragraphs with no style correctly ([#49](https://github.com/adobe/helix-docx2md/issues/49)) ([5f9ab2c](https://github.com/adobe/helix-docx2md/commit/5f9ab2cce0cd8397f0f4e8dd0cfe9f58b7e00c36))
|
|
7
|
+
|
|
1
8
|
## [1.0.10](https://github.com/adobe/helix-docx2md/compare/v1.0.9...v1.0.10) (2022-03-18)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-docx2md",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Helix library that converts word documents to markdown",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@adobe/eslint-config-helix": "1.3.2",
|
|
53
|
-
"@adobe/helix-mediahandler": "1.0.
|
|
53
|
+
"@adobe/helix-mediahandler": "1.0.18",
|
|
54
54
|
"@semantic-release/changelog": "6.0.1",
|
|
55
55
|
"@semantic-release/exec": "6.0.3",
|
|
56
56
|
"@semantic-release/git": "10.0.1",
|
|
57
57
|
"c8": "7.11.0",
|
|
58
58
|
"codecov": "3.8.3",
|
|
59
59
|
"dotenv": "16.0.0",
|
|
60
|
-
"eslint": "8.
|
|
60
|
+
"eslint": "8.13.0",
|
|
61
61
|
"eslint-plugin-header": "3.1.1",
|
|
62
|
-
"eslint-plugin-import": "2.
|
|
62
|
+
"eslint-plugin-import": "2.26.0",
|
|
63
63
|
"husky": "7.0.4",
|
|
64
64
|
"junit-report-builder": "3.0.0",
|
|
65
|
-
"lint-staged": "12.3.
|
|
65
|
+
"lint-staged": "12.3.7",
|
|
66
66
|
"mocha": "9.2.2",
|
|
67
67
|
"mocha-multi-reporters": "1.5.1",
|
|
68
68
|
"semantic-release": "19.0.2",
|
|
@@ -51,11 +51,10 @@ function getHeadingDepth(node) {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
function isListParagraph(node) {
|
|
54
|
-
const { styleId, styleName } = node;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return styleName && styleName.toLowerCase() === 'list paragraph';
|
|
54
|
+
const { styleId, styleName, numbering } = node;
|
|
55
|
+
return styleId === 'ListParagraph'
|
|
56
|
+
|| (styleName && styleName.toLowerCase() === 'list paragraph')
|
|
57
|
+
|| (numbering && 'numId' in numbering);
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
function isCodeBlock(node) {
|