@mdit-vue/plugin-toc
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [0.6.0](https://github.com/mdit-vue/mdit-vue/compare/v0.5.0...v0.6.0) (2022-07-11) | ||
### Features | ||
- **types:** extract types from shared package ([5fc56ce](https://github.com/mdit-vue/mdit-vue/commit/5fc56ce6439159584e09e13ca9a6e87abe8f4389)) | ||
# [0.5.0](https://github.com/mdit-vue/mdit-vue/compare/v0.4.0...v0.5.0) (2022-07-06) | ||
@@ -8,0 +14,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { MarkdownItHeader } from '@mdit-vue/shared'; | ||
import { MarkdownItHeader } from '@mdit-vue/types'; | ||
import { RuleBlock } from 'markdown-it/lib/parser_block'; | ||
@@ -3,0 +3,0 @@ import { PluginWithOptions } from 'markdown-it'; |
{ | ||
"name": "@mdit-vue/plugin-toc", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "A markdown-it plugin to generate table-of-contents that compatible with Vue.js", | ||
@@ -37,3 +37,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@mdit-vue/shared": "0.5.0", | ||
"@mdit-vue/shared": "0.6.0", | ||
"@mdit-vue/types": "0.6.0", | ||
"@types/markdown-it": "^12.2.3", | ||
@@ -46,3 +47,3 @@ "markdown-it": "^13.0.1" | ||
"unbuild": "^0.7.4", | ||
"vitest": "^0.17.0" | ||
"vitest": "^0.18.0" | ||
}, | ||
@@ -52,3 +53,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "33671b4a15611ea35b065269526449129eef99d6" | ||
"gitHead": "654a3a4d52f4fb9711bf5f7ba3674ff58ec663bf" | ||
} |
import { htmlEscape } from '@mdit-vue/shared'; | ||
import type { MarkdownItHeader } from '@mdit-vue/shared'; | ||
import type { MarkdownItHeader } from '@mdit-vue/types'; | ||
import type { TocPluginOptions } from './types'; | ||
@@ -4,0 +4,0 @@ |
@@ -5,3 +5,3 @@ import { | ||
} from '@mdit-vue/shared'; | ||
import type { MarkdownItHeader } from '@mdit-vue/shared'; | ||
import type { MarkdownItHeader } from '@mdit-vue/types'; | ||
import type { PluginWithOptions } from 'markdown-it'; | ||
@@ -8,0 +8,0 @@ import { createRenderHeaders } from './create-render-headers'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33214
4
+ Added@mdit-vue/types@0.6.0
+ Added@mdit-vue/shared@0.6.0(transitive)
+ Added@mdit-vue/types@0.6.0(transitive)
- Removed@mdit-vue/shared@0.5.0(transitive)
Updated@mdit-vue/shared@0.6.0