@vuepress/client
Advanced tools
Comparing version 2.0.0-beta.20 to 2.0.0-beta.21
export declare const ClientOnly: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>; | ||
}>[] | null | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>; |
@@ -6,2 +6,2 @@ /** | ||
[key: string]: any; | ||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>; | ||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>; |
@@ -1,2 +0,2 @@ | ||
import { isLinkHttp } from '@vuepress/shared'; | ||
import { isLinkHttp, removeLeadingSlash } from '@vuepress/shared'; | ||
import { useSiteData } from '../injections'; | ||
@@ -10,3 +10,3 @@ /** | ||
const base = useSiteData().value.base; | ||
return `${base}${url}`.replace(/\/+/, '/'); | ||
return `${base}${removeLeadingSlash(url)}`; | ||
}; |
{ | ||
"name": "@vuepress/client", | ||
"version": "2.0.0-beta.20", | ||
"version": "2.0.0-beta.21", | ||
"description": "Client package of VuePress", | ||
@@ -32,8 +32,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@vuepress/shared": "2.0.0-beta.20", | ||
"vue": "^3.1.2", | ||
"@vuepress/shared": "2.0.0-beta.21", | ||
"vue": "^3.1.4", | ||
"vue-router": "^4.0.10" | ||
}, | ||
"devDependencies": { | ||
"@types/webpack-env": "^1.16.0", | ||
"@types/webpack-env": "^1.16.2", | ||
"vite": "^2.3.8" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"gitHead": "5fc351d88f9c8e9f6c6af18674aebfd6aafd97f9" | ||
"gitHead": "75cba56b201fd4124e6cfbf5d0baa913063c9b40" | ||
} |
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
30545
+ Added@vuepress/shared@2.0.0-beta.21(transitive)
- Removed@vuepress/shared@2.0.0-beta.20(transitive)
Updatedvue@^3.1.4