@mdit-vue/plugin-headers 0.11.0 → 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 headersPlugin = (md, { level = [2, 3], slugify = shared.slugify, format } = {}) => {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { PluginWithOptions } from 'markdown-it';
1
+ import MarkdownIt from 'markdown-it';
2
2
  import { MarkdownItHeader } from '@mdit-vue/types';
3
3
  export { MarkdownItHeader } from '@mdit-vue/types';
4
4
 
@@ -41,6 +41,6 @@ declare module '@mdit-vue/types' {
41
41
  *
42
42
  * Extract them into env
43
43
  */
44
- declare const headersPlugin: PluginWithOptions<HeadersPluginOptions>;
44
+ declare const headersPlugin: MarkdownIt.PluginWithOptions<HeadersPluginOptions>;
45
45
 
46
46
  export { HeadersPluginOptions, headersPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdit-vue/plugin-headers",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "A markdown-it plugin to get markdown headers",
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": "6e4f18dacc06e0aa5d3108df8925f6b0aa885150"
52
+ "gitHead": "676ec4ca8704d709e7a47f7f6d41ff3f70dc2356"
53
53
  }