File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11node_modules /
22dist /
33package-lock.json
4+ * .lock
45* .log. *
56* .log
67* .tgz
Original file line number Diff line number Diff line change 33src /
44package-lock.json
55.travis.yml
6+ * .lock
67* .log. *
78* .log
89* .tgz
Original file line number Diff line number Diff line change 11{
22 "name" : " cwait" ,
3- "version" : " 1.1.1 " ,
3+ "version" : " 1.1.2 " ,
44 "description" : " Limit number of promises running in parallel" ,
5- "main" : " dist/index.js" ,
6- "typings" : " dist/index.d.ts" ,
5+ "main" : " dist/cjs/index.js" ,
6+ "module" : " dist/esm/index.js" ,
7+ "browser" : " dist/umd/index.js" ,
8+ "typings" : " dist/esm/index.d.ts" ,
79 "scripts" : {
810 "tsc" : " tsc" ,
9- "docts" : " docts" ,
10- "tslint" : " tslint" ,
11- "lint" : " node src/checkver.js lt 4.1.2 || tslint --type-check -c src/tslint.json -p src/tsconfig.json" ,
12- "prepublish" : " npm run lint && tsc -p src" ,
11+ "rollup" : " rollup" ,
12+ "prepublish" : " (checkver ge 5.0.0 && tsc -m es6 --outdir dist/esm -p src && rollup -c) || tsc -p src" ,
1313 "test" : " tsc -p test && node test/test.js"
1414 },
1515 "author" : " Juha Järvi" ,
1616 "license" : " MIT" ,
1717 "repository" : {
1818 "type" : " git" ,
19- "url" : " git+ https://github.com/charto/cwait.git"
19+ "url" : " https://github.com/charto/cwait.git"
2020 },
2121 "bugs" : {
2222 "url" : " https://github.com/charto/cwait/issues"
3333 " queue"
3434 ],
3535 "devDependencies" : {
36- "@types/bluebird" : " ^3.5.8" ,
37- "@types/node" : " ^8.0.19" ,
38- "bluebird" : " ^3.5.0" ,
39- "tslint" : " ^5.5.0" ,
40- "typescript" : " ^2.4.2"
36+ "@types/bluebird" : " ^3.5.24" ,
37+ "@types/node" : " ^10.12.1" ,
38+ "autoroll" : " 0.1.0" ,
39+ "bluebird" : " ^3.5.2" ,
40+ "rollup" : " ^0.66.6" ,
41+ "typescript" : " ^3.1.4"
4142 },
4243 "dependencies" : {
4344 "cdata" : " ^0.1.1"
Original file line number Diff line number Diff line change 1+ module . exports = require ( 'autoroll' ) (
2+ require ( './package.json' ) ,
3+ {
4+ include : [
5+ 'cdata'
6+ ]
7+ }
8+ ) ;
Original file line number Diff line number Diff line change 11// This file is part of cwait, copyright (c) 2015- BusFaster Ltd.
22// Released under the MIT license, see LICENSE.
33
4- import { BinaryHeap } from 'cdata/dist/BinaryHeap ' ;
4+ import { BinaryHeap } from 'cdata' ;
55
66import { Task , PromisyClass , tryFinally } from './Task' ;
77
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22 "compileOnSave" : true ,
33 "compilerOptions" : {
44 "declaration" : true ,
5- "lib" : [" es5" , " es2015.collection" ],
5+ "declarationDir" : " ../dist/esm" ,
6+ "lib" : [ " es5" , " es2015.collection" ],
67 "module" : " commonjs" ,
78 "moduleResolution" : " node" ,
9+ "noEmitHelpers" : true ,
810 "noImplicitAny" : true ,
911 "noImplicitThis" : true ,
10- "outDir" : " ../dist" ,
12+ "outDir" : " ../dist/cjs " ,
1113 "removeComments" : false ,
1214 "sourceMap" : false ,
15+ "strictFunctionTypes" : true ,
1316 "strictNullChecks" : true ,
14- "target" : " es5"
17+ "target" : " es5" ,
18+ "types" : [ " node" ]
1519 },
1620 "files" : [
1721 " index.ts"
You can’t perform that action at this time.
0 commit comments