@wry/context
Advanced tools
Comparing version 0.4.4 to 0.5.0
@@ -7,3 +7,3 @@ /// <reference types="node" /> | ||
declare function setTimeoutWithContext(callback: () => any, delay: number): NodeJS.Timer; | ||
export declare function asyncFromGen<TArgs extends any[], TResult>(genFn: (...args: TArgs) => IterableIterator<TResult>): (...args: TArgs) => Promise<TResult>; | ||
export declare function asyncFromGen<TArgs extends any[]>(genFn: (...args: TArgs) => any): (...args: TArgs) => Promise<any>; | ||
export declare function wrapYieldingFiberMethods<F extends Function>(Fiber: F): F; |
@@ -8,6 +8,6 @@ declare const makeSlotClass: () => { | ||
}; | ||
bind<TArgs extends any[], TResult>(callback: (...args: TArgs) => TResult): (...args: TArgs) => TResult; | ||
noContext<TResult, TArgs extends any[], TThis = any>(callback: (this: TThis, ...args: TArgs) => TResult, args?: TArgs | undefined, thisArg?: TThis | undefined): TResult; | ||
bind<TArgs_1 extends any[], TResult_1>(callback: (...args: TArgs_1) => TResult_1): (...args: TArgs_1) => TResult_1; | ||
noContext<TResult_2, TArgs_2 extends any[], TThis_1 = any>(callback: (this: TThis_1, ...args: TArgs_2) => TResult_2, args?: TArgs_2 | undefined, thisArg?: TThis_1 | undefined): TResult_2; | ||
}; | ||
export declare const Slot: ReturnType<typeof makeSlotClass>; | ||
export {}; |
{ | ||
"name": "@wry/context", | ||
"version": "0.4.4", | ||
"version": "0.5.0", | ||
"author": "Ben Newman <ben@eloper.dev>", | ||
@@ -29,6 +29,5 @@ "description": "Manage contextual information needed by (a)synchronous tasks without explicitly passing objects around", | ||
"dependencies": { | ||
"@types/node": ">=6", | ||
"tslib": "^1.9.3" | ||
}, | ||
"gitHead": "50e7d6181b0b937ad54b543118e823ad98e2bca9" | ||
"gitHead": "1060dc2e752f0f9c6040456bc70a693a13d5b478" | ||
} |
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
1
43893
- Removed@types/node@>=6
- Removed@types/node@22.10.5(transitive)
- Removedundici-types@6.20.0(transitive)