update to latest standards
This commit is contained in:
parent
2f8d3f7625
commit
5477911b5e
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -1,4 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
var taskbuffer_classes_task_1 = require("./taskbuffer.classes.task");
|
var taskbuffer_classes_task_1 = require("./taskbuffer.classes.task");
|
||||||
exports.Task = taskbuffer_classes_task_1.Task;
|
exports.Task = taskbuffer_classes_task_1.Task;
|
||||||
var taskbuffer_classes_taskchain_1 = require("./taskbuffer.classes.taskchain");
|
var taskbuffer_classes_taskchain_1 = require("./taskbuffer.classes.taskchain");
|
||||||
@ -9,4 +10,4 @@ var taskbuffer_classes_taskspace_1 = require("./taskbuffer.classes.taskspace");
|
|||||||
exports.Taskspace = taskbuffer_classes_taskspace_1.Taskspace;
|
exports.Taskspace = taskbuffer_classes_taskspace_1.Taskspace;
|
||||||
// import for naming only
|
// import for naming only
|
||||||
require("./taskbuffer.classes.helpers");
|
require("./taskbuffer.classes.helpers");
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUVBQTZEO0FBQXJELHlDQUFBLElBQUksQ0FBQTtBQUNaLCtFQUF5RDtBQUFqRCxtREFBQSxTQUFTLENBQUE7QUFDakIscUZBQStEO0FBQXZELHlEQUFBLFlBQVksQ0FBQTtBQUNwQiwrRUFBeUQ7QUFBakQsbURBQUEsU0FBUyxDQUFBO0FBRWpCLHlCQUF5QjtBQUN6Qix3Q0FBcUMifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHFFQUE2RDtBQUFyRCx5Q0FBQSxJQUFJLENBQUE7QUFDWiwrRUFBeUQ7QUFBakQsbURBQUEsU0FBUyxDQUFBO0FBQ2pCLHFGQUErRDtBQUF2RCx5REFBQSxZQUFZLENBQUE7QUFDcEIsK0VBQXlEO0FBQWpELG1EQUFBLFNBQVMsQ0FBQTtBQUVqQix5QkFBeUI7QUFDekIsd0NBQXFDIn0=
|
3
dist/taskbuffer.classes.helpers.js
vendored
3
dist/taskbuffer.classes.helpers.js
vendored
File diff suppressed because one or more lines are too long
3
dist/taskbuffer.classes.task.js
vendored
3
dist/taskbuffer.classes.task.js
vendored
@ -1,4 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const plugins = require("./taskbuffer.plugins");
|
const plugins = require("./taskbuffer.plugins");
|
||||||
const helpers = require("./taskbuffer.classes.helpers");
|
const helpers = require("./taskbuffer.classes.helpers");
|
||||||
class Task {
|
class Task {
|
||||||
@ -56,4 +57,4 @@ class Task {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.Task = Task;
|
exports.Task = Task;
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza2J1ZmZlci5jbGFzc2VzLnRhc2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy90YXNrYnVmZmVyLmNsYXNzZXMudGFzay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsZ0RBQStDO0FBQy9DLHdEQUF1RDtBQU12RDtJQWNFLFlBQVksVUFPWDtRQWRELHdCQUF3QjtRQUN4QixZQUFPLEdBQVksS0FBSyxDQUFBO1FBQ3hCLGlCQUFZLEdBQUcsSUFBSSxPQUFPLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxDQUFBO1FBQzdDLGlCQUFZLEdBQU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UFDLE9BQU8sQ0FBQyxPQUFPLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLENBQUE7SUFDeEMsQ0FBQztJQUVEOztPQUVHO0lBQ0gsZUFBZSxDQUFDLENBQUU7UUFDaEIsTUFBTSxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFBO0lBQ3JDLENBQUM7SUFFRCxJQUFJLEtBQUs7UUFDUCxNQUFNLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQTtJQUNwQixDQUFDO0lBQ0QsSUFBSSxLQUFLLENBQUMsUUFBZ0I7UUFDeEIsRUFBRSxDQUFDLENBQUMsUUFBUSxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUM7WUFDMUIsSUFBSSxDQUFDLE1BQU0sR0FBRyxRQUFRLENBQUE7UUFDeEIsQ0FBQztRQUFDLElBQUksQ0FBQyxDQUFDO1lBQ04sT0FBTyxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsYUFBYSxHQUFHLFFBQVEsR0FBRyxtQkFBbUIsQ0FBQyxDQUFBO1FBQ3pFLENBQUM7SUFDSCxDQUFDO0NBQ0Y7QUFwRUQsb0JBb0VDIn0=
|
3
dist/taskbuffer.classes.taskchain.js
vendored
3
dist/taskbuffer.classes.taskchain.js
vendored
@ -1,4 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const plugins = require("./taskbuffer.plugins");
|
const plugins = require("./taskbuffer.plugins");
|
||||||
const taskbuffer_classes_task_1 = require("./taskbuffer.classes.task");
|
const taskbuffer_classes_task_1 = require("./taskbuffer.classes.task");
|
||||||
class Taskchain extends taskbuffer_classes_task_1.Task {
|
class Taskchain extends taskbuffer_classes_task_1.Task {
|
||||||
@ -50,4 +51,4 @@ class Taskchain extends taskbuffer_classes_task_1.Task {
|
|||||||
;
|
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N2QyxFQUFFLENBQUMsQ0FBQyxVQUFVLENBQUMsR0FBRyxLQUFLLElBQUksQ0FBQyxDQUFDLENBQUM7WUFDNUIsSUFBSSxDQUFDLFVBQVUsQ0FBQyxLQUFLLEVBQUUsQ0FBQTtRQUN6QixDQUFDO1FBQUEsQ0FBQztJQUNKLENBQUM7SUFDRCxPQUFPLENBQUMsT0FBYTtRQUNuQixJQUFJLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQTtJQUM5QixDQUFDO0lBQUEsQ0FBQztJQUNGLFVBQVUsQ0FBQyxPQUFhO1FBQ3RCLE9BQU87SUFDVCxDQUFDO0lBQUEsQ0FBQztJQUNGLFNBQVM7SUFFVCxDQUFDO0lBQUEsQ0FBQztDQUNIO0FBdkRELDhCQXVEQyJ9
|
1
dist/taskbuffer.classes.taskmanager.js
vendored
1
dist/taskbuffer.classes.taskmanager.js
vendored
@ -1,2 +1,3 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza2J1ZmZlci5jbGFzc2VzLnRhc2ttYW5hZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvdGFza2J1ZmZlci5jbGFzc2VzLnRhc2ttYW5hZ2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza2J1ZmZlci5jbGFzc2VzLnRhc2ttYW5hZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvdGFza2J1ZmZlci5jbGFzc2VzLnRhc2ttYW5hZ2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
3
dist/taskbuffer.classes.taskparallel.js
vendored
3
dist/taskbuffer.classes.taskparallel.js
vendored
@ -1,4 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const plugins = require("./taskbuffer.plugins");
|
const plugins = require("./taskbuffer.plugins");
|
||||||
const taskbuffer_classes_task_1 = require("./taskbuffer.classes.task");
|
const taskbuffer_classes_task_1 = require("./taskbuffer.classes.task");
|
||||||
class Taskparallel extends taskbuffer_classes_task_1.Task {
|
class Taskparallel extends taskbuffer_classes_task_1.Task {
|
||||||
@ -20,4 +21,4 @@ class Taskparallel extends taskbuffer_classes_task_1.Task {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.Taskparallel = Taskparallel;
|
exports.Taskparallel = Taskparallel;
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza2J1ZmZlci5jbGFzc2VzLnRhc2twYXJhbGxlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3Rhc2tidWZmZXIuY2xhc3Nlcy50YXNrcGFyYWxsZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLGdEQUErQztBQUUvQyx1RUFBZ0Q7QUFFaEQsa0JBQTBCLFNBQVEsOEJBQUk7SUFFbEMsWUFBWSxVQUVYO1FBQ0csSUFBSSxPQUFPLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQzlCLFVBQVUsRUFDVjtZQUNJLFlBQVksRUFBRTtnQkFDVixJQUFJLElBQUksR0FBRyxPQUFPLENBQUMsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDO2dCQUM3QixJQUFJLFlBQVksR0FBbUIsRUFBRSxDQUFDLENBQUMsMkRBQTJEO2dCQUNsRyxJQUFJLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxVQUFVLE9BQU87b0JBQ3BDLFlBQVksQ0FBQyxJQUFJLENB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BQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDO2dCQUN6QyxDQUFDLENBQUMsQ0FBQTtnQkFDRixPQUFPLENBQUMsR0FBRyxDQUFDLFlBQVksQ0FBQztxQkFDcEIsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQztnQkFDeEIsTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUM7WUFDeEIsQ0FBQztTQUNKLENBQ0osQ0FBQztRQUNGLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUNmLElBQUksQ0FBQyxTQUFTLEdBQUcsVUFBVSxDQUFDLFNBQVMsQ0FBQztJQUMxQyxDQUFDO0NBQ0o7QUF2QkQsb0NBdUJDIn0=
|
3
dist/taskbuffer.classes.taskspace.js
vendored
3
dist/taskbuffer.classes.taskspace.js
vendored
@ -1,5 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
class Taskspace {
|
class Taskspace {
|
||||||
}
|
}
|
||||||
exports.Taskspace = Taskspace;
|
exports.Taskspace = Taskspace;
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza2J1ZmZlci5jbGFzc2VzLnRhc2tzcGFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3Rhc2tidWZmZXIuY2xhc3Nlcy50YXNrc3BhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUdBO0NBRUM7QUFGRCw4QkFFQyJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza2J1ZmZlci5jbGFzc2VzLnRhc2tzcGFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3Rhc2tidWZmZXIuY2xhc3Nlcy50YXNrc3BhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFHQTtDQUVDO0FBRkQsOEJBRUMifQ==
|
3
dist/taskbuffer.plugins.js
vendored
3
dist/taskbuffer.plugins.js
vendored
@ -1,4 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
require("typings-global");
|
require("typings-global");
|
||||||
const beautylog = require("beautylog");
|
const beautylog = require("beautylog");
|
||||||
exports.beautylog = beautylog;
|
exports.beautylog = beautylog;
|
||||||
@ -8,4 +9,4 @@ const rxjs = require("rxjs");
|
|||||||
exports.rxjs = rxjs;
|
exports.rxjs = rxjs;
|
||||||
const q = require("smartq");
|
const q = require("smartq");
|
||||||
exports.q = q;
|
exports.q = q;
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza2J1ZmZlci5wbHVnaW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvdGFza2J1ZmZlci5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwwQkFBdUI7QUFDdkIsdUNBQXNDO0FBTWxDLDhCQUFTO0FBTGIsaUNBQWdDO0FBTTVCLHdCQUFNO0FBTFYsNkJBQTRCO0FBTXhCLG9CQUFJO0FBTFIsNEJBQTJCO0FBTXZCLGNBQUMifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza2J1ZmZlci5wbHVnaW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvdGFza2J1ZmZlci5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsMEJBQXVCO0FBQ3ZCLHVDQUFzQztBQU1sQyw4QkFBUztBQUxiLGlDQUFnQztBQU01Qix3QkFBTTtBQUxWLDZCQUE0QjtBQU14QixvQkFBSTtBQUxSLDRCQUEyQjtBQU12QixjQUFDIn0=
|
10
package.json
10
package.json
@ -26,15 +26,13 @@
|
|||||||
"homepage": "https://gitlab.com/pushrocks/taskbuffer#readme",
|
"homepage": "https://gitlab.com/pushrocks/taskbuffer#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/lodash": "4.x.x",
|
"@types/lodash": "4.x.x",
|
||||||
"beautylog": "^6.1.1",
|
"beautylog": "^6.1.10",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"rxjs": "^5.1.1",
|
"rxjs": "^5.4.0",
|
||||||
"smartq": "^1.1.1",
|
"smartq": "^1.1.1",
|
||||||
"typings-global": "^1.0.14"
|
"typings-global": "^1.0.17"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"npmts-g": "^6.0.0",
|
"tapbundle": "^1.0.14"
|
||||||
"smartchai": "^1.0.1",
|
|
||||||
"typings-test": "^1.0.3"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
test/test.d.ts
vendored
1
test/test.d.ts
vendored
@ -1 +0,0 @@
|
|||||||
import 'typings-test';
|
|
213
test/test.js
213
test/test.js
File diff suppressed because one or more lines are too long
289
test/test.ts
289
test/test.ts
@ -1,6 +1,6 @@
|
|||||||
import 'typings-test'
|
import { expect, tap } from 'tapbundle'
|
||||||
import taskbuffer = require('../dist/index')
|
import taskbuffer = require('../dist/index')
|
||||||
import { expect } from 'smartchai'
|
|
||||||
import * as q from 'smartq'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
// setup some testData to work with
|
// setup some testData to work with
|
||||||
@ -32,7 +32,6 @@ let testPreTask = new taskbuffer.Task({
|
|||||||
preTask: testTask
|
preTask: testTask
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
// some more tasks to wirj with
|
// some more tasks to wirj with
|
||||||
let task1 = new taskbuffer.Task({
|
let task1 = new taskbuffer.Task({
|
||||||
name: 'Task 1',
|
name: 'Task 1',
|
||||||
@ -71,153 +70,139 @@ let task3 = new taskbuffer.Task({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// the actual tests
|
tap.test('new Task() should return a new task', async () => {
|
||||||
describe('taskbuffer', function () {
|
testTask = new taskbuffer.Task({ taskFunction: testTaskFunction, preTask: testPreTask })
|
||||||
describe('.Task', function () {
|
|
||||||
it('new Task() should return a new task', function () {
|
|
||||||
testTask = new taskbuffer.Task({ taskFunction: testTaskFunction, preTask: testPreTask })
|
|
||||||
})
|
|
||||||
it('testTask should be and instance of Task', function () {
|
|
||||||
expect(testTask).to.be.instanceof(taskbuffer.Task)
|
|
||||||
})
|
|
||||||
it('testTask.idle is true', function () {
|
|
||||||
if (!testTask.idle) {
|
|
||||||
throw new Error('testTask.idle is not true')
|
|
||||||
}
|
|
||||||
|
|
||||||
})
|
|
||||||
it('testTask.running is type boolean and initially false', function () {
|
|
||||||
expect(testTask.running).to.be.a('boolean')
|
|
||||||
expect(testTask.running).to.be.false
|
|
||||||
})
|
|
||||||
it('testTask.trigger() expect return Promise', function () {
|
|
||||||
expect(testTask.trigger()).to.be.instanceof(Promise)
|
|
||||||
})
|
|
||||||
it('testTask.trigger() returned Promise expect be fullfilled', function (done) {
|
|
||||||
testTask.trigger()
|
|
||||||
.then(done)
|
|
||||||
})
|
|
||||||
it('expect run a task without pre and afterTask', function (done) {
|
|
||||||
let localTestTask = new taskbuffer.Task({ taskFunction: testTaskFunction })
|
|
||||||
localTestTask.trigger().then(done)
|
|
||||||
})
|
|
||||||
|
|
||||||
it('expect run buffered', function (done) {
|
|
||||||
this.timeout(10000)
|
|
||||||
let localTestTask = new taskbuffer.Task({
|
|
||||||
taskFunction: testTaskFunctionTimeout,
|
|
||||||
buffered: true,
|
|
||||||
bufferMax: 2
|
|
||||||
})
|
|
||||||
localTestTask.trigger()
|
|
||||||
localTestTask.trigger()
|
|
||||||
localTestTask.trigger()
|
|
||||||
localTestTask.trigger().then(() => {
|
|
||||||
done()
|
|
||||||
})
|
|
||||||
})
|
|
||||||
})
|
|
||||||
describe('Taskchain', function () {
|
|
||||||
let testTaskchain
|
|
||||||
let testTaskArray = [
|
|
||||||
new taskbuffer.Task({
|
|
||||||
name: 'task1',
|
|
||||||
taskFunction: function () {
|
|
||||||
let done = q.defer()
|
|
||||||
setTimeout(done.resolve, 2000)
|
|
||||||
return done.promise
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
new taskbuffer.Task({
|
|
||||||
name: 'task2',
|
|
||||||
taskFunction: function () {
|
|
||||||
let done = q.defer()
|
|
||||||
setTimeout(done.resolve, 2000)
|
|
||||||
return done.promise
|
|
||||||
}
|
|
||||||
})
|
|
||||||
]
|
|
||||||
it('expect run tasks in sequence', function (done) {
|
|
||||||
this.timeout(5000)
|
|
||||||
testTaskchain = new taskbuffer.Taskchain({
|
|
||||||
name: 'Taskchain1',
|
|
||||||
taskArray: testTaskArray
|
|
||||||
})
|
|
||||||
testTaskchain.trigger().then(done)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
describe('taskparallel', function () {
|
|
||||||
it('expect run in Parallel', function (done) {
|
|
||||||
this.timeout(7000)
|
|
||||||
let testTaskparallel = new taskbuffer.Taskparallel({
|
|
||||||
taskArray: [ task1, task2, task3 ]
|
|
||||||
})
|
|
||||||
testTaskparallel.trigger().then(() => {
|
|
||||||
done()
|
|
||||||
})
|
|
||||||
})
|
|
||||||
})
|
|
||||||
describe('some flowtests', function () {
|
|
||||||
let flowTask1 = new taskbuffer.Task({
|
|
||||||
taskFunction: (x: number) => {
|
|
||||||
let done = q.defer()
|
|
||||||
console.log('flowTask1')
|
|
||||||
console.log(x)
|
|
||||||
done.resolve(x)
|
|
||||||
return done.promise
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
let flowTaskBuffered = new taskbuffer.Task({
|
|
||||||
taskFunction: (x: number) => {
|
|
||||||
let done = q.defer()
|
|
||||||
console.log('flowTask1')
|
|
||||||
console.log(x)
|
|
||||||
done.resolve(x)
|
|
||||||
return done.promise
|
|
||||||
},
|
|
||||||
buffered: true,
|
|
||||||
bufferMax: 1
|
|
||||||
})
|
|
||||||
|
|
||||||
let flowTask2 = new taskbuffer.Task({
|
|
||||||
taskFunction: (x: number) => {
|
|
||||||
let done = q.defer()
|
|
||||||
console.log('flowTask2')
|
|
||||||
console.log(x)
|
|
||||||
done.resolve(x)
|
|
||||||
return done.promise
|
|
||||||
},
|
|
||||||
preTask: flowTask1
|
|
||||||
})
|
|
||||||
let flowTask3 = new taskbuffer.Taskchain({
|
|
||||||
taskArray: [ flowTask1, flowTask2 ]
|
|
||||||
})
|
|
||||||
it('should let a value flow through a task', function (done) {
|
|
||||||
flowTask1.trigger(12).then((x) => {
|
|
||||||
expect(x).to.equal(12)
|
|
||||||
done()
|
|
||||||
}).catch(done)
|
|
||||||
})
|
|
||||||
it('should let a values flow between tasks', function (done) {
|
|
||||||
flowTask2.trigger(12).then((x) => {
|
|
||||||
expect(x).to.equal(12)
|
|
||||||
done()
|
|
||||||
}).catch(done)
|
|
||||||
})
|
|
||||||
|
|
||||||
it('expect let a values flow between tasks when buffered', function (done) {
|
|
||||||
flowTaskBuffered.trigger(12).then((x) => {
|
|
||||||
expect(x).to.equal(12)
|
|
||||||
done()
|
|
||||||
}).catch(done)
|
|
||||||
})
|
|
||||||
|
|
||||||
it('should let a values flow between tasks in Taskchain', function (done) {
|
|
||||||
flowTask3.trigger(12).then((x) => {
|
|
||||||
expect(x).to.equal(12)
|
|
||||||
done()
|
|
||||||
}).catch(done)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
tap.test('testTask should be and instance of Task', async () => {
|
||||||
|
expect(testTask).to.be.instanceof(taskbuffer.Task)
|
||||||
|
})
|
||||||
|
tap.test('testTask.idle is true', async () => {
|
||||||
|
if (!testTask.idle) {
|
||||||
|
throw new Error('testTask.idle is not true')
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
||||||
|
tap.test('testTask.running is type boolean and initially false', async () => {
|
||||||
|
expect(testTask.running).to.be.a('boolean')
|
||||||
|
// tslint:disable-next-line:no-unused-expression
|
||||||
|
expect(testTask.running).to.be.false
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('testTask.trigger() expect return Promise', async () => {
|
||||||
|
expect(testTask.trigger()).to.be.instanceof(Promise)
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('testTask.trigger() returned Promise expect be fullfilled', async () => {
|
||||||
|
await testTask.trigger()
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('expect run a task without pre and afterTask', async () => {
|
||||||
|
let localTestTask = new taskbuffer.Task({ taskFunction: testTaskFunction })
|
||||||
|
await localTestTask.trigger()
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('expect run buffered', async () => {
|
||||||
|
let localTestTask = new taskbuffer.Task({
|
||||||
|
taskFunction: testTaskFunctionTimeout,
|
||||||
|
buffered: true,
|
||||||
|
bufferMax: 2
|
||||||
|
})
|
||||||
|
localTestTask.trigger()
|
||||||
|
localTestTask.trigger()
|
||||||
|
localTestTask.trigger()
|
||||||
|
await localTestTask.trigger()
|
||||||
|
})
|
||||||
|
|
||||||
|
let testTaskchain
|
||||||
|
let testTaskArray = [
|
||||||
|
new taskbuffer.Task({
|
||||||
|
name: 'task1',
|
||||||
|
taskFunction: function () {
|
||||||
|
let done = q.defer()
|
||||||
|
setTimeout(done.resolve, 2000)
|
||||||
|
return done.promise
|
||||||
|
}
|
||||||
|
}),
|
||||||
|
new taskbuffer.Task({
|
||||||
|
name: 'task2',
|
||||||
|
taskFunction: function () {
|
||||||
|
let done = q.defer()
|
||||||
|
setTimeout(done.resolve, 2000)
|
||||||
|
return done.promise
|
||||||
|
}
|
||||||
|
})
|
||||||
|
]
|
||||||
|
|
||||||
|
tap.test('expect run tasks in sequence', async () => {
|
||||||
|
testTaskchain = new taskbuffer.Taskchain({
|
||||||
|
name: 'Taskchain1',
|
||||||
|
taskArray: testTaskArray
|
||||||
|
})
|
||||||
|
await testTaskchain.trigger()
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('expect run in Parallel', async () => {
|
||||||
|
let testTaskparallel = new taskbuffer.Taskparallel({
|
||||||
|
taskArray: [ task1, task2, task3 ]
|
||||||
|
})
|
||||||
|
await testTaskparallel.trigger()
|
||||||
|
})
|
||||||
|
|
||||||
|
let flowTask1 = new taskbuffer.Task({
|
||||||
|
taskFunction: (x: number) => {
|
||||||
|
let done = q.defer()
|
||||||
|
console.log('flowTask1')
|
||||||
|
console.log(x)
|
||||||
|
done.resolve(x)
|
||||||
|
return done.promise
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
let flowTaskBuffered = new taskbuffer.Task({
|
||||||
|
taskFunction: (x: number) => {
|
||||||
|
let done = q.defer()
|
||||||
|
console.log('flowTask1')
|
||||||
|
console.log(x)
|
||||||
|
done.resolve(x)
|
||||||
|
return done.promise
|
||||||
|
},
|
||||||
|
buffered: true,
|
||||||
|
bufferMax: 1
|
||||||
|
})
|
||||||
|
|
||||||
|
let flowTask2 = new taskbuffer.Task({
|
||||||
|
taskFunction: (x: number) => {
|
||||||
|
let done = q.defer()
|
||||||
|
console.log('flowTask2')
|
||||||
|
console.log(x)
|
||||||
|
done.resolve(x)
|
||||||
|
return done.promise
|
||||||
|
},
|
||||||
|
preTask: flowTask1
|
||||||
|
})
|
||||||
|
|
||||||
|
let flowTask3 = new taskbuffer.Taskchain({
|
||||||
|
taskArray: [ flowTask1, flowTask2 ]
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('should let a value flow through a task', async () => {
|
||||||
|
let result = await flowTask1.trigger(12)
|
||||||
|
expect(result).to.equal(12)
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('should let a values flow between tasks', async () => {
|
||||||
|
let result = await flowTask2.trigger(12)
|
||||||
|
expect(result).to.equal(12)
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('expect let a values flow between tasks when buffered', async () => {
|
||||||
|
let result = await flowTaskBuffered.trigger(12)
|
||||||
|
expect(result).to.equal(12)
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.test('should let a values flow between tasks in Taskchain', async () => {
|
||||||
|
let result = await flowTask3.trigger(12)
|
||||||
|
expect(result).to.equal(12)
|
||||||
|
})
|
||||||
|
|
||||||
|
tap.start()
|
||||||
|
243
yarn.lock
243
yarn.lock
@ -9,36 +9,38 @@
|
|||||||
"@types/chai" "*"
|
"@types/chai" "*"
|
||||||
"@types/promises-a-plus" "*"
|
"@types/promises-a-plus" "*"
|
||||||
|
|
||||||
"@types/chai@*", "@types/chai@^3.4.34":
|
"@types/chai-string@^1.1.30":
|
||||||
version "3.4.34"
|
version "1.1.30"
|
||||||
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.4.34.tgz#d5335792823bb09cddd5e38c3d211b709183854d"
|
resolved "https://registry.yarnpkg.com/@types/chai-string/-/chai-string-1.1.30.tgz#4d8744b31a5a2295fc01c981ed1e2d4c8a070f0a"
|
||||||
|
dependencies:
|
||||||
|
"@types/chai" "*"
|
||||||
|
|
||||||
"@types/lodash@4.x.x":
|
"@types/chai@*", "@types/chai@^3.4.35":
|
||||||
version "4.14.52"
|
version "3.5.2"
|
||||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.52.tgz#de5c7ab14da1289733233c9b0ec6f9e377db90f5"
|
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.5.2.tgz#c11cd2817d3a401b7ba0f5a420f35c56139b1c1e"
|
||||||
|
|
||||||
"@types/mocha@^2.2.31":
|
"@types/lodash@4.x.x", "@types/lodash@^4.14.55":
|
||||||
version "2.2.39"
|
version "4.14.65"
|
||||||
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.39.tgz#f68d63db8b69c38e9558b4073525cf96c4f7a829"
|
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.65.tgz#a0f78d71ffcd3c02628d5f616410c98c424326d5"
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*", "@types/node@^7.0.29":
|
||||||
version "7.0.5"
|
version "7.0.29"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.5.tgz#96a0f0a618b7b606f1ec547403c00650210bfbb7"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.29.tgz#ccfcec5b7135c7caf6c4ffb8c7f33102340d99df"
|
||||||
|
|
||||||
"@types/promises-a-plus@*":
|
"@types/promises-a-plus@*":
|
||||||
version "0.0.27"
|
version "0.0.27"
|
||||||
resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780"
|
resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780"
|
||||||
|
|
||||||
"@types/q@0.x.x":
|
"@types/shelljs@^0.6.0":
|
||||||
version "0.0.32"
|
version "0.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5"
|
resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.6.0.tgz#090b705c102ce7fc5c0c5ea9b524418ff15840df"
|
||||||
|
|
||||||
"@types/shelljs@^0.3.33":
|
|
||||||
version "0.3.33"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.3.33.tgz#df613bddb88225ed09ce5c835f620dcaaf155e6b"
|
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
|
"@types/which@^1.0.28":
|
||||||
|
version "1.0.28"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/which/-/which-1.0.28.tgz#016e387629b8817bed653fe32eab5d11279c8df6"
|
||||||
|
|
||||||
ansi-256-colors@^1.1.0:
|
ansi-256-colors@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-256-colors/-/ansi-256-colors-1.1.0.tgz#910de50efcc7c09e3d82f2f87abd6b700c18818a"
|
resolved "https://registry.yarnpkg.com/ansi-256-colors/-/ansi-256-colors-1.1.0.tgz#910de50efcc7c09e3d82f2f87abd6b700c18818a"
|
||||||
@ -59,29 +61,33 @@ balanced-match@^0.4.1:
|
|||||||
version "0.4.2"
|
version "0.4.2"
|
||||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
|
||||||
|
|
||||||
beautycolor@^1.0.5:
|
beautycolor@^1.0.7:
|
||||||
version "1.0.7"
|
version "1.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.7.tgz#a4715738ac4c8221371e9cbeb5a6cc6d11ecbf7c"
|
resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.7.tgz#a4715738ac4c8221371e9cbeb5a6cc6d11ecbf7c"
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-256-colors "^1.1.0"
|
ansi-256-colors "^1.1.0"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
beautylog@^6.1.1:
|
beautylog@^6.1.10:
|
||||||
version "6.1.1"
|
version "6.1.10"
|
||||||
resolved "https://registry.yarnpkg.com/beautylog/-/beautylog-6.1.1.tgz#2a83603ad7e2a0a09701ac63d7d3064a588dc779"
|
resolved "https://registry.yarnpkg.com/beautylog/-/beautylog-6.1.10.tgz#9c27e566937684cb689f9372d98cfa5415d50b72"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/lodash" "4.x.x"
|
"@types/lodash" "^4.14.55"
|
||||||
beautycolor "^1.0.5"
|
beautycolor "^1.0.7"
|
||||||
figlet "^1.2.0"
|
figlet "^1.2.0"
|
||||||
lodash "^4.17.4"
|
lodash "^4.17.4"
|
||||||
ora "^1.1.0"
|
ora "^1.1.0"
|
||||||
smartenv "^2.0.0"
|
smartenv "^2.0.0"
|
||||||
smartq "^1.0.4"
|
smartq "^1.1.1"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
brace-expansion@^1.0.0:
|
bindings@^1.2.1:
|
||||||
version "1.1.6"
|
version "1.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9"
|
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.2.1.tgz#14ad6113812d2d37d72e67b4cacb4bb726505f11"
|
||||||
|
|
||||||
|
brace-expansion@^1.1.7:
|
||||||
|
version "1.1.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59"
|
||||||
dependencies:
|
dependencies:
|
||||||
balanced-match "^0.4.1"
|
balanced-match "^0.4.1"
|
||||||
concat-map "0.0.1"
|
concat-map "0.0.1"
|
||||||
@ -92,6 +98,10 @@ chai-as-promised@^6.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
check-error "^1.0.2"
|
check-error "^1.0.2"
|
||||||
|
|
||||||
|
chai-string@^1.3.0:
|
||||||
|
version "1.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/chai-string/-/chai-string-1.3.0.tgz#df6139f294391b1035be5606f60a843b3a5041e7"
|
||||||
|
|
||||||
chai@^3.5.0:
|
chai@^3.5.0:
|
||||||
version "3.5.0"
|
version "3.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247"
|
resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247"
|
||||||
@ -134,6 +144,18 @@ deep-eql@^0.1.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
type-detect "0.1.1"
|
type-detect "0.1.1"
|
||||||
|
|
||||||
|
early@^2.1.1:
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/early/-/early-2.1.1.tgz#841e23254ea5dc54d8afaeee82f5ab65c00ee23c"
|
||||||
|
dependencies:
|
||||||
|
beautycolor "^1.0.7"
|
||||||
|
smartq "^1.1.1"
|
||||||
|
typings-global "^1.0.16"
|
||||||
|
|
||||||
|
es6-error@^4.0.2:
|
||||||
|
version "4.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.0.2.tgz#eec5c726eacef51b7f6b73c20db6e1b13b069c98"
|
||||||
|
|
||||||
escape-string-regexp@^1.0.2:
|
escape-string-regexp@^1.0.2:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
||||||
@ -147,13 +169,13 @@ fs.realpath@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
||||||
|
|
||||||
glob@^7.0.0:
|
glob@^7.0.0:
|
||||||
version "7.1.1"
|
version "7.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
|
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
|
||||||
dependencies:
|
dependencies:
|
||||||
fs.realpath "^1.0.0"
|
fs.realpath "^1.0.0"
|
||||||
inflight "^1.0.4"
|
inflight "^1.0.4"
|
||||||
inherits "2"
|
inherits "2"
|
||||||
minimatch "^3.0.2"
|
minimatch "^3.0.4"
|
||||||
once "^1.3.0"
|
once "^1.3.0"
|
||||||
path-is-absolute "^1.0.0"
|
path-is-absolute "^1.0.0"
|
||||||
|
|
||||||
@ -175,10 +197,28 @@ inherits@2:
|
|||||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
||||||
|
|
||||||
interpret@^1.0.0:
|
interpret@^1.0.0:
|
||||||
version "1.0.1"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.1.tgz#d579fb7f693b858004947af39fa0db49f795602c"
|
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90"
|
||||||
|
|
||||||
lodash@^4.17.2, lodash@^4.17.4:
|
isexe@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
|
||||||
|
|
||||||
|
leakage@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/leakage/-/leakage-0.3.0.tgz#15d698abdc76bbc6439601f4f3020e77e2d50c39"
|
||||||
|
dependencies:
|
||||||
|
es6-error "^4.0.2"
|
||||||
|
left-pad "^1.1.3"
|
||||||
|
memwatch-next "^0.3.0"
|
||||||
|
minimist "^1.2.0"
|
||||||
|
pretty-bytes "^4.0.2"
|
||||||
|
|
||||||
|
left-pad@^1.1.3:
|
||||||
|
version "1.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.1.3.tgz#612f61c033f3a9e08e939f1caebeea41b6f3199a"
|
||||||
|
|
||||||
|
lodash@^4.17.4:
|
||||||
version "4.17.4"
|
version "4.17.4"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
|
||||||
|
|
||||||
@ -188,24 +228,30 @@ log-symbols@^1.0.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
chalk "^1.0.0"
|
chalk "^1.0.0"
|
||||||
|
|
||||||
|
memwatch-next@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/memwatch-next/-/memwatch-next-0.3.0.tgz#2111050f9a906e0aa2d72a4ec0f0089c78726f8f"
|
||||||
|
dependencies:
|
||||||
|
bindings "^1.2.1"
|
||||||
|
nan "^2.3.2"
|
||||||
|
|
||||||
mimic-fn@^1.0.0:
|
mimic-fn@^1.0.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
|
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
|
||||||
|
|
||||||
minimatch@^3.0.2:
|
minimatch@^3.0.4:
|
||||||
version "3.0.3"
|
version "3.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
||||||
dependencies:
|
dependencies:
|
||||||
brace-expansion "^1.0.0"
|
brace-expansion "^1.1.7"
|
||||||
|
|
||||||
npmts-g@^6.0.0:
|
minimist@^1.2.0:
|
||||||
version "6.0.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/npmts-g/-/npmts-g-6.0.0.tgz#491fd50f110967f1b68f14237e7ea5157bf4ddb3"
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
||||||
dependencies:
|
|
||||||
"@types/shelljs" "^0.3.33"
|
nan@^2.3.2:
|
||||||
semver "^5.3.0"
|
version "2.6.2"
|
||||||
shelljs "^0.7.5"
|
resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45"
|
||||||
typings-global "^1.0.14"
|
|
||||||
|
|
||||||
once@^1.3.0:
|
once@^1.3.0:
|
||||||
version "1.4.0"
|
version "1.4.0"
|
||||||
@ -214,14 +260,14 @@ once@^1.3.0:
|
|||||||
wrappy "1"
|
wrappy "1"
|
||||||
|
|
||||||
onetime@^2.0.0:
|
onetime@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.0.tgz#52aa8110e52fc5126ffc667bd8ec21c2ed209ce6"
|
resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4"
|
||||||
dependencies:
|
dependencies:
|
||||||
mimic-fn "^1.0.0"
|
mimic-fn "^1.0.0"
|
||||||
|
|
||||||
ora@^1.1.0:
|
ora@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/ora/-/ora-1.1.0.tgz#69aaa4a209630e43b142c5f7ff41820da87e2faf"
|
resolved "https://registry.yarnpkg.com/ora/-/ora-1.2.0.tgz#32fb3183500efe83f5ea89101785f0ee6060fec9"
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk "^1.1.1"
|
chalk "^1.1.1"
|
||||||
cli-cursor "^2.1.0"
|
cli-cursor "^2.1.0"
|
||||||
@ -232,9 +278,13 @@ path-is-absolute@^1.0.0:
|
|||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
||||||
|
|
||||||
q@^1.4.1:
|
path-parse@^1.0.5:
|
||||||
version "1.4.1"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/q/-/q-1.4.1.tgz#55705bcd93c5f3673530c2c2cbc0c2b3addc286e"
|
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
|
||||||
|
|
||||||
|
pretty-bytes@^4.0.2:
|
||||||
|
version "4.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
|
||||||
|
|
||||||
rechoir@^0.6.2:
|
rechoir@^0.6.2:
|
||||||
version "0.6.2"
|
version "0.6.2"
|
||||||
@ -243,8 +293,10 @@ rechoir@^0.6.2:
|
|||||||
resolve "^1.1.6"
|
resolve "^1.1.6"
|
||||||
|
|
||||||
resolve@^1.1.6:
|
resolve@^1.1.6:
|
||||||
version "1.2.0"
|
version "1.3.3"
|
||||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.2.0.tgz#9589c3f2f6149d1417a40becc1663db6ec6bc26c"
|
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5"
|
||||||
|
dependencies:
|
||||||
|
path-parse "^1.0.5"
|
||||||
|
|
||||||
restore-cursor@^2.0.0:
|
restore-cursor@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
@ -253,9 +305,9 @@ restore-cursor@^2.0.0:
|
|||||||
onetime "^2.0.0"
|
onetime "^2.0.0"
|
||||||
signal-exit "^3.0.2"
|
signal-exit "^3.0.2"
|
||||||
|
|
||||||
rxjs@^5.1.1:
|
rxjs@^5.4.0:
|
||||||
version "5.1.1"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.1.1.tgz#fc48922965bc6c5efbcc0fe46e90a3af64137a7b"
|
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.4.0.tgz#a7db14ab157f9d7aac6a56e655e7a3860d39bf26"
|
||||||
dependencies:
|
dependencies:
|
||||||
symbol-observable "^1.0.1"
|
symbol-observable "^1.0.1"
|
||||||
|
|
||||||
@ -263,9 +315,9 @@ semver@^5.3.0:
|
|||||||
version "5.3.0"
|
version "5.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
|
||||||
|
|
||||||
shelljs@^0.7.4, shelljs@^0.7.5:
|
shelljs@^0.7.6:
|
||||||
version "0.7.6"
|
version "0.7.8"
|
||||||
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.6.tgz#379cccfb56b91c8601e4793356eb5382924de9ad"
|
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
|
||||||
dependencies:
|
dependencies:
|
||||||
glob "^7.0.0"
|
glob "^7.0.0"
|
||||||
interpret "^1.0.0"
|
interpret "^1.0.0"
|
||||||
@ -275,31 +327,49 @@ signal-exit@^3.0.2:
|
|||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
||||||
|
|
||||||
smartchai@^1.0.1:
|
smartchai@^1.0.3:
|
||||||
version "1.0.1"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/smartchai/-/smartchai-1.0.1.tgz#cde7776212fa5145d62dc4195405929807a3e0e5"
|
resolved "https://registry.yarnpkg.com/smartchai/-/smartchai-1.0.3.tgz#de6d010bb8b5aef24cb70b31a5f5334e8c41b72f"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/chai" "^3.4.34"
|
"@types/chai" "^3.4.35"
|
||||||
"@types/chai-as-promised" "0.0.29"
|
"@types/chai-as-promised" "0.0.29"
|
||||||
|
"@types/chai-string" "^1.1.30"
|
||||||
chai "^3.5.0"
|
chai "^3.5.0"
|
||||||
chai-as-promised "^6.0.0"
|
chai-as-promised "^6.0.0"
|
||||||
|
chai-string "^1.3.0"
|
||||||
|
|
||||||
|
smartdelay@^1.0.3:
|
||||||
|
version "1.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/smartdelay/-/smartdelay-1.0.3.tgz#5fd44dad77262d110702f0293efa80c072cfb579"
|
||||||
|
dependencies:
|
||||||
|
smartq "^1.1.1"
|
||||||
|
typings-global "^1.0.16"
|
||||||
|
|
||||||
smartenv@^2.0.0:
|
smartenv@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/smartenv/-/smartenv-2.0.0.tgz#ede4e2044efcf9bec318388bb1dab53024ee3d16"
|
resolved "https://registry.yarnpkg.com/smartenv/-/smartenv-2.0.6.tgz#b38c679b0c151b9af548f68c3a072c29d1417e8d"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/q" "0.x.x"
|
lodash "^4.17.4"
|
||||||
lodash "^4.17.2"
|
smartq "^1.1.1"
|
||||||
q "^1.4.1"
|
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
smartq@^1.0.4, smartq@^1.1.1:
|
smartq@^1.1.0, smartq@^1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.1.tgz#efb358705260d41ae18aef7ffd815f7b6fe17dd3"
|
resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.1.tgz#efb358705260d41ae18aef7ffd815f7b6fe17dd3"
|
||||||
dependencies:
|
dependencies:
|
||||||
typed-promisify "^0.3.0"
|
typed-promisify "^0.3.0"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
|
smartshell@^1.0.6:
|
||||||
|
version "1.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/smartshell/-/smartshell-1.0.6.tgz#27b1c79029784abe72ac7e91fe698b7ebecc6629"
|
||||||
|
dependencies:
|
||||||
|
"@types/shelljs" "^0.6.0"
|
||||||
|
"@types/which" "^1.0.28"
|
||||||
|
shelljs "^0.7.6"
|
||||||
|
smartq "^1.1.0"
|
||||||
|
which "^1.2.12"
|
||||||
|
|
||||||
strip-ansi@^3.0.0:
|
strip-ansi@^3.0.0:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
|
||||||
@ -314,6 +384,17 @@ symbol-observable@^1.0.1:
|
|||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
||||||
|
|
||||||
|
tapbundle@^1.0.14:
|
||||||
|
version "1.0.14"
|
||||||
|
resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.14.tgz#75827e335fcb02216f0267a26a26d702ddc02e3c"
|
||||||
|
dependencies:
|
||||||
|
early "^2.1.1"
|
||||||
|
leakage "^0.3.0"
|
||||||
|
smartchai "^1.0.3"
|
||||||
|
smartdelay "^1.0.3"
|
||||||
|
smartq "^1.1.1"
|
||||||
|
typings-global "^1.0.16"
|
||||||
|
|
||||||
type-detect@0.1.1:
|
type-detect@0.1.1:
|
||||||
version "0.1.1"
|
version "0.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822"
|
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822"
|
||||||
@ -326,19 +407,19 @@ typed-promisify@^0.3.0:
|
|||||||
version "0.3.0"
|
version "0.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/typed-promisify/-/typed-promisify-0.3.0.tgz#1ba0af5e444c87d8047406f18ce49092a1191853"
|
resolved "https://registry.yarnpkg.com/typed-promisify/-/typed-promisify-0.3.0.tgz#1ba0af5e444c87d8047406f18ce49092a1191853"
|
||||||
|
|
||||||
typings-global@*, typings-global@^1.0.14:
|
typings-global@^1.0.14, typings-global@^1.0.16, typings-global@^1.0.17:
|
||||||
version "1.0.14"
|
version "1.0.17"
|
||||||
resolved "https://registry.yarnpkg.com/typings-global/-/typings-global-1.0.14.tgz#ab682720a03d6b9278869fb5c30c30d7dc61d12c"
|
resolved "https://registry.yarnpkg.com/typings-global/-/typings-global-1.0.17.tgz#41edc331ccec3168289adc8849e1e255efbe7152"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@types/node" "^7.0.29"
|
||||||
semver "^5.3.0"
|
semver "^5.3.0"
|
||||||
shelljs "^0.7.4"
|
smartshell "^1.0.6"
|
||||||
|
|
||||||
typings-test@^1.0.3:
|
which@^1.2.12:
|
||||||
version "1.0.3"
|
version "1.2.14"
|
||||||
resolved "https://registry.yarnpkg.com/typings-test/-/typings-test-1.0.3.tgz#fbab895eb3f0c44842e73db059f65946b971e369"
|
resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/mocha" "^2.2.31"
|
isexe "^2.0.0"
|
||||||
typings-global "*"
|
|
||||||
|
|
||||||
wrappy@1:
|
wrappy@1:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
|
Loading…
Reference in New Issue
Block a user