@mdit-vue/plugin-toc 0.11.1 → 0.11.2

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.cjs CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const shared = require('@mdit-vue/shared');
6
4
 
7
5
  const createRenderHeaders = ({
package/dist/index.d.ts CHANGED
@@ -76,7 +76,7 @@ interface TocPluginOptions {
76
76
  linkClass?: string;
77
77
  }
78
78
 
79
- declare type RenderHeadersFn = (headers: MarkdownItHeader[]) => string;
79
+ type RenderHeadersFn = (headers: MarkdownItHeader[]) => string;
80
80
  declare const createRenderHeaders: ({ listTag, listClass, itemClass, linkTag, linkClass, }: Pick<Required<TocPluginOptions>, 'listTag' | 'listClass' | 'itemClass' | 'linkTag' | 'linkClass'>) => RenderHeadersFn;
81
81
 
82
82
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdit-vue/plugin-toc",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "A markdown-it plugin to generate table-of-contents that compatible with Vue.js",
5
5
  "keywords": [
6
6
  "markdown-it",
@@ -38,16 +38,16 @@
38
38
  "test": "vitest"
39
39
  },
40
40
  "dependencies": {
41
- "@mdit-vue/shared": "0.11.0",
41
+ "@mdit-vue/shared": "0.11.2",
42
42
  "@mdit-vue/types": "0.11.0",
43
43
  "@types/markdown-it": "^12.2.3",
44
44
  "markdown-it": "^13.0.1"
45
45
  },
46
46
  "devDependencies": {
47
- "markdown-it-anchor": "^8.6.4"
47
+ "markdown-it-anchor": "^8.6.6"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "98828479d07c7bc52d178a00cdb92c166eff09ee"
52
+ "gitHead": "676ec4ca8704d709e7a47f7f6d41ff3f70dc2356"
53
53
  }