@adobe/helix-markdown-support 7.1.5 → 7.1.7

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/.husky/pre-commit CHANGED
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npx lint-staged
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [7.1.7](https://github.com/adobe/helix-markdown-support/compare/v7.1.6...v7.1.7) (2024-11-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#285](https://github.com/adobe/helix-markdown-support/issues/285)) ([9a0d085](https://github.com/adobe/helix-markdown-support/commit/9a0d085036814067b5049bcf56b84322e533b081))
7
+
8
+ ## [7.1.6](https://github.com/adobe/helix-markdown-support/compare/v7.1.5...v7.1.6) (2024-09-27)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * ensure format sort order ([#277](https://github.com/adobe/helix-markdown-support/issues/277)) ([71220d1](https://github.com/adobe/helix-markdown-support/commit/71220d1a26e406a6f44d004a3e9aa705d55aa0a1))
14
+
1
15
  ## [7.1.5](https://github.com/adobe/helix-markdown-support/compare/v7.1.4...v7.1.5) (2024-08-31)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-markdown-support",
3
- "version": "7.1.5",
3
+ "version": "7.1.7",
4
4
  "description": "Helix Markdown Support",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  "lint": "eslint .",
9
9
  "semantic-release-dry": "semantic-release --dry-run --branches $CI_BRANCH",
10
10
  "semantic-release": "semantic-release",
11
- "prepare": "husky install"
11
+ "prepare": "husky"
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "./matter": "./src/matter/index.js"
27
27
  },
28
28
  "dependencies": {
29
- "hast-util-to-html": "9.0.2",
29
+ "hast-util-to-html": "9.0.3",
30
30
  "js-yaml": "4.1.0",
31
31
  "mdast-util-gfm-footnote": "2.0.0",
32
32
  "mdast-util-gfm-strikethrough": "2.0.0",
@@ -39,9 +39,9 @@
39
39
  "micromark-extension-gfm-table": "2.1.0",
40
40
  "micromark-extension-gfm-tagfilter": "2.0.0",
41
41
  "micromark-extension-gfm-task-list-item": "2.1.0",
42
- "micromark-util-character": "2.1.0",
43
- "micromark-util-combine-extensions": "2.0.0",
44
- "micromark-util-symbol": "2.0.0",
42
+ "micromark-util-character": "2.1.1",
43
+ "micromark-util-combine-extensions": "2.0.1",
44
+ "micromark-util-symbol": "2.0.1",
45
45
  "unist-util-find": "3.0.0",
46
46
  "unist-util-visit": "5.0.0"
47
47
  },
@@ -59,25 +59,25 @@
59
59
  "node": ">=14"
60
60
  },
61
61
  "devDependencies": {
62
- "@adobe/eslint-config-helix": "2.0.6",
63
- "@adobe/remark-gridtables": "3.0.6",
62
+ "@adobe/eslint-config-helix": "2.0.8",
63
+ "@adobe/remark-gridtables": "3.0.8",
64
64
  "@semantic-release/changelog": "6.0.3",
65
65
  "@semantic-release/git": "10.0.1",
66
66
  "c8": "10.1.2",
67
- "eslint": "8.57.0",
68
- "husky": "9.1.5",
69
- "junit-report-builder": "5.0.0",
70
- "lint-staged": "15.2.9",
67
+ "eslint": "8.57.1",
68
+ "husky": "9.1.6",
69
+ "junit-report-builder": "5.1.1",
70
+ "lint-staged": "15.2.10",
71
71
  "mdast-builder": "1.1.1",
72
- "mocha": "10.7.3",
72
+ "mocha": "10.8.2",
73
73
  "mocha-multi-reporters": "1.5.1",
74
- "rehype-format": "5.0.0",
75
- "rehype-stringify": "10.0.0",
74
+ "rehype-format": "5.0.1",
75
+ "rehype-stringify": "10.0.1",
76
76
  "remark-gfm": "4.0.0",
77
77
  "remark-parse": "11.0.0",
78
- "remark-rehype": "11.1.0",
78
+ "remark-rehype": "11.1.1",
79
79
  "remark-stringify": "11.0.0",
80
- "semantic-release": "24.1.0",
80
+ "semantic-release": "24.2.0",
81
81
  "unified": "11.0.5",
82
82
  "unist-util-inspect": "8.1.0"
83
83
  },
@@ -274,5 +274,7 @@ export default function sanitizeTextAndFormats(tree) {
274
274
  whitespace(tree);
275
275
  cleanup(tree);
276
276
  prune(tree);
277
+ // sort again after cleaning everything
278
+ sort(tree);
277
279
  return tree;
278
280
  }