Socket
Socket
Sign inDemoInstall

run-parallel

Package Overview
Dependencies
3
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

.zuul.yml

28

package.json
{
"name": "run-parallel",
"description": "Run an array of functions in parallel",
"version": "1.1.1",
"version": "1.1.2",
"author": {

@@ -17,4 +17,5 @@ "name": "Feross Aboukhadijeh",

"devDependencies": {
"standard": "^3.2.0",
"tape": "^4.0.0"
"standard": "^4.3.2",
"tape": "^4.0.0",
"zuul": "^3.1.0"
},

@@ -39,20 +40,7 @@ "homepage": "https://github.com/feross/run-parallel",

"scripts": {
"test": "standard && tape test/*.js"
},
"testling": {
"files": "test/*.js",
"browsers": [
"ie/9..latest",
"chrome/25..latest",
"chrome/canary",
"firefox/20..latest",
"firefox/nightly",
"safari/6..latest",
"opera/12..latest",
"opera/next",
"ipad/6.0..latest",
"iphone/6.0..latest",
"android-browser/4.2..latest"
]
"test": "standard && npm run test-node && npm run test-browser",
"test-browser": "zuul -- test/*.js",
"test-browser-local": "zuul --local -- test/*.js",
"test-node": "tape test/*.js"
}
}

@@ -1,6 +0,13 @@

# run-parallel [![travis](https://img.shields.io/travis/feross/run-parallel.svg)](https://travis-ci.org/feross/run-parallel) [![npm](https://img.shields.io/npm/v/run-parallel.svg)](https://npmjs.org/package/run-parallel) [![npm](https://img.shields.io/npm/dm/run-parallel.svg)](https://npmjs.org/package/run-parallel)
# run-parallel [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url]
[travis-image]: https://img.shields.io/travis/feross/run-parallel.svg?style=flat
[travis-url]: https://travis-ci.org/feross/run-parallel
[npm-image]: https://img.shields.io/npm/v/run-parallel.svg?style=flat
[npm-url]: https://npmjs.org/package/run-parallel
[downloads-image]: https://img.shields.io/npm/dm/run-parallel.svg?style=flat
[downloads-url]: https://npmjs.org/package/run-parallel
### Run an array of functions in parallel
![parallel](https://raw.githubusercontent.com/feross/run-parallel/master/img.png) [![browser support](https://ci.testling.com/feross/run-parallel.png)](https://ci.testling.com/feross/run-parallel)
![parallel](https://raw.githubusercontent.com/feross/run-parallel/master/img.png) [![Sauce Test Status](https://saucelabs.com/browser-matrix/run-parallel.svg)](https://saucelabs.com/u/run-parallel)

@@ -70,2 +77,3 @@ ### install

- [run-auto](https://github.com/feross/run-auto)
- [run-parallel-limit](https://github.com/feross/run-parallel-limit)
- [run-series](https://github.com/feross/run-series)

@@ -72,0 +80,0 @@ - [run-waterfall](https://github.com/feross/run-waterfall)

@@ -67,1 +67,16 @@ var parallel = require('../')

})
test('array of functions that produce multiple errors', function (t) {
var tasks = [
function (cb) {
cb(new Error('a'))
},
function (cb) {
cb(new Error('b'))
}
]
parallel(tasks, function (err) {
t.ok(err.message === 'a', 'only observes the first error')
t.end()
})
})

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc