@vxrn/mdx 1.2.41 → 1.2.43

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/dist/index.mjs CHANGED
@@ -9712,7 +9712,7 @@ var getTitle = (source) => source.replace(/^#+\s+/, "").replace(/<.*>/, " "), ge
9712
9712
  `).filter((x) => x.startsWith("#")).map((x) => ({
9713
9713
  title: getTitle(x),
9714
9714
  priority: x.trim().split(" ")[0].length,
9715
- id: `#${getTitle(x).replace(/\s+/g, "-").toLowerCase()}`
9715
+ id: getTitle(x).replace(/\s+/g, "-").toLowerCase()
9716
9716
  }));
9717
9717
 
9718
9718
  // src/getAllFrontmatter.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vxrn/mdx",
3
- "version": "1.2.41",
3
+ "version": "1.2.43",
4
4
  "type": "commonjs",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
@@ -53,7 +53,7 @@
53
53
  "unist-util-visit": "^2.0.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@tamagui/build": "^1.141.4"
56
+ "@tamagui/build": "^1.142.0"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"
@@ -7,5 +7,5 @@ export const getHeadings = (source: string) =>
7
7
  .map((x) => ({
8
8
  title: getTitle(x),
9
9
  priority: x.trim().split(' ')[0].length,
10
- id: `#${getTitle(x).replace(/\s+/g, '-').toLowerCase()}`,
10
+ id: getTitle(x).replace(/\s+/g, '-').toLowerCase(),
11
11
  }))