@supercharge/promise-pool
Advanced tools
Comparing version 1.0.0 to 1.1.0
# Changelog | ||
## 1.0.0 - 2019-07-xx | ||
## [1.1.0](https://github.com/superchargejs/promise-pool/compare/v1.0.0...v1.1.0) - 2019-08-14 | ||
### Added | ||
- `module.exports.default` | ||
### Updated | ||
- bump dependencies | ||
- update NPM scripts | ||
## 1.0.0 - 2019-07-15 | ||
### Added | ||
- `1.0.0` release 🚀 🎉 |
'use strict' | ||
module.exports = require('./src/promise-pool') | ||
module.exports.default = module.exports |
{ | ||
"name": "@supercharge/promise-pool", | ||
"description": "Supercharge Promise Pool", | ||
"version": "1.0.0", | ||
"description": "Map-like, concurrent promise processing for Node.js", | ||
"version": "1.1.0", | ||
"author": "Marcus Pöhls <marcus@futurestud.io>", | ||
@@ -10,7 +10,7 @@ "bugs": { | ||
"devDependencies": { | ||
"@hapi/code": "~5.3.1", | ||
"@hapi/lab": "~19.1.0", | ||
"eslint": "~6.0.1", | ||
"@hapi/code": "~6.0.0", | ||
"@hapi/lab": "~20.0.0", | ||
"eslint": "~6.1.0", | ||
"eslint-config-standard": "~13.0.1", | ||
"eslint-plugin-import": "~2.18.0", | ||
"eslint-plugin-import": "~2.18.2", | ||
"eslint-plugin-node": "~9.1.0", | ||
@@ -45,5 +45,5 @@ "eslint-plugin-promise": "~4.2.1", | ||
"lint": "eslint .", | ||
"lint-fix": "eslint . --fix", | ||
"lint:fix": "eslint . --fix", | ||
"test": "lab --assert @hapi/code --leaks --coverage --lint --reporter console --output stdout --reporter html --output ./coverage/coverage.html" | ||
} | ||
} |
@@ -54,4 +54,4 @@ <div align="center"> | ||
.withConcurrency(2) | ||
.process(async user => { | ||
const user = await User.createIfNotExisting(user) | ||
.process(async data => { | ||
const user = await User.createIfNotExisting(data) | ||
@@ -58,0 +58,0 @@ return user |
17431
398