Socket
Socket
Sign inDemoInstall

@vuepress/shared

Package Overview
Dependencies
Maintainers
7
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/shared - npm Package Compare versions

Comparing version 2.0.0-alpha.24 to 2.0.0-alpha.25

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

# [2.0.0-alpha.25](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.24...v2.0.0-alpha.25) (2021-02-20)
### Code Refactoring
* **core:** remove theme data from site data ([187aef3](https://github.com/vuepress/vuepress-next/commit/187aef36607efc62d7b2d5c773553f89685cf64c))
### BREAKING CHANGES
* **core:** `themeConfig` is not available in site data any more
# [2.0.0-alpha.24](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.23...v2.0.0-alpha.24) (2021-02-13)

@@ -8,0 +24,0 @@

14

lib/esm/types/site.d.ts
import type { HeadConfig } from './head';
import type { LocaleConfig, LocaleData } from './locale';
import type { LocaleConfig } from './locale';
/**
* Vuepress site data
*/
export interface SiteData<T extends SiteThemeConfig = SiteThemeConfig> extends SiteLocaleData {
export interface SiteData extends SiteLocaleData {
base: string;
locales: SiteLocaleConfig;
themeConfig: Partial<T>;
}

@@ -44,11 +43,2 @@ /**

export declare type SiteLocaleConfig = LocaleConfig<SiteLocaleData>;
/**
* Site theme config
*
* @remark suffix `Config` means this is for user config
*/
export declare type SiteThemeConfig<ThemeLocaleData extends LocaleData = LocaleData> = ThemeLocaleData & {
locales?: LocaleConfig<ThemeLocaleData>;
[key: string]: any;
};
//# sourceMappingURL=site.d.ts.map
import type { HeadConfig } from './head';
import type { LocaleConfig, LocaleData } from './locale';
import type { LocaleConfig } from './locale';
/**
* Vuepress site data
*/
export interface SiteData<T extends SiteThemeConfig = SiteThemeConfig> extends SiteLocaleData {
export interface SiteData extends SiteLocaleData {
base: string;
locales: SiteLocaleConfig;
themeConfig: Partial<T>;
}

@@ -44,11 +43,2 @@ /**

export declare type SiteLocaleConfig = LocaleConfig<SiteLocaleData>;
/**
* Site theme config
*
* @remark suffix `Config` means this is for user config
*/
export declare type SiteThemeConfig<ThemeLocaleData extends LocaleData = LocaleData> = ThemeLocaleData & {
locales?: LocaleConfig<ThemeLocaleData>;
[key: string]: any;
};
//# sourceMappingURL=site.d.ts.map
{
"name": "@vuepress/shared",
"version": "2.0.0-alpha.24",
"version": "2.0.0-alpha.25",
"description": "Utils that shared between VuePress node and client",

@@ -36,3 +36,3 @@ "keywords": [

},
"gitHead": "6fadce4fb24cb1fe47438009288da2d2656586f5"
"gitHead": "f0d1a63a8e7ab594216c3f1b6021bb5fd8a825f4"
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc