@vuepress/plugin-theme-data
Advanced tools
Comparing version 2.0.0-beta.41 to 2.0.0-beta.42
@@ -14,8 +14,5 @@ import { inject } from 'vue'; | ||
*/ | ||
export const resolveThemeLocaleData = (theme, routeLocale) => { | ||
var _a; | ||
return ({ | ||
...theme, | ||
...(_a = theme.locales) === null || _a === void 0 ? void 0 : _a[routeLocale], | ||
}); | ||
}; | ||
export const resolveThemeLocaleData = (theme, routeLocale) => ({ | ||
...theme, | ||
...theme.locales?.[routeLocale], | ||
}); |
{ | ||
"name": "@vuepress/plugin-theme-data", | ||
"version": "2.0.0-beta.41", | ||
"version": "2.0.0-beta.42", | ||
"description": "VuePress plugin - theme data", | ||
@@ -28,6 +28,6 @@ "keywords": [ | ||
"@vue/devtools-api": "^6.1.4", | ||
"@vuepress/client": "2.0.0-beta.41", | ||
"@vuepress/core": "2.0.0-beta.41", | ||
"@vuepress/shared": "2.0.0-beta.41", | ||
"@vuepress/utils": "2.0.0-beta.41", | ||
"@vuepress/client": "2.0.0-beta.42", | ||
"@vuepress/core": "2.0.0-beta.42", | ||
"@vuepress/shared": "2.0.0-beta.42", | ||
"@vuepress/utils": "2.0.0-beta.42", | ||
"vue": "^3.2.33" | ||
@@ -34,0 +34,0 @@ }, |
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
10626
210
+ Added@vuepress/client@2.0.0-beta.42(transitive)
+ Added@vuepress/core@2.0.0-beta.42(transitive)
+ Added@vuepress/markdown@2.0.0-beta.42(transitive)
+ Added@vuepress/shared@2.0.0-beta.42(transitive)
+ Added@vuepress/utils@2.0.0-beta.42(transitive)
- Removed@vuepress/client@2.0.0-beta.41(transitive)
- Removed@vuepress/core@2.0.0-beta.41(transitive)
- Removed@vuepress/markdown@2.0.0-beta.41(transitive)
- Removed@vuepress/shared@2.0.0-beta.41(transitive)
- Removed@vuepress/utils@2.0.0-beta.41(transitive)
Updated@vuepress/core@2.0.0-beta.42