Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vuepress/shared

Package Overview
Dependencies
Maintainers
6
Versions
78
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.53 to 2.0.0-beta.54

24

dist/index.d.ts

@@ -7,3 +7,3 @@ import { MarkdownItHeader } from '@mdit-vue/types';

*/
declare type HeadConfig = [HeadTagEmpty, HeadAttrsConfig] | [HeadTagNonEmpty, HeadAttrsConfig, string];
type HeadConfig = [HeadTagEmpty, HeadAttrsConfig] | [HeadTagNonEmpty, HeadAttrsConfig, string];
/**

@@ -14,15 +14,15 @@ * Allowed tags in `<head>`

*/
declare type HeadTag = HeadTagNonEmpty | HeadTagEmpty;
type HeadTag = HeadTagNonEmpty | HeadTagEmpty;
/**
* Non-empty tags in `<head>`
*/
declare type HeadTagNonEmpty = 'title' | 'style' | 'script' | 'noscript' | 'template';
type HeadTagNonEmpty = 'title' | 'style' | 'script' | 'noscript' | 'template';
/**
* Empty tags in `<head>`
*/
declare type HeadTagEmpty = 'base' | 'link' | 'meta' | 'script';
type HeadTagEmpty = 'base' | 'link' | 'meta' | 'script';
/**
* Attributes to be set for tags in `<head>`
*/
declare type HeadAttrsConfig = Record<string, string | boolean>;
type HeadAttrsConfig = Record<string, string | boolean>;

@@ -37,7 +37,7 @@ /**

*/
declare type LocaleConfig<T extends LocaleData = LocaleData> = Record<string, Partial<T>>;
type LocaleConfig<T extends LocaleData = LocaleData> = Record<string, Partial<T>>;
/**
* Locales data
*/
declare type LocaleData = Record<never, never>;
type LocaleData = Record<never, never>;

@@ -47,3 +47,3 @@ /**

*/
declare type PageBase<ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>> = {
type PageBase<ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>> = {
/**

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

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

@@ -100,3 +100,3 @@ * Vuepress page frontmatter

*/
declare type PageFrontmatter<T extends Record<any, any> = Record<string, unknown>> = Partial<T> & {
type PageFrontmatter<T extends Record<any, any> = Record<string, unknown>> = Partial<T> & {
date?: string | Date;

@@ -115,3 +115,3 @@ description?: string;

*/
declare type PageHeader = MarkdownItHeader;
type PageHeader = MarkdownItHeader;

@@ -194,3 +194,3 @@ /**

*/
declare type SiteLocaleConfig = LocaleConfig<SiteLocaleData>;
type SiteLocaleConfig = LocaleConfig<SiteLocaleData>;

@@ -197,0 +197,0 @@ /**

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

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

"@mdit-vue/types": "^0.11.0",
"@vue/shared": "^3.2.41"
"@vue/shared": "^3.2.45"
},

@@ -36,0 +36,0 @@ "publishConfig": {

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