unplugin-vue-markdown
Advanced tools
Comparing version 0.24.0 to 0.24.1
import { | ||
unpluginFactory | ||
} from "./chunk-4A2QLKHU.js"; | ||
} from "./chunk-7NCSN2L6.js"; | ||
@@ -5,0 +5,0 @@ // src/esbuild.ts |
import { | ||
src_default, | ||
unpluginFactory | ||
} from "./chunk-4A2QLKHU.js"; | ||
} from "./chunk-7NCSN2L6.js"; | ||
export { | ||
@@ -6,0 +6,0 @@ src_default as default, |
import { | ||
unpluginFactory | ||
} from "./chunk-4A2QLKHU.js"; | ||
} from "./chunk-7NCSN2L6.js"; | ||
@@ -5,0 +5,0 @@ // src/rollup.ts |
import { | ||
unpluginFactory | ||
} from "./chunk-4A2QLKHU.js"; | ||
} from "./chunk-7NCSN2L6.js"; | ||
@@ -5,0 +5,0 @@ // src/rspack.ts |
import { | ||
unpluginFactory | ||
} from "./chunk-4A2QLKHU.js"; | ||
} from "./chunk-7NCSN2L6.js"; | ||
@@ -5,0 +5,0 @@ // src/vite.ts |
import { | ||
unpluginFactory | ||
} from "./chunk-4A2QLKHU.js"; | ||
} from "./chunk-7NCSN2L6.js"; | ||
@@ -5,0 +5,0 @@ // src/webpack.ts |
{ | ||
"name": "unplugin-vue-markdown", | ||
"type": "module", | ||
"version": "0.24.0", | ||
"version": "0.24.1", | ||
"packageManager": "pnpm@8.6.12", | ||
@@ -6,0 +6,0 @@ "description": "Compile Markdown to Vue component", |
@@ -7,5 +7,6 @@ # unplugin-vue-markdown | ||
- 📚 Use Markdown as Vue components | ||
- 💚 Use Vue components in Markdown | ||
- ⚡️ Supports Vite, Webpack, Vue CLI and more, powered by [unplugin](https://github.com/unjs/unplugin). | ||
- 📚 Use Markdown as Vue components. | ||
- 💚 Use Vue components in Markdown. | ||
- 🔌 Supports Vite, Webpack, Vue CLI and more, powered by [unplugin](https://github.com/unjs/unplugin). | ||
- ⚡️ The same transformation as [VitePress](https://vitepress.vuejs.org/). | ||
@@ -12,0 +13,0 @@ ## Install |
import { createRequire } from 'node:module' | ||
const require = createRequire(import.meta.url) | ||
const _require = typeof require === 'undefined' | ||
? createRequire(import.meta.url) | ||
: require | ||
export function getVueVersion(defaultVersion = '3.2.0') { | ||
try { | ||
let v = require('vue') | ||
let v = _require('vue') | ||
if (v.default) | ||
@@ -19,3 +21,3 @@ v = v.default | ||
try { | ||
require('@unhead/vue') | ||
_require('@unhead/vue') | ||
return true | ||
@@ -22,0 +24,0 @@ } |
{ | ||
"compilerOptions": { | ||
"target": "es2017", | ||
"target": "es2020", | ||
"module": "esnext", | ||
@@ -5,0 +5,0 @@ "lib": ["esnext", "DOM"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
340
100297
2086
8