@vue/reactivity
Advanced tools
Comparing version 3.0.0-beta.21 to 3.0.0-beta.22
declare type BaseTypes = string | number | boolean; | ||
declare type Builtin = Primitive | Function | Date | Error | RegExp; | ||
declare type CollectionTypes = IterableCollections | WeakCollections; | ||
@@ -38,2 +40,6 @@ | ||
declare type DeepReadonly<T> = T extends Builtin ? T : T extends Map<infer K, infer V> ? ReadonlyMap<DeepReadonly<K>, DeepReadonly<V>> : T extends ReadonlyMap<infer K, infer V> ? ReadonlyMap<DeepReadonly<K>, DeepReadonly<V>> : T extends WeakMap<infer K, infer V> ? WeakMap<DeepReadonly<K>, DeepReadonly<V>> : T extends Set<infer U> ? ReadonlySet<DeepReadonly<U>> : T extends ReadonlySet<infer U> ? ReadonlySet<DeepReadonly<U>> : T extends WeakSet<infer U> ? WeakSet<DeepReadonly<U>> : T extends Promise<infer U> ? Promise<DeepReadonly<U>> : T extends {} ? { | ||
readonly [K in keyof T]: DeepReadonly<T[K]>; | ||
} : Readonly<T>; | ||
declare type Dep = Set<ReactiveEffect>; | ||
@@ -61,2 +67,4 @@ | ||
declare type Primitive = string | number | boolean | bigint | symbol | undefined | null; | ||
export declare function reactive<T extends object>(target: T): UnwrapNestedRefs<T>; | ||
@@ -92,3 +100,3 @@ | ||
export declare function readonly<T extends object>(target: T): Readonly<UnwrapNestedRefs<T>>; | ||
export declare function readonly<T extends object>(target: T): DeepReadonly<UnwrapNestedRefs<T>>; | ||
@@ -95,0 +103,0 @@ export declare interface Ref<T = any> { |
{ | ||
"name": "@vue/reactivity", | ||
"version": "3.0.0-beta.21", | ||
"version": "3.0.0-beta.22", | ||
"description": "@vue/reactivity", | ||
@@ -38,4 +38,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.0.0-beta.21" | ||
"@vue/shared": "3.0.0-beta.22" | ||
} | ||
} |
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
157744
4151
+ Added@vue/shared@3.0.0-beta.22(transitive)
- Removed@vue/shared@3.0.0-beta.21(transitive)
Updated@vue/shared@3.0.0-beta.22