Socket
Socket
Sign inDemoInstall

@vue/runtime-core

Package Overview
Dependencies
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/runtime-core - npm Package Compare versions

Comparing version 3.0.0-alpha.3 to 3.0.0-alpha.4

40

dist/runtime-core.d.ts

@@ -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

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