Socket
Socket
Sign inDemoInstall

@vue/runtime-core

Package Overview
Dependencies
2
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-beta.24 to 3.0.0-rc.1

63

dist/runtime-core.d.ts

@@ -7,2 +7,3 @@ import { camelize } from '@vue/shared';

import { DebuggerEvent } from '@vue/reactivity';
import { DeepReadonly } from '@vue/reactivity';
import { isProxy } from '@vue/reactivity';

@@ -36,2 +37,7 @@ import { isReactive } from '@vue/reactivity';

declare interface AllowedComponentProps {
class?: unknown;
style?: unknown;
}
export declare interface App<HostElement = any> {

@@ -73,4 +79,14 @@ version: string;

reload?: () => void;
__app?: App;
}
declare interface AppRecord {
id: number;
app: App;
version: string;
types: {
[key: string]: string | Symbol;
};
}
export declare type AsyncComponentLoader<T = any> = () => Promise<AsyncComponentResolveResult<T>>;

@@ -189,2 +205,5 @@

export declare interface ComponentCustomProps {
}
declare type ComponentInjectOptions = string[] | Record<string | symbol, string | symbol | {

@@ -426,2 +445,3 @@ from: string | symbol;

declare type DebuggerHook = (e: DebuggerEvent) => void;
export { DeepReadonly }

@@ -434,12 +454,22 @@ declare type DefaultFactory<T> = () => T | null | undefined;

export declare function defineComponent<Props, RawBindings = object>(setup: (props: Readonly<Props>, ctx: SetupContext) => RawBindings | RenderFunction): ComponentPublicInstanceConstructor<CreateComponentPublicInstance<Props, RawBindings, {}, {}, {}, {}, {}, {}, VNodeProps & Props>> & FunctionalComponent<Props>;
export declare function defineComponent<Props, RawBindings = object>(setup: (props: Readonly<Props>, ctx: SetupContext) => RawBindings | RenderFunction): ComponentPublicInstanceConstructor<CreateComponentPublicInstance<Props, RawBindings, {}, {}, {}, {}, {}, {}, VNodeProps & Props & AllowedComponentProps & ComponentCustomProps>> & FunctionalComponent<Props>;
export declare function defineComponent<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>): ComponentPublicInstanceConstructor<CreateComponentPublicInstance<Props, RawBindings, D, C, M, Mixin, Extends, E, VNodeProps & Props>> & ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>;
export declare function defineComponent<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>): ComponentPublicInstanceConstructor<CreateComponentPublicInstance<Props, RawBindings, D, C, M, Mixin, Extends, E, VNodeProps & Props & AllowedComponentProps & ComponentCustomProps>> & ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>;
export declare function defineComponent<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE>): ComponentPublicInstanceConstructor<CreateComponentPublicInstance<Readonly<{
[key in PropNames]?: any;
}>, RawBindings, D, C, M, Mixin, Extends, E>> & ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE>;
}>, RawBindings, D, C, M, Mixin, Extends, E, AllowedComponentProps & ComponentCustomProps>> & ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE>;
export declare function defineComponent<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>): ComponentPublicInstanceConstructor<CreateComponentPublicInstance<ExtractPropTypes<PropsOptions, false>, RawBindings, D, C, M, Mixin, Extends, E, VNodeProps>> & ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>;
export declare function defineComponent<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>): ComponentPublicInstanceConstructor<CreateComponentPublicInstance<ExtractPropTypes<PropsOptions, false>, RawBindings, D, C, M, Mixin, Extends, E, VNodeProps & AllowedComponentProps & ComponentCustomProps>> & ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>;
export declare let devtools: DevtoolsHook;
declare interface DevtoolsHook {
emit: (event: string, ...payload: any[]) => void;
on: (event: string, handler: Function) => void;
once: (event: string, handler: Function) => void;
off: (event: string, handler: Function) => void;
appRecords: AppRecord[];
}
export declare type Directive<T = any, V = any> = ObjectDirective<T, V> | FunctionDirective<T, V>;

