Socket
Socket
Sign inDemoInstall

@vuepress/shared

Package Overview
Dependencies
Maintainers
7
Versions
77
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-beta.37 to 2.0.0-beta.38

10

lib/esm/types/page.d.ts
import type { HeadConfig } from './head';
/**
* Vuepress page data
* Base type of vuepress page
*/
export declare type PageData<ExtraPageData extends Record<any, any> = Record<never, never>> = ExtraPageData & {
export declare type PageBase<ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>> = {
/**

@@ -36,3 +36,3 @@ * Identifier of the page

*/
frontmatter: PageFrontmatter;
frontmatter: PageFrontmatter<ExtraPageFrontmatter>;
/**

@@ -48,2 +48,6 @@ * Excerpt of the page

/**
* Vuepress page data
*/
export declare type PageData<ExtraPageData extends Record<any, any> = Record<never, never>, ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>> = PageBase<ExtraPageFrontmatter> & ExtraPageData;
/**
* Vuepress page frontmatter

@@ -50,0 +54,0 @@ *

import type { HeadConfig } from './head';
/**
* Vuepress page data
* Base type of vuepress page
*/
export declare type PageData<ExtraPageData extends Record<any, any> = Record<never, never>> = ExtraPageData & {
export declare type PageBase<ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>> = {
/**

@@ -36,3 +36,3 @@ * Identifier of the page

*/
frontmatter: PageFrontmatter;
frontmatter: PageFrontmatter<ExtraPageFrontmatter>;
/**

@@ -48,2 +48,6 @@ * Excerpt of the page

/**
* Vuepress page data
*/
export declare type PageData<ExtraPageData extends Record<any, any> = Record<never, never>, ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>> = PageBase<ExtraPageFrontmatter> & ExtraPageData;
/**
* Vuepress page frontmatter

@@ -50,0 +54,0 @@ *

{
"name": "@vuepress/shared",
"version": "2.0.0-beta.37",
"version": "2.0.0-beta.38",
"description": "Utils that shared between VuePress node and client",

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

},
"gitHead": "6600a8c1a293b948be977c348eb9907178bb3263"
"gitHead": "7cb24eab18628a66371a367090f7c9c33b519136"
}
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