Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vuepress/markdown

Package Overview
Dependencies
Maintainers
2
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/markdown - npm Package Compare versions

Comparing version 2.0.0-rc.2 to 2.0.0-rc.3

6

dist/index.d.ts

@@ -90,5 +90,5 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';

*
* @default 'RouterLink'
* @default 'VPLink'
*/
internalTag?: 'a' | 'RouterLink';
internalTag?: 'a' | 'VPLink' | 'RouterLink';
/**

@@ -110,3 +110,3 @@ * Additional attributes for external links

*
* - internal links: convert them into `<RouterLink>`
* - internal links: convert them into `<VPLink>`
* - external links: add extra attrs and external icon

@@ -113,0 +113,0 @@ */

@@ -440,3 +440,3 @@ var __defProp = Object.defineProperty;

var linksPlugin = (md, options = {}) => {
const internalTag = options.internalTag || "RouterLink";
const internalTag = options.internalTag || "VPLink";
const externalAttrs = {

@@ -477,3 +477,3 @@ target: "_blank",

const normalizedPath = absolutePath.replace(new RegExp(`^${base}`), "/").replace(/(^|\/)(README|index).md$/i, "$1").replace(/\.md$/, ".html");
if (internalTag === "RouterLink") {
if (["RouterLink", "VPLink"].includes(internalTag)) {
token.tag = internalTag;

@@ -480,0 +480,0 @@ hrefAttr[0] = "to";

{
"name": "@vuepress/markdown",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"description": "Markdown package of VuePress",

@@ -44,4 +44,4 @@ "keywords": [

"mdurl": "^2.0.0",
"@vuepress/shared": "2.0.0-rc.2",
"@vuepress/utils": "2.0.0-rc.2"
"@vuepress/shared": "2.0.0-rc.3",
"@vuepress/utils": "2.0.0-rc.3"
},

@@ -48,0 +48,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc