@adobe/helix-docx2md 1.0.9 → 1.0.12

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,24 @@
1
+ ## [1.0.12](https://github.com/adobe/helix-docx2md/compare/v1.0.11...v1.0.12) (2022-05-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @adobe/helix-shared-process-queue to v1.1.5 ([88e002f](https://github.com/adobe/helix-docx2md/commit/88e002f3756afb7aa75087b7e4899ad688e457f2))
7
+
8
+ ## [1.0.11](https://github.com/adobe/helix-docx2md/compare/v1.0.10...v1.0.11) (2022-04-13)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * 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))
14
+
15
+ ## [1.0.10](https://github.com/adobe/helix-docx2md/compare/v1.0.9...v1.0.10) (2022-03-18)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** update dependency @adobe/helix-shared-process-queue to v1.1.4 ([6c32e98](https://github.com/adobe/helix-docx2md/commit/6c32e985d05c43b9ee7075ecc1dc477b28587e1e))
21
+
1
22
  ## [1.0.9](https://github.com/adobe/helix-docx2md/compare/v1.0.8...v1.0.9) (2022-02-28)
2
23
 
3
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-docx2md",
3
- "version": "1.0.9",
3
+ "version": "1.0.12",
4
4
  "description": "Helix library that converts word documents to markdown",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -35,7 +35,7 @@
35
35
  "homepage": "https://github.com/adobe/helix-docx2md#readme",
36
36
  "dependencies": {
37
37
  "@adobe/helix-markdown-support": "3.1.2",
38
- "@adobe/helix-shared-process-queue": "1.1.3",
38
+ "@adobe/helix-shared-process-queue": "1.1.5",
39
39
  "@adobe/mammoth": "1.4.15-bleeding.1",
40
40
  "dirname-filename-esm": "1.1.1",
41
41
  "mdast-util-to-markdown": "1.3.0",
@@ -43,27 +43,27 @@
43
43
  "remark-gfm": "3.0.1",
44
44
  "remark-parse": "10.0.1",
45
45
  "remark-stringify": "10.0.2",
46
- "unified": "10.1.1",
46
+ "unified": "10.1.2",
47
47
  "unist-util-find": "1.0.2",
48
48
  "unist-util-visit": "4.1.0",
49
49
  "yauzl": "2.10.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@adobe/eslint-config-helix": "1.3.2",
53
- "@adobe/helix-mediahandler": "1.0.9",
53
+ "@adobe/helix-mediahandler": "1.0.21",
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
- "c8": "7.11.0",
57
+ "c8": "7.11.2",
58
58
  "codecov": "3.8.3",
59
59
  "dotenv": "16.0.0",
60
- "eslint": "8.10.0",
60
+ "eslint": "8.14.0",
61
61
  "eslint-plugin-header": "3.1.1",
62
- "eslint-plugin-import": "2.25.4",
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.4",
66
- "mocha": "9.2.1",
65
+ "lint-staged": "12.4.1",
66
+ "mocha": "10.0.0",
67
67
  "mocha-multi-reporters": "1.5.1",
68
68
  "semantic-release": "19.0.2",
69
69
  "unist-util-inspect": "7.0.0"
@@ -51,11 +51,10 @@ function getHeadingDepth(node) {
51
51
  }
52
52
 
53
53
  function isListParagraph(node) {
54
- const { styleId, styleName } = node;
55
- if (styleId === 'ListParagraph') {
56
- return true;
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) {