@vuepress/theme-default 2.0.0-rc.127 → 2.0.0-rc.128
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{isLinkHttp as e}from"vuepress/shared";const t=t=>!e(t)
|
|
1
|
+
import{isLinkHttp as e}from"vuepress/shared";const t=t=>!e(t)||/^(https?:)?\/\/github\.com\//.test(t)?`GitHub`:/^(https?:)?\/\/bitbucket\.org\//.test(t)?`Bitbucket`:/^(https?:)?\/\/gitlab\.com\//.test(t)?`GitLab`:/^(https?:)?\/\/gitee\.com\//.test(t)?`Gitee`:null;export{t as resolveRepoType};
|
|
2
2
|
//# sourceMappingURL=resolveRepoType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveRepoType.js","names":[],"sources":["../../../src/client/utils/resolveRepoType.ts"],"sourcesContent":["import { isLinkHttp } from 'vuepress/shared'\n\nexport type RepoType = 'Bitbucket' | 'Gitee' | 'GitHub' | 'GitLab' | null\n\nexport const resolveRepoType = (repo: string): RepoType => {\n if (!isLinkHttp(repo) ||
|
|
1
|
+
{"version":3,"file":"resolveRepoType.js","names":[],"sources":["../../../src/client/utils/resolveRepoType.ts"],"sourcesContent":["import { isLinkHttp } from 'vuepress/shared'\n\nexport type RepoType = 'Bitbucket' | 'Gitee' | 'GitHub' | 'GitLab' | null\n\nexport const resolveRepoType = (repo: string): RepoType => {\n if (!isLinkHttp(repo) || /^(https?:)?\\/\\/github\\.com\\//.test(repo))\n return 'GitHub'\n\n if (/^(https?:)?\\/\\/bitbucket\\.org\\//.test(repo)) return 'Bitbucket'\n if (/^(https?:)?\\/\\/gitlab\\.com\\//.test(repo)) return 'GitLab'\n if (/^(https?:)?\\/\\/gitee\\.com\\//.test(repo)) return 'Gitee'\n\n return null\n}\n"],"mappings":"6CAIA,MAAa,EAAmB,GAC1B,CAAC,EAAW,EAAK,EAAI,+BAA+B,KAAK,EAAK,CACzD,SAEL,kCAAkC,KAAK,EAAK,CAAS,YACrD,+BAA+B,KAAK,EAAK,CAAS,SAClD,8BAA8B,KAAK,EAAK,CAAS,QAE9C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/theme-default",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.128",
|
|
4
4
|
"description": "Default theme of VuePress",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"default",
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@vuepress/helper": "2.0.0-rc.
|
|
58
|
-
"@vuepress/plugin-active-header-links": "2.0.0-rc.
|
|
59
|
-
"@vuepress/plugin-back-to-top": "2.0.0-rc.
|
|
60
|
-
"@vuepress/plugin-copy-code": "2.0.0-rc.
|
|
61
|
-
"@vuepress/plugin-git": "2.0.0-rc.
|
|
62
|
-
"@vuepress/plugin-links-check": "2.0.0-rc.
|
|
63
|
-
"@vuepress/plugin-markdown-hint": "2.0.0-rc.
|
|
64
|
-
"@vuepress/plugin-markdown-tab": "2.0.0-rc.
|
|
65
|
-
"@vuepress/plugin-medium-zoom": "2.0.0-rc.
|
|
66
|
-
"@vuepress/plugin-nprogress": "2.0.0-rc.
|
|
67
|
-
"@vuepress/plugin-palette": "2.0.0-rc.
|
|
68
|
-
"@vuepress/plugin-prismjs": "2.0.0-rc.
|
|
69
|
-
"@vuepress/plugin-seo": "2.0.0-rc.
|
|
70
|
-
"@vuepress/plugin-sitemap": "2.0.0-rc.
|
|
71
|
-
"@vuepress/plugin-theme-data": "2.0.0-rc.
|
|
57
|
+
"@vuepress/helper": "2.0.0-rc.128",
|
|
58
|
+
"@vuepress/plugin-active-header-links": "2.0.0-rc.128",
|
|
59
|
+
"@vuepress/plugin-back-to-top": "2.0.0-rc.128",
|
|
60
|
+
"@vuepress/plugin-copy-code": "2.0.0-rc.128",
|
|
61
|
+
"@vuepress/plugin-git": "2.0.0-rc.128",
|
|
62
|
+
"@vuepress/plugin-links-check": "2.0.0-rc.128",
|
|
63
|
+
"@vuepress/plugin-markdown-hint": "2.0.0-rc.128",
|
|
64
|
+
"@vuepress/plugin-markdown-tab": "2.0.0-rc.128",
|
|
65
|
+
"@vuepress/plugin-medium-zoom": "2.0.0-rc.128",
|
|
66
|
+
"@vuepress/plugin-nprogress": "2.0.0-rc.128",
|
|
67
|
+
"@vuepress/plugin-palette": "2.0.0-rc.128",
|
|
68
|
+
"@vuepress/plugin-prismjs": "2.0.0-rc.128",
|
|
69
|
+
"@vuepress/plugin-seo": "2.0.0-rc.128",
|
|
70
|
+
"@vuepress/plugin-sitemap": "2.0.0-rc.128",
|
|
71
|
+
"@vuepress/plugin-theme-data": "2.0.0-rc.128",
|
|
72
72
|
"@vueuse/core": "^14.2.1",
|
|
73
73
|
"vue": "^3.5.31"
|
|
74
74
|
},
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"sass": "^1.98.0",
|
|
77
77
|
"sass-embedded": "^1.98.0",
|
|
78
78
|
"sass-loader": "^16.0.7",
|
|
79
|
-
"vuepress": "2.0.0-rc.
|
|
79
|
+
"vuepress": "2.0.0-rc.28"
|
|
80
80
|
},
|
|
81
81
|
"peerDependenciesMeta": {
|
|
82
82
|
"sass": {
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"optional": true
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "47b25c2008dc496e4638cae7528374846d3660dd"
|
|
93
93
|
}
|