@dxos/util
Advanced tools
Comparing version 2.19.7 to 2.19.8-dev.1dd2f6c4
@@ -13,3 +13,3 @@ export declare type MaybePromise<T> = T | Promise<T>; | ||
*/ | ||
export declare const getAsyncValue: <T extends unknown>(value: MaybeFunction<MaybePromise<T>>) => Promise<any>; | ||
export declare const getAsyncValue: <T>(value: MaybeFunction<MaybePromise<T>>) => Promise<any>; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@dxos/util", | ||
"version": "2.19.7", | ||
"version": "2.19.8-dev.1dd2f6c4", | ||
"description": "Temporary bucket for misc functions, which should graduate into separate packages.", | ||
@@ -21,4 +21,4 @@ "bugs": { | ||
"dependencies": { | ||
"@dxos/crypto": "2.19.7", | ||
"@dxos/debug": "2.19.7", | ||
"@dxos/crypto": "2.19.8-dev.1dd2f6c4", | ||
"@dxos/debug": "2.19.8-dev.1dd2f6c4", | ||
"@types/node": "^14.0.9" | ||
@@ -25,0 +25,0 @@ }, |
@@ -20,3 +20,3 @@ // | ||
*/ | ||
export const getAsyncValue = async <T extends any>(value: MaybeFunction<MaybePromise<T>>) => { | ||
export const getAsyncValue = async <T>(value: MaybeFunction<MaybePromise<T>>) => { | ||
if (typeof value === 'function') { | ||
@@ -23,0 +23,0 @@ return (value as Function)(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
72496
2
+ Added@dxos/crypto@2.19.8-dev.1dd2f6c4(transitive)
+ Added@dxos/debug@2.19.8-dev.1dd2f6c4(transitive)
- Removed@dxos/crypto@2.19.7(transitive)
- Removed@dxos/debug@2.19.7(transitive)