diff options
85 files changed, 340 insertions, 288 deletions
diff --git a/docs/v3/apply.js.html b/docs/v3/apply.js.html index 4e884ec..728b671 100644 --- a/docs/v3/apply.js.html +++ b/docs/v3/apply.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> diff --git a/docs/v3/applyEach.js.html b/docs/v3/applyEach.js.html index e9fa4f9..6c82234 100644 --- a/docs/v3/applyEach.js.html +++ b/docs/v3/applyEach.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import applyEach from './internal/applyEach'; -import map from './map'; + <pre class="prettyprint source linenums"><code>import applyEach from './internal/applyEach.js' +import map from './map.js' /** * Applies the provided arguments to each function in the array, calling diff --git a/docs/v3/applyEachSeries.js.html b/docs/v3/applyEachSeries.js.html index 47af658..478f9aa 100644 --- a/docs/v3/applyEachSeries.js.html +++ b/docs/v3/applyEachSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import applyEach from './internal/applyEach'; -import mapSeries from './mapSeries'; + <pre class="prettyprint source linenums"><code>import applyEach from './internal/applyEach.js' +import mapSeries from './mapSeries.js' /** * The same as [`applyEach`]{@link module:ControlFlow.applyEach} but runs only a single async operation at a time. diff --git a/docs/v3/asyncify.js.html b/docs/v3/asyncify.js.html index dfca476..d063947 100644 --- a/docs/v3/asyncify.js.html +++ b/docs/v3/asyncify.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import initialParams from './internal/initialParams'; -import setImmediate from './internal/setImmediate'; -import { isAsync } from './internal/wrapAsync' + <pre class="prettyprint source linenums"><code>import initialParams from './internal/initialParams.js' +import setImmediate from './internal/setImmediate.js' +import { isAsync } from './internal/wrapAsync.js' /** * Take a sync function and make it async, passing its return value to a diff --git a/docs/v3/auto.js.html b/docs/v3/auto.js.html index 70bc6de..beb4d68 100644 --- a/docs/v3/auto.js.html +++ b/docs/v3/auto.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,10 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import once from './internal/once'; -import onlyOnce from './internal/onlyOnce'; -import wrapAsync from './internal/wrapAsync'; -import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback' + <pre class="prettyprint source linenums"><code>import once from './internal/once.js' +import onlyOnce from './internal/onlyOnce.js' +import wrapAsync from './internal/wrapAsync.js' +import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback.js' /** * Determines the best order for running the {@link AsyncFunction}s in `tasks`, based on diff --git a/docs/v3/autoInject.js.html b/docs/v3/autoInject.js.html index 9506289..32f9316 100644 --- a/docs/v3/autoInject.js.html +++ b/docs/v3/autoInject.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,19 +75,45 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import auto from './auto'; -import wrapAsync from './internal/wrapAsync'; -import { isAsync } from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import auto from './auto.js' +import wrapAsync from './internal/wrapAsync.js' +import { isAsync } from './internal/wrapAsync.js' var FN_ARGS = /^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/; var ARROW_FN_ARGS = /^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/; var FN_ARG_SPLIT = /,/; var FN_ARG = /(=.+)?(\s*)$/; -var STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg; + +function stripComments(string) { + let stripped = ''; + let index = 0; + let endBlockComment = string.indexOf('*/'); + while (index < string.length) { + if (string[index] === '/' && string[index+1] === '/') { + // inline comment + let endIndex = string.indexOf('\n', index); + index = (endIndex === -1) ? string.length : endIndex; + } else if ((endBlockComment !== -1) && (string[index] === '/') && (string[index+1] === '*')) { + // block comment + let endIndex = string.indexOf('*/', index); + if (endIndex !== -1) { + index = endIndex + 2; + endBlockComment = string.indexOf('*/', index); + } else { + stripped += string[index]; + index++; + } + } else { + stripped += string[index]; + index++; + } + } + return stripped; +} function parseParams(func) { - const src = func.toString().replace(STRIP_COMMENTS, ''); - let match = src.match(FN_ARGS) + const src = stripComments(func.toString()); + let match = src.match(FN_ARGS); if (!match) { match = src.match(ARROW_FN_ARGS); } diff --git a/docs/v3/cargo.js.html b/docs/v3/cargo.js.html index 58591af..9b51cdb 100644 --- a/docs/v3/cargo.js.html +++ b/docs/v3/cargo.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import queue from './internal/queue'; + <pre class="prettyprint source linenums"><code>import queue from './internal/queue.js' /** * Creates a `cargo` object with the specified payload. Tasks added to the diff --git a/docs/v3/cargoQueue.js.html b/docs/v3/cargoQueue.js.html index 42052b5..683bdab 100644 --- a/docs/v3/cargoQueue.js.html +++ b/docs/v3/cargoQueue.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import queue from './internal/queue'; + <pre class="prettyprint source linenums"><code>import queue from './internal/queue.js' /** * Creates a `cargoQueue` object with the specified payload. Tasks added to the diff --git a/docs/v3/compose.js.html b/docs/v3/compose.js.html index 2d44a5f..121fda7 100644 --- a/docs/v3/compose.js.html +++ b/docs/v3/compose.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import seq from './seq'; + <pre class="prettyprint source linenums"><code>import seq from './seq.js' /** * Creates a function which is a composition of the passed asynchronous diff --git a/docs/v3/concat.js.html b/docs/v3/concat.js.html index cd5e990..6860f8a 100644 --- a/docs/v3/concat.js.html +++ b/docs/v3/concat.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import concatLimit from './concatLimit'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import concatLimit from './concatLimit.js' +import awaitify from './internal/awaitify.js' /** * Applies `iteratee` to each item in `coll`, concatenating the results. Returns diff --git a/docs/v3/concatLimit.js.html b/docs/v3/concatLimit.js.html index 20ae03c..c91704a 100644 --- a/docs/v3/concatLimit.js.html +++ b/docs/v3/concatLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import wrapAsync from './internal/wrapAsync'; -import mapLimit from './mapLimit'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import wrapAsync from './internal/wrapAsync.js' +import mapLimit from './mapLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`concat`]{@link module:Collections.concat} but runs a maximum of `limit` async operations at a time. diff --git a/docs/v3/concatSeries.js.html b/docs/v3/concatSeries.js.html index 8f013fb..7842123 100644 --- a/docs/v3/concatSeries.js.html +++ b/docs/v3/concatSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import concatLimit from './concatLimit'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import concatLimit from './concatLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`concat`]{@link module:Collections.concat} but runs only a single async operation at a time. diff --git a/docs/v3/constant.js.html b/docs/v3/constant.js.html index 518af3c..7271566 100644 --- a/docs/v3/constant.js.html +++ b/docs/v3/constant.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> diff --git a/docs/v3/detect.js.html b/docs/v3/detect.js.html index 4da58fd..3bd7b44 100644 --- a/docs/v3/detect.js.html +++ b/docs/v3/detect.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester'; -import eachOf from './eachOf' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOf from './eachOf.js' +import awaitify from './internal/awaitify.js' /** * Returns the first value in `coll` that passes an async truth test. The diff --git a/docs/v3/detectLimit.js.html b/docs/v3/detectLimit.js.html index 4eca208..5f23b6c 100644 --- a/docs/v3/detectLimit.js.html +++ b/docs/v3/detectLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester'; -import eachOfLimit from './internal/eachOfLimit' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOfLimit from './internal/eachOfLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`detect`]{@link module:Collections.detect} but runs a maximum of `limit` async operations at a diff --git a/docs/v3/detectSeries.js.html b/docs/v3/detectSeries.js.html index 5bae277..6d5c8c3 100644 --- a/docs/v3/detectSeries.js.html +++ b/docs/v3/detectSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester' -import eachOfLimit from './internal/eachOfLimit' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOfLimit from './internal/eachOfLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`detect`]{@link module:Collections.detect} but runs only a single async operation at a time. diff --git a/docs/v3/dir.js.html b/docs/v3/dir.js.html index c0d3075..ae6b880 100644 --- a/docs/v3/dir.js.html +++ b/docs/v3/dir.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import consoleFunc from './internal/consoleFunc'; + <pre class="prettyprint source linenums"><code>import consoleFunc from './internal/consoleFunc.js' /** * Logs the result of an [`async` function]{@link AsyncFunction} to the diff --git a/docs/v3/doUntil.js.html b/docs/v3/doUntil.js.html index a5eae02..828a520 100644 --- a/docs/v3/doUntil.js.html +++ b/docs/v3/doUntil.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import doWhilst from './doWhilst'; -import wrapAsync from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import doWhilst from './doWhilst.js' +import wrapAsync from './internal/wrapAsync.js' /** * Like ['doWhilst']{@link module:ControlFlow.doWhilst}, except the `test` is inverted. Note the diff --git a/docs/v3/doWhilst.js.html b/docs/v3/doWhilst.js.html index e033183..f1987fd 100644 --- a/docs/v3/doWhilst.js.html +++ b/docs/v3/doWhilst.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import onlyOnce from './internal/onlyOnce'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import onlyOnce from './internal/onlyOnce.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * The post-check version of [`whilst`]{@link module:ControlFlow.whilst}. To reflect the difference in diff --git a/docs/v3/docs.html b/docs/v3/docs.html index 6e8af2d..3d77f4d 100644 --- a/docs/v3/docs.html +++ b/docs/v3/docs.html @@ -31,7 +31,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -11270,7 +11270,7 @@ async.autoInject({ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="autoInject.js.html">autoInject.js</a>, <a href="autoInject.js.html#line25">line 25</a> + <a href="autoInject.js.html">autoInject.js</a>, <a href="autoInject.js.html#line51">line 51</a> </li></ul></dd> @@ -14457,7 +14457,7 @@ consumes the return value of the previous function. It is the equivalent of app.get('/cats', function(request, response) { var User = request.models.User; async.seq( - _.bind(User.get, User), // 'User.get' has signature (id, callback(err, data)) + User.get.bind(User), // 'User.get' has signature (id, callback(err, data)) function(user, fn) { user.getCats(fn); // 'getCats' has signature (callback(err, data)) } @@ -16199,7 +16199,7 @@ function myLastFunction(arg1, callback) { <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="waterfall.js.html">waterfall.js</a>, <a href="waterfall.js.html#line7">line 7</a> + <a href="waterfall.js.html">waterfall.js</a>, <a href="waterfall.js.html#line6">line 6</a> </li></ul></dd> @@ -18755,7 +18755,7 @@ async.setImmediate(function (a, b, c) { <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="nextTick.js.html">nextTick.js</a>, <a href="nextTick.js.html#line5">line 5</a> + <a href="nextTick.js.html">nextTick.js</a>, <a href="nextTick.js.html#line4">line 4</a> </li></ul></dd> diff --git a/docs/v3/each.js.html b/docs/v3/each.js.html index 184560e..913e192 100644 --- a/docs/v3/each.js.html +++ b/docs/v3/each.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,10 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachOf from './eachOf'; -import withoutIndex from './internal/withoutIndex'; -import wrapAsync from './internal/wrapAsync' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import eachOf from './eachOf.js' +import withoutIndex from './internal/withoutIndex.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * Applies the function `iteratee` to each item in `coll`, in parallel. diff --git a/docs/v3/eachLimit.js.html b/docs/v3/eachLimit.js.html index 5a3f085..e8b6a5b 100644 --- a/docs/v3/eachLimit.js.html +++ b/docs/v3/eachLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,10 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachOfLimit from './internal/eachOfLimit'; -import withoutIndex from './internal/withoutIndex'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import eachOfLimit from './internal/eachOfLimit.js' +import withoutIndex from './internal/withoutIndex.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * The same as [`each`]{@link module:Collections.each} but runs a maximum of `limit` async operations at a time. diff --git a/docs/v3/eachOf.js.html b/docs/v3/eachOf.js.html index 2c54a98..408ff1d 100644 --- a/docs/v3/eachOf.js.html +++ b/docs/v3/eachOf.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,13 +75,13 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import isArrayLike from './internal/isArrayLike'; -import breakLoop from './internal/breakLoop'; -import eachOfLimit from './eachOfLimit'; -import once from './internal/once'; -import onlyOnce from './internal/onlyOnce'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import isArrayLike from './internal/isArrayLike.js' +import breakLoop from './internal/breakLoop.js' +import eachOfLimit from './eachOfLimit.js' +import once from './internal/once.js' +import onlyOnce from './internal/onlyOnce.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' // eachOf implementation optimized for array-likes function eachOfArrayLike(coll, iteratee, callback) { diff --git a/docs/v3/eachOfLimit.js.html b/docs/v3/eachOfLimit.js.html index 9b585e7..4a5a77a 100644 --- a/docs/v3/eachOfLimit.js.html +++ b/docs/v3/eachOfLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _eachOfLimit from './internal/eachOfLimit'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _eachOfLimit from './internal/eachOfLimit.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * The same as [`eachOf`]{@link module:Collections.eachOf} but runs a maximum of `limit` async operations at a diff --git a/docs/v3/eachOfSeries.js.html b/docs/v3/eachOfSeries.js.html index 3d9ad2a..75f3e1f 100644 --- a/docs/v3/eachOfSeries.js.html +++ b/docs/v3/eachOfSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachOfLimit from './eachOfLimit'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import eachOfLimit from './eachOfLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`eachOf`]{@link module:Collections.eachOf} but runs only a single async operation at a time. diff --git a/docs/v3/eachSeries.js.html b/docs/v3/eachSeries.js.html index 72842c1..9b964d7 100644 --- a/docs/v3/eachSeries.js.html +++ b/docs/v3/eachSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachLimit from './eachLimit'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import eachLimit from './eachLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`each`]{@link module:Collections.each} but runs only a single async operation at a time. diff --git a/docs/v3/ensureAsync.js.html b/docs/v3/ensureAsync.js.html index 17aa918..118afbb 100644 --- a/docs/v3/ensureAsync.js.html +++ b/docs/v3/ensureAsync.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import setImmediate from './internal/setImmediate'; -import { isAsync } from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import setImmediate from './internal/setImmediate.js' +import { isAsync } from './internal/wrapAsync.js' /** * Wrap an async function and ensure it calls its callback on a later tick of diff --git a/docs/v3/every.js.html b/docs/v3/every.js.html index 095631a..d69cc6e 100644 --- a/docs/v3/every.js.html +++ b/docs/v3/every.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester'; -import eachOf from './eachOf' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOf from './eachOf.js' +import awaitify from './internal/awaitify.js' /** * Returns `true` if every element in `coll` satisfies an async test. If any diff --git a/docs/v3/everyLimit.js.html b/docs/v3/everyLimit.js.html index 53b1627..843d541 100644 --- a/docs/v3/everyLimit.js.html +++ b/docs/v3/everyLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester'; -import eachOfLimit from './internal/eachOfLimit' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOfLimit from './internal/eachOfLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`every`]{@link module:Collections.every} but runs a maximum of `limit` async operations at a time. diff --git a/docs/v3/everySeries.js.html b/docs/v3/everySeries.js.html index 5440995..9446e4d 100644 --- a/docs/v3/everySeries.js.html +++ b/docs/v3/everySeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester'; -import eachOfSeries from './eachOfSeries'; -import awaitify from './internal/awaitify'; + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOfSeries from './eachOfSeries.js' +import awaitify from './internal/awaitify.js' /** * The same as [`every`]{@link module:Collections.every} but runs only a single async operation at a time. diff --git a/docs/v3/filter.js.html b/docs/v3/filter.js.html index bcbebb9..02d03bf 100644 --- a/docs/v3/filter.js.html +++ b/docs/v3/filter.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _filter from './internal/filter'; -import eachOf from './eachOf' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _filter from './internal/filter.js' +import eachOf from './eachOf.js' +import awaitify from './internal/awaitify.js' /** * Returns a new array of all the values in `coll` which pass an async truth diff --git a/docs/v3/filterLimit.js.html b/docs/v3/filterLimit.js.html index 585f97c..9883e3d 100644 --- a/docs/v3/filterLimit.js.html +++ b/docs/v3/filterLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _filter from './internal/filter'; -import eachOfLimit from './internal/eachOfLimit' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _filter from './internal/filter.js' +import eachOfLimit from './internal/eachOfLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`filter`]{@link module:Collections.filter} but runs a maximum of `limit` async operations at a diff --git a/docs/v3/filterSeries.js.html b/docs/v3/filterSeries.js.html index b7f06be..8a435fa 100644 --- a/docs/v3/filterSeries.js.html +++ b/docs/v3/filterSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _filter from './internal/filter'; -import eachOfSeries from './eachOfSeries' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _filter from './internal/filter.js' +import eachOfSeries from './eachOfSeries.js' +import awaitify from './internal/awaitify.js' /** * The same as [`filter`]{@link module:Collections.filter} but runs only a single async operation at a time. diff --git a/docs/v3/forever.js.html b/docs/v3/forever.js.html index 68bc7b4..24de1aa 100644 --- a/docs/v3/forever.js.html +++ b/docs/v3/forever.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,10 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import onlyOnce from './internal/onlyOnce'; -import ensureAsync from './ensureAsync'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import onlyOnce from './internal/onlyOnce.js' +import ensureAsync from './ensureAsync.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * Calls the asynchronous function `fn` with a callback parameter that allows it diff --git a/docs/v3/global.html b/docs/v3/global.html index 11e4850..3c3744b 100644 --- a/docs/v3/global.html +++ b/docs/v3/global.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> diff --git a/docs/v3/groupBy.js.html b/docs/v3/groupBy.js.html index 9481a62..d218458 100644 --- a/docs/v3/groupBy.js.html +++ b/docs/v3/groupBy.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import groupByLimit from './groupByLimit'; + <pre class="prettyprint source linenums"><code>import groupByLimit from './groupByLimit.js' /** * Returns a new object, where each value corresponds to an array of items, from diff --git a/docs/v3/groupByLimit.js.html b/docs/v3/groupByLimit.js.html index fccd19d..5aef876 100644 --- a/docs/v3/groupByLimit.js.html +++ b/docs/v3/groupByLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import mapLimit from './mapLimit'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import mapLimit from './mapLimit.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * The same as [`groupBy`]{@link module:Collections.groupBy} but runs a maximum of `limit` async operations at a time. diff --git a/docs/v3/groupBySeries.js.html b/docs/v3/groupBySeries.js.html index 3a21d7e..bd3dea7 100644 --- a/docs/v3/groupBySeries.js.html +++ b/docs/v3/groupBySeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import groupByLimit from './groupByLimit'; + <pre class="prettyprint source linenums"><code>import groupByLimit from './groupByLimit.js' /** * The same as [`groupBy`]{@link module:Collections.groupBy} but runs only a single async operation at a time. diff --git a/docs/v3/index.html b/docs/v3/index.html index e432cd7..b2157a5 100644 --- a/docs/v3/index.html +++ b/docs/v3/index.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> diff --git a/docs/v3/index.js.html b/docs/v3/index.js.html index 8bd76d7..1c571b7 100644 --- a/docs/v3/index.js.html +++ b/docs/v3/index.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> diff --git a/docs/v3/log.js.html b/docs/v3/log.js.html index f49c650..2aa32ee 100644 --- a/docs/v3/log.js.html +++ b/docs/v3/log.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import consoleFunc from './internal/consoleFunc'; + <pre class="prettyprint source linenums"><code>import consoleFunc from './internal/consoleFunc.js' /** * Logs the result of an `async` function to the `console`. Only works in diff --git a/docs/v3/map.js.html b/docs/v3/map.js.html index ce9629d..26c7ae2 100644 --- a/docs/v3/map.js.html +++ b/docs/v3/map.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _map from './internal/map'; -import eachOf from './eachOf' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _map from './internal/map.js' +import eachOf from './eachOf.js' +import awaitify from './internal/awaitify.js' /** * Produces a new collection of values by mapping each value in `coll` through diff --git a/docs/v3/mapLimit.js.html b/docs/v3/mapLimit.js.html index 5f80a7b..109d997 100644 --- a/docs/v3/mapLimit.js.html +++ b/docs/v3/mapLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _map from './internal/map'; -import eachOfLimit from './internal/eachOfLimit' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _map from './internal/map.js' +import eachOfLimit from './internal/eachOfLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`map`]{@link module:Collections.map} but runs a maximum of `limit` async operations at a time. diff --git a/docs/v3/mapSeries.js.html b/docs/v3/mapSeries.js.html index 4ff773b..259acf0 100644 --- a/docs/v3/mapSeries.js.html +++ b/docs/v3/mapSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _map from './internal/map'; -import eachOfSeries from './eachOfSeries' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _map from './internal/map.js' +import eachOfSeries from './eachOfSeries.js' +import awaitify from './internal/awaitify.js' /** * The same as [`map`]{@link module:Collections.map} but runs only a single async operation at a time. diff --git a/docs/v3/mapValues.js.html b/docs/v3/mapValues.js.html index a401f78..77de5f4 100644 --- a/docs/v3/mapValues.js.html +++ b/docs/v3/mapValues.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import mapValuesLimit from './mapValuesLimit'; + <pre class="prettyprint source linenums"><code>import mapValuesLimit from './mapValuesLimit.js' /** * A relative of [`map`]{@link module:Collections.map}, designed for use with objects. diff --git a/docs/v3/mapValuesLimit.js.html b/docs/v3/mapValuesLimit.js.html index 7f7dc07..37f978f 100644 --- a/docs/v3/mapValuesLimit.js.html +++ b/docs/v3/mapValuesLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,10 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachOfLimit from './internal/eachOfLimit' -import awaitify from './internal/awaitify' -import once from './internal/once'; -import wrapAsync from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import eachOfLimit from './internal/eachOfLimit.js' +import awaitify from './internal/awaitify.js' +import once from './internal/once.js' +import wrapAsync from './internal/wrapAsync.js' /** * The same as [`mapValues`]{@link module:Collections.mapValues} but runs a maximum of `limit` async operations at a diff --git a/docs/v3/mapValuesSeries.js.html b/docs/v3/mapValuesSeries.js.html index 5fc782a..36297e0 100644 --- a/docs/v3/mapValuesSeries.js.html +++ b/docs/v3/mapValuesSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import mapValuesLimit from './mapValuesLimit'; + <pre class="prettyprint source linenums"><code>import mapValuesLimit from './mapValuesLimit.js' /** * The same as [`mapValues`]{@link module:Collections.mapValues} but runs only a single async operation at a time. diff --git a/docs/v3/memoize.js.html b/docs/v3/memoize.js.html index b66ef62..bd711ec 100644 --- a/docs/v3/memoize.js.html +++ b/docs/v3/memoize.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import setImmediate from './internal/setImmediate'; -import initialParams from './internal/initialParams'; -import wrapAsync from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import setImmediate from './internal/setImmediate.js' +import initialParams from './internal/initialParams.js' +import wrapAsync from './internal/wrapAsync.js' /** * Caches the results of an async function. When creating a hash to store diff --git a/docs/v3/module-Collections.html b/docs/v3/module-Collections.html index a71eaa9..83c881b 100644 --- a/docs/v3/module-Collections.html +++ b/docs/v3/module-Collections.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> diff --git a/docs/v3/module-ControlFlow.html b/docs/v3/module-ControlFlow.html index f582750..8ca7162 100644 --- a/docs/v3/module-ControlFlow.html +++ b/docs/v3/module-ControlFlow.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -1243,7 +1243,7 @@ async.autoInject({ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="autoInject.js.html">autoInject.js</a>, <a href="autoInject.js.html#line25">line 25</a> + <a href="autoInject.js.html">autoInject.js</a>, <a href="autoInject.js.html#line51">line 51</a> </li></ul></dd> @@ -4430,7 +4430,7 @@ consumes the return value of the previous function. It is the equivalent of app.get('/cats', function(request, response) { var User = request.models.User; async.seq( - _.bind(User.get, User), // 'User.get' has signature (id, callback(err, data)) + User.get.bind(User), // 'User.get' has signature (id, callback(err, data)) function(user, fn) { user.getCats(fn); // 'getCats' has signature (callback(err, data)) } @@ -6172,7 +6172,7 @@ function myLastFunction(arg1, callback) { <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="waterfall.js.html">waterfall.js</a>, <a href="waterfall.js.html#line7">line 7</a> + <a href="waterfall.js.html">waterfall.js</a>, <a href="waterfall.js.html#line6">line 6</a> </li></ul></dd> diff --git a/docs/v3/module-Utils.html b/docs/v3/module-Utils.html index 7e4b3aa..478a2dd 100644 --- a/docs/v3/module-Utils.html +++ b/docs/v3/module-Utils.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -1685,7 +1685,7 @@ async.setImmediate(function (a, b, c) { <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="nextTick.js.html">nextTick.js</a>, <a href="nextTick.js.html#line5">line 5</a> + <a href="nextTick.js.html">nextTick.js</a>, <a href="nextTick.js.html#line4">line 4</a> </li></ul></dd> diff --git a/docs/v3/module-async.html b/docs/v3/module-async.html index 12706b2..768f51c 100644 --- a/docs/v3/module-async.html +++ b/docs/v3/module-async.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> diff --git a/docs/v3/nextTick.js.html b/docs/v3/nextTick.js.html index d3a1e83..eacf50d 100644 --- a/docs/v3/nextTick.js.html +++ b/docs/v3/nextTick.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>'use strict'; -/* istanbul ignore file */ -import { hasNextTick, hasSetImmediate, fallback, wrap } from './internal/setImmediate'; + <pre class="prettyprint source linenums"><code>/* istanbul ignore file */ +import { hasNextTick, hasSetImmediate, fallback, wrap } from './internal/setImmediate.js' /** * Calls `callback` on a later loop around the event loop. In Node.js this just diff --git a/docs/v3/parallel.js.html b/docs/v3/parallel.js.html index 3ae6123..5fa2538 100644 --- a/docs/v3/parallel.js.html +++ b/docs/v3/parallel.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachOf from './eachOf'; -import _parallel from './internal/parallel'; + <pre class="prettyprint source linenums"><code>import eachOf from './eachOf.js' +import _parallel from './internal/parallel.js' /** * Run the `tasks` collection of functions in parallel, without waiting until diff --git a/docs/v3/parallelLimit.js.html b/docs/v3/parallelLimit.js.html index c2a92b9..7797d93 100644 --- a/docs/v3/parallelLimit.js.html +++ b/docs/v3/parallelLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachOfLimit from './internal/eachOfLimit'; -import parallel from './internal/parallel'; + <pre class="prettyprint source linenums"><code>import eachOfLimit from './internal/eachOfLimit.js' +import parallel from './internal/parallel.js' /** * The same as [`parallel`]{@link module:ControlFlow.parallel} but runs a maximum of `limit` async operations at a diff --git a/docs/v3/priorityQueue.js.html b/docs/v3/priorityQueue.js.html index 329b9af..054146f 100644 --- a/docs/v3/priorityQueue.js.html +++ b/docs/v3/priorityQueue.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import setImmediate from './setImmediate'; -import queue from './queue'; -import Heap from './internal/Heap'; + <pre class="prettyprint source linenums"><code>import setImmediate from './setImmediate.js' +import queue from './queue.js' +import Heap from './internal/Heap.js' /** * The same as [async.queue]{@link module:ControlFlow.queue} only tasks are assigned a priority and diff --git a/docs/v3/queue.js.html b/docs/v3/queue.js.html index ac2f015..e9bd4a7 100644 --- a/docs/v3/queue.js.html +++ b/docs/v3/queue.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import queue from './internal/queue'; -import wrapAsync from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import queue from './internal/queue.js' +import wrapAsync from './internal/wrapAsync.js' /** * A queue of tasks for the worker function to complete. diff --git a/docs/v3/race.js.html b/docs/v3/race.js.html index 8ed89e6..b941ab0 100644 --- a/docs/v3/race.js.html +++ b/docs/v3/race.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import once from './internal/once'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify'; + <pre class="prettyprint source linenums"><code>import once from './internal/once.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * Runs the `tasks` array of functions in parallel, without waiting until the diff --git a/docs/v3/reduce.js.html b/docs/v3/reduce.js.html index c976da7..10f2978 100644 --- a/docs/v3/reduce.js.html +++ b/docs/v3/reduce.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,10 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachOfSeries from './eachOfSeries'; -import once from './internal/once'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import eachOfSeries from './eachOfSeries.js' +import once from './internal/once.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * Reduces `coll` into a single value using an async `iteratee` to return each diff --git a/docs/v3/reduceRight.js.html b/docs/v3/reduceRight.js.html index 1996a35..5c494a1 100644 --- a/docs/v3/reduceRight.js.html +++ b/docs/v3/reduceRight.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import reduce from './reduce'; + <pre class="prettyprint source linenums"><code>import reduce from './reduce.js' /** * Same as [`reduce`]{@link module:Collections.reduce}, only operates on `array` in reverse order. diff --git a/docs/v3/reflect.js.html b/docs/v3/reflect.js.html index 714ee6f..bfd39b8 100644 --- a/docs/v3/reflect.js.html +++ b/docs/v3/reflect.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import initialParams from './internal/initialParams'; -import wrapAsync from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import initialParams from './internal/initialParams.js' +import wrapAsync from './internal/wrapAsync.js' /** * Wraps the async function in another function that always completes with a diff --git a/docs/v3/reflectAll.js.html b/docs/v3/reflectAll.js.html index 19c9ad1..fd62692 100644 --- a/docs/v3/reflectAll.js.html +++ b/docs/v3/reflectAll.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import reflect from './reflect'; + <pre class="prettyprint source linenums"><code>import reflect from './reflect.js' /** * A helper function that wraps an array or an object of functions with `reflect`. diff --git a/docs/v3/reject.js.html b/docs/v3/reject.js.html index fee9498..2c57547 100644 --- a/docs/v3/reject.js.html +++ b/docs/v3/reject.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _reject from './internal/reject'; -import eachOf from './eachOf' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _reject from './internal/reject.js' +import eachOf from './eachOf.js' +import awaitify from './internal/awaitify.js' /** * The opposite of [`filter`]{@link module:Collections.filter}. Removes values that pass an `async` truth test. diff --git a/docs/v3/rejectLimit.js.html b/docs/v3/rejectLimit.js.html index ed83b40..9814be4 100644 --- a/docs/v3/rejectLimit.js.html +++ b/docs/v3/rejectLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _reject from './internal/reject'; -import eachOfLimit from './internal/eachOfLimit' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _reject from './internal/reject.js' +import eachOfLimit from './internal/eachOfLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`reject`]{@link module:Collections.reject} but runs a maximum of `limit` async operations at a * time. diff --git a/docs/v3/rejectSeries.js.html b/docs/v3/rejectSeries.js.html index 58ff24d..b9f8eb7 100644 --- a/docs/v3/rejectSeries.js.html +++ b/docs/v3/rejectSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _reject from './internal/reject'; -import eachOfSeries from './eachOfSeries' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import _reject from './internal/reject.js' +import eachOfSeries from './eachOfSeries.js' +import awaitify from './internal/awaitify.js' /** * The same as [`reject`]{@link module:Collections.reject} but runs only a single async operation at a time. diff --git a/docs/v3/retry.js.html b/docs/v3/retry.js.html index 42c6b03..567b175 100644 --- a/docs/v3/retry.js.html +++ b/docs/v3/retry.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import wrapAsync from './internal/wrapAsync'; -import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback'; + <pre class="prettyprint source linenums"><code>import wrapAsync from './internal/wrapAsync.js' +import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback.js' function constant(value) { return function () { diff --git a/docs/v3/retryable.js.html b/docs/v3/retryable.js.html index 87b2b3c..3ac2fa8 100644 --- a/docs/v3/retryable.js.html +++ b/docs/v3/retryable.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,10 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import retry from './retry'; -import initialParams from './internal/initialParams'; -import {default as wrapAsync, isAsync} from './internal/wrapAsync'; -import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback'; + <pre class="prettyprint source linenums"><code>import retry from './retry.js' +import initialParams from './internal/initialParams.js' +import {default as wrapAsync, isAsync} from './internal/wrapAsync.js' +import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback.js' /** * A close relative of [`retry`]{@link module:ControlFlow.retry}. This method diff --git a/docs/v3/scripts/async.js b/docs/v3/scripts/async.js index 67fec62..832ca57 100644 --- a/docs/v3/scripts/async.js +++ b/docs/v3/scripts/async.js @@ -1197,10 +1197,36 @@ var ARROW_FN_ARGS = /^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/; var FN_ARG_SPLIT = /,/; var FN_ARG = /(=.+)?(\s*)$/; - var STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg; + + function stripComments(string) { + let stripped = ''; + let index = 0; + let endBlockComment = string.indexOf('*/'); + while (index < string.length) { + if (string[index] === '/' && string[index+1] === '/') { + // inline comment + let endIndex = string.indexOf('\n', index); + index = (endIndex === -1) ? string.length : endIndex; + } else if ((endBlockComment !== -1) && (string[index] === '/') && (string[index+1] === '*')) { + // block comment + let endIndex = string.indexOf('*/', index); + if (endIndex !== -1) { + index = endIndex + 2; + endBlockComment = string.indexOf('*/', index); + } else { + stripped += string[index]; + index++; + } + } else { + stripped += string[index]; + index++; + } + } + return stripped; + } function parseParams(func) { - const src = func.toString().replace(STRIP_COMMENTS, ''); + const src = stripComments(func.toString()); let match = src.match(FN_ARGS); if (!match) { match = src.match(ARROW_FN_ARGS); @@ -1957,7 +1983,7 @@ * app.get('/cats', function(request, response) { * var User = request.models.User; * async.seq( - * _.bind(User.get, User), // 'User.get' has signature (id, callback(err, data)) + * User.get.bind(User), // 'User.get' has signature (id, callback(err, data)) * function(user, fn) { * user.getCats(fn); // 'getCats' has signature (callback(err, data)) * } @@ -3591,6 +3617,8 @@ return memoized; } + /* istanbul ignore file */ + /** * Calls `callback` on a later loop around the event loop. In Node.js this just * calls `process.nextTick`. In the browser it will use `setImmediate` if diff --git a/docs/v3/seq.js.html b/docs/v3/seq.js.html index 015792a..c9b1c26 100644 --- a/docs/v3/seq.js.html +++ b/docs/v3/seq.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import reduce from './reduce'; -import wrapAsync from './internal/wrapAsync'; -import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback'; + <pre class="prettyprint source linenums"><code>import reduce from './reduce.js' +import wrapAsync from './internal/wrapAsync.js' +import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback.js' /** * Version of the compose function that is more natural to read. Each function @@ -103,7 +103,7 @@ import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback * app.get('/cats', function(request, response) { * var User = request.models.User; * async.seq( - * _.bind(User.get, User), // 'User.get' has signature (id, callback(err, data)) + * User.get.bind(User), // 'User.get' has signature (id, callback(err, data)) * function(user, fn) { * user.getCats(fn); // 'getCats' has signature (callback(err, data)) * } diff --git a/docs/v3/series.js.html b/docs/v3/series.js.html index 4da2b22..aa185c6 100644 --- a/docs/v3/series.js.html +++ b/docs/v3/series.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import _parallel from './internal/parallel'; -import eachOfSeries from './eachOfSeries'; + <pre class="prettyprint source linenums"><code>import _parallel from './internal/parallel.js' +import eachOfSeries from './eachOfSeries.js' /** * Run the functions in the `tasks` collection in series, each one running once diff --git a/docs/v3/setImmediate.js.html b/docs/v3/setImmediate.js.html index dd048c0..0611ae9 100644 --- a/docs/v3/setImmediate.js.html +++ b/docs/v3/setImmediate.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import setImmediate from './internal/setImmediate'; + <pre class="prettyprint source linenums"><code>import setImmediate from './internal/setImmediate.js' /** * Calls `callback` on a later loop around the event loop. In Node.js this just diff --git a/docs/v3/some.js.html b/docs/v3/some.js.html index 93e2d8c..807772a 100644 --- a/docs/v3/some.js.html +++ b/docs/v3/some.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester'; -import eachOf from './eachOf' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOf from './eachOf.js' +import awaitify from './internal/awaitify.js' /** * Returns `true` if at least one element in the `coll` satisfies an async test. diff --git a/docs/v3/someLimit.js.html b/docs/v3/someLimit.js.html index ab08603..f08b7db 100644 --- a/docs/v3/someLimit.js.html +++ b/docs/v3/someLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester'; -import eachOfLimit from './internal/eachOfLimit' -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOfLimit from './internal/eachOfLimit.js' +import awaitify from './internal/awaitify.js' /** * The same as [`some`]{@link module:Collections.some} but runs a maximum of `limit` async operations at a time. diff --git a/docs/v3/someSeries.js.html b/docs/v3/someSeries.js.html index f546b44..708aaf1 100644 --- a/docs/v3/someSeries.js.html +++ b/docs/v3/someSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester'; -import eachOfSeries from './eachOfSeries'; -import awaitify from './internal/awaitify'; + <pre class="prettyprint source linenums"><code>import createTester from './internal/createTester.js' +import eachOfSeries from './eachOfSeries.js' +import awaitify from './internal/awaitify.js' /** * The same as [`some`]{@link module:Collections.some} but runs only a single async operation at a time. diff --git a/docs/v3/sortBy.js.html b/docs/v3/sortBy.js.html index b4965d5..ed94c66 100644 --- a/docs/v3/sortBy.js.html +++ b/docs/v3/sortBy.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import map from './map'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import map from './map.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * Sorts a list by the results of running each `coll` value through an async diff --git a/docs/v3/timeout.js.html b/docs/v3/timeout.js.html index 872266e..5182c0c 100644 --- a/docs/v3/timeout.js.html +++ b/docs/v3/timeout.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import initialParams from './internal/initialParams'; -import wrapAsync from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import initialParams from './internal/initialParams.js' +import wrapAsync from './internal/wrapAsync.js' /** * Sets a time limit on an asynchronous function. If the function does not call diff --git a/docs/v3/times.js.html b/docs/v3/times.js.html index 96549ef..294ed4b 100644 --- a/docs/v3/times.js.html +++ b/docs/v3/times.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import timesLimit from './timesLimit'; + <pre class="prettyprint source linenums"><code>import timesLimit from './timesLimit.js' /** * Calls the `iteratee` function `n` times, and accumulates results in the same diff --git a/docs/v3/timesLimit.js.html b/docs/v3/timesLimit.js.html index 9c15199..4ab9d2d 100644 --- a/docs/v3/timesLimit.js.html +++ b/docs/v3/timesLimit.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import mapLimit from './mapLimit'; -import range from './internal/range'; -import wrapAsync from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import mapLimit from './mapLimit.js' +import range from './internal/range.js' +import wrapAsync from './internal/wrapAsync.js' /** * The same as [times]{@link module:ControlFlow.times} but runs a maximum of `limit` async operations at a diff --git a/docs/v3/timesSeries.js.html b/docs/v3/timesSeries.js.html index 0608b30..9692853 100644 --- a/docs/v3/timesSeries.js.html +++ b/docs/v3/timesSeries.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,7 +75,7 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import timesLimit from './timesLimit'; + <pre class="prettyprint source linenums"><code>import timesLimit from './timesLimit.js' /** * The same as [times]{@link module:ControlFlow.times} but runs only a single async operation at a time. diff --git a/docs/v3/transform.js.html b/docs/v3/transform.js.html index 640884b..5bc58bd 100644 --- a/docs/v3/transform.js.html +++ b/docs/v3/transform.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,10 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachOf from './eachOf'; -import once from './internal/once'; -import wrapAsync from './internal/wrapAsync'; -import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback'; + <pre class="prettyprint source linenums"><code>import eachOf from './eachOf.js' +import once from './internal/once.js' +import wrapAsync from './internal/wrapAsync.js' +import { promiseCallback, PROMISE_SYMBOL } from './internal/promiseCallback.js' /** * A relative of `reduce`. Takes an Object or Array, and iterates over each diff --git a/docs/v3/tryEach.js.html b/docs/v3/tryEach.js.html index 60eeebd..b4bafc8 100644 --- a/docs/v3/tryEach.js.html +++ b/docs/v3/tryEach.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import eachSeries from './eachSeries'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import eachSeries from './eachSeries.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * It runs each task in series but stops whenever any of the functions were diff --git a/docs/v3/unmemoize.js.html b/docs/v3/unmemoize.js.html index 378c0bf..67bd8ca 100644 --- a/docs/v3/unmemoize.js.html +++ b/docs/v3/unmemoize.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> diff --git a/docs/v3/until.js.html b/docs/v3/until.js.html index 6d28700..a0a2bf1 100644 --- a/docs/v3/until.js.html +++ b/docs/v3/until.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,8 +75,8 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import whilst from './whilst'; -import wrapAsync from './internal/wrapAsync'; + <pre class="prettyprint source linenums"><code>import whilst from './whilst.js' +import wrapAsync from './internal/wrapAsync.js' /** * Repeatedly call `iteratee` until `test` returns `true`. Calls `callback` when diff --git a/docs/v3/waterfall.js.html b/docs/v3/waterfall.js.html index 8df401a..c72b1d5 100644 --- a/docs/v3/waterfall.js.html +++ b/docs/v3/waterfall.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,11 +75,10 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import once from './internal/once'; - -import onlyOnce from './internal/onlyOnce'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify' + <pre class="prettyprint source linenums"><code>import once from './internal/once.js' +import onlyOnce from './internal/onlyOnce.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * Runs the `tasks` array of functions in series, each passing their results to diff --git a/docs/v3/whilst.js.html b/docs/v3/whilst.js.html index 86a5a47..98a6f59 100644 --- a/docs/v3/whilst.js.html +++ b/docs/v3/whilst.js.html @@ -30,7 +30,7 @@ </div> <ul class="nav navbar-nav"> <li id="version-dropdown" class="dropdown"> - <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.2 <span class="caret"></span> + <a href="#" class="dropdown-toggle vertically-centered" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">v3.2.3 <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="../v3/">v3.0.x</a></li> @@ -75,9 +75,9 @@ <section> <article> - <pre class="prettyprint source linenums"><code>import onlyOnce from './internal/onlyOnce'; -import wrapAsync from './internal/wrapAsync'; -import awaitify from './internal/awaitify'; + <pre class="prettyprint source linenums"><code>import onlyOnce from './internal/onlyOnce.js' +import wrapAsync from './internal/wrapAsync.js' +import awaitify from './internal/awaitify.js' /** * Repeatedly call `iteratee`, while `test` returns `true`. Calls `callback` when |