@@ -565,3 +595,3 @@

declare function hydrateTeleport(node: Node, vnode: VNode, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, optimized: boolean, { o: { nextSibling, parentNode, querySelector } }: RendererInternals<Node, Element>, hydrateChildren: (node: Node | null, vnode: VNode, container: Element, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, optimized: boolean) => Node | null): Node | null;
declare function hydrateTeleport(node: Node, vnode: TeleportVNode, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, optimized: boolean, { o: { nextSibling, parentNode, querySelector } }: RendererInternals<Node, Element>, hydrateChildren: (node: Node | null, vnode: VNode, container: Element, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, optimized: boolean) => Node | null): Node | null;

@@ -845,2 +875,4 @@ export declare interface HydrationRenderer extends Renderer<Element> {

[Symbol.iterator]?: never;
} & {
[key: string]: any;
};

@@ -945,3 +977,3 @@

/**
* Compiler runtime helper for rendering <slot/>
* Compiler runtime helper for rendering `<slot/>`
* @private

@@ -1002,2 +1034,4 @@ */

export declare function setDevtoolsHook(hook: DevtoolsHook): void;
export declare function setTransitionHooks(vnode: VNode, hooks: TransitionHooks): void;

@@ -1038,3 +1072,3 @@

export declare interface SuspenseBoundary {
vnode: VNode;
vnode: VNode<RendererNode, RendererElement, SuspenseProps>;
parent: SuspenseBoundary | null;

@@ -1082,3 +1116,3 @@ parentComponent: ComponentInternalInstance | null;

__isTeleport: boolean;
process(n1: VNode | null, n2: VNode, container: RendererElement, anchor: RendererNode | null, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, isSVG: boolean, optimized: boolean, internals: RendererInternals): void;
process(n1: TeleportVNode | null, n2: TeleportVNode, container: RendererElement, anchor: RendererNode | null, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, isSVG: boolean, optimized: boolean, internals: RendererInternals): void;
remove(vnode: VNode, { r: remove, o: { remove: hostRemove } }: RendererInternals): void;

@@ -1100,2 +1134,4 @@ move: typeof moveTeleport;

declare type TeleportVNode = VNode<RendererNode, RendererElement, TeleportProps>;
declare const Text_2: unique symbol;

@@ -1159,7 +1195,9 @@ export { Text_2 as Text }

export declare interface VNode<HostNode = RendererNode, HostElement = RendererElement> {
export declare interface VNode<HostNode = RendererNode, HostElement = RendererElement, ExtraProps = {
[key: string]: any;
}> {
/* Excluded from this release type: __v_isVNode */
/* Excluded from this release type: __v_skip */
type: VNodeTypes;
props: VNodeProps | null;
props: (VNodeProps & ExtraProps) | null;
key: string | number | null;

@@ -1199,4 +1237,3 @@ ref: VNodeNormalizedRef | null;

export declare interface VNodeProps {
[key: string]: any;
export declare type VNodeProps = {
key?: string | number;

@@ -1210,3 +1247,3 @@ ref?: VNodeRef;

onVnodeUnmounted?: VNodeMountHook | VNodeMountHook[];
}
};

@@ -1213,0 +1250,0 @@ declare type VNodeRef = string | Ref | ((ref: object | null, refs: Record<string, any>) => void);

{
"name": "@vue/runtime-core",
"version": "3.0.0-beta.24",
"version": "3.0.0-rc.1",
"description": "@vue/runtime-core",

@@ -34,5 +34,5 @@ "main": "index.js",

"dependencies": {
"@vue/shared": "3.0.0-beta.24",
"@vue/reactivity": "3.0.0-beta.24"
"@vue/shared": "3.0.0-rc.1",
"@vue/reactivity": "3.0.0-rc.1"
}
}

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc