@vuepress/shared 2.0.0-beta.43 → 2.0.0-beta.46
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -131,7 +131,7 @@ var isLinkExternal = (link, base = "/") => {
|
|
|
131
131
|
if (isLinkHttp(link) || isLinkFtp(link)) {
|
|
132
132
|
return true;
|
|
133
133
|
}
|
|
134
|
-
if (link.startsWith("/") && !link.startsWith(base)) {
|
|
134
|
+
if (link.startsWith("/") && !link.startsWith(base) && !link.endsWith(".md")) {
|
|
135
135
|
return true;
|
|
136
136
|
}
|
|
137
137
|
return false;
|
package/dist/index.js
CHANGED
|
@@ -87,7 +87,7 @@ var isLinkExternal = (link, base = "/") => {
|
|
|
87
87
|
if (isLinkHttp(link) || isLinkFtp(link)) {
|
|
88
88
|
return true;
|
|
89
89
|
}
|
|
90
|
-
if (link.startsWith("/") && !link.startsWith(base)) {
|
|
90
|
+
if (link.startsWith("/") && !link.startsWith(base) && !link.endsWith(".md")) {
|
|
91
91
|
return true;
|
|
92
92
|
}
|
|
93
93
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/shared",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.46",
|
|
4
4
|
"description": "Utils that shared between VuePress node and client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuepress",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@vue/shared": "^3.2.
|
|
35
|
+
"@vue/shared": "^3.2.35"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|