vuepress-theme-hope
Advanced tools
Comparing version 2.0.0-rc.50 to 2.0.0-rc.51
@@ -25,3 +25,3 @@ import { isString } from "@vuepress/helper/client"; | ||
? footer | ||
: themeLocale.value.footer ?? ""; | ||
: (themeLocale.value.footer ?? ""); | ||
}); | ||
@@ -37,6 +37,6 @@ const authorText = computed(() => author.value.map(({ name }) => name).join(", ")); | ||
? getCopyrightText(license) | ||
: globalCopyright ?? | ||
: (globalCopyright ?? | ||
(authorText.value || globalLicense | ||
? getCopyrightText(globalLicense) | ||
: false))); | ||
: false)))); | ||
}); | ||
@@ -43,0 +43,0 @@ return () => enable.value |
@@ -66,6 +66,6 @@ import { isPlainObject, isString } from "@vuepress/helper/client"; | ||
? null | ||
: prevConfig ?? | ||
: (prevConfig ?? | ||
(themeLocale.value.prevLink === false | ||
? null | ||
: resolveFromSidebarItems(sidebarItems.value, route.path, -1)); | ||
: resolveFromSidebarItems(sidebarItems.value, route.path, -1))); | ||
}); | ||
@@ -76,6 +76,6 @@ const nextLink = computed(() => { | ||
? null | ||
: nextConfig ?? | ||
: (nextConfig ?? | ||
(themeLocale.value.nextLink === false | ||
? null | ||
: resolveFromSidebarItems(sidebarItems.value, route.path, 1)); | ||
: resolveFromSidebarItems(sidebarItems.value, route.path, 1))); | ||
}); | ||
@@ -82,0 +82,0 @@ return { |
@@ -24,5 +24,5 @@ import { hasGlobalComponent } from "@vuepress/helper/client"; | ||
const sidebarDisplay = computed(() => __VP_BLOG__ | ||
? themeLocale.value.blog?.sidebarDisplay ?? | ||
? (themeLocale.value.blog?.sidebarDisplay ?? | ||
themeData.value.blog?.sidebarDisplay ?? | ||
"mobile" | ||
"mobile") | ||
: "none"); | ||
@@ -29,0 +29,0 @@ return () => [ |
@@ -48,3 +48,3 @@ import { entries, keys, useRoutePaths } from "@vuepress/helper/client"; | ||
: // Or fallback to homepage | ||
targetThemeLocale.home ?? targetLocalePath; | ||
(targetThemeLocale.home ?? targetLocalePath); | ||
} | ||
@@ -51,0 +51,0 @@ return { |
@@ -13,3 +13,3 @@ import { computed } from "vue"; | ||
const repoLabel = computed(() => repoLink.value | ||
? themeLocale.value.repoLabel ?? repoType.value ?? "Source" | ||
? (themeLocale.value.repoLabel ?? repoType.value ?? "Source") | ||
: null); | ||
@@ -16,0 +16,0 @@ return computed(() => { |
@@ -17,3 +17,3 @@ import { computed, inject, provide } from "vue"; | ||
? false | ||
: frontmatter.value.sidebar ?? themeLocale.value.sidebar ?? "structure"); | ||
: (frontmatter.value.sidebar ?? themeLocale.value.sidebar ?? "structure")); | ||
const headerDepth = computed(() => frontmatter.value.headerDepth ?? themeLocale.value.headerDepth ?? 2); | ||
@@ -20,0 +20,0 @@ const sidebarItems = computed(() => resolveSidebarItems({ |
{ | ||
"name": "vuepress-theme-hope", | ||
"version": "2.0.0-rc.50", | ||
"version": "2.0.0-rc.51", | ||
"description": "A light vuepress theme with tons of features", | ||
@@ -58,23 +58,23 @@ "keywords": [ | ||
"dependencies": { | ||
"@vuepress/helper": "2.0.0-rc.37", | ||
"@vuepress/plugin-active-header-links": "2.0.0-rc.37", | ||
"@vuepress/plugin-back-to-top": "2.0.0-rc.37", | ||
"@vuepress/plugin-blog": "2.0.0-rc.37", | ||
"@vuepress/plugin-catalog": "2.0.0-rc.37", | ||
"@vuepress/plugin-comment": "2.0.0-rc.37", | ||
"@vuepress/plugin-copy-code": "2.0.0-rc.37", | ||
"@vuepress/plugin-copyright": "2.0.0-rc.37", | ||
"@vuepress/plugin-git": "2.0.0-rc.37", | ||
"@vuepress/plugin-links-check": "2.0.0-rc.37", | ||
"@vuepress/plugin-notice": "2.0.0-rc.37", | ||
"@vuepress/plugin-nprogress": "2.0.0-rc.37", | ||
"@vuepress/plugin-photo-swipe": "2.0.0-rc.37", | ||
"@vuepress/plugin-reading-time": "2.0.0-rc.37", | ||
"@vuepress/plugin-rtl": "2.0.0-rc.37", | ||
"@vuepress/plugin-sass-palette": "2.0.0-rc.37", | ||
"@vuepress/plugin-seo": "2.0.0-rc.37", | ||
"@vuepress/plugin-shiki": "2.0.0-rc.37", | ||
"@vuepress/plugin-sitemap": "2.0.0-rc.37", | ||
"@vuepress/plugin-theme-data": "2.0.0-rc.37", | ||
"@vuepress/plugin-watermark": "2.0.0-rc.37", | ||
"@vuepress/helper": "2.0.0-rc.38", | ||
"@vuepress/plugin-active-header-links": "2.0.0-rc.38", | ||
"@vuepress/plugin-back-to-top": "2.0.0-rc.38", | ||
"@vuepress/plugin-blog": "2.0.0-rc.38", | ||
"@vuepress/plugin-catalog": "2.0.0-rc.38", | ||
"@vuepress/plugin-comment": "2.0.0-rc.38", | ||
"@vuepress/plugin-copy-code": "2.0.0-rc.38", | ||
"@vuepress/plugin-copyright": "2.0.0-rc.38", | ||
"@vuepress/plugin-git": "2.0.0-rc.38", | ||
"@vuepress/plugin-links-check": "2.0.0-rc.38", | ||
"@vuepress/plugin-notice": "2.0.0-rc.38", | ||
"@vuepress/plugin-nprogress": "2.0.0-rc.38", | ||
"@vuepress/plugin-photo-swipe": "2.0.0-rc.38", | ||
"@vuepress/plugin-reading-time": "2.0.0-rc.38", | ||
"@vuepress/plugin-rtl": "2.0.0-rc.38", | ||
"@vuepress/plugin-sass-palette": "2.0.0-rc.38", | ||
"@vuepress/plugin-seo": "2.0.0-rc.38", | ||
"@vuepress/plugin-shiki": "2.0.0-rc.38", | ||
"@vuepress/plugin-sitemap": "2.0.0-rc.38", | ||
"@vuepress/plugin-theme-data": "2.0.0-rc.38", | ||
"@vuepress/plugin-watermark": "2.0.0-rc.38", | ||
"@vueuse/core": "^10.11.0", | ||
@@ -86,6 +86,6 @@ "balloon-css": "^1.2.0", | ||
"gray-matter": "^4.0.3", | ||
"vue": "^3.4.29", | ||
"vuepress-plugin-components": "2.0.0-rc.50", | ||
"vuepress-shared": "2.0.0-rc.50", | ||
"vuepress-plugin-md-enhance": "2.0.0-rc.50" | ||
"vue": "^3.4.31", | ||
"vuepress-plugin-components": "2.0.0-rc.51", | ||
"vuepress-plugin-md-enhance": "2.0.0-rc.51", | ||
"vuepress-shared": "2.0.0-rc.51" | ||
}, | ||
@@ -95,15 +95,16 @@ "devDependencies": { | ||
"@vuepress/bundler-webpack": "2.0.0-rc.14", | ||
"vuepress-plugin-search-pro": "2.0.0-rc.50" | ||
"rollup": "4.18.1", | ||
"vuepress-plugin-search-pro": "2.0.0-rc.51" | ||
}, | ||
"peerDependencies": { | ||
"@vuepress/plugin-docsearch": "2.0.0-rc.37", | ||
"@vuepress/plugin-feed": "2.0.0-rc.37", | ||
"@vuepress/plugin-docsearch": "2.0.0-rc.38", | ||
"@vuepress/plugin-feed": "2.0.0-rc.38", | ||
"@vuepress/plugin-prismjs": "2.0.0-rc.37", | ||
"@vuepress/plugin-pwa": "2.0.0-rc.37", | ||
"@vuepress/plugin-redirect": "2.0.0-rc.37", | ||
"@vuepress/plugin-search": "2.0.0-rc.37", | ||
"@vuepress/plugin-pwa": "2.0.0-rc.38", | ||
"@vuepress/plugin-redirect": "2.0.0-rc.38", | ||
"@vuepress/plugin-search": "2.0.0-rc.38", | ||
"nodejs-jieba": "^0.1.2", | ||
"sass-loader": "^14.0.0", | ||
"vuepress": "2.0.0-rc.14", | ||
"vuepress-plugin-search-pro": "2.0.0-rc.50" | ||
"vuepress-plugin-search-pro": "2.0.0-rc.51" | ||
}, | ||
@@ -110,0 +111,0 @@ "peerDependenciesMeta": { |
@@ -14,3 +14,3 @@ <!-- markdownlint-disable --> | ||
[![Version](https://img.shields.io/npm/v/vuepress-theme-hope.svg?style=flat-square&logo=npm) ![Downloads](https://img.shields.io/npm/dm/vuepress-theme-hope.svg?style=flat-square&logo=npm) ![Total downloads](https://img.shields.io/npm/dt/vuepress-theme-hope?style=flat-square&logo=npm)](https://www.npmjs.com/package/vuepress-theme-hope) | ||
[![Version](https://img.shields.io/npm/v/vuepress-theme-hope.svg?style=flat-square&logo=npm)![Downloads](https://img.shields.io/npm/dm/vuepress-theme-hope.svg?style=flat-square&logo=npm)![Total downloads](https://img.shields.io/npm/dt/vuepress-theme-hope?style=flat-square&logo=npm)](https://www.npmjs.com/package/vuepress-theme-hope) | ||
@@ -17,0 +17,0 @@ [![open-collective](https://opencollective.com/vuepress-theme-hope/tiers/badge.svg)](https://opencollective.com/vuepress-theme-hope) |
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
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2473015
13891
4
2
+ Added@algolia/autocomplete-core@1.17.9(transitive)
+ Added@algolia/autocomplete-plugin-algolia-insights@1.17.9(transitive)
+ Added@algolia/autocomplete-preset-algolia@1.17.9(transitive)
+ Added@algolia/autocomplete-shared@1.17.9(transitive)
+ Added@algolia/client-abtesting@5.20.0(transitive)
+ Added@algolia/client-analytics@5.20.0(transitive)
+ Added@algolia/client-common@5.20.0(transitive)
+ Added@algolia/client-insights@5.20.0(transitive)
+ Added@algolia/client-personalization@5.20.0(transitive)
+ Added@algolia/client-query-suggestions@5.20.0(transitive)
+ Added@algolia/client-search@5.20.0(transitive)
+ Added@algolia/ingestion@1.20.0(transitive)
+ Added@algolia/monitoring@1.20.0(transitive)
+ Added@algolia/recommend@5.20.0(transitive)
+ Added@algolia/requester-browser-xhr@5.20.0(transitive)
+ Added@algolia/requester-fetch@5.20.0(transitive)
+ Added@algolia/requester-node-http@5.20.0(transitive)
+ Added@docsearch/css@3.8.3(transitive)
+ Added@docsearch/js@3.8.3(transitive)
+ Added@docsearch/react@3.8.3(transitive)
+ Added@shikijs/core@1.29.1(transitive)
+ Added@shikijs/engine-javascript@1.29.1(transitive)
+ Added@shikijs/engine-oniguruma@1.29.1(transitive)
+ Added@shikijs/langs@1.29.1(transitive)
+ Added@shikijs/themes@1.29.1(transitive)
+ Added@shikijs/transformers@1.29.1(transitive)
+ Added@shikijs/types@1.29.1(transitive)
+ Added@vuepress/helper@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-active-header-links@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-back-to-top@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-blog@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-catalog@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-comment@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-copy-code@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-copyright@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-docsearch@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-feed@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-git@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-links-check@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-notice@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-nprogress@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-photo-swipe@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-pwa@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-reading-time@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-redirect@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-rtl@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-sass-palette@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-search@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-seo@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-shiki@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-sitemap@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-theme-data@2.0.0-rc.38(transitive)
+ Added@vuepress/plugin-watermark@2.0.0-rc.38(transitive)
+ Addedalgoliasearch@5.20.0(transitive)
+ Addedelectron-to-chromium@1.5.84(transitive)
+ Addedfast-uri@3.0.6(transitive)
+ Addedoniguruma-to-es@2.3.0(transitive)
+ Addedshiki@1.29.1(transitive)
+ Addedvuepress-plugin-components@2.0.0-rc.51(transitive)
+ Addedvuepress-plugin-md-enhance@2.0.0-rc.51(transitive)
+ Addedvuepress-plugin-search-pro@2.0.0-rc.51(transitive)
+ Addedvuepress-shared@2.0.0-rc.51(transitive)
- Removed@algolia/autocomplete-core@1.17.7(transitive)
- Removed@algolia/autocomplete-plugin-algolia-insights@1.17.7(transitive)
- Removed@algolia/autocomplete-preset-algolia@1.17.7(transitive)
- Removed@algolia/autocomplete-shared@1.17.7(transitive)
- Removed@algolia/client-abtesting@5.19.0(transitive)
- Removed@algolia/client-analytics@5.19.0(transitive)
- Removed@algolia/client-common@5.19.0(transitive)
- Removed@algolia/client-insights@5.19.0(transitive)
- Removed@algolia/client-personalization@5.19.0(transitive)
- Removed@algolia/client-query-suggestions@5.19.0(transitive)
- Removed@algolia/client-search@5.19.0(transitive)
- Removed@algolia/ingestion@1.19.0(transitive)
- Removed@algolia/monitoring@1.19.0(transitive)
- Removed@algolia/recommend@5.19.0(transitive)
- Removed@algolia/requester-browser-xhr@5.19.0(transitive)
- Removed@algolia/requester-fetch@5.19.0(transitive)
- Removed@algolia/requester-node-http@5.19.0(transitive)
- Removed@docsearch/css@3.8.2(transitive)
- Removed@docsearch/js@3.8.2(transitive)
- Removed@docsearch/react@3.8.2(transitive)
- Removed@shikijs/core@1.27.2(transitive)
- Removed@shikijs/engine-javascript@1.27.2(transitive)
- Removed@shikijs/engine-oniguruma@1.27.2(transitive)
- Removed@shikijs/langs@1.27.2(transitive)
- Removed@shikijs/themes@1.27.2(transitive)
- Removed@shikijs/transformers@1.27.2(transitive)
- Removed@shikijs/types@1.27.2(transitive)
- Removed@vuepress/helper@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-active-header-links@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-back-to-top@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-blog@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-catalog@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-comment@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-copy-code@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-copyright@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-docsearch@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-feed@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-git@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-links-check@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-notice@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-nprogress@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-photo-swipe@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-pwa@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-reading-time@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-redirect@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-rtl@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-sass-palette@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-search@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-seo@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-shiki@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-sitemap@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-theme-data@2.0.0-rc.37(transitive)
- Removed@vuepress/plugin-watermark@2.0.0-rc.37(transitive)
- Removedalgoliasearch@5.19.0(transitive)
- Removedaproba@2.0.0(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removeddelegates@1.0.0(transitive)
- Removedelectron-to-chromium@1.5.83(transitive)
- Removedfast-uri@3.0.5(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedlodash.sortby@4.7.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedoniguruma-to-es@2.2.0(transitive)
- Removedp-map@4.0.0(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedshiki@1.27.2(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedtr46@0.0.31.0.1(transitive)
- Removedunique-filename@3.0.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedvuepress-plugin-components@2.0.0-rc.50(transitive)
- Removedvuepress-plugin-md-enhance@2.0.0-rc.50(transitive)
- Removedvuepress-plugin-search-pro@2.0.0-rc.50(transitive)
- Removedvuepress-shared@2.0.0-rc.50(transitive)
- Removedwebidl-conversions@3.0.14.0.2(transitive)
- Removedwide-align@1.1.5(transitive)
Updated@vuepress/helper@2.0.0-rc.38
Updatedvue@^3.4.31
Updatedvuepress-shared@2.0.0-rc.51