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

@vuepress/client

Package Overview
Dependencies
Maintainers
2
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/client - npm Package Compare versions

Comparing version 2.0.0-rc.10 to 2.0.0-rc.11

dist/chunk-MPZOAYAQ.js

2

dist/app.js

@@ -15,3 +15,3 @@ import {

withBase
} from "./chunk-GA5RAHE7.js";
} from "./chunk-MPZOAYAQ.js";

@@ -18,0 +18,0 @@ // src/app.ts

import * as vue from 'vue';
import { Component, ComputedRef, Ref, App, VNode, SlotsType, InjectionKey } from 'vue';
import { Component, ComputedRef, Ref, App, PropType, VNode, SlotsType, InjectionKey } from 'vue';
import { PageData, HeadConfig, PageFrontmatter, SiteData, SiteLocaleData } from '@vuepress/shared';

@@ -100,3 +100,3 @@ export { HeadConfig, PageData, PageFrontmatter, PageHeader, SiteData, SiteLocaleData } from '@vuepress/shared';

interface AutoLinkProps {
interface AutoLinkConfig {
/**

@@ -138,107 +138,17 @@ * Pattern to determine if the link should be active, which has higher priority than `exact`

declare const AutoLink: vue.DefineComponent<{
/**
* Pattern to determine if the link should be active, which has higher priority than `exact`
*/
activeMatch: {
type: (StringConstructor | RegExpConstructor)[];
default: string;
};
/**
* The `aria-label` attribute
*/
ariaLabel: {
type: StringConstructor;
default: string;
};
/**
* Whether the link should be active only if the url is an exact match
*/
exact: BooleanConstructor;
/**
* URL of the auto link
*/
link: {
type: StringConstructor;
config: {
type: PropType<AutoLinkConfig>;
required: true;
};
/**
* The `rel` attribute
*/
rel: {
type: StringConstructor;
default: string;
};
/**
* The `target` attribute
*/
target: {
type: StringConstructor;
default: string;
};
/**
* Text of the auto link
*/
text: {
type: StringConstructor;
required: true;
};
}, () => VNode<vue.RendererNode, vue.RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
/**
* Pattern to determine if the link should be active, which has higher priority than `exact`
*/
activeMatch: {
type: (StringConstructor | RegExpConstructor)[];
default: string;
};
/**
* The `aria-label` attribute
*/
ariaLabel: {
type: StringConstructor;
default: string;
};
/**
* Whether the link should be active only if the url is an exact match
*/
exact: BooleanConstructor;
/**
* URL of the auto link
*/
link: {
type: StringConstructor;
config: {
type: PropType<AutoLinkConfig>;
required: true;
};
/**
* The `rel` attribute
*/
rel: {
type: StringConstructor;
default: string;
};
/**
* The `target` attribute
*/
target: {
type: StringConstructor;
default: string;
};
/**
* Text of the auto link
*/
text: {
type: StringConstructor;
required: true;
};
}>>, {
target: string;
activeMatch: string | RegExp;
ariaLabel: string;
exact: boolean;
rel: string;
}, SlotsType<{
default?: (() => VNode[] | VNode) | undefined;
before?: (() => VNode[] | VNode | null) | undefined;
after?: (() => VNode[] | VNode | null) | undefined;
}>>, {}, SlotsType<{
default?: ((config: AutoLinkConfig) => VNode[] | VNode) | undefined;
before?: ((config: AutoLinkConfig) => VNode[] | VNode | null) | undefined;
after?: ((config: AutoLinkConfig) => VNode[] | VNode | null) | undefined;
}>>;

@@ -429,2 +339,2 @@

export { AutoLink, type AutoLinkProps, type ClientConfig, type ClientData, ClientOnly, Content, type Layouts, type LayoutsRef, type PageChunk, type PageComponent, type PageComponentRef, type PageDataRef, type PageFrontmatterRef, type PageHead, type PageHeadRef, type PageHeadTitle, type PageHeadTitleRef, type PageLang, type PageLangRef, type PageLayout, type PageLayoutRef, type Redirects, type RedirectsRef, type ResolvedRoute, type Route, RouteLink, type RouteLinkProps, type RouteLocale, type RouteLocaleRef, type RouteMeta, type RoutePath, type RoutePathRef, type Routes, type RoutesRef, type SiteDataRef, type SiteLocaleDataRef, type UpdateHead, clientDataSymbol, defineClientConfig, resolveRoute, resolveRoutePath, resolvers, updateHeadSymbol, useClientData, useLayouts, usePageComponent, usePageData, usePageFrontmatter, usePageHead, usePageLang, usePageLayout, useRedirects, useRouteLocale, useRoutePath, useRoutes, useSiteData, useSiteLocaleData, useUpdateHead, withBase };
export { AutoLink, type AutoLinkConfig, type ClientConfig, type ClientData, ClientOnly, Content, type Layouts, type LayoutsRef, type PageChunk, type PageComponent, type PageComponentRef, type PageDataRef, type PageFrontmatterRef, type PageHead, type PageHeadRef, type PageHeadTitle, type PageHeadTitleRef, type PageLang, type PageLangRef, type PageLayout, type PageLayoutRef, type Redirects, type RedirectsRef, type ResolvedRoute, type Route, RouteLink, type RouteLinkProps, type RouteLocale, type RouteLocaleRef, type RouteMeta, type RoutePath, type RoutePathRef, type Routes, type RoutesRef, type SiteDataRef, type SiteLocaleDataRef, type UpdateHead, clientDataSymbol, defineClientConfig, resolveRoute, resolveRoutePath, resolvers, updateHeadSymbol, useClientData, useLayouts, usePageComponent, usePageData, usePageFrontmatter, usePageHead, usePageLang, usePageLayout, useRedirects, useRouteLocale, useRoutePath, useRoutes, useSiteData, useSiteLocaleData, useUpdateHead, withBase };

@@ -30,3 +30,3 @@ import {

withBase
} from "./chunk-GA5RAHE7.js";
} from "./chunk-MPZOAYAQ.js";
export {

@@ -33,0 +33,0 @@ AutoLink,

{
"name": "@vuepress/client",
"version": "2.0.0-rc.10",
"version": "2.0.0-rc.11",
"description": "Client package of VuePress",

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

"vue-router": "^4.3.2",
"@vuepress/shared": "2.0.0-rc.10"
"@vuepress/shared": "2.0.0-rc.11"
},

@@ -42,0 +42,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