Comparing version 1.1.1 to 1.1.2
@@ -0,1 +1,8 @@ | ||
## [1.1.2](https://github.com/qiwi/queuefy/compare/v1.1.1...v1.1.2) (2020-09-24) | ||
### Performance Improvements | ||
* **package:** up deps ([950883d](https://github.com/qiwi/queuefy/commit/950883df987cc28338aeef1f7dcd991bf113b0ea)) | ||
## [1.1.1](https://github.com/qiwi/queuefy/compare/v1.1.0...v1.1.1) (2020-07-01) | ||
@@ -2,0 +9,0 @@ |
/** | ||
* Flowtype definitions for index | ||
* Generated by Flowgen from a Typescript Definition | ||
* Flowgen v1.10.0 | ||
* Flowgen v1.11.0 | ||
*/ | ||
declare module "queuefy/target/es5/index" { | ||
declare module "queuefy/target/es6" { | ||
declare export type TInsideOutPromise = { | ||
@@ -45,4 +45,42 @@ promise: Promise<any>, | ||
declare module "queuefy/target/es5" { | ||
declare export type TInsideOutPromise = { | ||
promise: Promise<any>, | ||
resolve: Function, | ||
reject: Function, | ||
... | ||
}; | ||
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: Function, | ||
next: Function | ||
) => <V>(v: V) => void; | ||
declare export var invoke: ( | ||
fn: IAsyncFn, | ||
task: ITask, | ||
next: Function | ||
) => void; | ||
declare export var queuefy: <T: IAsyncFn>(fn: T) => T; | ||
} | ||
declare module "queuefy" { | ||
declare export * from "queuefy/target/es5/index" | ||
declare export * from "queuefy/target/es5" | ||
} |
{ | ||
"name": "queuefy", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"private": false, | ||
@@ -20,3 +20,3 @@ "description": "Wrapper to make any async handler be like a single thread with queue", | ||
"clean": "rimraf target typings flow-typed", | ||
"build": "yarn clean && yarn build:es5 && yarn build:es6 && yarn build:ts && yarn build:libdef && yarn docs && yarn uglify && yarn build:bundle", | ||
"build": "yarn run clean && yarn build:es5 && yarn build:es6 && yarn build:ts && yarn build:libdef && yarn docs && yarn uglify && yarn build:bundle", | ||
"build:es5": "mkdir -p target/es5 && tsc -p tsconfig.es5.json", | ||
@@ -26,3 +26,3 @@ "build:es6": "mkdir -p target/es6 && tsc -p tsconfig.es6.json", | ||
"build:bundle": "microbundle --tsconfig tsconfig.es5.json -i src/main/ts/index.ts -o target/bundle", | ||
"build:libdef": "dts-generator --project ./ --out typings/index.d.ts --prefix queuefy/target/es5 --name queuefy --main queuefy/target/es5/index --moduleResolution node && libdeffix --dts=./typings/index.d.ts --prefix=queuefy/target/es5 && flowgen typings/index.d.ts --output-file flow-typed/index.flow.js", | ||
"build:libdef": "libdefkit --tsconfig=tsconfig.es5.json --tsconfig=tsconfig.es6.json", | ||
"test:report": "yarn test && yarn push:report", | ||
@@ -33,3 +33,3 @@ "push:report": "yarn coveralls:push", | ||
"uglify": "for f in $(find target -name '*.js'); do short=${f%.js}; terser -c -m -o $short.js -- $f; done", | ||
"postupdate": "yarn && yarn build && yarn test" | ||
"postupdate": "yarn && npx yarn-audit-fix --audit-level=moderate && yarn build && yarn test" | ||
}, | ||
@@ -54,26 +54,26 @@ "repository": { | ||
"devDependencies": { | ||
"@qiwi/libdefkit": "^1.0.2", | ||
"@qiwi/license": "^1.1.2", | ||
"@qiwi/semantic-release-gh-pages-plugin": "^4.0.0-beta.0", | ||
"@qiwi/libdefkit": "^2.0.1", | ||
"@qiwi/license": "^1.1.3", | ||
"@qiwi/semantic-release-gh-pages-plugin": "^4.0.3", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/github": "^7.0.7", | ||
"@semantic-release/npm": "^7.0.5", | ||
"@types/jest": "^26.0.3", | ||
"@types/node": "^14.0.14", | ||
"@semantic-release/github": "^7.1.1", | ||
"@semantic-release/npm": "^7.0.6", | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^14.11.2", | ||
"coveralls": "^3.1.0", | ||
"jest": "^26.1.0", | ||
"microbundle": "^0.12.2", | ||
"jest": "^26.4.2", | ||
"microbundle": "^0.12.3", | ||
"rimraf": "^3.0.2", | ||
"semantic-release": "^17.1.1", | ||
"terser": "^4.8.0", | ||
"ts-jest": "^26.1.1", | ||
"tslint": "6.1.2", | ||
"semantic-release": "^17.1.2", | ||
"terser": "^5.3.2", | ||
"ts-jest": "^26.4.0", | ||
"tslint": "6.1.3", | ||
"tslint-config-qiwi": "^1.5.0", | ||
"typedoc": "^0.17.7", | ||
"typedoc": "^0.19.2", | ||
"typedoc-plugin-external-module-name": "^4.0.3", | ||
"typescript": "3.9.5" | ||
"typescript": "4.0.3" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
"tslib": "^2.0.1" | ||
}, | ||
@@ -80,0 +80,0 @@ "release": { |
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
27826
241
Updatedtslib@^2.0.1