@vue/reactivity
Advanced tools
Comparing version 3.4.0-rc.1 to 3.4.0-rc.2
@@ -617,4 +617,5 @@ import { IfAny } from '@vue/shared'; | ||
export type ShallowUnwrapRef<T> = { | ||
[K in keyof T]: T[K] extends Ref<infer V> ? V : T[K] extends Ref<infer V> | undefined ? unknown extends V ? undefined : V | undefined : T[K]; | ||
[K in keyof T]: DistrubuteRef<T[K]>; | ||
}; | ||
type DistrubuteRef<T> = T extends Ref<infer V> ? V : T; | ||
export type UnwrapRef<T> = T extends ShallowRef<infer V> ? V : T extends Ref<infer V> ? UnwrapRefSimple<V> : UnwrapRefSimple<T>; | ||
@@ -621,0 +622,0 @@ type UnwrapRefSimple<T> = T extends Function | BaseTypes | Ref | RefUnwrapBailTypes[keyof RefUnwrapBailTypes] | { |
{ | ||
"name": "@vue/reactivity", | ||
"version": "3.4.0-rc.1", | ||
"version": "3.4.0-rc.2", | ||
"description": "@vue/reactivity", | ||
@@ -39,4 +39,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.4.0-rc.1" | ||
"@vue/shared": "3.4.0-rc.2" | ||
} | ||
} |
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
6910
222183
+ Added@vue/shared@3.4.0-rc.2(transitive)
- Removed@vue/shared@3.4.0-rc.1(transitive)
Updated@vue/shared@3.4.0-rc.2