@adobe/helix-html-pipeline 3.6.3 → 3.7.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
+ ## [3.7.1](https://github.com/adobe/helix-html-pipeline/compare/v3.7.0...v3.7.1) (2022-11-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @adobe/helix-markdown-support to v6 ([#184](https://github.com/adobe/helix-html-pipeline/issues/184)) ([86640d9](https://github.com/adobe/helix-html-pipeline/commit/86640d94a47d246d902febc87928dd9ef5c78b6c))
7
+
8
+ # [3.7.0](https://github.com/adobe/helix-html-pipeline/compare/v3.6.3...v3.7.0) (2022-11-03)
9
+
10
+
11
+ ### Features
12
+
13
+ * use adobe gridtables ([#183](https://github.com/adobe/helix-html-pipeline/issues/183)) ([29369c0](https://github.com/adobe/helix-html-pipeline/commit/29369c0e5cf373e157100f25c98d690083161213)), closes [#182](https://github.com/adobe/helix-html-pipeline/issues/182)
14
+
1
15
  ## [3.6.3](https://github.com/adobe/helix-html-pipeline/compare/v3.6.2...v3.6.3) (2022-11-01)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "3.6.3",
3
+ "version": "3.7.1",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -39,8 +39,10 @@
39
39
  "node": ">=16.x"
40
40
  },
41
41
  "dependencies": {
42
- "@adobe/helix-markdown-support": "5.0.10",
42
+ "@adobe/helix-markdown-support": "6.0.0",
43
43
  "@adobe/helix-shared-utils": "2.1.0",
44
+ "@adobe/mdast-util-gridtables": "1.0.1",
45
+ "@adobe/remark-gridtables": "1.0.0",
44
46
  "cookie": "0.5.0",
45
47
  "github-slugger": "2.0.0",
46
48
  "hast-util-raw": "7.2.2",
@@ -14,7 +14,7 @@ import remarkParse from 'remark-parse';
14
14
  import { removePosition } from 'unist-util-remove-position';
15
15
  import { dereference } from '@adobe/helix-markdown-support';
16
16
  import { remarkMatter } from '@adobe/helix-markdown-support/matter';
17
- import { remarkGridTable } from '@adobe/helix-markdown-support/gridtable';
17
+ import remarkGridTable from '@adobe/remark-gridtables';
18
18
  import remarkGfm from '../utils/remark-gfm-nolink.js';
19
19
 
20
20
  export class FrontmatterParsingError extends Error {
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { toHast as mdast2hast, defaultHandlers } from 'mdast-util-to-hast';
13
13
  import { raw } from 'hast-util-raw';
14
- import { mdast2hastGridTableHandler, TYPE_TABLE } from '@adobe/helix-markdown-support/gridtable';
14
+ import { mdast2hastGridTablesHandler, TYPE_TABLE } from '@adobe/mdast-util-gridtables';
15
15
 
16
16
  import section from './section-handler.js';
17
17
  import heading from './heading-handler.js';
@@ -28,7 +28,7 @@ export default function getHast(mdast, slugger) {
28
28
  ...defaultHandlers,
29
29
  section: section(),
30
30
  heading: heading(slugger),
31
- [TYPE_TABLE]: mdast2hastGridTableHandler(),
31
+ [TYPE_TABLE]: mdast2hastGridTablesHandler(),
32
32
  },
33
33
  allowDangerousHtml: true,
34
34
  });