Comparing version 1.1.4 to 1.1.5
@@ -0,1 +1,8 @@ | ||
## [1.1.5](https://github.com/qiwi/queuefy/compare/v1.1.4...v1.1.5) (2021-03-11) | ||
### Performance Improvements | ||
* **pkg:** up deps ([af29a8b](https://github.com/qiwi/queuefy/commit/af29a8b9e1e526d2109bb3eadf2b461677d86110)) | ||
## [1.1.4](https://github.com/qiwi/queuefy/compare/v1.1.3...v1.1.4) (2020-12-29) | ||
@@ -2,0 +9,0 @@ |
/** | ||
* Flowtype definitions for index | ||
* Generated by Flowgen from a Typescript Definition | ||
* Flowgen v1.12.0 | ||
* Flowgen v1.13.0 | ||
*/ | ||
import { ICallable } from "@qiwi/substrate"; | ||
export type TInsideOutPromise = { | ||
promise: Promise<any>, | ||
resolve: ICallable, | ||
reject: ICallable, | ||
... | ||
}; | ||
export type IAsyncFn = (...args: any[]) => Promise<any>; | ||
export type ITask = { | ||
args: any[], | ||
iop: TInsideOutPromise, | ||
... | ||
}; | ||
export type ITaskQueue = Array<ITask>; | ||
/** | ||
* TODO implement lightweight version of 'inside-out-promise' | ||
* @private | ||
*/ | ||
declare export var getPromise: () => TInsideOutPromise; | ||
/** | ||
* @private | ||
* @param target | ||
*/ | ||
declare export var isPromiseLike: (target: any) => boolean; | ||
declare export var compose: ( | ||
cb: ICallable, | ||
next: ICallable | ||
) => <V>(v: V) => void; | ||
declare export var invoke: (fn: IAsyncFn, task: ITask, next: ICallable) => void; | ||
declare export var queuefy: <T: IAsyncFn>(fn: T) => T; | ||
declare module "queuefy/target/es6" { | ||
import type { ICallable } from "@qiwi/substrate"; | ||
declare export type TInsideOutPromise = { | ||
promise: Promise<any>, | ||
resolve: ICallable, | ||
reject: ICallable, | ||
... | ||
}; | ||
declare export type IAsyncFn = (...args: any[]) => Promise<any>; | ||
declare export type ITask = { | ||
args: any[], | ||
iop: TInsideOutPromise, | ||
... | ||
}; | ||
declare export type ITaskQueue = Array<ITask>; | ||
/** | ||
* TODO implement lightweight version of 'inside-out-promise' | ||
* @private | ||
*/ | ||
declare export var getPromise: () => TInsideOutPromise; | ||
/** | ||
* @private | ||
* @param target | ||
*/ | ||
declare export var isPromiseLike: (target: any) => boolean; | ||
declare export var compose: ( | ||
cb: ICallable, | ||
next: ICallable | ||
) => <V>(v: V) => void; | ||
declare export var invoke: ( | ||
fn: IAsyncFn, | ||
task: ITask, | ||
next: ICallable | ||
) => void; | ||
declare export var queuefy: <T: IAsyncFn>(fn: T) => T; | ||
} | ||
declare module "queuefy/target/es5" { | ||
import type { ICallable } from "@qiwi/substrate"; | ||
declare export type TInsideOutPromise = { | ||
promise: Promise<any>, | ||
resolve: ICallable, | ||
reject: ICallable, | ||
... | ||
}; | ||
declare export type IAsyncFn = (...args: any[]) => Promise<any>; | ||
declare export type ITask = { | ||
args: any[], | ||
iop: TInsideOutPromise, | ||
... | ||
}; | ||
declare export type ITaskQueue = Array<ITask>; | ||
/** | ||
* TODO implement lightweight version of 'inside-out-promise' | ||
* @private | ||
*/ | ||
declare export var getPromise: () => TInsideOutPromise; | ||
/** | ||
* @private | ||
* @param target | ||
*/ | ||
declare export var isPromiseLike: (target: any) => boolean; | ||
declare export var compose: ( | ||
cb: ICallable, | ||
next: ICallable | ||
) => <V>(v: V) => void; | ||
declare export var invoke: ( | ||
fn: IAsyncFn, | ||
task: ITask, | ||
next: ICallable | ||
) => void; | ||
declare export var queuefy: <T: IAsyncFn>(fn: T) => T; | ||
} | ||
declare module "queuefy" { | ||
declare export * from "queuefy/target/es5" | ||
} |
{ | ||
"name": "queuefy", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"private": false, | ||
@@ -56,6 +56,6 @@ "description": "Wrapper to make any async handler be like a single thread with queue", | ||
"devDependencies": { | ||
"@qiwi/libdefkit": "^2.1.5", | ||
"@qiwi/libdefkit": "^2.1.6", | ||
"@qiwi/npm-run-all": "^4.1.6", | ||
"@types/jest": "^26.0.19", | ||
"@types/node": "^14.14.16", | ||
"@types/jest": "^26.0.20", | ||
"@types/node": "^14.14.33", | ||
"coveralls": "^3.1.0", | ||
@@ -66,15 +66,15 @@ "jest": "^26.6.3", | ||
"rimraf": "^3.0.2", | ||
"terser": "^5.5.1", | ||
"terser": "^5.6.0", | ||
"cpy-cli": "^3.1.1", | ||
"eslint": "^7.16.0", | ||
"eslint-config-prettier": "^7.1.0", | ||
"eslint-config-qiwi": "^1.10.1", | ||
"typedoc": "^0.20.1", | ||
"typescript": "4.1.3", | ||
"ts-jest": "^26.4.4" | ||
"eslint": "^7.21.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-config-qiwi": "^1.10.7", | ||
"typedoc": "^0.20.30", | ||
"typescript": "4.2.3", | ||
"ts-jest": "^26.5.3" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.0.3", | ||
"@qiwi/substrate": "^1.19.6" | ||
"tslib": "^2.1.0", | ||
"@qiwi/substrate": "^1.20.4" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
30230
379
0
Updated@qiwi/substrate@^1.20.4
Updatedtslib@^2.1.0