@vue/runtime-core
Advanced tools
Comparing version 3.0.0-alpha.3 to 3.0.0-alpha.4
@@ -32,7 +32,8 @@ import { ComputedGetter } from '@vue/reactivity'; | ||
directive(name: string, directive: Directive): this; | ||
mount(rootComponent: Component | { | ||
new (): ComponentPublicInstance<any, any, any, any, any>; | ||
}, rootContainer: HostElement | string, rootProps?: Data): ComponentPublicInstance; | ||
mount(rootContainer: HostElement | string): ComponentPublicInstance; | ||
unmount(rootContainer: HostElement | string): void; | ||
provide<T>(key: InjectionKey<T> | string, value: T): this; | ||
_component: Component; | ||
_props: Data | null; | ||
_container: HostElement | null; | ||
} | ||
@@ -165,2 +166,3 @@ | ||
render?: Function; | ||
ssrRender?: Function; | ||
components?: Record<string, Component | { | ||
@@ -229,2 +231,6 @@ new (): ComponentPublicInstance<any, any, any, any, any>; | ||
export declare type CreateAppFunction<HostElement> = (rootComponent: Component | { | ||
new (): ComponentPublicInstance<any, any, any, any, any>; | ||
}, rootProps?: Data | null) => App<HostElement>; | ||
export declare function createBlock(type: VNodeTypes, props?: { | ||
@@ -236,4 +242,6 @@ [key: string]: any; | ||
export declare const createHook: <T extends Function = () => any>(lifecycle: LifecycleHooks) => (hook: T, target?: ComponentInternalInstance | null) => void; | ||
export declare function createComponentInstance(vnode: VNode, parent: ComponentInternalInstance | null): ComponentInternalInstance; | ||
export declare const createHook: <T extends Function = () => any>(lifecycle: LifecycleHooks) => (hook: T, target?: ComponentInternalInstance | null) => false | void; | ||
declare function createRecord(id: string, comp: ComponentOptions): boolean; | ||
@@ -258,3 +266,3 @@ | ||
render: RootRenderFunction<HostNode, HostElement>; | ||
createApp: () => App<HostElement>; | ||
createApp: CreateAppFunction<HostElement>; | ||
}; | ||
@@ -521,7 +529,7 @@ | ||
export declare const onBeforeMount: (hook: () => any, target?: ComponentInternalInstance | null) => void; | ||
export declare const onBeforeMount: (hook: () => any, target?: ComponentInternalInstance | null) => false | void; | ||
export declare const onBeforeUnmount: (hook: () => any, target?: ComponentInternalInstance | null) => void; | ||
export declare const onBeforeUnmount: (hook: () => any, target?: ComponentInternalInstance | null) => false | void; | ||
export declare const onBeforeUpdate: (hook: () => any, target?: ComponentInternalInstance | null) => void; | ||
export declare const onBeforeUpdate: (hook: () => any, target?: ComponentInternalInstance | null) => false | void; | ||
@@ -532,11 +540,11 @@ export declare function onDeactivated(hook: Function, target?: ComponentInternalInstance | null): void; | ||
export declare const onMounted: (hook: () => any, target?: ComponentInternalInstance | null) => void; | ||
export declare const onMounted: (hook: () => any, target?: ComponentInternalInstance | null) => false | void; | ||
export declare const onRenderTracked: (hook: DebuggerHook, target?: ComponentInternalInstance | null) => void; | ||
export declare const onRenderTracked: (hook: DebuggerHook, target?: ComponentInternalInstance | null) => false | void; | ||
export declare const onRenderTriggered: (hook: DebuggerHook, target?: ComponentInternalInstance | null) => void; | ||
export declare const onRenderTriggered: (hook: DebuggerHook, target?: ComponentInternalInstance | null) => false | void; | ||
export declare const onUnmounted: (hook: () => any, target?: ComponentInternalInstance | null) => void; | ||
export declare const onUnmounted: (hook: () => any, target?: ComponentInternalInstance | null) => false | void; | ||
export declare const onUpdated: (hook: () => any, target?: ComponentInternalInstance | null) => void; | ||
export declare const onUpdated: (hook: () => any, target?: ComponentInternalInstance | null) => false | void; | ||
@@ -683,2 +691,4 @@ export declare function openBlock(disableTracking?: boolean): void; | ||
export declare function setupComponent(instance: ComponentInternalInstance, parentSuspense: SuspenseBoundary | null): Promise<void> | undefined; | ||
export declare interface SetupContext { | ||
@@ -771,7 +781,7 @@ attrs: Data; | ||
export declare const toDisplayString: (s: unknown) => string; | ||
export declare function toHandlers(obj: Record<string, any>): Record<string, any>; | ||
export { toRaw } | ||
export { toRefs } | ||
export declare function toString(val: unknown): string; | ||
export { TrackOpTypes } | ||
@@ -778,0 +788,0 @@ |
{ | ||
"name": "@vue/runtime-core", | ||
"version": "3.0.0-alpha.3", | ||
"version": "3.0.0-alpha.4", | ||
"description": "@vue/runtime-core", | ||
@@ -34,4 +34,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/reactivity": "3.0.0-alpha.3" | ||
"@vue/reactivity": "3.0.0-alpha.4" | ||
} | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
512329
13028
102
+ Added@vue/reactivity@3.0.0-alpha.4(transitive)
- Removed@vue/reactivity@3.0.0-alpha.3(transitive)