Skip to content

Commit 8e83411

Browse files
committed
Dependency upgrade
Signed-off-by: Jaid <jaid.jsx@gmail.com>
1 parent aff145f commit 8e83411

File tree

4 files changed

+14
-43
lines changed

4 files changed

+14
-43
lines changed

.browserslistrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
last 2 chrome versions
2-
last 2 firefox versions
3-
> 5%
41
node 10
52
node 11
63
not dead

package-lock.json

Lines changed: 10 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@
2222
"debug": "^4.1.1"
2323
},
2424
"devDependencies": {
25-
"@babel/plugin-transform-runtime": "^7.2.0",
2625
"ajv": "^6.9.1",
2726
"babel-jest": "^24.1.0",
2827
"babel-preset-jaid": "^4.3.0",
2928
"caniuse-lite": "^1.0.30000938",
3029
"cross-env": "^5.2.0",
3130
"eslint": "^5.14.1",
32-
"eslint-config-jaid": "^1.11.1",
31+
"eslint-config-jaid": "^1.12.0",
3332
"jest": "^24.1.0",
3433
"opn-cli": "^4.0.0",
3534
"rimraf": "^2.6.3",
36-
"webpack-config-jaid": "^3.2.0"
35+
"webpack-config-jaid": "^3.2.1"
3736
},
3837
"scripts": {
3938
"clean": "rimraf dist/ test/**/dist/",

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ export default (array, valueGenerator = null) => {
7676
* }
7777
* let result = await parallel(keys, valueGenerator)
7878
* result = { ".travis": 1672, license: 1099, package: 1948, readme: 132, "not-here": null }
79+
* @async
7980
* @function
8081
* @param {string[]} array Keys for the generated object
8182
* @param {asyncValueGenerator|*} [valueGenerator=null] Async function that sets the object values based on key and index
82-
* @returns {object<string, *>} A generated object based on the array input
83+
* @returns {Promise<object<string, *>>} A generated object based on the array input
8384
*/
8485
export const parallel = async (array, valueGenerator = null) => {
8586
if (!Array.isArray(array) || !array.length) {

0 commit comments

Comments
 (0)