@vue/runtime-core
Advanced tools
Comparing version 3.0.0-alpha.11 to 3.0.0-alpha.12
@@ -74,5 +74,4 @@ import { camelize } from '@vue/shared'; | ||
timeout?: number; | ||
retryWhen?: (error: Error) => any; | ||
maxRetries?: number; | ||
suspensible?: boolean; | ||
onError?: (error: Error, retry: () => void, fail: () => void, attempts: number) => any; | ||
} | ||
@@ -156,6 +155,6 @@ | ||
attrs: Data; | ||
slots: Slots; | ||
slots: InternalSlots; | ||
proxy: ComponentPublicInstance | null; | ||
proxyTarget: ComponentPublicProxyTarget; | ||
withProxy: ComponentPublicInstance | null; | ||
propsProxy: Data | null; | ||
setupContext: SetupContext | null; | ||
@@ -249,2 +248,7 @@ refs: Data; | ||
declare interface ComponentPublicProxyTarget { | ||
[key: string]: any; | ||
_: ComponentInternalInstance; | ||
} | ||
declare type ComponentWatchOptionItem = WatchOptionItem | WatchOptionItem[]; | ||
@@ -433,12 +437,8 @@ | ||
export declare function h(type: FunctionalComponent, children?: RawChildren): VNode; | ||
export declare function h<P>(type: FunctionalComponent<P>, props?: (RawProps & P) | ({} extends P ? null : never), children?: RawChildren | RawSlots): VNode; | ||
export declare function h(type: ComponentOptions, children?: RawChildren): VNode; | ||
export declare function h(type: Component, children?: RawChildren): VNode; | ||
export declare function h(type: ComponentOptionsWithoutProps | ComponentOptionsWithArrayProps, props?: RawProps | null, children?: RawChildren | RawSlots): VNode; | ||
export declare function h(type: ComponentOptions | FunctionalComponent<{}>, props?: RawProps | null, children?: RawChildren | RawSlots): VNode; | ||
export declare function h<O>(type: ComponentOptionsWithProps<O>, props?: (RawProps & ExtractPropTypes<O>) | ({} extends ExtractPropTypes<O> ? null : never), children?: RawChildren | RawSlots): VNode; | ||
export declare function h(type: Constructor, children?: RawChildren): VNode; | ||
@@ -565,3 +565,3 @@ | ||
declare type MountComponentFn = (initialVNode: VNode, container: RendererElement, anchor: RendererNode | null, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, isSVG: boolean) => void; | ||
declare type MountComponentFn = (initialVNode: VNode, container: RendererElement, anchor: RendererNode | null, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, isSVG: boolean, optimized: boolean) => void; | ||
@@ -753,4 +753,12 @@ declare type MoveFn = (vnode: VNode, container: RendererElement, anchor: RendererNode | null, type: MoveType, parentSuspense?: SuspenseBoundary | null) => void; | ||
export declare function renderList(source: unknown, renderItem: (value: unknown, key: string | number, index?: number) => VNodeChild): VNodeChild[]; | ||
export declare function renderList(source: string, renderItem: (value: string, index: number) => VNodeChild): VNodeChild[]; | ||
export declare function renderList(source: number, renderItem: (value: number, index: number) => VNodeChild): VNodeChild[]; | ||
export declare function renderList<T>(source: T[], renderItem: (value: T, index: number) => VNodeChild): VNodeChild[]; | ||
export declare function renderList<T>(source: Iterable<T>, renderItem: (value: T, index: number) => VNodeChild): VNodeChild[]; | ||
export declare function renderList<T>(source: T, renderItem: <K extends keyof T>(value: T[K], key: K, index: number) => VNodeChild): VNodeChild[]; | ||
export declare function renderSlot(slots: Slots, name: string, props?: Data, fallback?: VNodeArrayChildren): VNode; | ||
@@ -786,3 +794,3 @@ | ||
declare function setupComponent(instance: ComponentInternalInstance, parentSuspense: SuspenseBoundary | null, isSSR?: boolean): Promise<void> | undefined; | ||
declare function setupComponent(instance: ComponentInternalInstance, isSSR?: boolean): Promise<void> | undefined; | ||
@@ -795,3 +803,3 @@ export declare interface SetupContext<E = ObjectEmitsOptions> { | ||
declare type SetupRenderEffectFn = (instance: ComponentInternalInstance, initialVNode: VNode, container: RendererElement, anchor: RendererNode | null, parentSuspense: SuspenseBoundary | null, isSVG: boolean) => void; | ||
declare type SetupRenderEffectFn = (instance: ComponentInternalInstance, initialVNode: VNode, container: RendererElement, anchor: RendererNode | null, parentSuspense: SuspenseBoundary | null, isSVG: boolean, optimized: boolean) => void; | ||
@@ -798,0 +806,0 @@ declare interface SFCInternalOptions { |
{ | ||
"name": "@vue/runtime-core", | ||
"version": "3.0.0-alpha.11", | ||
"version": "3.0.0-alpha.12", | ||
"description": "@vue/runtime-core", | ||
@@ -34,5 +34,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.0.0-alpha.11", | ||
"@vue/reactivity": "3.0.0-alpha.11" | ||
"@vue/shared": "3.0.0-alpha.12", | ||
"@vue/reactivity": "3.0.0-alpha.12" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
645297
16037
137
+ Added@vue/reactivity@3.0.0-alpha.12(transitive)
+ Added@vue/shared@3.0.0-alpha.12(transitive)
- Removed@vue/reactivity@3.0.0-alpha.11(transitive)
- Removed@vue/shared@3.0.0-alpha.11(transitive)
Updated@vue/shared@3.0.0-alpha.12