taskgroup
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -204,2 +204,7 @@ 'use strict'; | ||
}, { | ||
key: 'clear', | ||
value: function clear() { | ||
return this.clearRemaining.apply(this, arguments); | ||
} | ||
}, { | ||
key: 'names', | ||
@@ -206,0 +211,0 @@ get: function get() { |
@@ -567,3 +567,3 @@ 'use strict'; | ||
// Prepare | ||
var args = (this.config.args || []).slice(); | ||
var taskArgs = (this.config.args || []).slice(); | ||
var taskDomain = this.state.taskDomain; | ||
@@ -621,3 +621,3 @@ var useDomains = this.config.domain !== false; | ||
if (_this3.config.ambi !== false) { | ||
ambi.apply(undefined, [method].concat(_toConsumableArray(args))); | ||
ambi.apply(undefined, [method].concat(_toConsumableArray(taskArgs))); | ||
} | ||
@@ -627,3 +627,3 @@ | ||
else { | ||
method.apply(undefined, _toConsumableArray(args)); | ||
method.apply(undefined, _toConsumableArray(taskArgs)); | ||
} | ||
@@ -633,3 +633,3 @@ }; | ||
// Add the competion callback to the arguments our method will receive | ||
args.push(completeMethod); | ||
taskArgs.push(completeMethod); | ||
@@ -636,0 +636,0 @@ // Notify that we are now running |
# History | ||
## v5.0.1 2016 June 13 | ||
- Added `clear` to `clearRemaining` alias for backwards compatibility between v4 and v5 | ||
## v5.0.0 2016 June 4 | ||
@@ -73,3 +76,3 @@ - Changes to be impressed by: | ||
## v4.3.0 March 15, 2015 | ||
## v4.3.0 2015 March 15 | ||
- Now exports the TaskGroup class, of which `Task` and `TaskGroup` are now children | ||
@@ -76,0 +79,0 @@ - Added `Task` attribute on the TaskGroup class to allow over-riding of what should be the sub-task class |
{ | ||
"title": "TaskGroup", | ||
"name": "taskgroup", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Group together synchronous and asynchronous tasks and execute them with support for concurrency, naming, and nesting.", | ||
@@ -51,3 +51,4 @@ "homepage": "https://github.com/bevry/taskgroup", | ||
"Peter Flannery (https://github.com/pflannery)", | ||
"Sean Fridman <mail@seanfridman.com> (http://seanfridman.com)" | ||
"Sean Fridman <mail@seanfridman.com> (https://github.com/sfrdmn)", | ||
"balupton (https://github.com/balupton)" | ||
], | ||
@@ -124,14 +125,14 @@ "bugs": { | ||
"assert-helpers": "^4.4.0", | ||
"babel-cli": "^6.9.0", | ||
"babel-cli": "^6.10.1", | ||
"babel-preset-es2015": "^6.9.0", | ||
"documentation": "^4.0.0-beta5", | ||
"eslint": "^2.11.1", | ||
"eslint": "^2.12.0", | ||
"eslint-plugin-babel": "^3.2.0", | ||
"joe": "^1.6.0", | ||
"joe": "^1.8.0", | ||
"joe-reporter-console": "^1.2.1", | ||
"projectz": "^1.1.5", | ||
"projectz": "^1.1.6", | ||
"browserify": "^13.0.1", | ||
"babelify": "^7.3.0", | ||
"safeps": "^6.2.0" | ||
"safeps": "^6.3.0" | ||
} | ||
} |
@@ -45,3 +45,3 @@ <!-- TITLE/ --> | ||
<li>Module: <code>require('taskgroup')</code></li> | ||
<li>CDN URL: <code>//wzrd.in/bundle/taskgroup@5.0.0</code></li></ul> | ||
<li>CDN URL: <code>//wzrd.in/bundle/taskgroup@5.0.1</code></li></ul> | ||
@@ -99,3 +99,3 @@ <a href="http://enderjs.com" title="Ender is a full featured package manager for your browser"><h3>Ender</h3></a><ul> | ||
<ul><li><a href="https://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/taskgroup/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/taskgroup">view contributions</a></li></ul> | ||
<ul><li><a href="https://balupton.com">Benjamin Lupton</a></li></ul> | ||
@@ -117,6 +117,7 @@ <h3>Sponsors</h3> | ||
<ul><li><a href="https://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/taskgroup/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/taskgroup">view contributions</a></li> | ||
<ul><li><a href="https://balupton.com">Benjamin Lupton</a></li> | ||
<li><a href="https://github.com/crito">crito</a> — <a href="https://github.com/bevry/taskgroup/commits?author=crito" title="View the GitHub contributions of crito on repository bevry/taskgroup">view contributions</a></li> | ||
<li><a href="https://github.com/pflannery">Peter Flannery</a> — <a href="https://github.com/bevry/taskgroup/commits?author=pflannery" title="View the GitHub contributions of Peter Flannery on repository bevry/taskgroup">view contributions</a></li> | ||
<li><a href="http://seanfridman.com">Sean Fridman</a> — <a href="https://github.com/bevry/taskgroup/commits?author=sfrdmn" title="View the GitHub contributions of Sean Fridman on repository bevry/taskgroup">view contributions</a></li></ul> | ||
<li><a href="https://github.com/sfrdmn">Sean Fridman</a> — <a href="https://github.com/bevry/taskgroup/commits?author=sfrdmn" title="View the GitHub contributions of Sean Fridman on repository bevry/taskgroup">view contributions</a></li> | ||
<li><a href="https://github.com/balupton">balupton</a> — <a href="https://github.com/bevry/taskgroup/commits?author=balupton" title="View the GitHub contributions of balupton on repository bevry/taskgroup">view contributions</a></li></ul> | ||
@@ -123,0 +124,0 @@ <a href="https://github.com/bevry/taskgroup/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a> |
@@ -178,2 +178,6 @@ /** | ||
clear (...args) { | ||
return this.clearRemaining(...args) | ||
} | ||
} | ||
@@ -180,0 +184,0 @@ |
@@ -468,3 +468,3 @@ /* eslint no-extra-parens:0 func-style:0 */ | ||
// Prepare | ||
const args = (this.config.args || []).slice() | ||
const taskArgs = (this.config.args || []).slice() | ||
let taskDomain = this.state.taskDomain | ||
@@ -520,3 +520,3 @@ const useDomains = this.config.domain !== false | ||
if ( this.config.ambi !== false ) { | ||
ambi(method, ...args) | ||
ambi(method, ...taskArgs) | ||
} | ||
@@ -526,3 +526,3 @@ | ||
else { | ||
method(...args) | ||
method(...taskArgs) | ||
} | ||
@@ -532,3 +532,3 @@ } | ||
// Add the competion callback to the arguments our method will receive | ||
args.push(completeMethod) | ||
taskArgs.push(completeMethod) | ||
@@ -535,0 +535,0 @@ // Notify that we are now running |
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
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
142071
3485
140
0