Socket
Socket
Sign inDemoInstall

async

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

5

lib/async.js

@@ -94,3 +94,6 @@ /*global setImmediate: false, setTimeout: false, console: false */

if (typeof setImmediate !== 'undefined') {
async.setImmediate = setImmediate;
async.setImmediate = function (fn) {
// not a direct alias for IE10 compatibility
setImmediate(fn);
};
}

@@ -97,0 +100,0 @@ else {

2

package.json

@@ -6,3 +6,3 @@ {

"author": "Caolan McMahon",
"version": "0.2.9",
"version": "0.2.10",
"repository" : {

@@ -9,0 +9,0 @@ "type" : "git",

@@ -107,7 +107,15 @@ # Async.js

* [each](#each)
* [eachSeries](#eachSeries)
* [eachLimit](#eachLimit)
* [map](#map)
* [mapSeries](#mapSeries)
* [mapLimit](#mapLimit)
* [filter](#filter)
* [filterSeries](#filterSeries)
* [reject](#reject)
* [rejectSeries](#rejectSeries)
* [reduce](#reduce)
* [reduceRight](#reduceRight)
* [detect](#detect)
* [detectSeries](#detectSeries)
* [sortBy](#sortBy)

@@ -117,2 +125,3 @@ * [some](#some)

* [concat](#concat)
* [concatSeries](#concatSeries)

@@ -123,2 +132,3 @@ ### Control Flow

* [parallel](#parallel)
* [parallelLimit](#parallellimittasks-limit-callback)
* [whilst](#whilst)

@@ -132,2 +142,3 @@ * [doWhilst](#doWhilst)

* [applyEach](#applyEach)
* [applyEachSeries](#applyEachSeries)
* [queue](#queue)

@@ -302,3 +313,3 @@ * [cargo](#cargo)

```js
async.map(['file1','file2','file3'], 1, fs.stat, function(err, results){
async.mapLimit(['file1','file2','file3'], 1, fs.stat, function(err, results){
// results is now an array of stats for each file

@@ -1070,3 +1081,3 @@ });

async.auto({
readData: async.apply(fs.readFile, 'data.txt', 'utf-8');
readData: async.apply(fs.readFile, 'data.txt', 'utf-8')
}, callback);

@@ -1073,0 +1084,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc