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.5 to 3.0.0-alpha.6

19

dist/runtime-core.d.ts

@@ -16,2 +16,3 @@ import { ComputedGetter } from '@vue/reactivity';

import { shallowReactive } from '@vue/reactivity';
import { shallowRef } from '@vue/reactivity';
import { toRaw } from '@vue/reactivity';

@@ -21,2 +22,3 @@ import { toRefs } from '@vue/reactivity';

import { TriggerOpTypes } from '@vue/reactivity';
import { unref } from '@vue/reactivity';
import { UnwrapRef } from '@vue/reactivity';

@@ -199,3 +201,6 @@ import { WritableComputedOptions } from '@vue/reactivity';

export declare type ComponentPublicInstance<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, PublicProps = P> = {
export declare type ComponentPublicInstance<P = {}, // props type extracted from props option
B = {}, // raw bindings returned from setup()
D = {}, // return from data()
C extends ComputedOptions = {}, M extends MethodOptions = {}, PublicProps = P> = {
$data: D;

@@ -214,3 +219,3 @@ $props: PublicProps;

$watch: typeof instanceWatch;
} & P & UnwrapRef<B> & D & ExtractComputedReturns<C> & M;
} & P & UnwrapSetupBindings<B> & D & ExtractComputedReturns<C> & M;

@@ -740,2 +745,3 @@ declare type ComponentWatchOptionItem = WatchOptionItem | WatchOptionItem[];

export { shallowReactive }
export { shallowRef }

@@ -831,4 +837,11 @@ export declare type Slot = (...args: any[]) => VNode[];

declare type UnmountFn<HostNode, HostElement> = (vnode: VNode<HostNode, HostElement>, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary<HostNode, HostElement> | null, doRemove?: boolean) => void;
export { unref }
declare type UnwrapBinding<B> = B extends ComputedRef<any> ? B extends ComputedRef<infer V> ? V : B : B extends Ref<infer V> ? V : B;
export { UnwrapRef }
declare type UnwrapSetupBindings<B> = {
[K in keyof B]: UnwrapBinding<B[K]>;
};
export declare const useCSSModule: (name?: string) => Record<string, string>;

@@ -899,2 +912,4 @@

export declare function watchEffect(effect: WatchEffect, options?: BaseWatchOptions): StopHandle;
declare type WatchOptionItem = string | WatchCallback | {

@@ -901,0 +916,0 @@ handler: WatchCallback;

4

package.json
{
"name": "@vue/runtime-core",
"version": "3.0.0-alpha.5",
"version": "3.0.0-alpha.6",
"description": "@vue/runtime-core",

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

"dependencies": {
"@vue/reactivity": "3.0.0-alpha.5"
"@vue/reactivity": "3.0.0-alpha.6"
}
}

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