@adobe/helix-docx2md 1.0.11 → 1.0.14

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.14](https://github.com/adobe/helix-docx2md/compare/v1.0.13...v1.0.14) (2022-05-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * preserve table spans ([#66](https://github.com/adobe/helix-docx2md/issues/66)) ([db7600b](https://github.com/adobe/helix-docx2md/commit/db7600b7950bb58a117801161d4c7ef51404c478)), closes [#41](https://github.com/adobe/helix-docx2md/issues/41)
7
+
8
+ ## [1.0.13](https://github.com/adobe/helix-docx2md/compare/v1.0.12...v1.0.13) (2022-05-10)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * subscript lost in tables ([6c74574](https://github.com/adobe/helix-docx2md/commit/6c745743f00125f19b39d5c9c37990ab192aa22e)), closes [#57](https://github.com/adobe/helix-docx2md/issues/57)
14
+
15
+ ## [1.0.12](https://github.com/adobe/helix-docx2md/compare/v1.0.11...v1.0.12) (2022-05-03)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** update dependency @adobe/helix-shared-process-queue to v1.1.5 ([88e002f](https://github.com/adobe/helix-docx2md/commit/88e002f3756afb7aa75087b7e4899ad688e457f2))
21
+
1
22
  ## [1.0.11](https://github.com/adobe/helix-docx2md/compare/v1.0.10...v1.0.11) (2022-04-13)
2
23
 
3
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-docx2md",
3
- "version": "1.0.11",
3
+ "version": "1.0.14",
4
4
  "description": "Helix library that converts word documents to markdown",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "homepage": "https://github.com/adobe/helix-docx2md#readme",
36
36
  "dependencies": {
37
- "@adobe/helix-markdown-support": "3.1.2",
38
- "@adobe/helix-shared-process-queue": "1.1.4",
37
+ "@adobe/helix-markdown-support": "3.1.4",
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",
@@ -50,20 +50,20 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@adobe/eslint-config-helix": "1.3.2",
53
- "@adobe/helix-mediahandler": "1.0.18",
53
+ "@adobe/helix-mediahandler": "1.0.22",
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.13.0",
60
+ "eslint": "8.15.0",
61
61
  "eslint-plugin-header": "3.1.1",
62
62
  "eslint-plugin-import": "2.26.0",
63
- "husky": "7.0.4",
63
+ "husky": "8.0.1",
64
64
  "junit-report-builder": "3.0.0",
65
- "lint-staged": "12.3.7",
66
- "mocha": "9.2.2",
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"
@@ -17,5 +17,11 @@ export default function cell(h, node) {
17
17
  if (node.children.length > 0) {
18
18
  props.align = node.children[0].alignment;
19
19
  }
20
+ if (node.rowSpan > 1) {
21
+ props.rowSpan = node.rowSpan;
22
+ }
23
+ if (node.colSpan > 1) {
24
+ props.colSpan = node.colSpan;
25
+ }
20
26
  return h('tableCell', props, all(h, node));
21
27
  }