Comparing version 2.1.0 to 2.1.1
@@ -38,3 +38,3 @@ interface UseContext<T> { | ||
declare const useContext: <T>(key: string) => () => T; | ||
declare type AsyncFunction<T> = () => Promise<T>; | ||
type AsyncFunction<T> = () => Promise<T>; | ||
declare function executeAsync<T>(function_: AsyncFunction<T>): [Promise<T>, () => void]; | ||
@@ -41,0 +41,0 @@ declare function withAsyncContext<T = any>(function_: AsyncFunction<T>, transformed?: boolean): AsyncFunction<T>; |
{ | ||
"name": "unctx", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Composition-api in Vanilla js", | ||
@@ -45,14 +45,14 @@ "repository": "unjs/unctx", | ||
"@types/estree": "^1.0.0", | ||
"@types/jest": "^29.2.2", | ||
"@types/jest": "^29.2.3", | ||
"@types/node": "^18.11.9", | ||
"@vitest/coverage-c8": "^0.25.2", | ||
"eslint": "^8.27.0", | ||
"@vitest/coverage-c8": "^0.25.3", | ||
"eslint": "^8.28.0", | ||
"eslint-config-unjs": "^0.0.2", | ||
"jiti": "^1.16.0", | ||
"standard-version": "^9.5.0", | ||
"typescript": "^4.8.4", | ||
"unbuild": "^0.9.4", | ||
"vitest": "^0.25.2" | ||
"typescript": "^4.9.3", | ||
"unbuild": "^1.0.1", | ||
"vitest": "^0.25.3" | ||
}, | ||
"packageManager": "pnpm@7.16.0", | ||
"packageManager": "pnpm@7.17.1", | ||
"scripts": { | ||
@@ -59,0 +59,0 @@ "build": "unbuild", |
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
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
25879